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
#!/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
#!/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
#!/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 | |
#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 | |
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
#------------------------------------------//// | |
# Colors: | |
#------------------------------------------//// | |
black='\e[0;30m' | |
blue='\e[0;34m' | |
green='\e[0;32m' | |
cyan='\e[0;36m' | |
red='\e[0;31m' | |
purple='\e[0;35m' | |
brown='\e[0;33m' |
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
<HTML> | |
<HEAD> | |
<META HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=utf-8"> | |
<TITLE></TITLE> | |
<STYLE> | |
td { font-size:40px } | |
span { font-size:20px } |
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
! Use a nice truetype font and size by default... | |
xterm*faceName: DejaVu Sans Mono Book | |
xterm*faceSize: 11 | |
! Every shell is a login shell by default (for inclusion of all necessary environment variables) | |
xterm*loginshell: true | |
! I like a LOT of scrollback... | |
xterm*savelines: 16384 |