This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"userConfigMajorVersion": 4, | |
"userConfigMinorVersion": 0, | |
"userConfigPatchVersion": 0, | |
"deviceName": "Fabian UHK", | |
"doubleTapSwitchLayerTimeout": 250, | |
"iconsAndLayerTextsBrightness": 255, | |
"alphanumericSegmentsBrightness": 255, | |
"keyBacklightBrightness": 255, | |
"mouseMoveInitialSpeed": 4, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
Simple test that proxies remote content (and shows a memory issue in Tornado) | |
Call http://localhost:8888/200 and you will see that the request object dies. | |
But call http://localhost:8888/400 and the request object stays in memory forever (or until you press <Ctrl+c> | |
""" | |
#!/usr/bin/python3 | |
import weakref | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "amj40.h" | |
#define _QWERTY 0 | |
#define _LOWER 1 | |
#define _RAISE 2 | |
#define _ADJUST 3 | |
enum custom_keycodes { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2017-01-01 | |
2017-01-02 | |
2017-01-03 | |
2017-01-05 | |
2017-01-07 | |
2017-01-11 | |
2017-01-13 | |
2017-01-17 | |
2017-01-19 | |
2017-01-23 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Modifier | |
local hyper = {"cmd"} | |
-- Instant is better than animated | |
hs.window.animationDuration = 0 | |
-- Window shadows off | |
hs.window.setShadows(false) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# MIT Licence, Copyright 2015 by Fabian Topfstedt <topfstedt@schneevonmorgen.com> | |
import datetime | |
import hashlib | |
import hmac | |
import urllib | |
import urlparse | |
def remove_from_qs(qs, param_name): | |
""" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <OneSheeld.h> | |
void setup() | |
{ | |
OneSheeld.begin(); | |
} | |
void loop() | |
{ | |
if(Mic.getValue() > 50) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
""" | |
The MIT License (MIT) | |
Copyright (c) 2013 by Fabian Topfstedt | |
Permission is hereby granted, free of charge, to any person obtaining a copy | |
of this software and associated documentation files (the "Software"), to deal | |
in the Software without restriction, including without limitation the rights | |
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set visualbell " shut up | |
" Disable the cursor keys to force moving the cursor by h j k l | |
"" noremap <Up> "" | |
"" noremap! <Up> <Esc> | |
"" noremap <Down> "" | |
"" noremap! <Down> <Esc> | |
"" noremap <Left> "" | |
"" noremap! <Left> <Esc> | |
"" noremap <Right> "" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import logging | |
import math | |
import mimetypes | |
from multiprocessing import Pool | |
import os | |
from boto.s3.connection import S3Connection | |
from filechunkio import FileChunkIO | |