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
language: python | |
python: | |
- "2.6" | |
- "2.7" | |
env: | |
- C_INCLUDE_PATH="." | |
before_install: | |
- wget -N http://hg.effbot.org/pil-117/raw/f356a1f64271/libImaging/Imaging.h -P ~/builds/pironic/Minecraft-Overviewer/overviewer_core/src/Imaging.h | |
- wget -N http://hg.effbot.org/pil-117/raw/f356a1f64271/libImaging/ImPlatform.h -P ~/builds/pironic/Minecraft-Overviewer/overviewer_core/src/ImPlatform.h | |
install: |
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/rrdtool graph - \ | |
--imgformat=PNG \ | |
--start=-86400 \ | |
--end=-300 \ | |
--title='raptr Stats - Hours Played - CalgaryCompany' \ | |
--base=1000 \ | |
--height=120 \ | |
--width=500 \ | |
--alt-autoscale-max \ | |
--lower-limit='0' \ |
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 SocketServer, subprocess, sys | |
from threading import Thread | |
import RPi.GPIO as GPIO, time, os | |
GPIO.setmode(GPIO.BCM) | |
HOST = '10.1.1.45' | |
PORT = 2000 | |
def RCtime (RCpin): |
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 SocketServer, sys, time, os | |
HOST = '10.1.1.45' | |
PORT = 2000 | |
DEBUG = 1 | |
import socket | |
def client(string): | |
# SOCK_STREAM == a TCP socket |
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
# ~/.tmux.conf | |
# window numbering index | |
set -g base-index 1 | |
# pane numbering index | |
setw -g pane-base-index 1 | |
set -g display-time 2500 | |
#set -g detach-on-destroy off |
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
function getPlayerObject($name=null, $guids=null, $region=null) | |
{ | |
$users = array(); | |
$query = sprintf("SELECT players.guid, players.name, teams.name as faction, players.region FROM `players` | |
LEFT JOIN teams ON players.team=teams.id"); | |
if (isset($guids)) | |
{ | |
if (is_array($guids)) | |
{ | |
$query .= sprintf("\nWHERE (players.guid = '%s'", $guids[0]); |
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
<object width="250" height="40"><param name="movie" value="http://grooveshark.com/songWidget.swf"><param name="wmode" value="window"><param name="allowScriptAccess" value="always"><param name="flashvars" value="hostname=cowbell.grooveshark.com&songIDs=33344993&style=metal&p=0"><embed src="http://grooveshark.com/songWidget.swf" type="application/x-shockwave-flash" width="250" height="40" flashvars="hostname=cowbell.grooveshark.com&songIDs=33344993&style=metal&p=0" allowscriptaccess="always" wmode="window"></object> |
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
<?php | |
include_once('config.php'); | |
include_once('database.php'); | |
try { | |
// pull a list of customers that are eligible for offsite backup | |
$db = new Database( | |
$cfg['db']['host'], | |
$cfg['db']['dbase'], | |
$cfg['db']['user'], |
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 node | |
var attack = { | |
timeoutID: null, | |
storedRequest: null, | |
config: { | |
attack_url: "http://algersoft.net/kriegerathome/attack.php", | |
status_url: "http://algersoft.net/kriegerathome/get_totals.php", | |
interval: 30, //seconds | |
payload: "activity=record_progress", |
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
09-May-2016 00:38:34 - INFO :: CP Server Thread-10 : Starting postprocessing for : Manual Run | |
09-May-2016 00:38:34 - INFO :: Thread-40 : there are 50 files. | |
09-May-2016 00:38:34 - INFO :: Thread-40 : [FILENAME]: MorningGlories_vol1_1398374447.cbr | |
09-May-2016 00:38:34 - INFO :: Thread-40 : [FILENAME]: Invincible_vol1_1398382571.cbr | |
09-May-2016 00:38:34 - INFO :: Thread-40 : [FILENAME]: TheManhattanProjects_vol1_1398374447.cbr | |
09-May-2016 00:38:34 - INFO :: Thread-40 : [FILENAME]: Lazarus_vol1_1398374447.cbr | |
09-May-2016 00:38:34 - INFO :: Thread-40 : [FILENAME]: Revival_vol1_update.cbr | |
09-May-2016 00:38:34 - INFO :: Thread-40 : [FILENAME]: Fatale_vol1_1398374447.cbr | |
09-May-2016 00:38:34 - INFO :: Thread-40 : [FILENAME]: Chew_vol1_1398371801.cbr | |
09-May-2016 00:38:34 - INFO :: Thread-40 : [FILENAME]: Saga (2012) - 3.cbr |