This file contains 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
// | |
// RemoteEntity.h | |
// | |
// Created by Christopher Bradford on 5/6/10. | |
// Copyright 2010 INM United. All rights reserved. | |
// | |
@interface RemoteEntity : NSManagedObject | |
{ |
This file contains 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
.DS_Store |
This file contains 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 'net/ssh' | |
require 'net/ssh/gateway' | |
# Connect to the gateway machine | |
gateway = Net::SSH::Gateway.new('host.to.tunnel.from', 'user.name') | |
# Open the tunnel (in this example we are using port 5900 locally) | |
gateway.open('host.to.tunnel.to', 22, 5900) | |
# SSH through our tunnel and grab the list of vault contents |
This file contains 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 'rake' | |
require 'erb' | |
desc 'Builds manifest.js files for models, and collections.' | |
task :build_class_manifests do | |
STDOUT.sync = true | |
# Build Class Manifests First | |
classes = ['initializers', 'config', 'models', 'collections'] | |
This file contains 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
/*----------------------------------------------------- | |
960 Grid System ~ Core CSS. | |
Learn more ~ http://960.gs/ | |
Licensed under GPL and MIT. | |
-------------------------------------------------------*/ | |
/* Grid Settings | |
---------------------------*/ | |
// 12-column grid |
This file contains 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
source 'https://rubygems.org' | |
# Note this was running on a Fedora 16 box | |
gem 'ruby-inotify' | |
gem 'guard' | |
gem 'activerecord' | |
gem 'mysql2' |
This file contains 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
{ | |
"name": "dbox-poller", | |
"version": "0.0.1", | |
"dependencies": { | |
"dbox": "0.4.1", | |
"coffee-script": "1.3.1", | |
"mongodb": "1.0.0", | |
"mongoose": "2.6.0", | |
"bson": "0.0.7" | |
}, |
This file contains 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
#!/bin/bash | |
# Load RVM into a shell session *as a function* | |
if [[ -s "$HOME/.rvm/scripts/rvm" ]] ; then | |
# First try to load from a user install | |
source "$HOME/.rvm/scripts/rvm" | |
elif [[ -s "/usr/local/rvm/scripts/rvm" ]] ; then | |
# Then try to load from a root install | |
source "/usr/local/rvm/scripts/rvm" | |
else |
This file contains 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
alias be="bundle exec" | |
alias te="RAILS_ENV=test bundle exec" | |
alias sr="redis-server /usr/local/etc/redis.conf" |
This file contains 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
#!/bin/bash | |
ffmpeg -i ./quick_tips_1280x720.mp4 -c copy -map 0 -vbsf h264_mp4toannexb -f segment -segment_time 5 -segment_list quick_tips.m3u8 -segment_format mpegts quick_tips_hd%06d.ts |