Browse files

Adds shortcut for Dropbox uploader, updates to installer, sublime bui…

…ld files.
  • Loading branch information...
1 parent db265cc commit 641d6c730db64bf9d692900749ab846d7c013fc3 @addyosmani committed Oct 5, 2012
View
2 .aliases
@@ -126,6 +126,8 @@ alias emptytrash="sudo rm -rfv /Volumes/*/.Trashes; rm -rfv ~/.Trash"
alias hidedesktop="defaults write com.apple.finder CreateDesktop -bool false && killall Finder"
alias showdesktop="defaults write com.apple.finder CreateDesktop -bool true && killall Finder"
+# Run DropboxUploader if you have it installed
+alias dropbox="~/code/Dropbox-Uploader/dropbox_uploader.sh $1"
# PlistBuddy alias, because sometimes `defaults` just doesn’t cut it
alias plistbuddy="/usr/libexec/PlistBuddy"
View
3 install-deps.sh
@@ -30,10 +30,11 @@ chmod +x ~/code/z/z.sh
# add this to the bash_profile file if it aint there.
# . ~/code/z/z.sh
-
cd ~/code
git clone git://github.com/dronir/SpotifyControl.git
+# add DropBox uploader
+git clone git://github.com/andreafabrizi/Dropbox-Uploader.git
# my magic photobooth symlink -> dropbox. I love it.
View
6 readme.md
@@ -4,11 +4,11 @@ This repo contains my personal dotfiles and are heavily based on [paul](https://
## Some differences
-* Dropbox via the command-line support (upload, download etc.)
-* Browserstack shortcuts e.g `win7ie8 "http://google.com"`, `ipad3 "http://google.com"` etc.
+* Dropbox via the command-line support `dropbox upload {localFile} {remoteFile}`, `dropbox download {remoteFile} {localFile}`, `dropbox list` etc.
+* Browserstack shortcuts e.g `win7ie8 "http://google.com"`, `ipad3 "http://google.com"`
* Some more application and npm aliases e.g `chrome`, `safari`, `opera`, `firefox`, `chromium` and others.
* Launch all browsers with a specific URL `browsers "http://google.com"`
-
+* My Sublime Text build files (Grunt, Yeoman, r.js, SASS, Less and a few others included)
## install the neccessary apps
View
4 sublime/build-files/coffeescript.sublime-build
@@ -0,0 +1,4 @@
+{
+ "cmd": ["coffee","-c", "$file"],
+ "selector" : "source.coffee"
+}
View
4 sublime/build-files/grunt.sublime-build
@@ -0,0 +1,4 @@
+{
+ "cmd": ["grunt", "--no-color"],
+ "selector": ["source.js", "source.less", "source.json"]
+}
View
4 sublime/build-files/jade.sublime-build
@@ -0,0 +1,4 @@
+{
+ "cmd": ["cmd", "/c", "jade", "$file"],
+ "selector": "source.jade"
+}
View
5 sublime/build-files/less.sublime-build
@@ -0,0 +1,5 @@
+{
+ "cmd": ["lessc", "-x", "$file", "$file_path/$file_base_name.css", "--verbose"],
+ "shell" : true,
+ "selector": "source.css.less"
+}
View
5 sublime/build-files/node.sublime-build
@@ -0,0 +1,5 @@
+{
+ "cmd": ["node", "$file"],
+ "file_regex": "^[ ]*File \"(...*?)\", line ([0-9]*)",
+ "selector": "source.js"
+}
View
4 sublime/build-files/nodebuildscript.sublime-build
@@ -0,0 +1,4 @@
+{
+ "cmd": ["h5bp", "--no-color"],
+ "selector": ["source.js", "source.less", "source.json"]
+}
View
4 sublime/build-files/pandoc.sublime-build
@@ -0,0 +1,4 @@
+{
+ "cmd": ["pandoc", "-S", "-s", "-f", "markdown", "-t", "html", "-o", "$file_base_name.html", "$file"],
+ "selector": "text.html.markdown"
+}
View
5 sublime/build-files/rjs.sublime-build
@@ -0,0 +1,5 @@
+{
+ "cmd": ["node", "r.js", "-o", "app.build.js"],
+ "working_dir": "$project_path",
+ "selector": "source.js"
+}
View
5 sublime/build-files/sass.sublime-build
@@ -0,0 +1,5 @@
+{
+ "cmd": ["sass", "--watch", ".:."],
+ "working_dir": "$file_path",
+ "selector": ["source.scss", "source.sass"]
+}
View
5 sublime/build-files/stylus.sublime-build
@@ -0,0 +1,5 @@
+{
+ "cmd": ["stylus", "$file"],
+ "file_regex": ".",
+ "selector": "source.stylus"
+}
View
4 sublime/build-files/uglify.sublime-build
@@ -0,0 +1,4 @@
+{
+ "cmd": [ "node", "uglifyjs", "-o", "${file_path}/${file_base_name}.min.js", "$file"],
+ "selector": "source.js"
+}
View
4 sublime/build-files/yeoman.sublime-build
@@ -0,0 +1,4 @@
+{
+ "cmd": ["yeoman", "build", "--no-color"],
+ "selector": ["source.js", "source.scss", "source.sass", "source.html"]
+}

0 comments on commit 641d6c7

Please sign in to comment.