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
#!/bin/sh | |
#4.0 | |
#ip() { qvm-ls --raw-data ip -- "$1"; } | |
##4.1 | |
ip() { qvm-ls --raw-data --fields ip -- "$1"; } | |
netvm() { qvm-prefs -g -- "$1" netvm; } | |
forward() { | |
local from_domain=$1 | |
local to_domain=$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
#!/bin/bash | |
#pass in alsa or pulse to record from sound device | |
IFS=$ | |
#omit the top pixels to hide tabs and address bar | |
FIREFOX_Y_BUFFER=94 | |
FIREFOX_X_BUFFER=2 | |
if [[ ${1} =~ alsa ]] ; then | |
sound="-f alsa -ac 2 -i hw:0" | |
fi | |
if [[ ${1} =~ pulse ]] ; then |
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
#!/bin/bash | |
xset s off # don't activate screensaver | |
xset -dpms # disable DPMS (Energy Star) features. | |
xset s noblank # don't blank the video device | |
USER=`whoami` | |
PATH=/home/${USER}/Games/zwift | |
GAME_LOCATION="${PATH}/drive_c/Program Files (x86)/Zwift" | |
RUNNER=lutris-fshack-6.21-6-x86_64 |
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
#!/bin/bash | |
USER=`whoami` | |
DIR="/home/${USER}/Games/zwift/drive_c/users/daktak/Documents/Zwift" | |
case $1 in | |
1 | Watopia ) | |
WORLD=2 | |
;; | |
2 | Richmond ) | |
WORLD=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
#!/bin/bash | |
NEW_TEMPLATE=$2 | |
OLD_TEMPLATE=$1 | |
DVM_NAME=$4 | |
OLD_DVM_NAME=$3 | |
if [[ -z ${NEW_TEMPLATE} ]]; then | |
echo "update-template.sh oldtemplate newtemplate [olddvm] [newdvm]" | |
exit 1 | |
fi | |
if [[ -z ${DVM_NAME} ]]; then |
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
{ | |
"riders": [ | |
{ | |
"country_code": 705, | |
"is_male": true, | |
"first_name": "Tadej", | |
"last_name": "Poga\u010dar (UAD)", | |
"ride_jersey": 1751349769, | |
"bike_frame": 3628259811, | |
"bike_wheel_front": 2223270801, |
OlderNewer