| Models | Examples |
|---|---|
| Display ads | Yahoo! |
| Search ads |
Custom recipe to get OS X 10.10 Yosemite running from scratch, setup applications and developer environment. I use this gist to keep track of the important software and steps required to have a functioning system after a semi-annual fresh install. On average, I reinstall each computer from scratch every 6 months, and I do not perform upgrades between distros.
This keeps the system performing at top speeds, clean of trojans, spyware, and ensures that I maintain good organizational practices for my content and backups. I highly recommend this.
You are encouraged to fork this and modify it to your heart's content to match your own needs.
| if [ -f "$rvm_path/scripts/rvm" ]; then | |
| source "$rvm_path/scripts/rvm" | |
| if [ -f ".rvmrc" ]; then | |
| source ".rvmrc" | |
| fi | |
| if [ -f ".ruby-version" ]; then | |
| rvm use `cat .ruby-version` | |
| fi |
| #OSX 10.8 Mountain Lion Development System Maintenance Tasks | |
| Tasks necessary to maintain a healthy OSX development system environment. Some tasks should be performed daily, weekly, and monthly. | |
| ##Daily | |
| * Empty Trash | |
| * Time Machine is automatically keeping daily backups locally, and a weekly Time Machine backup (automatic when you plug in the Time Machine external drive) will capture these. More frequent Time Machine synchronizations to the external drive could/should occur. | |
| ##Weekly |
#Ruby
##News
Ruby Inside http://www.rubyinside.com
Custom recipe to get OS X 10.9 Mavericks running from scratch, setup applications and developer environment. I use this gist to keep track of the important software and steps required to have a functioning system after a semi-annual fresh install.
The software selected is software that is "tried and true" --- software I need after any fresh install. I often install other software not listed here, but is handled in a case-by-case basis.
| module ActionDispatch | |
| module Session | |
| class AbstractStore | |
| # Override the default way to extract the session id | |
| # First check for a X_Session_ID request header, otherwise fallback to cookies/params | |
| def extract_session_id(env) | |
| request = Rack::Request.new(env) | |
| sid = request.env['HTTP_X_SESSION_ID'] | |
| sid ||= request.cookies[@key] | |
| sid ||= request.params[@key] unless @cookie_only |