Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am rebkwok on github.
  • I am rebkwok (https://keybase.io/rebkwok) on keybase.
  • I have a public key whose fingerprint is F6CB 8AA8 DAC1 2727 0755 89F7 6C2C F12B 03BE 7053

To claim this, I am signing this object:

@rebkwok
rebkwok / holly.py
Created November 10, 2014 20:34
Holly's first python program
import random
score = 0
print("============================================================")
print("WELCOME TO HOLLY'S MATHS GAME!")
print("============================================================")
name = input("What is your name?\n")
print("Hello", name)
jQuery(document).ready(function () {
console.log(jQuery( "#id_select_layers_from" ));
jQuery( "#id_select_layers_from" ).wrap( "<div class='new'></div>");
});

Mercurial notes in no particular order

  • Delete untracked files from working directory.
    hg purge

  • To delete just the '.orig' files (which accumulate after merging)
    hg purge -I **/*.orig --all

  • Limit log to last X commits
    hg log --limit