Skip to content

Instantly share code, notes, and snippets.

@sbecker
sbecker / vagrant.txt
Created June 27, 2011 21:17 — forked from easel/vagrant.org
Installing CentOS 5.5 & Puppet on Vagrant
# -*- coding: utf-8 -*-
* Installing CentOS 5.5 & Puppet
** Notes
** Download install iso: http://mirrors.kernel.org/centos/5.5/isos/x86_64/CentOS-5.5-x86_64-bin-DVD-1of2.iso
** Create a new VirtualBox machine
- Name: vagrant-centos
- Operating System: Linux
@sbecker
sbecker / gfr.rb
Created August 25, 2012 04:10 — forked from maxjustus/gfr.rb
Global find and replace with optional confirm (with colored diff)
#! /usr/bin/ruby
require 'rubygems'
require "highline/system_extensions"
require 'colorize'
include HighLine::SystemExtensions
orig, new, args = ARGV
args = Array(args)
file_names = Dir["**/*.*"]