Skip to content

Instantly share code, notes, and snippets.

View aheadley's full-sized avatar

Alex Headley aheadley

View GitHub Profile
@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

@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
<?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 / 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"

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.

$ 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

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

Most of this is pretty simple, but we'll walk through the whole thing for the sake of completeness. Starting with the inner bit

return ${ ! ${''} = (new ReflectionClass( get_called_class() ) ) }->newInstanceArgs( func_get_args() );

return ${ ! ${''} = (new ReflectionClass( 'A' ) ) }->newInstanceArgs( func_get_args() );

return ${ ! ${''} = ReflectionClass('A') }->newInstanceArgs( func_get_args() );
@aheadley
aheadley / guide.md
Created February 4, 2015 05:00
EVE Superior Sleeper Cache

Superior Sleeper Cache

Room 1 (Initial Warp-in)

The room also has a giant cloaked structure that didn't seem to do anything but should probably be investigated to see if bumping into causes a change.

Enemies

None

-----------------------------------------------------------------------------
Originally hosted at: http://mods.relicnews.com/misc/BIGSpec.shtml
-----------------------------------------------------------------------------
BIG FILE FORMAT SPECIFICATION -- RBF1.23 -- v0.8
(incomplete)
01/04/2000