Skip to content

Instantly share code, notes, and snippets.

View melissaboiko's full-sized avatar
🐈

Melissa Boiko melissaboiko

🐈
View GitHub Profile
@melissaboiko
melissaboiko / ipa-cambridge.rb
Created November 29, 2010 18:49
Query Cambridge online dictionary for IPA pronunciation of English words.
#!/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'
#!/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',
#!/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