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
| ;build it with | |
| ;ahk/Compiler/Ahk2Exe.exe //in move-mouse.ahk //out move-mouse.exe | |
| ;copy exe to "%APPDATA%/Microsoft/Windows/Start Menu/Programs/Startup/" | |
| Menu, Tray, Icon, C:\Windows\Cursors\aero_link_l.cur | |
| Loop | |
| { | |
| ; Move mouse |
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
| #!/bin/sh | |
| # Routes that we want to be used by the VPN link | |
| # ROUTES="0.0.0.0/31" | |
| # HORIZON_CLIENT_URI="..." | |
| # Helpers to create dotted-quad netmask strings. | |
| MASKS[1]="128.0.0.0" | |
| MASKS[2]="192.0.0.0" | |
| MASKS[3]="224.0.0.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
| */15 * * * * sudo find /var/cache/raspotify/files/* -mmin +59 -type f -delete >/dev/null 2>&1 |
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
| cd | |
| sudo apt-get update | |
| sudo apt-get install build-essential git xmltoman autoconf automake libtool libdaemon-dev libpopt-dev libconfig-dev libasound2-dev avahi-daemon libavahi-client-dev libssl-dev | |
| git clone https://github.com/mikebrady/shairport-sync.git | |
| cd shairport-sync | |
| autoreconf -i -f | |
| ./configure --sysconfdir=/etc --with-alsa --with-avahi --with-ssl=openssl --with-metadata --with-systemd | |
| make | |
| sudo make install | |
| sudo systemctl enable shairport-sync |