I've been trying to understand how to setup systems from
the ground up on Ubuntu. I just installed redis onto
the box and here's how I did it and some things to look
out for.
To install:
| git diff origin/master --name-only --diff-filter=ACMR | grep '.rb' | grep -v 'schema' | xargs rubocop -c .rubocop.yml --force-exclusion --display-cop-names |
| git diff origin/master --name-only --diff-filter=ACMR | grep '.rb' | ag -v 'schema' | xargs rubocop -c .rubocop.yml --force-exclusion --display-cop-names |
| alias rdm="git diff master --name-only --diff-filter=ACMR | grep '.rb' | ag -v 'schema' | xargs rubocop" |
| #!/bin/bash | |
| osascript -e "display notification with title \"Start Pomodoro!\" sound name \"Hero.aiff\"" && \ | |
| (sleep 1500 | pv --timer) && \ | |
| osascript -e "display notification with title \"Pomodoro Break!\" sound name \"Hero.aiff\"" && \ | |
| (sleep 300 | pv --timer) && \ | |
| # (sleep 900 | pv --timer) &&\ # Uncomment for long breaks; | |
| osascript -e "display notification with title \"Pomodoro Break Done!\" sound name \"Hero.aiff\"" |
| # spec_helper for faster testing of plain old ruby objects | |
| # To check if a spec is ready for this spec_helper, | |
| # just replace `require "spec_helper"` | |
| # with `require "slim_spec_helper"` and edit | |
| # this file as necessary | |
| # Loads a subset of the gemfile using bundler/inline | |
| begin | |
| require "bundler/inline" | |
| rescue LoadError => e |
If you're familiar with bbatsov/ruby-style-guide, you can immediately bbatsov-ize the files you changed in a (current) feature branch:
git diff origin/master --name-status | awk '{print $2}' | xargs rubocop --auto-correct
That roughly transates to: get all changed files in the current feature branch and run each file through rubocop, autocorrecting (modifying) the files if possible.
I recommend saving the changes in a separate commit for easier code reviews.
| Download the following ZIPs: | |
| ARM Translation Installer v1.1 (http://www.mirrorcreator.com/files/0ZIO8PME/Genymotion-ARM-Translation_v1.1.zip_links) | |
| Download the correct GApps for your Android version: | |
| Google Apps for Android 4.4.4 (https://www.androidfilehost.com/?w=files&flid=15801) | |
| Google Apps for Android 4.3 (http://goo.im/gapps/gapps-jb-20130813-signed.zip) | |
| Google Apps for Android 4.2 (http://goo.im/gapps/gapps-jb-20130812-signed.zip) | |
| Google Apps for Android 4.1 (http://goo.im/gapps/gapps-jb-20121011-signed.zip) | |