Skip to content

Instantly share code, notes, and snippets.

import threading
import logging
import time
from pony.orm import db_session
from models import Position
@db_session

Keybase proof

I hereby claim:

  • I am rwatkins on github.
  • I am rsw (https://keybase.io/rsw) on keybase.
  • I have a public key whose fingerprint is 196B 4733 F2E1 DB1B 7DC2 BDF1 3A7F E6B0 1AFD 6218

To claim this, I am signing this object:

@rwatkins
rwatkins / keyrepeat.shell
Created January 25, 2016 19:01 — forked from kconragan/keyrepeat.shell
Enable key repeat in Apple Lion for Sublime Text in Vim mode
# Mac OS X Lion introduced a new, iOS-like context menu when you press and hold a key
# that enables you to choose a character from a menu of options. If you are on Lion
# try it by pressing and holding down 'e' in any app that uses the default NSTextField
# for input.
#
# It's a nice feature and continues the blending of Mac OS X and iOS features. However,
# it's a nightmare to deal with in Sublime Text if you're running Vintage (Vim) mode,
# as it means you cannot press and hold h/j/k/l to move through your file. You have
# to repeatedly press the keys to navigate.