Skip to content

Instantly share code, notes, and snippets.

#!/bin/bash
for file in *; do
mv $file "$1_$file"
done
# method_missing: It's a dirty beast when it comes to dealing with 'self'!
class Something
def something_else=(rhs)
@something_else = 3
end
def something_else
@something_else
require 'rubygems'
gem 'mime-types'
require 'mime/types'
require 'uri'
module Multipart
CRLF = "\r\n"
RESERVED_CHARACTERS = /[^a-zA-Z0-9\-\.\_\~]/
//
// pop! for jQuery
// v0.2 requires jQuery v1.2 or later
//
// Licensed under the MIT:
// http://www.opensource.org/licenses/mit-license.php
//
// Copyright 2007,2008 SEAOFCLOUDS [http://seaofclouds.com]
//