Skip to content

Instantly share code, notes, and snippets.

View jfryman's full-sized avatar

James Fryman jfryman

View GitHub Profile
#!/usr/bin/env bash
curl --get "http://localhost:3000/xbmcCmds/xbmcHttp?command=ExecBuiltIn&parameter=XBMC.updatelibrary(video)"
# /etc/puppet/manifests/modules.pp
import "sudo"
import "syslog-ng"
# /etc/puppet/manifests/site.pp
import "modules"
import "nodes"
import "templates"
# /etc/puppet/modules/znc/manifests/init.pp
class znc {
package {
znc: ensure => latest
znc-dev: ensure => latest,
znc-extra: ensure => latest,
znc-perl: ensure => latest,
znc-tcl: ensure => latest,
znc-webadmin: ensure => latest,
### END INIT INFO
# PATH should only include /usr/* if it runs after the mountnfs.sh script
PATH=/sbin:/usr/sbin:/bin:/usr/bin
DESC="znc, an advanced modular IRC bouncer"
NAME=znc
DAEMON=/usr/bin/$NAME
DAEMON_ARGS="-d /etc/znc"
PIDFILE=/var/run/$NAME.pid
SCRIPTNAME=/etc/init.d/$NAME
Listen = +8080
LoadModule = modperl
LoadModule = webadmin
<User jamison>
Pass = e5fc47de744a988081ba09aeba6f6174 -
Admin = true
Nick = jamison
AltNick = jamison_
Ident = jamison
@jfryman
jfryman / gist:670469
Created November 10, 2010 06:56
SABNZBd+ configuration
__version__ = 18
[misc]
log_dir = ${sabnzbdroot}/logs
auto_browser = 0
permissions = 755
api_key = XXXXXXXXXXXXXXXXXXXXXXX
check_new_rel = 1
replace_spaces = 0
replace_illegal = 1
fail_on_crc = 0
galactica:Programming james$ git clone [email protected]:tumble.wcyd.org.git
Cloning into tumble.wcyd.org...
[email protected]'s password:
ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAs+GeGLixX7tHme1SSXbesHfGCk7FoFwfhioXSlzYEU9bdUOqA0g9Okfvb5LR+BClJI31QQ6QM7ccW7QJGJlcbrw4TqDe8wD3vrl417FBDyAtSs+AUVdh7WKSbkTptXZCTr0DOsNgQtuM+CQXMxvF09rsHp/JYCboCSngMeBKyTKs+rsT8XAutJXSCoGlkNFFtZfNA9J++Uk9O25Up50k1ZBokG3dCrzrq0rcG3vIj7yCAUcGHP+m2CyauS874G86dhCbTnX7zvkDrWN+Fgque+hFNZYRPzmwCLzM0Fpr3Y28+dZUR/zrxVty2Ddm1XxTMmNEa4ZOWislNCDeiSaaTw== [email protected]
# upload.rb
require 'rubygems'
require 'sinatra'
require 'FileUtils'
get '*' do
"Nothing to see here"
end
post '*' do
--- puppet-enterprise-installer.old 2011-04-28 21:19:38.483204013 -0500
+++ puppet-enterprise-installer 2011-04-28 22:20:22.742210017 -0500
@@ -1120,7 +1120,7 @@
#---[ Paranoia ]--------------------------------------------------------
# Exit immediately if a simple command exits with a non-zero status:
- set -e
+ #set -e
#---[ Debug ]-----------------------------------------------------------