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
| ul | |
| { | |
| list-style-type: none; | |
| } |
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
| bundle exec rake sunspot:solr:reindex |
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
| # Update rake file to use thin and pg when in production | |
| group :development, :test do | |
| gem 'sqlite3' | |
| end | |
| group :production do | |
| gem 'thin' | |
| gem 'pg' | |
| end |
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
| rackup faye.ru -s thin -E production |
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
| # A double bang converts to boolean | |
| !! |
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
| # Pull often and rebase often | |
| # branch | |
| git checkout -b branch_name | |
| # finished working on small piece of work | |
| git add . | |
| git commit -m 'Commit message' | |
| git push origin branch_name |
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
| [[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" | |
| export PATH=/usr/local/bin:${PATH}:/Users/rymawby/scripts:/Applications/Adobe\ Flash\ Builder\ 4.6/sdks/flex_sdk_4.1.0.16076\ and\ AIRSDK_2.5/bin:/Users/rymawby/scripts/get-shit-done:/usr/local/share/npm/bin | |
| export PYTHONPATH=$(brew --prefix)/lib/python2.7/site-packages:$PYTHONPATH | |
| export RUBYLIB=/Users/rymawby/.rvm/gems/ruby-1.9.2-p290@wespend/bin:/Users/rymawby/.rvm/gems/ruby-1.9.2-p290@global/bin:$RUBYLIB | |
| export JAVA_HOME=`/usr/libexec/java_home -v 1.6 -d32` | |
| export FLEX_HOME=/Applications/Adobe\ Flash\ Builder\ 4.6/sdks/flex_sdk_4.1.0.16076\ and\ AIRSDK_2.5/ | |
| alias log="~/scripts/log-to-day-one.rb" | |
| alias logj="~/scripts/log-jira-to-day-one.rb" | |
| alias sub='open -a "/Applications/Sublime Text 2.app"' |
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
| # find head commit | |
| git reflog | |
| # now reset hard - where N is the head commit found in the reflog | |
| git reset --hard HEAD@{N} |
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
| top -o cpu |
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
| -managers flash.fonts.AFEFontManager |