Skip to content

Instantly share code, notes, and snippets.

@Tubbles
Tubbles / git-blame-colored.py
Last active October 26, 2018 06:12 — forked from mplewis/LICENSE.md
git blame with colored authors and pygments syntax highlighting. Dependencies: `pip install pygments tabulate colored`
#!/usr/bin/env python3
color_groups = [
[('red', None), ('green', None), ('yellow', None), ('magenta', None),
('cyan', None)],
[('black', 'light_red'), ('black', 'light_green'),
('black', 'light_yellow'), ('black', 'light_magenta'),
('black', 'light_cyan')]
]
cmd = ['git', 'blame', '--line-porcelain']
@Tubbles
Tubbles / win_key.reg
Created January 22, 2019 16:52
Windows 10 Keyboard Repeat Rate/Delay
Windows Registry Editor Version 5.00
; Taken from here:
; https://superuser.com/questions/1077223/windows-10-keyboard-repeat-rate-delay-keeps-changing
; Credits to Dale (https://superuser.com/users/150688/dale)
[HKEY_CURRENT_USER\Control Panel\Accessibility\Keyboard Response]
"AutoRepeatDelay"="200"
"AutoRepeatRate"="6"
"DelayBeforeAcceptance"="0"