Instantly share code, notes, and snippets.

View PerforceCopy.cs
namespace Tools
{
using System.IO
using Perforce.P4;
public class PerforceCopy
{
private static void Copy()
{
const string serverString = "10.10.0.151:1666";
View OctopusLinqpadYay.cs
var exclusionList = new List<string>(new string[] { "projects-403",
"projects-547",
"projects-561",
"projects-562",
"projects-961",
"projects-645",
"projects-897",
"projects-643",
"projects-517",
"projects-518",
View gist:25560
15:33:29 → miniLixi (~Jesse@71-10-86-62.dhcp.roch.mn.charter.com) has entered the channel.
15:33:55 <@Lixivial> miniLixi: qstat 75.126.234.42:26000
15:33:57 <miniLixi> Galt's Gulch - CTF - TX, USA 20 24 pushmectf mshade.org:26000 \n
15:33:58 <miniLixi> 75 *A*Blackmushroom -666\n
15:33:58 <miniLixi> 64 12 Angry Men -666\n
15:33:58 <miniLixi> 82 MossDemos -666\n
15:33:59 <miniLixi> 27 [+]death/angel -666\n
15:33:59 <miniLixi> 50 <.< -666\n
15:34:00 <miniLixi> 91 neurocide -666\n
15:34:02 <miniLixi> 97 [o]SoulBringer 0\n
View infobot.help
qstat: Usage for '## <params>':
qstat: ----- __Aliasing__
qstat: -a - Add an alias
qstat: -c - Check an alias
qstat: -e - Edit an alias
qstat: -r - Remove an alias
qstat: ----- __Querying__
qstat: -h - List of hosts to report/query from.
qstat: -p - Player name to search for in output of -c or -h
qstat: -g - Game type to use to query.
View gist:32615
22:24:51 <@Lixi|away> miniLixi: qstat -c masters -g nexuizm -m
22:25:01 <miniLixi> Here are lixi|away's results:
22:25:01 <miniLixi> MASTER dpmaster.deathmask.net:27950
22:25:01 <miniLixi> [Nexuiz Ninjaz] Race - Washington DC, US - GigE 0 16 streetrace 208.43.251.170:26004
22:25:02 <miniLixi> +++NEX CTF DesertCastles Server /MI/USA+++ 0 10 desertcastles6 72.52.190.155:26004
22:25:02 <miniLixi> !BAF!MINSTAGATOR (minsta, hook) 7 32 farewell_laserfun 69.9.46.110:26000
22:25:02 <miniLixi> 30 Stevibo 3
22:25:04 <miniLixi> 85 !BAF!Will Riker 2
22:25:06 <miniLixi> 86 [GT]ColdVodka 7
22:25:08 <miniLixi> 128 Big Ron 2
View README
################
# INSTALLATION #
################
There should be no weird php.ini variables to set, so just move this to a server and set the appropriate permissions.
If you want to make it so a URL can be parsed as http://foo.bar/proxy/param1/param2/paramn, you can utilise a .htaccess
file to do this.
First, rename proxy.php to proxy and then put a .htaccess file in the same directory as proxy with the following information:
<Files proxy>
View old_logs.sh
#!/bin/bash
# old_logs.sh -- A simple import script to import old tarball logs into a new awstats site config.
# by Lixivial (Jesse Pearson)
# contact: jesall@gmail.com
# or irc.quakenet.org/#prae.nexuiz
#
# Script arguments:
#
# config -- awstats config name sans .conf
# access_log -- the path to the access log with wildcards
View amconfluence.sh
#!/bin/bash
# Daily Backup Confluence Bridge
# jesse pearson
#
# Purpose:
# Used to send the Amanda backup logs into a Confluence page and
# attach a PDF output summary to the given page.
#
# Dependencies:
# cadaver
View backup.pl
#!/usr/bin/perl
# set -x
# Jesse Pearson
# Quick perl script to tar up given set of targets, and push them to a given destination
#
# Changelog:
# 04.05.2010 - jp - added cp and svn support.
# 04.05.2010 - jp - added local and remote backup holding directories.
# 04.01.2010 - jp - Initial creation date.
#
View map_sync.sh
#!/bin/bash
# map_sync.sh - Jesse M. Pearson
# contact: jesall@gmail.com
# or
# irc.quakenet.org/#prae.nexuiz
#
# Description:
# A script to synchronise the latest files across a set of servers (server_list.txt).
# Its intended usage is through a cron task, though manually running it
# one-time via CLI would work, too.