weighted random ambient playlist hotkey for foobar2000

this one is nasty:

global arr := ["ambient", "ambient2", "ambient3", "ambient4", "ambient5", "ambient6", "ambient7", "ambient8", "randambient2", "randambient2"]
Random, oVar, 1, arr.MaxIndex()	
rand := arr[oVar]
Run "D:\foobar2000\foobar2000.exe" /runcmd=File/Scheduler/%rand%

foo_scheduler actions:

ambient#
Set playback order to “Repeat (Playlist)”
Set active playlist “ambient”
Start playback from track #123456


randambient2
Set playback order to “Random”
Set active playlist “ambient”
Start playback
1 seconds delay
Next track
1 seconds delay
Set playback order to “Repeat (Playlist)”

Herbs and supplements I like taking.

I will add more and explain them later. (Don’t take everything everyday all at once)

  • Liposomal Vitamin C
  • Health Ranger Spirulina
  • Health Ranger Chlorella
  • Global Healing Turmeric Extract
  • Global Healing Selenium
  • Global Healing Iodine
  • Japanese Knotweed Trans-Resveratrol
  • Thorne Vitamin B Complex
  • Thorne Meriva-HP
  • Magnesium Glycinate
  • High Dose Astaxanthin + Lutein + Zeaxanthin
  • Krill Oil
  • Trimethylglycine
  • Glycine
  • Full Spectrum Dandelion Extract
  • Magnolia Bark Extract
  • 5-MTHF
  • Liquid B12 in Vegetable Glycerin for sublingual adminstration
  • Reishi, Shiitake, Cordyceps, Turkey Tail, Maitake, Chaga, Lion’s Mane mushroom extracts
  • PQQ
  • CoQ10 or Ubiquinol
  • Silica
  • C60 in Organic Olive Oil or MCT Oil
  • Cilantro (Heavy Metal Chelator)
  • Organic Psyllium Husk
  • Collagen Peptides
  • Pau D’arco extract
  • Vitamin E
  • New Roots Probiotic Intensity
  • Tru Niagen
  • Alpha Lipoic Acid
  • Plant Derived Zinc and Zinc Orotate
  • Vitamin D3 Liquid
  • Vitamin K2
  • Quercetin
  • Cubeb Pepper
  • Ginger
  • Matcha Green Tea
  • N-Acetyl-L-Cysteine
  • Elderberry Extract
  • Emulsified Vitamin A
  • Bromelain
  • Astragalus
  • Sesame Seeds for Calcium
  • Milk Thistle
  • Allicin/Crushed Raw Garlic sitting for 5 minutes
  • Green Beaver Fluoride Free Toothpaste
  • Organic Oregano Oil
  • CBD Oil
  • Frankincense Oil
  • Pine Oil
  • Ginger Oil
  • Cubeb Oil
  • Black Seed Oil
  • MSM
  • Glucosamine
  • Broccolli Sprouts
  • Apricot Seeds (just one)
  • Baking Soda Water
  • French Press Organic Black Coffee
  • Filtered Water with Health Ranger Mineral Drops, Organic Apple Cider Vinegar and Himalayan Pink Salt
  • Fasting with aforementioned beverages and Vitamin C treatment at 72 hour mark
  • Dry Brushing
  • Beets + Arugula with Nitric Oxide Dump Exercise
  • Deep Breathing Exercises (Use HEPA air purifier to clean air)
  • Sovereign Silver Bio-Active Silver Hydrosol
  • Carina Organics Unscented Moisturizing Shampoo
  • Organic Olive Oil/Castile Soap
  • Laundry Soda + Wool Dryer Balls

Foobar2000 Run Services

here is my config… save as .xml

<root>
    <service minimized="false" num_exec="1">
        <label>Open Directory</label>
        <path>"$substr(%_path%,0,$strrchr(%_path%,'\'))"</path>
    </service>
    <service minimized="false" num_exec="1">
        <label>Explore Directory</label>
        <path>explorer /E,"$substr(%_path%,0,$strrchr(%_path%,'\'))"</path>
    </service>
    <service minimized="false" num_exec="1">
        <label>OpenAs...</label>
        <path>rundll32.exe shell32.dll,OpenAs_RunDLL %_path%</path>
    </service>
    <service minimized="false" num_exec="1">
        <label>$if(%link%,Follow %link%,No link available)</label>
        <path>"%link%"</path>
    </service>
    <service minimized="false" num_exec="1">
        <label>Google Artist</label>
        <path>http://www.google.com/search?q=$replace(%artist%, ,+)&amp;ie=utf-8</path>
    </service>
    <service minimized="false" num_exec="1">
        <label>Google Artist + Title</label>
        <path>http://www.google.com/search?q=$replace(%artist%+%title%, ,+)&amp;ie=utf-8</path>
    </service>
    <service minimized="false" num_exec="1">
        <label>AllMusic Artist</label>
        <path>http://www.allmusic.com/cg/amg.dll?P=amg&amp;sql=$replace(%artist%, ,+)&amp;x=0&amp;y=0&amp;opt1=1&amp;sourceid="Mozilla-search"</path>
    </service>
    <service minimized="false" num_exec="1">
        <label>AllMusic Album</label>
        <path>http://www.allmusic.com/cg/amg.dll?P=amg&amp;sql=$replace(%album%, ,+)&amp;x=0&amp;y=0&amp;opt1=2&amp;sourceid="Mozilla-search"</path>
    </service>
    <service minimized="false" num_exec="1">
        <label>AllMusic Song</label>
        <path>http://www.allmusic.com/cg/amg.dll?P=amg&amp;sql=$replace(%title%, ,+)&amp;x=0&amp;y=0&amp;opt1=3&amp;sourceid="Mozilla-search"</path>
    </service>
    <service minimized="false" num_exec="1">
        <label>last.fm title</label>
        <path>http://www.google.com/search?q=site:last.fm+$replace(%artist%+%title%, ,+)&amp;ie=utf-8&amp;btnI</path>
    </service>
    <service minimized="false" num_exec="1">
        <label>lyrics</label>
        <path>https://lite.duckduckgo.com/lite/?q=$replace(%artist%+%title%, ,+,&amp;,)+lyrics</path>
    </service>
    <service minimized="false" num_exec="1">
        <label>utube</label>
        <path>http://www.youtube.com/results?search_query=$replace(%album artist%+%title%, ,+)</path>
    </service>
    <service minimized="false" num_exec="11">
        <label>mp3split</label>
        <path>"D:\windows\program files x64\mp3splt\mp3splt.exe" -t 10.00 "%path%" -d "D:\pod"</path>
    </service>
    <service minimized="false" num_exec="1">
        <label>last.fm artist</label>
        <path>http://www.last.fm/music/$replace(%artist%, ,+)</path>
    </service>
    <service minimized="false" num_exec="1">
        <label>discogs</label>
        <path>http://www.discogs.com/search/?q=$replace(%album artist%+%album%, ,+)</path>
    </service>
    <service minimized="false" num_exec="1">
        <label>rate</label>
        <path>http://rateyourmusic.com/search?searchtype=l&amp;searchterm=$replace(%album artist%+%album%, ,+)</path>
    </service>
    <service minimized="false" num_exec="1">
        <label>last.fm sure</label>
        <path>http://www.last.fm/music/$replace(%artist%/_/%title%, ,+)</path>
    </service>
    <service minimized="false" num_exec="1">
        <label>wiki</label>
        <path>https://en.wikipedia.org/w/index.php?search=%album artist%+, ,+</path>
    </service>
    <service minimized="false" num_exec="1">
        <label>album art</label>
        <path>"C:\Program files\AlbumArtDownloader\albumart.exe" "%artist%" "%album%" "$replace(%_path%,%_filename_ext%,)cover.jpg"</path>
    </service>
</root>

A script to change Pale Moon’s user-agent to the latest version of Firefox.

