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 | |
for n in `cat $1 | grep @ | sed 's/.*://'| sed 's/\r//'`; do gpg --keyserver pgp.mit.edu --search-keys $n; done |
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 | |
DOWNLOAD_DIRECTORY="/pub/sabnzbd/books" | |
CALIBRE_PATH=/usr/bin | |
PORT="25" | |
SERVER="localhost" | |
ENCRYPTION_METHOD="NONE" | |
KINDLE_EMAIL="kindle_user@kindle.com" | |
FROM_EMAIL="authorized@email.com" | |
PROFILE="kindle_pw" | |
TODAY=`date --date="now" +%d/%m/%y` |
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 | |
#mylar post processing | |
# | |
CALIBRE_PATH=/usr/bin | |
EXPECTED_ARGS=5 | |
PORT="25" | |
SERVER="localhost" | |
ENCRYPTION_METHOD="NONE" | |
KINDLE_EMAIL="user@kindle.com" | |
FROM_EMAIL="user@email |
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/env python | |
import subprocess | |
import sys | |
from xvfbwrapper import Xvfb | |
vdisplay = Xvfb() | |
vdisplay.start() | |
# launch stuff inside virtual display here |
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
#!/sbin/runscript | |
PID="/var/run/musicbrainz/server.pid" | |
depend() { | |
need net | |
after portmap | |
after iptables | |
after dnsmasq | |
} |
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 |
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 | |
import json | |
import requests | |
import getopt, sys | |
HOST='localhost' | |
PORT='8080' | |
TITLE="Testing" | |
MESSAGE="Hello" |
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 | |
#edit /etc/pam.d/system-auth | |
#change pam_unix (line 2 to below) | |
#auth [success=1 new_authtok_reqd=ok ignore=ignore default=bad] pam_unix.so try_first_pass likeauth nullok | |
#auth [default=ignore] pam_exec.so seteuid /usr/local/bin/getwebshot.sh | |
TMP_DIR=/tmp/cheese | |
HOSTNAME=localhost | |
MAILTO=me@email.com | |
MAILFROM=root@email.com.au | |
SUBJECT="Do you know this person?" |
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
location /nzedb/ { | |
try_files $uri $uri/ @rewrites; | |
alias /opt/nzedb/nZEDb/www/; | |
} | |
location /nzedb/covers/ { | |
try_files $uri $uri/ @rewrites; | |
alias /opt/nzedb/nZEDb/resources/covers/; | |
} |