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
source :rubygems | |
gem "rails", "=2.3.5" | |
gem "uuid", "=2.3.1" | |
gem "json", "=1.4.6" | |
gem "htmlentities", "=4.2.1" | |
gem "ruby-openid", ">= 2.0.4" | |
gem "mysql", "=2.8.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
#!/usr/bin/env ruby | |
require 'fileutils' | |
include FileUtils | |
dists = [ 'lenny', 'squeeze' ] | |
basenames = [ 'i386', 'amd64' ] | |
files = [ 'linux', 'initrd.gz' ] | |
progdir = File.expand_path(File.dirname(__FILE__)) |
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
sfdisk -uS /dev/sdc <<EOF | |
64 | |
0,0 | |
0,0 | |
0,0 | |
EOF |
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 'rubygems' | |
require 'nokogiri' # for XML parsing | |
# these are our (manually downloaded) input files | |
files = (1..10).collect { |i| "%02d.html" % i } | |
# thee results (links) go here | |
outfile = File.open("output.txt", "w") |
NewerOlder