#!/bin/bash
word=$(curl -fI 'https://download.mozilla.org/?product=firefox-latest&os=linux64&lang=en-US' | grep -o 'firefox-[0-9.]\+[0-9]' | awk -v RS='\r' '{print substr($0,9,2)}')
echo $word
sed -i "s|user_pref(\"network.http.useragent.global_override\", \"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:[0-9][0-9].0) Gecko/20100101 Firefox/[0-9][0-9].0\");|user_pref(\"network.http.useragent.global_override\", \"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:${word}.0) Gecko/20100101 Firefox/${word}.0\");|" user.js

Software I use for my music / audio.

I will be making posts featuring my own audio soon. The software I use is usually a combination of SunVox, Max 8 (max/msp), Purr-Data (puredata), Ableton 10, Renoise, Plogue Bidule, the u-he ZebraHZ and Diva VSTs .

Computers etc:

  • MSI Alpha 15 (Windows Enterprise..)
  • Libreboot T500 (one with Devuan lxqt, one with Xubuntu and with Artix Linux)
  • Libreboot X200 (Devuan xfce)
  • Pinebook Pro with Armbian
  • Odroid XU4, Raspberry Pi 3B & 4, Hummingboard Pro
  • Gemini PDA with Android and Debian
  • Pocketchip
  • Tablets with LineageOS etc
  • Pinephone with Manjaro
  • Dell Axim x51v PDA (this runs SunVox and Milkytracker)
  • DS Lite (Homebrew like Nitrotracker)
  • Libreboot Asus C201 chromebook
  • Arturia Keylab 61 MIDI controller with its included plugins
  • Akai MPK mini
  • Elektron Cycles groove box
  • Sony MDR-7510 Headphones
  • Sony MDR-7520 Headphones (broken)
  • Austrian Audio Hi-X55 Headphones

Peak hours power saving ahk script

Here is a script that changes the power plan to Balanced or Power Saver depending on idle time. Just schedule it with Task Scheduler.

if A_TimeIdlePhysical > 1200000 
{
# Power Saver
	Run C:\Windows\System32\powercfg.exe /setactive a1841308-3541-4fab-bc81-f71556f20b4a
	return
}
else
{
# Balanced
	Run C:\Windows\System32\powercfg.exe /setactive 381b4222-f694-41f0-9685-ff5bb260df2e
	return
}

Autohotkey ahk power control script etc/

; #InstallKeybdHook
#SingleInstance force
Menu, Tray, Icon, power.ico 
; #Persistent
; global hold := false
; return
;NumpadMult::

;Suspend

;return

^!NumpadSub::
Run C:\Windows\System32\powercfg.exe /setactive a1841308-3541-4fab-bc81-f71556f20b4a
TrayTip, Power Control, Power Saver mode CHECK SPEAKERS, 20, 17
return

^!NumpadAdd::
Run C:\Windows\System32\powercfg.exe /setactive 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c
TrayTip, Power Control, High Performance mode CHECK SPEAKERS, 20, 17
return

!NumpadAdd::
Run C:\Windows\System32\powercfg.exe /setactive e9a42b02-d5df-448d-aa00-03f14749eb61
TrayTip, Power Control, Ultimate Performance mode CHECK SPEAKERS, 20, 17
return

#NumpadAdd::
Run C:\Windows\System32\powercfg.exe /setactive 381b4222-f694-41f0-9685-ff5bb260df2e
TrayTip, Power Control, Balanced mode CHECK SPEAKERS, 20, 17
return

; ^!NumpadMult::
; Run C:\Windows\System32\powercfg.exe /setactive a1841308-3541-4fab-bc81-f71556f20b4a
; FormatTime, locktime, A_now, MMM-dd hh:mm:ss tt
; IfWinNotExist, important.abw - AbiWord
; Run "C:\Program Files (x86)\AbiWord\bin\AbiWord.exe" "C:\bat\important.abw"
; else
; {
	; WinActivate, important.abw - AbiWord
; }
; sleep, 5000
; IfWinExist, iSpy 64 v7.1.8.0
; {
; Run "C:\bat\ispystart.bat"
; Run "C:\Users\sb\AppData\Local\MEGAsync\MEGAsync.exe"
; }
; DllCall("LockWorkStation")
; return

