Forked from centos instructions These instructions install ruby and rubygems from source, not from RPMs. For instructions on installing from RPMs, look at something like http://wiki.opscode.com/display/chef/Installation+on+RHEL+and+CentOS+5+with+RPMs or http://mykestubbs.com/blog/2010/03/chef-installation-on-centos-54.html
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 | |
#Spencer Krum's Bad - Ass win code | |
#July 17, 2010 | |
#Ascii taken unscrupulously from http://network-science.de/ascii | |
echo -en "\033[31;5m" | |
echo " _______ _______ _______ _______ _______ _______ _ _ " | |
echo "( ____ \|\ /|( ____ \\( ____ \\( ____ \\( ____ \\( ____ \\( )( )" | |
echo "| ( \/| ) ( || ( \/| ( \/| ( \/| ( \/| ( \/| || |" |
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
import fortran_fact | |
fortran_fact.fact(x) |
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
C File fortran_fact.f | |
subroutine fact (n) | |
integer fact, n, p | |
p = 1 | |
do i = 1, n | |
p = p * i | |
end do | |
fact = p | |
print*, p |
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
#!/usr/bin/python2.7 | |
from BeautifulSoup import BeautifulSoup | |
import urllib2 | |
import re | |
import time | |
pause = 30 #seconds | |
awesum_jorbs = {} |
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 | |
echo "Changing BG image" | |
cd ~/Images/wp | |
RANGE=`ls | wc -l` | |
number=$RANDOM | |
let "number %= $RANGE" |
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
export LESS_TERMCAP_mb=$'\E[01;31m' | |
export LESS_TERMCAP_md=$'\E[01;31m' | |
export LESS_TERMCAP_me=$'\E[0m' | |
export LESS_TERMCAP_se=$'\E[0m' | |
export LESS_TERMCAP_so=$'\E[01;44;33m' | |
export LESS_TERMCAP_ue=$'\E[0m' | |
export LESS_TERMCAP_us=$'\E[01;32m' |
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 | |
# Short shell script to connect to a remote libvirt vm. Best when run | |
# under an ssh agent and the user must be in libvirtd on the hypervisor | |
VNC_COMMAND="(/Applications/Chicken\ of\ the\ VNC.app/Contents/MacOS/ && \ | |
./Chicken\ of\ the\ VNC \$VNC_COMMAND_ARGS &)" | |
HYPERVISOR=$2 |
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/sh | |
# File: GITOLITE_DIR/repositories/puppet.git/hooks/post-receive | |
puppetsync() | |
{ | |
ssh $SSH_ARGS "$PUPPETMASTER" "$SYNC_COMMAND" \ | |
--branch "$BRANCH" \ | |
--repository "$REPO" \ | |
--deploy "$DEPLOY" \ | |
$DELETE |
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 | |
#Spencer Krum's Bad - Ass win code | |
#July 17, 2010 | |
#Ascii taken unscrupulously from http://network-science.de/ascii | |
echo -en "\033[31;5m" | |
echo " _______ _______ _______ _______ _______ _______ _ _ " | |
echo "( ____ \|\ /|( ____ \\( ____ \\( ____ \\( ____ \\( ____ \\( )( )" | |
echo "| ( \/| ) ( || ( \/| ( \/| ( \/| ( \/| ( \/| || |" |
OlderNewer