Skip to content

Instantly share code, notes, and snippets.

View s5b's full-sized avatar

Stuart Begg s5b

  • Melbourne, Australia
View GitHub Profile
@s5b
s5b / kk.py
Last active December 5, 2015 20:01
KrisKringulator for creating your Kris Kringle so that even you don't know who got whom. (2015 version)
#!/usr/bin/python
"""
This is the KrisKringulator 2015.
It is a script that uses python (2.7+) to create a set of files containing the
name of the person for whom a participant in the Kris Kringle needs to buy a
gift. That is, it creates a file named after the buyer, with the name of the
buyer's recipient inside the file.
Based on an algorithm mentioned by Ryan Sattler.
@s5b
s5b / gist:4022072
Created November 6, 2012 02:04
Starting a new repository - quickly
These steps show you how to get up and running fast with a new repository on Github.
In the steps, I am logged in to Github as "s5b", and I am creating a new repository
named "timeshiek".
1. Login to the Github web interface: <https://github.com/>.
2. Create a new repository, and while creating it mark the initialisation checkbox.
3. Copy the "git@github.com:s5b/timeshiek.git" string from the website into your clipboard.
@s5b
s5b / git1.md
Last active October 12, 2015 09:48
Creating a New Repository

Creating a New Repository.

(From Rails4InAction, page 55)

  1. Go to http://github.com

    • Login to your account "s5b".
  2. Click "New Repository".

  3. Enter the name of the repository, and then click "Create Repository".