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 python3 | |
__author__ = "Tim Brooks" | |
__email__ = "[email protected]" | |
__date__ = "2024-04-23" | |
import datetime | |
from enum import Enum, Flag | |
import logging | |
import serial | |
import serial.tools.list_ports as list_ports |
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
refs=$(git stash list|cut -d: -f1) | |
for ref in $refs; do | |
patchname=`git show -s --pretty=%f $ref`.patch | |
echo $patchname | |
git stash show -p $ref > $patchname; | |
done |
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
{ | |
// Use IntelliSense to learn about possible attributes. | |
// Hover to view descriptions of existing attributes. | |
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"type": "chrome", | |
"request": "launch", | |
"name": "Launch in Chrome", |
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
Menu,Tray,Tip,Always on top`nWin+Space to toggle always on top | |
SendMode, Input | |
;#SPACE:: Winset, Alwaysontop, , A | |
#SPACE:: | |
WinGetActiveTitle, t | |
WinGet, ExStyle, ExStyle, %t% | |
if (ExStyle & 0x8) |
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
; Internationally known as "KDE Mover-Sizer" Version 2.9 | |
; | |
; http://corz.org/windows/software/accessories/KDE-resizing-moving-for-Windows.php | |
; Which is essentially.. | |
; Easy Window Dragging -- KDE style (requires XP/2k/NT) -- by Jonny | |
; ..with nobs on. See http://www.autohotkey.com and their forum. | |
; | |
; This script makes it much easier to move or resize a window: 1) Hold down |
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
function shuffle(arr){ | |
let shuffle = []; | |
while(arr.length>0){ | |
const r = Math.floor(Math.random()*arr.length); | |
shuffle.push(arr.splice(r,1)[0]); | |
} | |
return shuffle; | |
} | |
const list = [1,2,3,4,5,6,7,8,9]; |