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
{ | |
"wingetApps": [ | |
"Microsoft.WindowsTerminal", | |
"Microsoft.VisualStudioCode", | |
"Microsoft.PowerToys", | |
"Microsoft.Powershell", | |
"Microsoft.Edge", | |
"7zip.7zip", | |
"BraveSoftware.BraveBrowser", | |
"Discord.Discord", |
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
Kaelthas=Build1|01040101010108|02040202010404|""|86D5ADE0AD03FB | |
Varian=Build1|02040201020204|01020101020202|01010101020201|AA275A0AF3C560 | |
Malfurion=Build1|01020201010201|02040202020208|""|8127E303AB0A91 | |
Amazon=Build1|02020101010201|04020401040404|""|9060F0E64787D1 | |
Lucio=Build1|01010401010104|""|""|F6500D17E7C2ED | |
Probius=Build1|01040101040101|""|""|66B18B01F8404F | |
Butcher=Build1|02010202020202|""|""|DF98C6D64368F0 | |
Rexxar=Build1|01020402010202|""|""|BA923C83C84BDF | |
Auriel=Build1|01010101040201|01040101040101|""|C54BEEE3A385CF | |
Alarak=Build1|04020402020202|01010102020102|""|F985B31D7FABEB |
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
Get-AppxPackage | Remove-AppPackage -Confirm:$false | Out-Null | |
Get-AppxPackage -AllUsers | Remove-AppPackage -Confirm:$false | Out-Null |
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
Show hidden characters
{ | |
"bootstrapped": true, | |
"in_process_packages": | |
[ | |
], | |
"installed_packages": | |
[ | |
"BetterFindBuffer", | |
"EasySettings", | |
"EditorConfig", |
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 json | |
import math | |
from pprint import pprint | |
# https://www.realclearpolitics.com/elections/live_results/2018/house.json | |
filename = "raw.json" | |
state_template = { | |
'r_votes': 0, | |
'd_votes': 0, |
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
#SingleInstance force | |
~+Space:: | |
WinGetTitle, title, A | |
IfInString, title, PLAYERUNKNOWN | |
{ | |
; SoundBeep | |
Send a | |
Sleep 2 | |
Send {space} |
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
/** | |
* Advanced Window Snap | |
* Snaps the Active Window to one of nine different window positions. | |
* | |
* @author Andrew Moore <andrew+github@awmoore.com> | |
* @version 1.0 | |
*/ | |
/** | |
* SnapActiveWindow resizes and moves (snaps) the active window to a given position. |
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
{ | |
"bootstrapped": true, | |
"in_process_packages": | |
[ | |
], | |
"installed_packages": | |
[ | |
"ARM Assembly", | |
"BetterFindBuffer", | |
"Boxy Theme", |
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
is_prime = (n) -> | |
limit = Math.floor(n / 2) | |
return true if n == 2 | |
return false if n % 2 == 0 | |
i = 3 | |
while i < limit | |
if n % i == 0 | |
return false | |
i += 2 | |
true |
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
# Services Management | |
_services_folder="$HOME/.services" | |
_services_complete() | |
{ | |
local cur=${COMP_WORDS[COMP_CWORD]} | |
local files=`ls $_services_folder` | |
if [ $COMP_CWORD -eq 1 ]; then | |
COMPREPLY=( $(compgen -W "load unload" -- $cur) ) | |
else | |
COMPREPLY=( $(compgen -W "$files" -- $cur) ) |
NewerOlder