- screenshots of scores will be posted in comments
- screenshots of completed sections will be posted in comments
https://gist.github.com/jasonnoble/c45a9e0c1a2e8dba8cac33d33985cd8d
| # Paste this into your snippets file (in menu Atom > Open Your Snippets) | |
| '.source.ruby': | |
| 'pry': | |
| 'prefix': 'pry' | |
| 'body': 'require "pry"\nbinding.pry' |
| #!/usr/bin/env ruby | |
| # | |
| # Prerequisites: | |
| # gem install bundler | |
| # bundle install | |
| dependencies = `bundle show | grep '*' | awk '{print $2, $3}' | sed -e 's/(//' -e 's/)//'`.split("\n") | |
| dependencies.each do |dependency| | |
| (gem_name, version) = dependency.split |
https://gist.github.com/jasonnoble/c45a9e0c1a2e8dba8cac33d33985cd8d
This weekend, while you're doing your mini-projects we are going to get some practice with 2 things.
| # Add command in TextMate | |
| # Mapped to F1 | |
| # Update Path to File | |
| Save: Nothing | |
| Command(s): | |
| A=${TM_PROJECT_DIRECTORY:-""} | |
| B=${A##*/} |