Skip to content

Instantly share code, notes, and snippets.

@ThaiWood
ThaiWood / keybase.md
Last active May 28, 2019 03:09
Keybase proof

Keybase proof

I hereby claim:

  • I am ThaiWood on github.
  • I am thai (https://keybase.io/thai) on keybase.
  • I have a public key whose fingerprint is 3817 0E33 AA82 C0D9 A1D2 01F3 7733 BA0D 1888 DD93

To claim this, I am signing this object:

@ThaiWood
ThaiWood / xkcd_passphrase.rb
Created May 28, 2013 02:33
A small Ruby script to generate passwords a la XKCD (http://xkcd.com/936/) using a wordlist seeded from a news article and words chosen using random atmospheric noise
#!/usr/bin/ruby
require 'net/http'
require 'nokogiri'
require 'rss'
require 'open-uri'
google_news_query = 'http://news.google.com/news/feeds?q=apologize&output=rss'
google_news_result_url = ''
wordlist = Array.new