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
# reload config file │ | |
bind-key r source-file ~/.tmux.conf │ | |
│ | |
bind-key J resize-pane -D 20 │ | |
bind-key K resize-pane - |
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
# options | |
MAX_CAMS = 4 | |
WIDTH_PIXELS = 1280 | |
HEIGHT_PIXELS = 720 | |
VIDEO_FORMAT = 'MJPG' | |
# connect to all available webcams | |
cams = [] | |
for i in range(0, MAX_CAMS): | |
next_cam = cv2.VideoCapture(i) |
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
private string getShortcutPath() | |
{ | |
string startupPath = Environment.GetFolderPath(Environment.SpecialFolder.Startup); | |
return System.IO.Path.Combine(startupPath, "myApp.lnk"); | |
} | |
private void createStartupShortcut() | |
{ | |
WshShell shell = new WshShell(); | |
IWshShortcut shortcut = (IWshShortcut)shell.CreateShortcut(getShortcutPath()); |
NewerOlder