Skip to content

Instantly share code, notes, and snippets.

@tim-tx
tim-tx / keymap.c
Created May 9, 2021 19:03 — forked from BundleOfJoysticks/keymap.c
QMK Alt-Tab macro
#define ALT_TAB M(KC_ALT_TAB) // Macro for Alt-Tab
enum macro_keycodes {
KC_ALT_TAB
};
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[0] = LAYOUT(
KC_MUTE, KC_ESC, KC_MPLY, \
MO(1), KC_UP, ALT_TAB, \
@tim-tx
tim-tx / RunScript.py
Created September 14, 2018 20:50 — forked from bennihepp/RunScript.py
CellProfiler module to execute small python scripts
'''<b>RunScript</b> - an easy way to write scripts for CellProfiler
<hr>
This module allows you to write small python scripts that are run as part
of the CellProfiler pipeline.
'''
#################################
#
# Imports from useful Python libraries
#
#################################