Navigation Menu

Skip to content

Commit

Permalink
Adds shortcut for Dropbox uploader, updates to installer, sublime bui…
Browse files Browse the repository at this point in the history
…ld files.
  • Loading branch information
addyosmani committed Oct 5, 2012
1 parent db265cc commit 641d6c7
Show file tree
Hide file tree
Showing 15 changed files with 60 additions and 4 deletions.
2 changes: 2 additions & 0 deletions .aliases
Expand Up @@ -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 hidedesktop="defaults write com.apple.finder CreateDesktop -bool false && killall Finder"
alias showdesktop="defaults write com.apple.finder CreateDesktop -bool true && 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 # PlistBuddy alias, because sometimes `defaults` just doesn’t cut it
alias plistbuddy="/usr/libexec/PlistBuddy" alias plistbuddy="/usr/libexec/PlistBuddy"
Expand Down
3 changes: 2 additions & 1 deletion install-deps.sh
Expand Up @@ -30,10 +30,11 @@ chmod +x ~/code/z/z.sh
# add this to the bash_profile file if it aint there. # add this to the bash_profile file if it aint there.
# . ~/code/z/z.sh # . ~/code/z/z.sh



cd ~/code cd ~/code
git clone git://github.com/dronir/SpotifyControl.git 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. # my magic photobooth symlink -> dropbox. I love it.
Expand Down
6 changes: 3 additions & 3 deletions readme.md
Expand Up @@ -4,11 +4,11 @@ This repo contains my personal dotfiles and are heavily based on [paul](https://


## Some differences ## Some differences


* Dropbox via the command-line support (upload, download 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"` 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. * 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"` * 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 ## install the neccessary apps


Expand Down
4 changes: 4 additions & 0 deletions sublime/build-files/coffeescript.sublime-build
@@ -0,0 +1,4 @@
{
"cmd": ["coffee","-c", "$file"],
"selector" : "source.coffee"
}
4 changes: 4 additions & 0 deletions sublime/build-files/grunt.sublime-build
@@ -0,0 +1,4 @@
{
"cmd": ["grunt", "--no-color"],
"selector": ["source.js", "source.less", "source.json"]
}
4 changes: 4 additions & 0 deletions sublime/build-files/jade.sublime-build
@@ -0,0 +1,4 @@
{
"cmd": ["cmd", "/c", "jade", "$file"],
"selector": "source.jade"
}
5 changes: 5 additions & 0 deletions 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"
}
5 changes: 5 additions & 0 deletions sublime/build-files/node.sublime-build
@@ -0,0 +1,5 @@
{
"cmd": ["node", "$file"],
"file_regex": "^[ ]*File \"(...*?)\", line ([0-9]*)",
"selector": "source.js"
}
4 changes: 4 additions & 0 deletions sublime/build-files/nodebuildscript.sublime-build
@@ -0,0 +1,4 @@
{
"cmd": ["h5bp", "--no-color"],
"selector": ["source.js", "source.less", "source.json"]
}
4 changes: 4 additions & 0 deletions 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"
}
5 changes: 5 additions & 0 deletions 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"
}
5 changes: 5 additions & 0 deletions sublime/build-files/sass.sublime-build
@@ -0,0 +1,5 @@
{
"cmd": ["sass", "--watch", ".:."],
"working_dir": "$file_path",
"selector": ["source.scss", "source.sass"]
}
5 changes: 5 additions & 0 deletions sublime/build-files/stylus.sublime-build
@@ -0,0 +1,5 @@
{
"cmd": ["stylus", "$file"],
"file_regex": ".",
"selector": "source.stylus"
}
4 changes: 4 additions & 0 deletions 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"
}
4 changes: 4 additions & 0 deletions 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.