This file contains 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 ruby1.8 | |
# Query Cambridge online dictionary for IPA pronunciation of English words. | |
# | |
# A tad slow and messy, but works (as of 2010-11-29). | |
require 'rubygems' | |
require 'nokogiri' | |
require 'open-uri' |
This file contains 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 python | |
# from: | |
# http://i.imgur.com/7atJf.png | |
# http://www.reddit.com/r/offbeat/comments/dqtxn/a_friend_of_mine_postulates_that_if_you_stick_two/ | |
# | |
# available at http://namakajiri.net/misc/2awesome.py | |
import random | |
awesome = [ | |
'rocket', |
This file contains 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 | |
# a telnet-like command to debug text protocols over SSL (https, smtps...). | |
# usage: | |
# telnets example.com https | |
# telnets example.com:https | |
# telnets https://example.com | |
if echo "$1" | grep -q "^[a-z]*://"; then |
NewerOlder