Skip to content

Instantly share code, notes, and snippets.

View aheadley's full-sized avatar

Alex Headley aheadley

View GitHub Profile

Quick Installation Howto

  1. Make sure you have successfuly set up iPXE, iSCSI target (iSCSI Enterprise Target on Debian works fine for me), TFTP server and some time to spend.
  2. Get yourself a NTFS-formatted USB stick.
  3. Copy contents of installation DVD into mentioned USB stick.
  4. Get a copy of wimboot and load it into your TFTP server.
  5. Copy boot/bcd, boot/boot.sdi, sources/boot.wim and bootmgr into TFTP root as well.
  6. Create the bootstrap script (included bootstrap.ipxe file) and boot your
$ make
[ 5%] Built target Common
[ 5%] Generating something_that_never_exists
-- Found Git: /usr/bin/git (found version "1.7.10.4")
[ 5%] Built target GitVersion
[ 5%] Built target glew
[ 6%] Built target cityhash
[ 7%] Built target rg_etc1
[ 7%] Built target snappy
[ 8%] Built target vjson

Dear -

Welcome to the Continuum family!

As a loyal customer of the R1Soft / Idera Server Backup Manager product, we thank you for your continued business and want you to be the first to hear the exciting news that Continuum Managed Services has acquired the product line from Idera.

We believe that the R1Soft team has created something truly special with its solution for the data protection needs of service providers and data centers. We look forward to investing in both the product and team to ensure R1Soft SBM remains the market-leading solution.

@aheadley
aheadley / sample_config.json
Last active August 29, 2015 14:01
Some examples of possible new overviewer config file formats
{
"worlds": {
"My World": "/path/to/your/world"
},
"outputdir": "/tmp/test_render",
"rendermode": "lighting",
"renders": {
"render1": {
"world": "My World",
"title": "A regular render"
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<REQUEST_SERVICE_RESPONSE>
<PIECE>
<DOWNLOAD_URL>http://gisdata.usgs.gov/TDDS/DownloadFile.php?TYPE=NLCD&FNAME=2001/landcover/conus/NLCD2001_LC_N42W069_v2.zip&ORIG=RVS</DOWNLOAD_URL>
<THUMBNAIL_URL>Not Available</THUMBNAIL_URL>
<METADATA_URL>Not Available</METADATA_URL>
<BBOX>
<TOP>44.9999999990568</TOP>
<BOTTOM>41.9999999990618</BOTTOM>
<LEFT>-72</LEFT>
@aheadley
aheadley / fix-horriblesubs-april-fools.py
Created April 2, 2014 18:29
Simple script to fix the reversed dialogue in HorribleSubs's april fools subs. Correctly handles UTF-8 text and remuxes into a new MKV.
#!/usr/bin/env python3
import re
import sys
import subprocess
import hashlib
import os
DEBUG = False
@aheadley
aheadley / gist:8461757
Last active January 3, 2016 12:19
PS2 Tweaks

Source: http://pastebin.com/RBsV9PRK

Before You Start

The game files are in C:\Users\Public\Sony Online Entertainment\Installed Games\PlanetSide 2 Beta Unless otherwise specified, open files with a text editor like Notepad. All changes except those made to useroptions.cfg are removed upon running the patcher. Make these changes after the patcher is finished working and before you hit the play button.

Modify the Draw Distance

#!/usr/bin/env python
# -*- coding: utf-8 -*-
# Nexcess.net python-r1soft
# Copyright (C) 2013 Nexcess.net L.L.C.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.

Dear sir/ Madam,

So nice to contact you. We are manufacturer specialized in designing and producing innovative shoe dryer. Besides drying, our shoe dryer can effectively remove odor caused by bacteria and fungi which lead to dermatophytosis (athlete's foot), and it is good for hockey player.

@aheadley
aheadley / output.txt
Created October 30, 2013 22:35
Example of how PHP's `protected` designation is stupid and broken.
$ php -f unprotector.php
$a->_x = you cant change me
$b->_x = you cant change me
set $b->_x = 'yes i can'
$a->_x = yes i can