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
$0=10 (step pulse, usec) | |
$1=25 (step idle delay, msec) | |
$2=0 (step port invert mask:00000000) | |
$3=0 (dir port invert mask:00000000) | |
$4=0 (step enable invert, bool) | |
$5=0 (limit pins invert, bool) | |
$6=0 (probe pin invert, bool) | |
$10=3 (status report mask:00000011) | |
$11=0.010 (junction deviation, mm) | |
$12=0.002 (arc tolerance, mm) |
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
// TV | |
{['M:', 'P:', 'T:', 'U:'].collect{ (it+'/Media/TV/'+n.sortName('$2, $1').replace(':',' -')) as File }.sort{ a, b -> a.exists() <=> b.exists() ?: a.diskSpace <=> b.diskSpace }.last()}/ | |
{episode.special ? 'Specials' : 'Season ' + s.pad(2)}/{n.sortName('$2, $1').replace(':',' -')} - {episode.special ? 'S00E'+special.pad(2) : S00E00} - {t.replace(':',' -').replace('?', '')} | |
// New TV, with pooled drive D: | |
// Very similar to: D:/Media/TV/{plex.tail} | |
D:/Media/TV/{n.sortName('$2, $1').replace(':',' -')}/{episode.special ? 'Specials' : 'Season ' + s.pad(2)}/{n.sortName('$2, $1').replace(':',' -')} - {episode.special ? 'S00E'+special.pad(2) : S00E00} - {t.replace(':',' -').replace('?', '')} | |
// Movie | |
{sdhd == "SD" ? 'Q:/Media/Movies/000 - Non-HD' : ['Q:', 'S:', 'T:', 'U:'].collect{ (it+'/Media/Movies/') as File }.sort{ a, b -> a.diskSpace <=> b.diskSpace }.last()}/{n.sortName('$2, $1').replace(':',' -').replace('?', '')} ({y}) {'['+vf+']'} |
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
<TaskerData sr="" dvi="1" tv="4.8m"> | |
<Profile sr="prof9" ve="2"> | |
<cdate>1413471371610</cdate> | |
<edate>1453307010034</edate> | |
<flags>8</flags> | |
<id>9</id> | |
<mid0>5</mid0> | |
<mid1>6</mid1> | |
<nme>Car</nme> | |
<State sr="con0" ve="2"> |
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
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"])) | |
""" |
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
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 |
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
; Spanish Accents | |
/* | |
Insert Spanish accents within 3 seconds of pressing hotkey. | |
á Á é É í Í ó Ó ú Ú ñ Ñ ¿ ¡ | |
hotkey = ' | |
hotkey "a" = "á" |
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
#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} |
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
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 |
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
Show hidden characters
[ | |
{ "keys": ["f5"], "command": "revert"}, | |
{ "keys": ["ctrl+tab"], "command": "next_view" }, | |
{ "keys": ["ctrl+shift+tab"], "command": "prev_view" }, | |
] |
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 onOpen() { | |
SpreadsheetApp.getUi() | |
.createMenu("AR.Drone Academy") | |
.addItem("Import New Flight", "flightNumPrompt") | |
.addToUi(); | |
} | |
function flightNumPrompt() { | |
var ui = SpreadsheetApp.getUi(); // Same variations. |
NewerOlder