Skip to content

Instantly share code, notes, and snippets.

@gngrwzrd
gngrwzrd / keymap.c
Last active April 1, 2021 05:04
keymap.c
static uint8_t mode = 0;
bool process_record_user(uint16_t keycode, keyrecord_t *record) {
if(keycode == 20737) { //fnc key.
if(record->event.pressed) {
rgb_matrix_set_color_all(110, 50, 100);
mode = rgb_matrix_get_mode();
rgb_matrix_mode_noeeprom(1);
} else {
rgb_matrix_mode(mode);
@gngrwzrd
gngrwzrd / prefs.txt
Created October 8, 2014 00:43
Sublime User Preferences with Phoenix Theme and Base16 Colors
{
"color_scheme": "Packages/Theme - Phoenix/Color Scheme/Tomorrow-Night.tmTheme",
"draw_indent_guides": false,
"fold_buttons": false,
"font_face": "Monaco",
"font_size": 15,
"ignored_packages":
[
"Vintage"
],
@gngrwzrd
gngrwzrd / fix-xcode.py
Last active December 23, 2015 11:28 — forked from rnapier/fix-xcode
#!/usr/bin/python
#original script by Rob Napier <robnapier@gmail.com>
#updates by github.com/gngrwzrd
#Script to link in all your old SDKs every time you upgrade Xcode
#Create a directory somewhere to store older SDKs in
#Under it, put all the platform directories:
# MacOSX.platform iPhoneOS.platform iPhoneSimulator.platform
#Under those, store the SDKs: