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
cd /tmp | |
wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.3-1.el6.rf.i686.rpm | |
rpm -ihv rpmforge-release*.rf.i686.rpm | |
yum -y install htop |
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
require 'tempfile' | |
require 'fileutils' | |
ARGV.each do |name| | |
temp_file = Tempfile.new('foo') | |
begin | |
File.open(name, 'r') do |file| | |
file.each_line do |l| |
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
require 'yaml' | |
require 'diplomat' | |
RAILS_ENV = ARGV[0] | |
x = YAML.load_file ARGV[1] | |
y = x.reduce({}) do |acc, (k, v)| | |
o = "#{RAILS_ENV}/#{k.downcase}" |
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
--- | |
name: postgresql | |
product_version: 0.0.0.1 | |
metadata_version: '1.3' | |
target_installer_version: 1.0 | |
stemcell: | |
name: bosh-vsphere-esxi-ubuntu-trusty-go_agent | |
version: '2824' | |
file: bosh-stemcell-2824-vsphere-esxi-ubuntu-trusty-go_agent.tgz | |
md5: e42cf8db9f1a471ed062ff2c6723427a |
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
/* XPM */ | |
static char * outerspace_xpm[] = { | |
"8 15 2 1", | |
" c None", | |
". c #333333", | |
"........", | |
"........", | |
"........", | |
"........", | |
"........", |
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
/* XPM */ | |
static char * nyan_xpm[] = { | |
"25 15 149 2", | |
" c None", | |
". c #522244", | |
"+ c #3F1E31", | |
"@ c #403326", | |
"# c #2C2F32", | |
"$ c #002D5B", | |
"% c #333333", |
NewerOlder