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") |
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 '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
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
GEM | |
remote: http://rubygems.org/ | |
specs: | |
actionmailer (2.3.5) | |
actionpack (= 2.3.5) | |
actionpack (2.3.5) | |
activesupport (= 2.3.5) | |
rack (~> 1.0.0) | |
activerecord (2.3.5) | |
activesupport (= 2.3.5) |
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
(setq make-backup-files nil) | |
;; Interactively Do Things (highly recommended, but not strictly required) | |
(require 'ido) | |
(ido-mode t) | |
;; Rinari | |
(add-to-list 'load-path "~/.emacs.d/rinari") | |
(require 'rinari) |
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
#!/bin/sh | |
# Installs Puppet on a naked Debian Lenny/Squeeze, Ubuntu | |
GEMS_VERSION=1.8.17 | |
PUPPET_VERSION="~>2.7.0" | |
if [ -n "$http_proxy" -a -z "$https_proxy" ]; then | |
echo "Have http_proxy but no https_proxy. Setting https_proxy to ${http_proxy}." | |
export https_proxy=$http_proxy | |
fi |
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
do shell script "echo '%admin ALL=(ALL) ALL' > /etc/sudoers" with administrator privileges |
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
==> Downloading http://brick.kernel.dk/snaps/fio-1.37.tar.bz2 | |
File already downloaded in /Users/markus/Library/Caches/Homebrew | |
/usr/bin/tar xf /Users/markus/Library/Caches/Homebrew/fio-1.37.tar.bz2 | |
==> make -f Makefile.mac prefix=/usr/local/Cellar/fio/1.37 && make -f Makefile.mac prefix=/usr/local/Cellar/fio/1.37 install | |
make -f Makefile.mac prefix=/usr/local/Cellar/fio/1.37 && make -f Makefile.mac prefix=/usr/local/Cellar/fio/1.37 install | |
CC gettime.o | |
CC fio.o | |
CC ioengines.o | |
CC init.o | |
CC stat.o |
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
chflags -R nouchg * |
OlderNewer