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' | |
| require 'active_support' | |
| module Stuff | |
| # New hotness | |
| extend ActiveSupport::Concern | |
| def whatnot | |
| 6 |
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
| #!/usr/bin/ruby | |
| require 'open-uri' | |
| require 'tempfile' | |
| def cover_art url | |
| extname = File.extname(url) | |
| basename = File.basename(url, extname) | |
| file = Tempfile.new([basename, extname]) | |
| file.binmode |
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
| thing = { | |
| say: function(something){ return something; } | |
| } | |
| document.write(thing.say('hello')) |
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
| Daily and Weekly | |
| Come in during our business hours and get some work done! | |
| Full-Time (Monthly) | |
| Bring your setup in for the day and take it back home at night | |
| 24/7 access | |
| Use the address to receive mail | |
| Permanent Desk (Monthly) | |
| Claim a desk as your own. It's your desk! Keep your stuff there. |
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
| #!/usr/bin/env ruby | |
| # | |
| # cloudapp | |
| # Hacked together with duct tape, hopes, and dreams by Aashay Desai / @aashay | |
| # Original by Zach Holman / @holman | |
| # | |
| # Uploads a file from the command line to CloudApp, drops it into your clipboard | |
| # | |
| # Example: | |
| # |
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
| # Located one level below the DocumentRoot | |
| <?php $secure_password = "i_am_so_smrt"; ?> |
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
| <%= User.where(:archived => true).each { |u| user.name } %> |
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
| @users.collect(&:name) |
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
| # View users/index | |
| <%= User.where(:archived => true).each { |u| user.name } %> |
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
| http://google.com/bookmarks/find?&q=%s |