I hereby claim:
- I am corbanmailloux on github.
- I am corbanmailloux (https://keybase.io/corbanmailloux) on keybase.
- I have a public key whose fingerprint is CA0D 8FC9 7FD6 B456 570B 2A71 E16F 7376 A681 1A50
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
//PWM pins for the LEDs | |
#define redpin 9 | |
#define greenpin 10 | |
#define bluepin 11 | |
//set up SoftwareSerial for the bluetooth module. | |
#include <SoftwareSerial.h> | |
#define SoftRx 2 | |
#define SoftTx 3 | |
SoftwareSerial BTSerial(SoftRx, SoftTx); |
# Run "git pull" in each subdirectory of the current directory. | |
# Useful when you store all of your git repos in one folder. | |
clear | |
for dir in ./*; # For every item in the folder: | |
do ( | |
if [ -d "$dir" ]; # If it is a directory: | |
then ( | |
echo "$dir" && # Print the path, |
function onOpen() { | |
SpreadsheetApp.getUi() | |
.createMenu("AR.Drone Academy") | |
.addItem("Import New Flight", "flightNumPrompt") | |
.addToUi(); | |
} | |
function flightNumPrompt() { | |
var ui = SpreadsheetApp.getUi(); // Same variations. |
[ | |
{ "keys": ["f5"], "command": "revert"}, | |
{ "keys": ["ctrl+tab"], "command": "next_view" }, | |
{ "keys": ["ctrl+shift+tab"], "command": "prev_view" }, | |
] |
128 | |
130 | |
132 | |
140 0 13 59 64 62 32 69 96 67 64 62 32 60 96 59 64 59 32 59 32 60 32 62 32 64 96 62 96 | |
140 1 13 59 64 62 32 69 96 67 64 62 32 60 96 59 64 62 32 62 32 64 32 66 32 67 96 67 96 | |
140 2 15 69 40 62 24 62 32 66 32 64 32 62 32 59 64 62 32 67 96 64 64 67 32 69 64 67 32 66 96 62 96 | |
141 0 | |
141 1 |
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. | |
; #Warn ; Enable warnings to assist with detecting common errors. | |
SendMode Input ; Recommended for new scripts due to its superior speed and reliability. | |
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory. | |
#WheelUp::Send, {Volume_Up} | |
#WheelDown::Send, {Volume_Down} | |
MButton & WheelUp::Send, {Volume_Up} |
; Spanish Accents | |
/* | |
Insert Spanish accents within 3 seconds of pressing hotkey. | |
á Á é É í Í ó Ó ú Ú ñ Ñ ¿ ¡ | |
hotkey = ' | |
hotkey "a" = "á" |
for i in *.mp4 | |
do | |
i="${i%.mp4}" | |
"C:\Program Files\MKVToolNix\mkvmerge.exe" -o "$i.mkv" --default-track 0 --language 0:eng "$i.srt" "$i.mp4" | |
done |
import requests | |
from datetime import datetime, timezone | |
def main(): | |
""" | |
r = requests.get("https://m.rit.edu/rest/transit/routes") | |
for route in r.json()["response"]: | |
print(route["title"] + " -- " + str(route["running"])) | |
""" |