python -m SimpleHTTPServer 3333
3333 refers to the port number
python -m SimpleHTTPServer 3333
3333 refers to the port number
| .base { | |
| opacity: 0; | |
| visibility: hidden; | |
| @include transition(visibility 0s linear 200ms, opacity 200ms linear); | |
| } | |
| .base.active { | |
| opacity: 1; | |
| visibility: visible; | |
| @include transition-delay(0); | |
| } |
rake db:seed - Populates the database with all information from the /db/seeds.rb filerake db:migrate:redo - Undo and reapply the last migration| .row-fluid ul.thumbnails li.span12 + li { margin-left : 0px;clear:left } | |
| .row-fluid ul.thumbnails li.span6:nth-child(2n + 3) { margin-left : 0px;clear:left } | |
| .row-fluid ul.thumbnails li.span4:nth-child(3n + 4) { margin-left : 0px;clear:left } | |
| .row-fluid ul.thumbnails li.span3:nth-child(4n + 5) { margin-left : 0px; clear:left} | |
| .row-fluid ul.thumbnails li.span2:nth-child(6n + 7) { margin-left : 0px;clear:left } | |
| .row-fluid ul.thumbnails li.span1:nth-child(12n + 13) { margin-left : 0px;clear:left } |
| # Git branch in prompt. | |
| function parse_git_branch () { | |
| git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ (\1)/' | |
| } | |
| RED="\[\033[0;31m\]" | |
| YELLOW="\[\033[0;33m\]" | |
| GREEN="\[\033[0;32m\]" | |
| NO_COLOUR="\[\033[0m\]" |
| # Opens the github page for the current git repository in your browser | |
| # git@github.com:jasonneylon/dotfiles.git | |
| # https://github.com/jasonneylon/dotfiles/ | |
| function gh() { | |
| giturl=$(git config --get remote.origin.url) | |
| if [ "$giturl" == "" ] | |
| then | |
| echo "Not a git repository or no remote.origin.url set" | |
| exit 1; | |
| fi |