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/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 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/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 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/bash | |
DOWNLOAD_DIRECTORY="/pub/sabnzbd/books" | |
CALIBRE_PATH=/usr/bin | |
PORT="25" | |
SERVER="localhost" | |
ENCRYPTION_METHOD="NONE" | |
KINDLE_EMAIL="[email protected]" | |
FROM_EMAIL="[email protected]" | |
PROFILE="kindle_pw" | |
TODAY=`date --date="now" +%d/%m/%y` |
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/bash | |
#mylar post processing | |
# | |
CALIBRE_PATH=/usr/bin | |
EXPECTED_ARGS=5 | |
PORT="25" | |
SERVER="localhost" | |
ENCRYPTION_METHOD="NONE" | |
KINDLE_EMAIL="[email protected]" | |
FROM_EMAIL="user@email |
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
#!/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 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
#!/sbin/runscript | |
PID="/var/run/musicbrainz/server.pid" | |
depend() { | |
need net | |
after portmap | |
after iptables | |
after dnsmasq | |
} |
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
# | |
# This file is based on the configuration written by | |
# Bruno Bonfils, <[email protected]> | |
# Written since summer 2001 | |
# colors | |
eval `dircolors /etc/DIR_COLORS` | |
autoload -U zutil | |
autoload -U compinit |
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/env python2 | |
import json | |
import requests | |
import getopt, sys | |
HOST='localhost' | |
PORT='8080' | |
TITLE="Testing" | |
MESSAGE="Hello" |
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 | |
#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 | |
[email protected] | |
[email protected] | |
SUBJECT="Do you know this person?" |
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
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/; | |
} |