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
# 1. Edit ~/.bashrc and remove any rvm-loading code. | |
# 2. Then Add: | |
# Load rbenv | |
if which rbenv > /dev/null; then eval "$(rbenv init -)"; fi | |
export RBENV_ROOT=~/.rbenv | |
# Then: | |
# 3. Uninstall rvm | |
# 4. Restart shell/terminal |
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
# you'll need homebrew too | |
cd Sites | |
git clone git://github.com/midgetspy/Sick-Beard.git sickbeard | |
# Probably need this: | |
# sudo easy_install cheetah | |
# | |
# test: | |
# python sickbeard/SickBeard.py |
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
<html> | |
<body> | |
<pre> | |
Running... | |
<?php | |
$out = `cd /home/fffffat/gold.fffff.at && git fetch origin && git reset --hard origin/master`; | |
print $out; |
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
export EC2_PRIVATE_KEY="$(/bin/ls "$HOME"/.ec2/pk-*.pem | /usr/bin/head -1)" | |
export EC2_CERT="$(/bin/ls "$HOME"/.ec2/cert-*.pem | /usr/bin/head -1)" | |
export EC2_HOME="/usr/local/Library/LinkedKegs/ec2-api-tools/jars" | |
export EC2_REGION="us-east-1" | |
export EC2_URL="https://${EC2_REGION}.ec2.amazonaws.com/" | |
alias instances="ec2-describe-instances | grep INSTANCE | awk '{ print \$2,\$4,\$6 }'" | |
alias launch_ubuntu_instance='ec2-run-instances ami-7c2da54c -t t1.micro' # http://cloud-images.ubuntu.com/releases/precise/release/ | |
export VHX_EC2_AMI="ami-9ef96af7" # vhx transcoder2 us-east-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
# Add subtitle track | |
MP4Box -add minecraft_uncut.srt:lang=eng:layout=0x60x0x-1:group=2:hdlr="sbtl:tx3g" Minecraft2_mobile.mp4 | |
# Add audio track | |
# 1. doesnt work in quicktime/itunes | |
MP4Box -add commentary_audio.aac Minecraft2_mobile.mp4 | |
# 2. supposed to work in quicktime/itunes but doesn't seem to; :name at least is definitely not supported | |
MP4Box -add commentary_audio.aac:disable:group1:lang=en:name="Director's Commentary" Minecraft2_mobile.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
#!/usr/bin/env ruby | |
require 'iconv' | |
require 'nokogiri' | |
# This is a simple script to spider your Netflix paginated "What You've Rated" list. | |
# It requires an OS X based system with Ruby 1.9+, Safari, and AppleScript | |
# | |
# I could not find a way to back up my ratings (for all titles, not just my rental activity) | |
# without registering for a Netflix API key or handing my Netflix credentials over to someone | |
# who had an API key, so I decided to take a brute force approach and just parse the HTML for |
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
require 'fileutils' | |
# Warning: The following deploy task will completely overwrite whatever is currently deployed to Heroku. | |
# The deploy branch is rebased onto master, so the push needs to be forced. | |
desc "Deploy app to Heroku after precompiling assets" | |
task :deploy do | |
deploy_branch = 'heroku' | |
remote = 'heroku' | |
deploy_repo_dir = "tmp/heroku_deploy" |
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
staff: 0 | |
everynone: 0 | |
animalcolm: 7 | |
philipbloom: 0 | |
aam: 0 | |
onerivermedia: 1 | |
projectyose: 1 | |
smoketraining: 1 | |
alexlora: 0 | |
caviarcontent: 0 |
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
everynone: 0 | |
animalcolm: 7 | |
aam: 0 | |
alexlora: 0 | |
caviarcontent: 0 | |
ruairirobinson: 0 | |
danieldaniel: 0 | |
sweatshopped: 0 | |
vjurjen: 0 | |
cokau: 0 |
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
javascript:function%20bkload()%7Bvar%20d=document,z=d.createElement('scr'+'ipt'),b=d.body;try%7Bif(!b)throw(0);d.title='(Loading...)%20'+d.title;z.setAttribute('src','//community.vhx.tv/videos/bookmarklet.js');b.appendChild(z)%7Dcatch(e)%7Balert('Please%20wait%20until%20the%20page%20has%20loaded.')%7D%7Dbkload();void(0); |