Skip to content

Instantly share code, notes, and snippets.

@robertzx
robertzx / HTTP_debugging_tools.md
Created January 24, 2014 14:15
HTTP Debuggin Tools
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>org.rubygems.tunnels</string>
<key>OnDemand</key>
<false/>
<key>ProgramArguments</key>
<array>
@robertzx
robertzx / deps.md
Last active December 20, 2015 06:09
dependencies for a Jenkins slave box
  • Google Chrome
  • chromedriver
  • phantomjs
  • Xvfb
  • mongodb
  • memcached
  • redis
  • mysql
@robertzx
robertzx / Rails 3 Upgrades.txt
Last active December 19, 2015 03:39
pointers to rails3 upgrade docs
Configuration
=============
- http://guides.rubyonrails.org/configuring.html
Rails 2->3 upgrade guides
==========================
- http://guides.rubyonrails.org/3_0_release_notes.html
@robertzx
robertzx / install.sh
Created April 24, 2012 12:37
setup new host
#!/bin/sh
# fail if any cmd fails
set -e
cd $HOME
git clone git://github.com/rsanders/dotto.git .dotto
mkdir -p .dotto_local/externals
(cd .dotto_local/externals && git clone git@bitbucket.org:robertsanders/dotrsanders.git)
zsh .dotto/setup/install.zsh
@robertzx
robertzx / urls.txt
Created April 20, 2012 02:31
URLs to ping
http://chbs.heroku.com/
http://www.zeevex.com/
;; zeevex whitespace standards WHETHER YOU LIKE IT OR NOT
;; TEST of 1753581
(require 'whitespace)
(defun activate-trailing-whitespace-nazi ()
"Annoy you with trailing whitespace, and then delete it on save anyway"
(interactive)
(whitespace-mode t)
TESTING
~ $ rvm install 1.9.2 --with-readline-dir=$rvm_path/usr
Installing Ruby from source to: /Users/stouset/.rvm/rubies/ruby-1.9.2-p180, this may take a while depending on your cpu(s)...
ruby-1.9.2-p180 - #fetching
ruby-1.9.2-p180 - #extracting ruby-1.9.2-p180 to /Users/stouset/.rvm/src/ruby-1.9.2-p180
ruby-1.9.2-p180 - #extracted to /Users/stouset/.rvm/src/ruby-1.9.2-p180
ruby-1.9.2-p180 - #configuring
ruby-1.9.2-p180 - #compiling
# Rake Quick Reference
# by Greg Houston
# http://ghouston.blogspot.com/2008/07/rake-quick-reference.html
# -----------------------------------------------------------------------------
# Running Rake
# -----------------------------------------------------------------------------
# running rake from the command-line:
# rake --help
# Rake Quick Reference
# by Greg Houston
# http://ghouston.blogspot.com/2008/07/rake-quick-reference.html
# -----------------------------------------------------------------------------
# Running Rake
# -----------------------------------------------------------------------------
# running rake from the command-line:
# rake --help