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
| # coding:utf-8 | |
| require 'rubygems' | |
| require 'mongo' | |
| include Mongo | |
| # USAGE: ruby generate-party-conversation.rb tily todesking | |
| me, target = ARGV | |
| templates = DATA.read.split("\n") | |
| db = Connection.new.db('twitter') |
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
| # -*- coding: utf-8 -*- | |
| require 'rubygems' | |
| require 'RMagick' | |
| filename = ARGV.first | |
| unless filename | |
| warn "usage: #{$0} <ANIMATION GIF FILE>" | |
| exit 1 | |
| end |
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
| # -*- coding: utf-8 -*- | |
| require 'glitch-ime' | |
| input = ARGV.first | |
| text = input + input.split(//).reverse[1..-1].join('') | |
| ime = GlitchIME.new(text) | |
| 10.times { |
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
| /* | |
| * Copyright (c) 2010 Tobias Schneider | |
| * This script is freely distributable under the terms of the MIT license. | |
| */ | |
| (function(){ | |
| var UPC_SET = { | |
| "3211": '0', | |
| "2221": '1', | |
| "2122": '2', |
NewerOlder