Skip to content

Instantly share code, notes, and snippets.

Jesse M. Pearson Lixivial

Block or report user

Report or block Lixivial

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@Lixivial
Lixivial / map_pack.sh
Created Nov 5, 2010
bash script to parse and bundle maps by gametype.
View map_pack.sh
#!/bin/bash
# map_pack.sh - Jesse M. Pearson (Lixivial)
# contact: jesall@gmail.com
#
# Description:
# A simple script meant to break up Nexuiz maps into individual
# gametypes.
#
# Things to note:
# 1. The files generated/used are mostly self-contained to the script's execution directory.
@Lixivial
Lixivial / backup.pl
Created Apr 5, 2010
a quick perl script to do some backup handling of common data types
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.
#
@Lixivial
Lixivial / dbdump_to_sqlite.pl
Created Mar 14, 2010
preliminary vnstat->sqlite converter
View dbdump_to_sqlite.pl
#!/usr/bin/perl
use strict;
use DBI;
use XML::Simple;
use Getopt::Mixed;
# static vars to emulate boolean behaviour.
use constant false => 0;
use constant true => 1;
@Lixivial
Lixivial / amconfluence.sh
Created Mar 3, 2010
AMANDA logs to Confluence
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
@Lixivial
Lixivial / confluence_export.sh
Created Mar 3, 2010
shell script to output all Confluence spaces to PDF (and HTML) and place them on a share.
View confluence_export.sh
#!/bin/bash
# set -x
# Jesse Pearson
# Shell script to output all Confluence Spaces to PDF and optionally
# push them to a SMB or some other share.
#
# Dependencies:
# wget
#
# Optional dependencies:
@Lixivial
Lixivial / old_logs.sh
Created Jan 17, 2010
import old tarball'd logs into a new awstats config.
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
@Lixivial
Lixivial / README
Created Jun 7, 2009
a quick and dirty fallback downloader and load balancer
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>
@Lixivial
Lixivial / gist:32615
Created Dec 6, 2008
praebot qstat server output
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
@Lixivial
Lixivial / infobot.help
Created Nov 17, 2008
Preliminary Infobot qstat wrapper
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.
@Lixivial
Lixivial / gist:25560
Created Nov 16, 2008
praebot qstat output
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
You can’t perform that action at this time.