; ^+[::
; Run "C:\bat\ispystart2.bat"
; FileAppend, %A_YYYY%-%A_MM%-%A_DD% %A_Hour%:%A_Min%:%A_Sec% start`n, ispy.txt
; return

; ^+]::
; Run "C:\bat\ispystop2.bat"
; FileAppend, %A_YYYY%-%A_MM%-%A_DD% %A_Hour%:%A_Min%:%A_Sec% stop`n, ispy.txt
; return

^f7::
Loop, 1500
{
send, a
sleep 800
}
return

;^XButton1::
; XButton1::
; SendInput, {F11}
; return

^+!d::
FormatTime, time, A_now, dddd MMM dd, yyyy hh:mm:ss tt
send %time%
return

!#t::
FormatTime, time, A_now, yyyy MM/dd HH:mm:s
send %time%
return

!#y::
FormatTime, time, A_now, yyyy MM dd 
send %time%
return

^+!f::
FormatTime, time, A_now, dddd MMM dd, yyyy
send %time%
return

^+!g::
FormatTime, time, A_now, dddd MMM dd, yyyy hh:mm tt 
send last modified %time% EST
return

^+!h::
FormatTime, time, A_now, hh:mm tt dddd 
send last modified %time%
return

!#r::
send, {LWin up}
sleep, 100
red := clipboard
send, https://reddit.com/r/
sendinput %red%
send, /.rss
return

!f3::
; send, {LWin up}
sleep, 100
; red := clipboard
send, /ignore -channels
send, {space down}
send, {space up}
Send, {Raw}#
send, ^+{Insert}
send, {space down}
send, {space up}
send, * JOINS PARTS QUITS NICKS
return


!#k::
clip := clipboard
StringTrimRight, OutputVar, clip, 15
send, gp
send, {space down}
send, {space up}
sendinput %OutputVar%
return

!w::
Send ^x
Sleep, 100
ClipWait
Clipboard="%Clipboard%"
Sleep, 100
ClipWait
Send ^v
return

^+!v::
Clipboard='%Clipboard%'
Sleep, 100
ClipWait
Send ^v
return

^+!b::
Clipboard="%Clipboard%"
Sleep, 100
ClipWait
Send ^v
return

^+!f12:: 
FileRecycleEmpty
TrayTip, Recycle Bin, Bin emptied, 20, 17
return

^F2::
ID := DllCall("GetParent", UInt,WinExist("A")), ID := !ID ? WinExist("A") : ID
WinGetClass, Class, ahk_id %id%
WinGetTitle, Title, ahk_id %id%
MsgBox,0, %ID%, % Title "`n" Class
Return

; !#l::
; Run "C:\bat\ispystart.bat"
; WinActivate, important.txt - Notepad
; sleep, 3000
; DllCall("LockWorkStation")
; return

+NumpadAdd::
WinActivate, ahk_class Renoise
return

+NumpadSub::
WinActivate, ahk_class SunDogEngine
return

appskey & b::
IfWinActive, ahk_exe thunderbird.exe
{
    SendInput !{Tab}
	Send, {Tab}
	Send, {Alt Up}{Shift Up}{ctrl Up}{lwin up}
	sleep, 100
    return
}
else
{
    WinActivate ahk_exe thunderbird.exe
	Send, {Alt Up}{Shift Up}{ctrl Up}{lwin up}
	sleep, 100
    return
}
return

; appskey & g::

; Loop 255
	; keyState .= (keyName := GetKeyName("sc" A_Index))? keyName . " : " . GetKeyState(keyName) . "`n" : ""
; MsgBox % keyState
; return

appskey & n::
IfWinActive, ahk_exe QOwnNotes.exe
{
    SendInput !{Tab}
	Send, {Tab}
	Send, {Alt Up}{Shift Up}{ctrl Up}{lwin up}
	sleep, 100
    return
}
else
{
    WinActivate ahk_exe QOwnNotes.exe
	Send, {Alt Up}{Shift Up}{ctrl Up}{lwin up}
	sleep, 100
    return
}
return

appskey & p::
IfWinActive, ahk_exe notepad++.exe
{
    SendInput !{Tab}
	Send, {Tab}
	Send, {Alt Up}{Shift Up}{ctrl Up}{lwin up}
	sleep, 100
    return
}
else
{
    WinActivate ahk_exe notepad++.exe
	Send, {Alt Up}{Shift Up}{ctrl Up}{lwin up}
	sleep, 100
    return
}
return

appskey & f::
IfWinActive, ahk_exe firefox.exe
{
    SendInput !{Tab}
	Send, {Tab}
	Send, {Alt Up}{Shift Up}{ctrl Up}{lwin up}
	sleep, 100
    return
}
else
{
    WinActivate ahk_exe firefox.exe
	Send, {Alt Up}{Shift Up}{ctrl Up}{lwin up}
	sleep, 100
    return
}
return

appskey & m::
IfWinActive, ahk_exe palemoon.exe
{
    SendInput !{Tab}
	Send, {Tab}
	Send, {Alt Up}{Shift Up}{ctrl Up}{lwin up}
	sleep, 100
    return
}
else
{
    WinActivate ahk_exe palemoon.exe
	Send, {Alt Up}{Shift Up}{ctrl Up}{lwin up}
	sleep, 100
    return
}
return

appskey & r::
IfWinActive, ahk_exe renoise.exe
{
    SendInput !{Tab}
	Send, {Tab}
	Send, {Alt Up}{Shift Up}{ctrl Up}{lwin up}
	sleep, 100
    return
}
else
{
    WinActivate ahk_exe renoise.exe
	Send, {Alt Up}{Shift Up}{ctrl Up}{lwin up}
	sleep, 100
    return
}
return

appskey & t::
IfWinActive, ahk_exe Ableton Live 11 Suite.exe
{
    SendInput !{Tab}
	Send, {Tab}
	Send, {Alt Up}{Shift Up}{ctrl Up}{lwin up}
	sleep, 100
    return
}
else
{
    WinActivate ahk_exe Ableton Live 11 Suite.exe
	Send, {Alt Up}{Shift Up}{ctrl Up}{lwin up}
	sleep, 100
    return
}
return


appskey & k::
IfWinActive, ahk_exe KeePass.exe
{
    SendInput !{Tab}
	Send, {Tab}
	Send, {Alt Up}{Shift Up}{ctrl Up}{lwin up}
	sleep, 100
    return
}
else
{
    WinActivate ahk_exe KeePass.exe
	Send, {Alt Up}{Shift Up}{ctrl Up}{lwin up}
	sleep, 100
    return
}
return

appskey & s::
IfWinActive, ahk_exe sunvox.exe
{
    SendInput !{Tab}
	Send, {Tab}
	Send, {Alt Up}{Shift Up}{ctrl Up}{lwin up}
	sleep, 100
    return
}
else
{
    WinActivate ahk_exe sunvox.exe
	Send, {Alt Up}{Shift Up}{ctrl Up}{lwin up}
	sleep, 100
    return
}
return

appskey & i::
IfWinActive, pi@raspberrypi: ~
{
    SendInput !{Tab}
	Send, {Tab}
	Send, {Alt Up}{Shift Up}{ctrl Up}{lwin up}
	sleep, 100
    return
}
else
{
    WinActivate, pi@raspberrypi: ~
	Send, {Alt Up}{Shift Up}{ctrl Up}{lwin up}
	sleep, 100
    return
}
return

appskey & '::
; Process, Exist, openvpn.exe
Process, Exist, HomeSafe View.exe
if !errorlevel
{
	Run "C:\Program Files (x86)\swann\HomeSafe View\HomeSafe View.exe"
	return
}
else
{
	Process, Close, HomeSafe View.exe
	sleep, 100
	Run "C:\Program Files (x86)\swann\HomeSafe View\HomeSafe View.exe"
	return
}
return

appskey & \::
SetWorkingDir, D:\SDRSharp\
Process, Exist, SDRSharp.exe
if !errorlevel
{
	; Run "D:\apps\sdrsharp-x86\SDRSharp\bin\SDRSharp.exe"
	Run "D:\SDRSharp\SDRSharp.exe"
	SetWorkingDir, %A_ScriptDir%
	return
}
else
{
	Process, Close, SDRSharp.exe
	sleep, 100
	; Run "D:\apps\sdrsharp-x86\SDRSharp\bin\SDRSharp.exe"
	Run "D:\SDRSharp\SDRSharp.exe"
	SetWorkingDir, %A_ScriptDir%
	return
}
return

appskey & v::
IfWinExist, vid
{
    WinActivate, vid 
}
else
{
    Run, D:\vid
	sleep, 1000
	WinWait, vid
	WinMaximize

}
return

appskey & c::

IfWinExist, bat
{
    WinActivate, bat
}
else
{
    Run, D:\bat
	sleep, 1000
	WinWait, bat
	WinMaximize

}
return

appskey & h::

IfWinExist, html
{
    WinActivate, html
}
else
{
    Run, D:\windows\docs\html
	sleep, 1000
	WinWait, html
	WinMaximize

}
return

appskey & a::

IfWinExist, apps
{
    WinActivate, apps
}
else
{
    Run, D:\apps
	sleep, 1000
	WinWait, apps
	WinMaximize

}
return

appskey & ,::
WinActivate, ahk_exe D:\foobar2000\foobar2000.exe
return

appskey & .::
WinActivate, ahk_exe D:\foobar2000b\foobar2000.exe
return

appskey & /::
WinActivate, ahk_exe D:\foobar2000c\foobar2000.exe
return

f1::
IfWinActive, ahk_exe D:\foobar2000\foobar2000.exe
{
	; send, {Mbutton up} 
    WinActivate ahk_exe ConEmu64.exe
	; sleep, 100
    return
}
else
{
	; send, {Mbutton up} 
    WinActivate ahk_exe D:\foobar2000\foobar2000.exe
	; sleep, 100
    return
}
; WinActivate, ahk_exe D:\foobar2000\foobar2000.exe
return

f2::
IfWinActive, ahk_exe D:\foobar2000b\foobar2000.exe
{
	; send, {Mbutton up} 
    WinActivate ahk_exe firefox.exe
	; sleep, 100
    return
}
else
{
	; send, {Mbutton up} 
    WinActivate ahk_exe D:\foobar2000b\foobar2000.exe
	; sleep, 100
    return
}
; WinActivate, ahk_exe D:\foobar2000\foobar2000.exe
return

f3::
IfWinActive, ahk_exe D:\foobar2000c\foobar2000.exe
{
	; send, {Mbutton up} 
    WinActivate ahk_exe palemoon.exe
	; sleep, 100
    return
}
else
{
	; send, {Mbutton up} 
    WinActivate ahk_exe D:\foobar2000c\foobar2000.exe
	; sleep, 100
    return
}
; WinActivate, ahk_exe D:\foobar2000\foobar2000.exe
return

appskey & [::
WinGetActiveTitle, Title
FormatTime, time, A_now, yyyy MM dd 
clipboard := time
clipboard = %clipboard% %Title%
return

+NumpadMult::
WinActivate, ahk_class SDL_app
return

^!v::
Send, ^v
Sleep, 200
clipboard = 
return

; random max patcher
!#v::
File = maxmsp.txt
FileRead,FileContents,%File% 
Sort,FileContents,Random 
RandLine := SubStr(FileContents,1,InStr(FileContents,"`r")-1) 
Run, %RandLine%
return

; random max gen patcher
!#u::
File = maxgen.txt
FileRead,FileContents,%File% 
Sort,FileContents,Random 
RandLine := SubStr(FileContents,1,InStr(FileContents,"`r")-1) 
Run, %RandLine%
return

; random max help patcher
!#b::
File = maxhelp.txt
FileRead,FileContents,%File% 
Sort,FileContents,Random 
RandLine := SubStr(FileContents,1,InStr(FileContents,"`r")-1) 
Run, %RandLine%
return

; !#b::
; File = bible4.txt
; FileRead,FileContents,%File% 
; Sort,FileContents,Random 
; RandLine := SubStr(FileContents,1,InStr(FileContents,"`r")-1) 
; send, %RandLine%
; return
		
		
!#3::
File = english.txt
FileRead,FileContents,%File% 
Sort,FileContents,Random 
RandLine := SubStr(FileContents,1,InStr(FileContents,"`r")-1) 
send, %RandLine%
return

; turn off monitor	
#m::
Sleep 1000
SendMessage, 0x112, 0xF170, 2,, Program Manager
return

; #m up::
; SendMessage, 0x112, 0xF170, 2,, Program Manager
; return

#Insert::
Suspend
return

Insert::
Pause
return

; random ebook
#b::
File = pdf.txt
FileRead,FileContents,%File% 
Sort,FileContents,Random 
RandLine := SubStr(FileContents,1,InStr(FileContents,"`r")-1) 
Run, %RandLine%
return

; f3::
; File = channels3.txt
; FileRead,FileContents,%File% 
; Sort,FileContents,Random 
; RandLine := SubStr(FileContents,1,InStr(FileContents,"`r")-1)
; send /join
; send, {space down}
; send, {space up}
; send, %RandLine%
; return

; youtube-dl
#c::
Send, ^c
WinActivate, /cygdrive/d/vid ahk_class VirtualConsoleClass
WinWait, /cygdrive/d/vid ahk_class VirtualConsoleClass
sleep, 200
send, y
send, {space down}
send, {space up}
Send, ^v
send, {enter down}
send, {enter up} 
return

XButton2::
if WinActive("ahk_exe firefox.exe") or WinActive("ahk_exe palemoon.exe")
; send, ^r
send, r
else
IfWinActive, ahk_exe ConEmu64.exe
{
	; send, {Mbutton up} 
	; send, {XButton2 up} 
	; send, {XButton2 up} 
	Send, {Alt Up}{Shift Up}{ctrl Up}{lwin up}
	sleep, 10
    WinActivate ahk_exe mintty.exe
	; WinWait, ahk_exe D:\foobar2000b\foobar2000.exe
	; sleep, 100
    return
}
else
{
	; send, {Mbutton up} 
	; send, {XButton2 up} 
	; send, {XButton2 up} 
	Send, {Alt Up}{Shift Up}{ctrl Up}{lwin up}
	sleep, 10
    WinActivate ahk_exe ConEmu64.exe
	; WinWait, ahk_exe D:\foobar2000\foobar2000.exe
	; sleep, 100
    return
}
return

XButton1::
IfWinActive, ahk_exe renoise.exe
{
	send, {Mbutton up} 
    WinActivate ahk_exe Ableton Live 11 Suite.exe
	sleep, 100
    return
}
else
{
	send, {Mbutton up} 
    WinActivate ahk_exe renoise.exe
	sleep, 100
    return
}
return

MButton::
send, {Mbutton down}
return

MButton Up::
send, {Mbutton up} 
return

XButton2 & MButton::
Run "D:\foobar2000\foobar2000.exe" "/runcmd=Playback/Random"
return

MButton & XButton2 Up::
send, {Mbutton up}
send, {Xbutton2 up}
return

MButton & XButton1::
IfWinActive, ahk_exe firefox.exe
{
	; send, {Mbutton up} 
    WinActivate ahk_exe palemoon.exe
	; sleep, 100
    return
}
else
{
	; send, {Mbutton up} 
    WinActivate ahk_exe firefox.exe
	; sleep, 100
    return
}
; send, {Mbutton up} 
; send, {Xbutton1 up} 
return

MButton & XButton1 Up::
send, {Mbutton up}
send, {Xbutton1 up}
return

; wget
^+c::
Send, ^c
WinActivate, /cygdrive/d/apps ahk_class VirtualConsoleClass
WinWait, /cygdrive/d/apps ahk_class VirtualConsoleClass
sleep, 200
send, wg
send, {space down}
send, {space up}
Send, ^v
send, {enter down}
send, {enter up} 
return

!#c::
Send, ^c
WinActivate, /cygdrive/d/vid ahk_class VirtualConsoleClass
WinWait, /cygdrive/d/vid ahk_class VirtualConsoleClass
sleep, 200
send, yt
send, {space down}
send, {space up}
Send, ^v
send, {enter down}
send, {enter up} 
return

f7::
return

#/::
Send, ^c
WinActivate, /cygdrive/d/ng ahk_class VirtualConsoleClass
WinWait, /cygdrive/d/ng ahk_class VirtualConsoleClass
sleep, 200
send, yn
send, {space down}
send, {space up}
Send, ^v
send, {enter down}
send, {enter up} 
return

#5::
Send, ^c
WinActivate, /cygdrive/d/vid ahk_class VirtualConsoleClass
WinWait, /cygdrive/d/vid ahk_class VirtualConsoleClass
sleep, 200
send, y5
send, {space down}
send, {space up}
Send, ^v
send, {enter down}
send, {enter up} 
return

#9::
Send, ^c
WinActivate, /cygdrive/d/vid ahk_class VirtualConsoleClass
WinWait, /cygdrive/d/vid ahk_class VirtualConsoleClass
sleep, 200
send, y9
send, {space down}
send, {space up}
Send, ^v
send, {enter down}
send, {enter up} 
return

#0::
Send, ^c
WinActivate, /cygdrive/d/vid ahk_class VirtualConsoleClass
WinWait, /cygdrive/d/vid ahk_class VirtualConsoleClass
sleep, 200
send, y0
send, {space down}
send, {space up}
Send, ^v
send, {enter down}
send, {enter up} 
return

!#5::
Send, ^c
WinActivate, /cygdrive/d/apps ahk_class VirtualConsoleClass
WinWait, /cygdrive/d/apps ahk_class VirtualConsoleClass
sleep, 200
send, wg5
send, {space down}
send, {space up}
Send, ^v
send, {enter down}
send, {enter up} 
return

!#9::
Send, ^c
WinActivate, /cygdrive/d/apps ahk_class VirtualConsoleClass
WinWait, /cygdrive/d/apps ahk_class VirtualConsoleClass
sleep, 200
send, wg9
send, {space down}
send, {space up}
Send, ^v
send, {enter down}
send, {enter up} 
return

!#0::
Send, ^c
WinActivate, /cygdrive/d/apps ahk_class VirtualConsoleClass
WinWait, /cygdrive/d/apps ahk_class VirtualConsoleClass
sleep, 200
send, wg0
send, {space down}
send, {space up}
Send, ^v
send, {enter down}
send, {enter up} 
return

#v::
quote := """"
WinActivate, /cygdrive/d/vid ahk_class VirtualConsoleClass
WinWait, /cygdrive/d/vid ahk_class VirtualConsoleClass
send, v
send, {space down}
send, {space up}
send %quote%
Send, ^v
send %quote%
send, {enter down}
send, {enter up} 
return

Launch_App2::
; hwnd:=winexist("pi@raspberrypi: ~")
; DllCall( "SetParent", UInt,hwnd, UInt,DllCall( "GetShellWindow" ) )
return

Launch_Media::
return

^#t::
WinSet, AlwaysOnTop, Toggle,A
return

#f::
Random, rand, 1, 658
; Random, SleepAmount2, 1, 2
Random, test, 0, 1
if (test = 0) {
	WinActivate, ahk_class IrfanView
	WinWaitActive, ahk_class IrfanView
	Loop, %rand% 
    Click, WheelUp 
}
else {
	WinActivate, ahk_class IrfanView
	WinWaitActive, ahk_class IrfanView
	Loop, %rand% 
	Click, WheelDown 
}
return


!#f::
Loop,
{
Random, rand, 1, 658
Random, test, 0, 1
if (test = 0) {
	WinActivate, ahk_class IrfanView
	WinWaitActive, ahk_class IrfanView
	Loop, %rand% 
    Click, WheelUp 
}
else {
	WinActivate, ahk_class IrfanView
	WinWaitActive, ahk_class IrfanView
	Loop, %rand% 
	Click, WheelDown 
}
}

!#g::
Loop,
{
Random, rand, 1, 658
Random, rand2, 1, 1000
Random, test, 0, 1
if (test = 0) {
	WinActivate, ahk_class IrfanView
	WinWaitActive, ahk_class IrfanView
	Loop, %rand% 
    Click, WheelUp 
}
else {
	WinActivate, ahk_class IrfanView
	WinWaitActive, ahk_class IrfanView
	Loop, %rand% 
	Click, WheelDown 
}
sleep, %rand2%
}

!#h::
Loop,
{
Random, rand, 1, 658
Random, rand2, 1, 6000
Random, test, 0, 1
if (test = 0) {
	WinActivate, ahk_class IrfanView
	WinWaitActive, ahk_class IrfanView
	Loop, %rand% 
    Click, WheelUp 
}
else {
	WinActivate, ahk_class IrfanView
	WinWaitActive, ahk_class IrfanView
	Loop, %rand% 
	Click, WheelDown 
}
sleep, %rand2%
}

!#j::
Loop,
{
Random, rand, 1, 3000
Random, rand2, 1, 6000
Random, test, 0, 1
if (test = 0) {
	WinActivate, ahk_class IrfanView
	WinWaitActive, ahk_class IrfanView
	Loop, %rand% 
    Click, WheelUp 
}
else {
	WinActivate, ahk_class IrfanView
	WinWaitActive, ahk_class IrfanView
	Loop, %rand% 
	Click, WheelDown 
}
sleep, %rand2%
}

#g::
Run "D:\foobar2000\foobar2000.exe" "/runcmd=View/Display Discord Rich Presence"
return

^XButton2::
Run "D:\foobar2000\foobar2000.exe" "/runcmd=Playback/Random"
return

^+!e::
Run "D:\foobar2000\foobar2000.exe" "/runcmd=Playback/Random"
return

#n::
Run ms-settings:nightlight
return

#,::
Run ms-settings:windowsupdate
return

#.::
Run ms-settings:taskbar
return

#'::
Run ms-settings:graphics
return


#[::
Run C:\Windows\System32\SndVol.exe
return

+f9::
Run D:\foobar2000b\foobar2000.exe /playpause
return

f9::
Run D:\foobar2000\foobar2000.exe /playpause
return

f10::
Run D:\foobar2000\foobar2000.exe /prev
return

f11::
Run D:\foobar2000\foobar2000.exe /next
return

^+v::
StringReplace, clipboard, clipboard,`r`n,, All
Send ^v
return

; block keyboard and mouse input
^!#pause::
blockinput,on
return

; holding appskey and pressing pause to abort 
appskey & pause::
    blockinput,off
	Send, {Alt Up}{Shift Up}{ctrl Up}{lwin up}
return

+Volume_Down::
Run "D:\foobar2000\foobar2000.exe" /runcmd=Playback/Seek/"Back by 1 second"
return

+Volume_Up::
Run "D:\foobar2000\foobar2000.exe" /runcmd=Playback/Seek/"Ahead by 1 second"
return

^Volume_Down::
Run "D:\foobar2000\foobar2000.exe" /runcmd=Playback/Seek/"Back by 10 seconds"
return

^Volume_Up::
Run "D:\foobar2000\foobar2000.exe" /runcmd=Playback/Seek/"Ahead by 10 seconds"
return

#PrintScreen::
send, {PrintScreen}
Run "C:\Program Files\paint.net\PaintDotNet.exe"
WinWait, ahk_exe PaintDotNet.exe
Send, ^v
send, {enter down}
send, {enter up}
return

send, %RandLine%
send, {space down}%rand%
return

#PgDn::
clipboard = 
run C:\Users\sb\AppData\Local\Programs\Python\Python39\pythonw.exe d:/rex/test/weather4.py
sleep, 6000
return

^+!0::
File = bible4.txt
quote := """"
FileRead,FileContents,%File% 
Sort,FileContents,Random 
RandLine := SubStr(FileContents,1,InStr(FileContents,"`r")-1) 
Clipboard := RandLine
sleep, 10
send, as_command .s_admin_say 0 1{space down}
send, {space up}
send, %quote%
send, %RandLine%
send, %quote%{space down}
send, {space up}
send, 8 @all 255 0 255 -1 -1
send, {enter down}
send, {enter up}
; sleep, 18500
return

^+!9::
File = sci.txt
quote := """"
FileRead,FileContents,%File% 
Sort,FileContents,Random 
RandLine := SubStr(FileContents,1,InStr(FileContents,"`r")-1) 
Clipboard := RandLine
send, .s_player_exec @all{space down}
send, {space up}
send, %quote%
send, spk{space down}
send, {space up}
send, %RandLine%
send, %quote%
send, {enter down}
send, {enter up}
return

cygwin bash aliases

Just for fun:

alias sleep='date; sleep'
alias alert='fmedia.exe D:/windows/Downloads/done.wav --notui'
alias simp='c:/python27/python.exe -m SimpleHTTPServer'
alias nav='c:/python27/python.exe c:/rex/test/nav.py'
alias countdown='c:/python27/python.exe c:/rex/test/countdown.py'
alias xlmp='C:/Users/sb/AppData/Local/Programs/Python/Python39/python.exe c:/rex/test/xlm3.py'
alias bal='C:/Users/sb/AppData/Local/Programs/Python/Python39/python.exe c:/rex/test/balance.py'
alias scw='C:/Users/sb/AppData/Local/Programs/Python/Python39/python.exe d:/rex/test/serverww.py'
alias scwnb='C:/Users/sb/AppData/Local/Programs/Python/Python39/python.exe d:/rex/test/serverwwnb.py'
alias scwn='C:/Users/sb/AppData/Local/Programs/Python/Python39/python.exe d:/rex/test/serverwwnc.py'
alias scwn1='C:/Users/sb/AppData/Local/Programs/Python/Python39/python.exe d:/rex/test/serverwwn1.py'
alias scwn1b='C:/Users/sb/AppData/Local/Programs/Python/Python39/python.exe d:/rex/test/serverwwn1b.py'
alias scwn1c='C:/Users/sb/AppData/Local/Programs/Python/Python39/python.exe d:/rex/test/serverwwn1c.py'
alias scwb='C:/Users/sb/AppData/Local/Programs/Python/Python39/python.exe c:/rex/test/serverwb.py'
alias scwj='C:/Users/sb/AppData/Local/Programs/Python/Python39/python.exe c:/rex/test/serverwj.py'
alias scw1='C:/Users/sb/AppData/Local/Programs/Python/Python39/python.exe c:/rex/test/serverw1.py'
alias scw1b='C:/Users/sb/AppData/Local/Programs/Python/Python39/python.exe c:/rex/test/serverw1b.py'
alias scw1t='C:/Users/sb/AppData/Local/Programs/Python/Python39/python.exe c:/rex/test/serverw1t.py'
alias scw2='C:/Users/sb/AppData/Local/Programs/Python/Python39/python.exe c:/rex/test/serverw2.py'
alias scw0='C:/Users/sb/AppData/Local/Programs/Python/Python39/python.exe c:/rex/test/serverw0.py'
alias bal='C:/Users/sb/AppData/Local/Programs/Python/Python39/python.exe c:/rex/test/btcbal.py'
alias scr='C:/Users/sb/AppData/Local/Programs/Python/Python39/python.exe c:/rex/test/scrape2.py'
alias cmc='C:/cygwin64/bin/python2.7.exe c:/rex/test/coincap4noa3.py'
alias cmc2='c:/python27/python.exe c:/rex/test/coincap4noa4.py'
alias rv='cd c:/rex/test/radiant-voices/examples'
alias kr='cd c:/rex/test/python3-krakenex/examples'
alias fm='ffpb -framerate 12 -i *.rf -c copy output.mp4'
alias fmm='ffpb -framerate 12 -i *.rf -vf "eq=brightness=0.1" output2.mp4'
alias nd='rsync -av -e "ssh -p 10147" /cygdrive/d/NewDatabase.kdbx pi@192.168.1.41:/media/pi/"Seagate\ Backup\ Plus\ Drive"/'
alias md='bat; rsync -av --ignore-existing -e ssh /cygdrive/d/wamp64/www/docs2/ xbian@192.168.1.10:"/media/My\ Book/site/docs/"; mv /cygdrive/d/wamp64/www/docs2/* /cygdrive/d/wamp64/www/docs/; bash /cygdrive/d/bat/url.bash'
alias rex='cd d:/rex/test'
alias web='cd c:/wamp64/www/git'
alias xw='startxwin -- -listen tcp &'
alias qp='c:/python27/python.exe d:/rex/test/qprexm.py'
alias da='date'
alias ic='ipconfig'
alias lss='ls -l --block-size=M'
alias bible='c:/python27/python.exe c:/rex/test/bible.py'
alias p1='ping 1.1.1.1'
alias z='unzip "*.zip"'
alias zr='rm *.zip'
alias 7='7za -y x "*.7z"'
alias 7r='rm *.7z'
alias sedm='site; sed = mapcycle2.txt | sed "N;s/\n/\t/" > mapcycle.txt'
alias cpm='cp /cygdrive/d/server/mapcycle.txt /cygdrive/d/bat/game/'
alias cpw='cp /cygdrive/d/server/mapcycle.txt /cygdrive/d/server/site/mapcycle2.txt'
alias py='c:/python27/python.exe'
alias python3='C:/Users/sb/AppData/Local/Programs/Python/Python39/python.exe'
alias py3='C:/Users/sb/AppData/Local/Programs/Python/Python39/python.exe'
alias mvd='mv /cygdrive/d/wamp64/www/docs2/* /cygdrive/d/wamp64/www/docs/'
alias mvv='mv /cygdrive/d/wamp64/www/v2/* /cygdrive/d/wamp64/www/v/'
alias v2='cd /cygdrive/d/wamp64/www/v2'
alias p3='C:/Users/sb/AppData/Local/Programs/Python/Python39/python.exe'
alias python='c:/python27/python.exe'
alias p='c:/python27/python.exe'
alias p2='C:/cygwin64/bin/python2.7.exe'
alias p38='C:/cygwin64/bin/python3.8.exe'
alias wb='c:/python27/python.exe c:/rex/test/printweather.py'
alias no='c:/python27/python.exe d:/rex/test/nitric.py'
alias lf='c:/python27/python.exe d:/rex/test/lift.py'
alias t='c:/python27/python.exe d:/rex/test/stepper.py'
alias std='c:/python27/python.exe d:/rex/test/stand.py'
alias xrr='c:/python27/python.exe d:/rex/test/exercise.py'
alias xr='termdown "30m 5s";echo "";echo Drink 600ml water.'
alias xrn='termdown "10m 5s";echo "";echo Drink 100ml water.'
alias vc='c:/python27/python.exe d:/rex/test/vc.py'
alias wtb='curl wttr.in/burnaby'
alias price='C:/Users/sb/AppData/Local/Programs/Python/Python39/python.exe c:/rex/test/price2.py'
alias pricee='C:/cygwin64/bin/python2.7.exe c:/rex/test/inputpricee.py'
alias dt='cd /cygdrive/d/apps; rm 1.torrent; scp debian@vps-b2931db6.vps.ovh.ca:/home/debian/1.torrent /cygdrive/d/apps'
alias cz='cd "/cygdrive/c/Program Files (x86)/Steam/steamapps/common/Half-Life/czero"'
alias ips='C:/cygwin64/bin/python2.7.exe c:/rex/test/inputpricesys.py'
alias c='clear'
alias h='vi C:/Windows/System32/drivers/etc/hosts'
alias lynx='lynx -useragent="Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:87.0) Gecko/20100101 Firefox/87.0"'
alias ly='screen -S lyn lynx -useragent="Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:87.0) Gecko/20100101 Firefox/87.0"'
alias sl='screen -r -d -x lyn'
alias ks='taskkill /im sun.exe'
alias cr='clear; reset'
alias rc='clear; reset'
alias faucet='cd /cygdrive/c/bat/ && ./xlmfaucet.ahk'
alias mp='cd /cygdrive/m/p/"New folder"'
alias rand='mp; ./rand'
alias src='source ~/.bashrc'
alias xlm='stellarctl account info --id GC6U373WF47DZYGNUPOJXZRRJTTUM4TX27GG7LO6KBR4R3N5PGPG2VDB'
alias dl='cd d:/apps'
alias adr='cd c:/users/sb/AppData/Roaming'
alias adl='cd c:/users/sb/AppData/Local'
alias doc='cd c:/users/sb/Documents'
alias v='cd d:/vid'
alias mu='cd c:/users/sb/Music'
alias pod='cd d:/pod/dl'
alias gp='rsync -P -e ssh debian@vps-b2931db6.vps.ovh.ca:/home/debian/pod/output.mp3 /cygdrive/d/pod/dl/; alert'
alias gps='sleep 2m; gp'
alias gv='rsync -P -e ssh debian@vps-b2931db6.vps.ovh.ca:/home/debian/Downloads/output.mp4 /cygdrive/d/vid/; alert'
alias ser='cd d:/server/'
alias site='cd d:/server/site'
alias ng='cd d:/ng'
alias bat='cd D:/bat'
alias game='cd d:/bat/game'
alias qnn='cd C:/Users/sb/AppData/Roaming/"Moonchild Productions"/"Pale Moon"/Profiles/kodhuvhg.default/chrome/'
alias qn='cd /cygdrive/d/apps/QOwnNotes/Data/Notes'
alias pmm='cd /cygdrive/d/Profiles/pwv7so8e.vpn/'
alias pm='cd /cygdrive/d/Profiles/8qdsmbaf.BLANK/'
alias qn1='vi C:/Users/sb/AppData/Roaming/"Moonchild Productions"/"Pale Moon"/Profiles/kodhuvhg.default/chrome/quicknote1.txt'
alias qn2='vi C:/Users/sb/AppData/Roaming/"Moonchild Productions"/"Pale Moon"/Profiles/kodhuvhg.default/chrome/quicknote2.txt'
alias qn3='vi C:/Users/sb/AppData/Roaming/"Moonchild Productions"/"Pale Moon"/Profiles/kodhuvhg.default/chrome/quicknote3.txt'
alias qn4='vi C:/Users/sb/AppData/Roaming/"Moonchild Productions"/"Pale Moon"/Profiles/kodhuvhg.default/chrome/quicknote4.txt'
alias qn5='vi C:/Users/sb/AppData/Roaming/"Moonchild Productions"/"Pale Moon"/Profiles/kodhuvhg.default/chrome/quicknote5.txt'
alias qn6='vi C:/Users/sb/AppData/Roaming/"Moonchild Productions"/"Pale Moon"/Profiles/kodhuvhg.default/chrome/quicknote6.txt'
alias d='vi d:/bat/diary.txt'
alias q1='nano C:/Users/sb/AppData/Roaming/"Moonchild Productions"/"Pale Moon"/Profiles/kodhuvhg.default/chrome/quicknote1.txt'
alias dy='nano d:/bat/delivered.txt'
alias log='nano /var/log/messages'
alias logv='vi /var/log/messages'
alias cdb='cd /bin/'
alias q1='nano C:/Users/sb/AppData/Roaming/"Moonchild Productions"/"Pale Moon"/Profiles/kodhuvhg.default/chrome/quicknote1.txt'
alias q2='nano C:/Users/sb/AppData/Roaming/"Moonchild Productions"/"Pale Moon"/Profiles/kodhuvhg.default/chrome/quicknote2.txt'
alias q3='nano C:/Users/sb/AppData/Roaming/"Moonchild Productions"/"Pale Moon"/Profiles/kodhuvhg.default/chrome/quicknote3.txt'
alias q4='nano C:/Users/sb/AppData/Roaming/"Moonchild Productions"/"Pale Moon"/Profiles/kodhuvhg.default/chrome/quicknote4.txt'
alias q5='nano C:/Users/sb/AppData/Roaming/"Moonchild Productions"/"Pale Moon"/Profiles/kodhuvhg.default/chrome/quicknote5.txt'
alias q6='nano C:/Users/sb/AppData/Roaming/"Moonchild Productions"/"Pale Moon"/Profiles/kodhuvhg.default/chrome/quicknote6.txt'
alias sven='vi C:/bat/game/svencoopadmin.ahk'
alias sln='nano C:/bat/shoppinglist.txt'
alias slv='vim C:/bat/shoppinglist.txt'
alias suspend='date; rundll32.exe powrprof.dll,SetSuspendState 0,1,0'
alias shutdown='ks; shutdown.exe /s /t 00'
alias reboot='ks; shutdown.exe /r /t 0'
alias yu='youtube-dl -U'
alias yd='youtube-dl'
alias yl='youtube-dl --ffmpeg-location "d:/apps/ffmpeg/bin" --retries infinite -f 18 -i -a y.txt; date ; alert'
alias nl='ng; youtube-dl --ffmpeg-location "d:/apps/ffmpeg/bin" --retries infinite -i -a 1.txt; date ; alert'
alias nl5='ng; youtube-dl --ffmpeg-location "d:/apps/ffmpeg/bin" --retries infinite -i -r 50k -a 1.txt; date ; alert'
yg() { you-get "$@" && alert; }
alias yf='youtube-dl --ffmpeg-location "d:/apps/ffmpeg/bin" --retries infinite -f'
y() { youtube-dl --ffmpeg-location "d:/apps/ffmpeg/bin" --retries infinite -f 18 "$@" && date && alert; }
yz() { youtube-dl --ffmpeg-location "d:/apps/ffmpeg/bin" --retries infinite -f 18 "$@" && date && alert && /cygdrive/c/"Program Files"/AutoHotkey/AutoHotkeyU64.exe "D:\bat\runvid.ahk"; }
yy() { youtube-dl --ffmpeg-location "d:/apps/ffmpeg/bin" --retries infinite -f 18 -r $1 $2 && date && alert; }
yyy() { youtube-dl --ffmpeg-location "d:/apps/ffmpeg/bin" --retries infinite -r $1 $2 && date && alert; }
y5() { youtube-dl --ffmpeg-location "d:/apps/ffmpeg/bin" --retries infinite -r 50k -f 18 "$@" && date && alert; }
yt5() { youtube-dl --ffmpeg-location "d:/apps/ffmpeg/bin" --retries infinite -r 50k "$@" && date && alert; }
y9() { youtube-dl --ffmpeg-location "d:/apps/ffmpeg/bin" --retries infinite -r 90k -f 18 "$@" && date && alert; }
yt9() { youtube-dl --ffmpeg-location "d:/apps/ffmpeg/bin" --retries infinite -r 90k "$@" && date && alert; }
y0() { youtube-dl --ffmpeg-location "d:/apps/ffmpeg/bin" --retries infinite -r 150k -f 18 "$@" && date && alert; }
yt0() { youtube-dl --ffmpeg-location "d:/apps/ffmpeg/bin" --retries infinite -r 150k "$@" && date && alert; }
y7() { youtube-dl --ffmpeg-location "d:/apps/ffmpeg/bin" --retries infinite -f 22 "$@" && date && alert; }
y75() { youtube-dl --ffmpeg-location "d:/apps/ffmpeg/bin" --retries infinite -f 22 -r 50k "$@" && date && alert; }
y79() { youtube-dl --ffmpeg-location "d:/apps/ffmpeg/bin" --retries infinite -f 22 -r 90k "$@" && date && alert; }
y70() { youtube-dl --ffmpeg-location "d:/apps/ffmpeg/bin" --retries infinite -f 22 -r 150k "$@" && date && alert; }
ya() { youtube-dl --ffmpeg-location "d:/apps/ffmpeg/bin" --retries infinite -f 140 "$@" && date && alert; }
yt() { youtube-dl --ffmpeg-location "d:/apps/ffmpeg/bin" --retries infinite "$@" && alert; }
yn() { youtube-dl --ffmpeg-location "d:/apps/ffmpeg/bin" --retries infinite "$@" && alert && date && /cygdrive/c/"Program Files"/AutoHotkey/AutoHotkeyU64.exe "D:\bat\newgrounds.ahk" ; }
yn5() { youtube-dl --ffmpeg-location "d:/apps/ffmpeg/bin" --retries infinite -r 50k "$@" && alert && date && /cygdrive/c/"Program Files"/AutoHotkey/AutoHotkeyU64.exe "D:\bat\newgrounds.ahk" ; }
wg5() { wget --user-agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:87.0) Gecko/20100101 Firefox/87.0" --retry-connrefused --retry-on-http-error=403 --continue --tries=0 --limit-rate 50k $@ && alert; }
wg() { wget --user-agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:87.0) Gecko/20100101 Firefox/87.0" --retry-connrefused --retry-on-http-error=403 --continue --tries=0 $@ && alert; }
wgi() { wget --user-agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:87.0) Gecko/20100101 Firefox/87.0" --retry-connrefused --retry-on-http-error=403 --continue --tries=0 --no-check-certificate $@ && alert; }
wgi5() { wget --user-agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:87.0) Gecko/20100101 Firefox/87.0" --retry-connrefused --retry-on-http-error=403 --continue --tries=0 --no-check-certificate --limit-rate 50k $@ && alert; }
wgi9() { wget --user-agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:87.0) Gecko/20100101 Firefox/87.0" --retry-connrefused --retry-on-http-error=403 --continue --tries=0 --no-check-certificate  --limit-rate 90k $@ && alert; }
wgi0() { wget --user-agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:87.0) Gecko/20100101 Firefox/87.0" --retry-connrefused --retry-on-http-error=403 --continue --tries=0 --no-check-certificate --limit-rate 150k $@ && alert; }
wgg() { wget --user-agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:87.0) Gecko/20100101 Firefox/87.0" --retry-connrefused --retry-on-http-error=403 --continue --tries=0 --limit-rate $1 $2 && alert; }
wg5() { wget --user-agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:87.0) Gecko/20100101 Firefox/87.0" --retry-connrefused --retry-on-http-error=403 --continue --tries=0 --limit-rate 50k $@ && alert; }
wg9() { wget --user-agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:87.0) Gecko/20100101 Firefox/87.0" --retry-connrefused --retry-on-http-error=403 --continue --tries=0 --limit-rate 90k $@ && alert; }
wg0() { wget --user-agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:87.0) Gecko/20100101 Firefox/87.0" --retry-connrefused --retry-on-http-error=403 --continue --tries=0 --limit-rate 150k $@ && alert; }
wg5w() { wgetw --user-agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:87.0) Gecko/20100101 Firefox/87.0" --retry-connrefused --retry-on-http-error=403 --continue --tries=0 --limit-rate 50k $@ && alert; }
wgw() { wgetw --user-agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:87.0) Gecko/20100101 Firefox/87.0" --retry-connrefused --retry-on-http-error=403 --continue --tries=0 $@ && alert; }
wgiw() { wgetw --user-agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:87.0) Gecko/20100101 Firefox/87.0" --retry-connrefused --retry-on-http-error=403 --continue --tries=0 --no-check-certificate $@ && alert; }
wgi5() { wgetw --user-agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:87.0) Gecko/20100101 Firefox/87.0" --retry-connrefused --retry-on-http-error=403 --continue --tries=0 --no-check-certificate --limit-rate 50k $@ && alert; }
wgi9w() { wgetw --user-agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:87.0) Gecko/20100101 Firefox/87.0" --retry-connrefused --retry-on-http-error=403 --continue --tries=0 --no-check-certificate  --limit-rate 90k $@ && alert; }
wgi0w() { wgetw --user-agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:87.0) Gecko/20100101 Firefox/87.0" --retry-connrefused --retry-on-http-error=403 --continue --tries=0 --no-check-certificate --limit-rate 150k $@ && alert; }
wgww() { wgetw --user-agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:87.0) Gecko/20100101 Firefox/87.0" --retry-connrefused --retry-on-http-error=403 --continue --tries=0 --limit-rate $1 $2 && alert; }
wgw5() { wgetw --user-agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:87.0) Gecko/20100101 Firefox/87.0" --retry-connrefused --retry-on-http-error=403 --continue --tries=0 --limit-rate 50k $@ && alert; }
wgw9() { wgetw --user-agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:87.0) Gecko/20100101 Firefox/87.0" --retry-connrefused --retry-on-http-error=403 --continue --tries=0 --limit-rate 90k $@ && alert; }
wgw0() { wgetw --user-agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:87.0) Gecko/20100101 Firefox/87.0" --retry-connrefused --retry-on-http-error=403 --continue --tries=0 --limit-rate 150k $@ && alert; }
alias yF='youtube-dl -F'
alias alpine='cd C:/cygwin64/home/sb/alpine-0473711/alpine/ && ./alpine'
alias sleep1h='sleep 1h; suspend'
alias sleep2h='sleep 2h; suspend'
alias sleep3h='sleep 3h; suspend'
alias sleep4h='sleep 4h; suspend'
alias sleep5h='sleep 5h; suspend'
alias wgc='wgw https://cygwin.com/setup-x86_64.exe'
alias s1h='sleep 1h; suspend'
alias s2h='sleep 2h; suspend'
alias s3h='sleep 3h; suspend'
alias s4h='sleep 4h; suspend'
alias s5h='sleep 5h; suspend'alias sleep1h='date; sleep 1h; suspend'
alias vial='vim +225 ~/.bashrc'
alias ib='nircmd infobox'
alias rm1='rm /cygdrive/c/Users/sb/AppData/Roaming/iSpy/WebServerRoot/Media/Video/EDKIY/thumbs/*'
alias rmv1='rm /cygdrive/c/Users/sb/AppData/Roaming/iSpy/WebServerRoot/Media/Video/EDKIY/*.mp4'
alias rm2='rm /cygdrive/c/Users/sb/AppData/Roaming/iSpy/WebServerRoot/Media/Video/PUEZQ/thumbs/*'
alias rmv2='rm /cygdrive/c/Users/sb/AppData/Roaming/iSpy/WebServerRoot/Media/Video/PUEZQ/*.mp4'
alias rmp='rm /cygdrive/d/pod/"Alex Jones Show Podcast"/*.mp3'
alias rma='rm /cygdrive/c/Users/sb/AppData/Roaming/iSpy/WebServerRoot/Media/Video/EDKIY/thumbs/*; rm /cygdrive/c/Users/sb/AppData/Roaming/iSpy/WebServerRoot/Media/Video/PUEZQ/thumbs/*'
alias rmva='rm /cygdrive/c/Users/sb/AppData/Roaming/iSpy/WebServerRoot/Media/Video/EDKIY/*.mp4; rm /cygdrive/c/Users/sb/AppData/Roaming/iSpy/WebServerRoot/Media/Video/PUEZQ/*.mp4'
alias rme='rma; rmva'
alias vqp='vi C:/rex/test/qprexm.py'
alias pythonc='C:/cygwin64/bin/python2.7.exe'
alias lst='echo door; ls /cygdrive/c/Users/sb/AppData/Roaming/iSpy/WebServerRoot/Media/video/PUEZQ/thumbs; echo computer; ls /cygdrive/c/Users/sb/AppData/Roaming/iSpy/WebServerRoot/Media/video/EDKIY/thumbs; date'
alias irssi='screen -S irs irssi'
alias si='screen -r -d -x irs'
alias weechat='screen -S wee weechat'
alias sw='screen -r -d -x wee'
alias sshl='cat /var/log/messages | grep sshd'
alias sshc='truncate -s 0 /var/log/messages'
alias rsc='truncate -s 0 /cygdrive/d/RSNet.txt'
alias start='cmd /c start'
alias vv='/cygdrive/c/"Program Files"/VideoLAN/VLC/vlc.exe'
alias up='/cygdrive/d/bat/up.exe'
alias r='/cygdrive/d/foobar2000/foobar2000.exe /runcmd=Playback/Random'
alias gc='git clone'
alias sshol='ssh pi@192.168.1.41 -p 10147'
alias sshh='ssh pi@192.168.1.41 -p 10147'
alias ssho='ssh debian@vps-b2931db6.vps.ovh.ca'
alias sshw='ssh -t debian@vps-b2931db6.vps.ovh.ca "screen -r -d -x wch"'
alias sshi='ssh -t debian@vps-b2931db6.vps.ovh.ca "screen -r -d -x irs"'
alias sshol2='ssh debian@192.168.1.38 -p 10149'
alias pt='sh /cygdrive/d/bat/put'
alias p8='sh /cygdrive/d/bat/pingg 8.8.8.8; ping -w 60 8.8.8.8; date'
alias 11='sh /cygdrive/d/bat/pingg 192.168.1.1'
alias pg='sh /cygdrive/d/bat/pingg google.ca; ping -w 60 google.ca; date'
alias g='sh /cygdrive/d/bat/pingg google.ca; ping -w 60 google.ca; date'
alias pgg='sh /cygdrive/d/bat/pingg google.ca'
alias gg='sh /cygdrive/d/bat/pingg google.ca'
alias 1='ping 192.168.1.1'
alias pingg='sh /cygdrive/d/bat/pingg'
alias wad='sh /cygdrive/d/bat/wad'
alias ptc='sh /cygdrive/d/bat/putc'
alias ptcc='sh /cygdrive/d/bat/putch'
alias pti='sh /cygdrive/d/bat/putindex'
alias mvm='sh /cygdrive/d/bat/mvhtml'
alias low='/cygdrive/c/Windows/System32/powercfg.exe /setactive a1841308-3541-4fab-bc81-f71556f20b4a'
alias mid='/cygdrive/c/Windows/System32/powercfg.exe /setactive 381b4222-f694-41f0-9685-ff5bb260df2e'
alias f='curl -fI "https://download.mozilla.org/?product=firefox-latest&os=linux64&lang=en-US" | grep -o "firefox-[0-9.]\+[0-9]"'
alias al='grep --no-filename "^[^#;]" ~/.bashrc | grep --color=auto alias'
unset TZ
export DISPLAY=:0.0
cd /cygdrive/d/vid