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
| #!/bin/bash | |
| for file in *; do | |
| mv $file "$1_$file" | |
| done |
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
| # 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 |
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 'rubygems' | |
| gem 'mime-types' | |
| require 'mime/types' | |
| require 'uri' | |
| module Multipart | |
| CRLF = "\r\n" | |
| RESERVED_CHARACTERS = /[^a-zA-Z0-9\-\.\_\~]/ |
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
| // | |
| // 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] | |
| // | |
NewerOlder