Skip to content

Instantly share code, notes, and snippets.

View vulcansmithy's full-sized avatar

VulcanSmithy vulcansmithy

View GitHub Profile
@vulcansmithy
vulcansmithy / gist:4514635
Created January 11, 2013 22:47
This is a solution to the the issue of installing ruby 1.9.3-head through rvm under Mac OS X Mountain Lion. Since Mountain Lion and the latest release of Xcode does not anymore includes the GNU Autoconf, Automake and Libtools build tools. Below is the script to install said tools by building them from source.
# Installing Autoconf, Automake and Libtool build tools under Mac OS X Mountain Lion
mkdir src
cd src
curl -OL http://ftpmirror.gnu.org/autoconf/autoconf-2.68.tar.gz
tar xzf autoconf-2.68.tar.gz
cd autoconf-2.68
@foca
foca / how_to_use.md
Created July 7, 2012 02:36
new_rails_app is a script to quickly create pre-configured rails applications out of a template app.

new_rails_app

This script is my way of creating rails apps without much trouble. It works better for me than Rails' templates, so this is what I use.

Basically, it clones a template app and then changes the name of the app.

It's a very simple solution that I've been using for a while now.

Installation

@davist11
davist11 / Fancy File Inputs.js
Created October 25, 2010 21:32
Fancy File Inputs
var SITE = SITE || {};
SITE.fileInputs = function() {
var $this = $(this),
$val = $this.val(),
valArray = $val.split('\\'),
newVal = valArray[valArray.length-1],
$button = $this.siblings('.button'),
$fakeFile = $this.siblings('.file-holder');
if(newVal !== '') {