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 'rubygems' | |
require 'sinatra' | |
require 'pony' | |
require 'haml' | |
set :haml, {:format => :html5} | |
set :public, File.dirname(__FILE__) | |
set :views, File.dirname(__FILE__) | |
# Create the page class and give it a title of Contact for the layout |
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
defaults: | |
format: '%n - %s%e - %t%x' | |
library: thetvdb | |
organise: yes | |
renamed: /Volumes/Media/TV/ | |
the: true | |
'24': | |
format: '%n - %s%e' |
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
python setup.py clean -a | |
python setup.py build | |
python setup.py install |
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
package dbtest; | |
import java.sql.*; | |
/** | |
* | |
* @author George Hickman <[email protected]> | |
*/ | |
public class Main { |
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
set t_Co=256 |
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
[submodule "Contrib/json-framework"] | |
path = Contrib/json-framework | |
url = https://github.com/stig/json-framework.git | |
[submodule "Contrib/scifihifi-iphone"] | |
path = Contrib/scifihifi-iphone | |
url = https://github.com/ldandersen/scifihifi-iphone.git |
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
if ENV['MY_RUBY_HOME'] && ENV['MY_RUBY_HOME'].include?('rvm') | |
begin | |
rvm_path = File.dirname(File.dirname(ENV['MY_RUBY_HOME'])) | |
rvm_lib_path = File.join(rvm_path, 'lib') | |
$LOAD_PATH.unshift rvm_lib_path | |
require 'rvm' | |
RVM.use_from_path! File.dirname(File.dirname(__FILE__)) | |
rescue LoadError | |
# RVM is unavailable at this point. | |
raise "RVM ruby lib is currently unavailable." |
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 | |
while read oldrev newrev refname | |
do | |
if [ "$refname" == "refs/heads/master" ]; then | |
WORKDIR=/path/to/local/repo | |
export GIT_DIR=$WORKDIR/.git | |
pushd $WORKDIR >/dev/null | |
git pull --quiet >/dev/null | |
# run some code | |
popd >/dev/null |
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
[nosetests] | |
with-spec=1 | |
spec-color=1 | |
with-growl=1 |
OlderNewer