This file contains hidden or 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
[ | |
{ | |
"key": "ctrl+[", | |
"command": "workbench.action.navigateBack" | |
}, | |
{ | |
"key": "ctrl+]", | |
"command": "workbench.action.navigateForward" | |
}, | |
{ |
This file contains hidden or 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
; Put in C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup | |
; 1 to 1 remaps | |
CapsLock::Esc | |
PgUp::Left | |
PgDn::Right | |
; ctrl remaps | |
; ctrl + [right, left, pageup, pagedown] => home or end | |
$^Left:: | |
Keywait,Left |
This file contains hidden or 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 bash | |
SCM_THEME_PROMPT_DIRTY=" ${red}✗" | |
SCM_THEME_PROMPT_CLEAN=" ${bold_green}✓" | |
SCM_THEME_PROMPT_PREFIX=" ${green}|" | |
SCM_THEME_PROMPT_SUFFIX="${green}|" | |
GIT_THEME_PROMPT_DIRTY=" ${red}✗" | |
GIT_THEME_PROMPT_CLEAN=" ${bold_green}✓" | |
GIT_THEME_PROMPT_PREFIX=" ${green}|" |
This file contains hidden or 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 "FastLED.h" | |
#include "EEPROM.h" | |
#define NUM_LEDS 37 | |
#define DATA_PIN 7 | |
#define addrHue 0 | |
#define addrOnoff 2 | |
// Define the array of leds | |
CRGB leds[NUM_LEDS]; |
This file contains hidden or 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 "FastLED.h" | |
#include "EEPROM.h" | |
// How many leds in your strip? | |
#define NUM_LEDS 37 | |
#define DATA_PIN 7 | |
#define addrHue 0 | |
#define addrOnoff 2 | |
// Define the array of leds |
This file contains hidden or 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
#Identify pupils. Based on beta 1 | |
import numpy as np | |
import cv2 | |
import time | |
cap = cv2.VideoCapture(0) #640,480 | |
w = 640 | |
h = 480 |
This file contains hidden or 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
##USE Xlib VERSION 14!!!! NOT 15!!!! | |
from pymouse import PyMouseEvent | |
class Clickonacci(PyMouseEvent): | |
def __init__(self): | |
PyMouseEvent.__init__(self) | |
def click(self, x, y, button, press): | |
if button == 1: |
This file contains hidden or 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 numpy as np | |
import cv2 | |
import time | |
cap = cv2.VideoCapture(0) #640,480 | |
w = 640 | |
h = 480 | |
while(cap.isOpened()): | |
ret, frame = cap.read() |