Skip to content

Instantly share code, notes, and snippets.

View dejayc's full-sized avatar

Dejay Clayton dejayc

View GitHub Profile
@dejayc
dejayc / ExanimaCameraLock.au3
Created November 3, 2022 21:35
Locks the camera behind one's character in the game Exanima
#include <Misc.au3>
#comments-start
--------------------------------------------------------------------------------
This script allows an Exanima player to lock the camera behind their character,
updating the camera as necessary when the character changes orientation or
position. Via keypress, it can be enabled and disabled, as well as temporarily
disabled by pressing shift. The scripts starts with camera lock disabled.
Default keys:
@dejayc
dejayc / fixNlc.sh
Created February 20, 2012 19:39
Fixes the ipfw DummyNet rules created by Network Link Conditioner when using Internet Sharing in Mac OS X Lion
#!/bin/bash
LAN_INTERFACE=''
BRIDGE_INTERFACE=''
SCRIPT_NAME=$( basename "${0}" )
POLL_SLEEP_SECONDS=5
getProcessInfo() {
local PROCESS="${1}"
ps -ef | grep "${PROCESS}" | grep -v "grep ${PROCESS}"