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
defaults write com.apple.finder AppleShowAllFiles -bool YES | |
killall Finder |
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
# SSL self signed localhost for rails start to finish, no red warnings. | |
# 1) Create your private key (any password will do, we remove it below) | |
$ openssl genrsa -des3 -out server.orig.key 2048 | |
# 2) Remove the password | |
$ openssl rsa -in server.orig.key -out server.key |
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
# Add to your .bash_profile | |
function dfwd { | |
VBoxManage modifyvm "boot2docker-vm" --natpf1 "tcp-port$1,tcp,127.0.0.1,$1,,$1" | |
} | |
function ddfwd { | |
VBoxManage modifyvm "boot2docker-vm" --natpf1 delete "tcp-port$1" | |
} |
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
check process newrelic_resque_agent | |
matching "newrelic_resque_agent" | |
start program = "/usr/bin/ruby /usr/bin/newrelic_resque_agent run" | |
stop program = "/usr/bin/killall newrelic_resque_agent" | |
if cpu usage > 95% for 10 cycles then restart |
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
gem install nokogiri -- --with-xml2-dir=/usr --with-xslt-dir=/opt/local --with-iconv-dir=/opt/local |
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
<script> | |
var canvas = document.createElement('canvas'); | |
canvas.setAttribute("id", "gltestcanvas"); | |
gl = null; | |
try { | |
// Try to grab the standard context. If it fails, fallback to experimental. | |
gl = canvas.getContext("webgl") || canvas.getContext("experimental-webgl"); | |
} | |
catch(e) { | |
console.warn(e); |
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
adb shell screenrecord --bit-rate 8000000 --time-limit 30 /sdcard/kitkat.mp4 |
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
Resque.workers.each {|w| matches = w.id.match(/^[^:]*:([0-9]*):[^:]*$/); pid = matches[1]; w.unregister_worker unless w.worker_pids.include?(pid.to_s)} |
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
# What we do | |
Vouch is solving this multi-trillion dollar consumer finance challenge by creating technology and services for consumers to help each other permanently climb up the credit ladder and get control over their own financial freedom. | |
Our first product – a fixed-term consumer lending platform – is aimed at giving low-FICO consumers a path to building or fixing your credit. Credit is the first and most important step to getting a leg up in life, but it’s also an area where some established players have done more harm than good to their customers. | |
At Vouch, we’re building a way for your friends and family to help direct your trustworthiness – creating a socially-focused way to look at lending. We help customers build a network of trusted friends and family – people who would vouch for them in times of need by creating a way of looking at creditworthiness that spans beyond your FICO score because we understand you are more than your credit score. | |
# What you’d do | |
As a product designer, you would be res |
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
# Install Vagrant | |
https://www.vagrantup.com/downloads | |
# Install Docker CLI | |
http://bit.ly/docker_1_7 | |
# Docker Machine | |
curl -L https://github.com/docker/machine/releases/download/v0.3.0/docker-machine_darwin-amd64 > /usr/local/bin/docker-machine | |
chmod +x /usr/local/bin/docker-machine |