Created
February 19, 2014 07:17
-
-
Save davidpaulsson/9087449 to your computer and use it in GitHub Desktop.
.bash_profile candy
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# open a file in chrome | |
# usage: $ chrome index.html | |
function chrome() { | |
open $@ --args --allow-file-access-from-files | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# start a server in your current folder | |
# usage: $ server | |
alias server='open http://localhost:8000 && python -m SimpleHTTPServer' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment