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
{ | |
"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, |
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 | |
#based off | |
#https://github.com/ghuntley/sabToCalibre | |
#Requires Calibre, sabnzbd | |
#latest version at | |
#https://gist.github.com/daktak/8347325 | |
DOWNLOAD_DIRECTORY="/pub/sabnzbd/books" | |
CALIBRE_PATH=/usr/bin | |
EXPECTED_ARGS=7 | |
PORT="25" |
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
#!/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 | |
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 | |
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/env python2 | |
# | |
# | |
############################################################################## | |
### NZBGET POST-PROCESSING SCRIPT ### | |
# chmod for nzbget | |
# NOTE: This script requires Python to be installed on your system. | |
############################################################################## | |
### OPTIONS ### |
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
# set a big scrolling buffer | |
defscrollback 5000 | |
# Set the caption on the bottom line | |
caption always "%{= kw}%-w%{= BW}%n %t%{-}%+w %-= @%H - %LD %d %LM - %c" | |
defutf8 on | |
termcapinfo xterm* ti@:te@ | |
term xterm-256color |
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
# | |
# This file is based on the configuration written by | |
# Bruno Bonfils, <asyd@debian-fr.org> | |
# Written since summer 2001 | |
# colors | |
eval `dircolors /etc/DIR_COLORS` | |
autoload -U zutil | |
autoload -U compinit |
NewerOlder