Skip to content

Instantly share code, notes, and snippets.

View dkter's full-sized avatar

David Teresi dkter

View GitHub Profile
@dkter
dkter / Default (Windows).sublime-keymap
Created September 2, 2021 20:08
Sublime Text config (kinda messy)
[
{ "keys": ["f1"], "command": "show_overlay", "args": {"overlay": "goto", "show_files": true} },
{ "keys": ["f2"], "command": "show_overlay", "args": {"overlay": "goto", "text": "@"} },
{ "keys": ["alt+b"], "command": "cancel_build" },
{ "keys": ["ctrl+keypad0"], "command": "show_overlay", "args": {"overlay": "goto", "text": ":"} },
{ "keys": ["f3"], "command": "show_overlay", "args": {"overlay": "goto", "text": ":"} },
{ "keys": ["f5"], "command": "next_bookmark" },
{ "keys": ["shift+f5"], "command": "prev_bookmark" },
{ "keys": ["ctrl+f5"], "command": "toggle_bookmark" },
@dkter
dkter / a_plus_b.py
Last active January 9, 2020 03:05
return of a plus b spoilers !!!
n = int(input())
nums = {
"one": 1,
"two": 2,
"three": 3,
"four": 4,
"five": 5,
"six": 6,
"seven": 7,