Skip to content

Instantly share code, notes, and snippets.

Writing code

Tom Busby tombusby

Writing code
Block or report user

Report or block tombusby

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
tombusby / personnummer.rb
Created Sep 12, 2019 — forked from henrik/personnummer.rb
Generate valid Swedish personnummer.
View personnummer.rb
# Generator for valid Swedish personnummer:
# By Henrik Nyh <> 2009-01-29 under the MIT license.
require 'date'
module Personnummer
def self.generate(date=nil, serial=nil)
date ||=, 1+rand(12), 1+rand(28))
serial = serial ? serial.to_s : format("%03d", 1+rand(999)) # 001-999
tombusby / .forward
Created Jul 13, 2018
Cypherpunks Mailing List Majordomo Perl Config Scripts
View .forward
"|/usr/bin/procmail -t"

Keybase proof

I hereby claim:

  • I am tombusby on github.
  • I am tombusby ( on keybase.
  • I have a public key ASA3mlmKDkAYYwdtusGavupuudIx2Fwn7ztlXfenu-CKkQo

To claim this, I am signing this object:

You can’t perform that action at this time.