Skip to content

Instantly share code, notes, and snippets.

View codekiln's full-sized avatar
🎧
Feedback Loops

M∎∎r codekiln

🎧
Feedback Loops
View GitHub Profile
@codekiln
codekiln / keyrepeat.shell
Created December 4, 2018 17:46 — forked from rastasheep/keyrepeat.shell
Enable key repeat in Apple Lion for Atom 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 Atom if you're running 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.
@codekiln
codekiln / list_all_model_signals.py
Last active November 17, 2017 20:12 — forked from runekaagaard/list_all_model_signals.py
List all signals by model and signal type. Tested with Django 1.9 and MongoEngine
# coding:utf-8
import ctypes
import gc
import inspect
from collections import defaultdict
import re
from blinker import NamedSignal
from django.core.management.base import BaseCommand