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
package main | |
import ( | |
"os" | |
"time" | |
"fmt" | |
"bufio" | |
"strings" | |
"net/http" | |
"bytes" |
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
#!/usr/bin/python3 | |
''' | |
usage: swsh.py [-h] [--login LOGIN] [--password PASSWORD] [--server SERVER] | |
[--verify VERIFY] [--output OUTPUT] [--input INPUT] | |
[--customprop [CUSTOMPROP [CUSTOMPROP ...]]] | |
[--pollers [POLLERS [POLLERS ...]]] | |
[--node-settings [NODE_SETTINGS [NODE_SETTINGS ...]]] [--debug] | |
[--log [LOG]] [--config [CONFIG]] [--generate-config] | |
[--col-order COL_ORDER] |
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 | |
# Generates commands to install Moogsoft on a linux machine -pete 2018-01-23 | |
host="${1-localhost}" | |
moog_tar="moog6.3.tgz" | |
license="123" | |
java_archive="server-jre-8u172-linux-x64.tar.gz" | |
java_basedir="jdk1.8.0_172" |
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 | |
# This script echos out a bunch of commands to set up ggtracker on a Debian box | |
# probably have to run this from a linux box of some kind :-/ -pete 2017-11-12 | |
host=${1:-"localhost"} | |
key=${2:-"key"} # AWS key | |
sec=${3:-"sec"} # AWS secret | |
bucket_prefix=${4:-"local"} | |
user=${5:-"gguser"} # User on Debian box | |
pass=${6:-$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 16 | head -n 1)} | |
recaptcha_secret=${7:-"AAAA"} |
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
#!/usr/bin/python | |
# | |
# cp_virsh.py -pete 2016-03-15 | |
# | |
# | |
''' | |
usage: cp-virsh.py [-h] [--remove] [--quiet] [--password PASSWORD] | |
[--memory MEMORY] [--cpus CPUS] [--add-disk] | |
[--disk-size DISK_SIZE] [--remove-vol] |
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
#!/usr/bin/python | |
''' | |
usage: yt-convert.py [-h] [--input INPUT] [--output OUTPUT] [--format FORMAT] | |
[--debug] [--url URL] | |
{channel,convert,query} | |
Youtube conversion tool -pete 2017-08-01 | |
positional arguments: | |
{channel,convert,query} |