Skip to content

Instantly share code, notes, and snippets.

Eliot EliotVU

Block or report user

Report or block EliotVU

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
@EliotVU
EliotVU / require implementation for chrome's scratchpad
Last active Aug 29, 2015
Implements the require method as used in jetpack addons for use within the addon debugging scratchpad of Firefox.
View require implementation for chrome's scratchpad
var require = function(moduleId){
if( moduleId.contains('./') ){
moduleId = moduleId.replace('./', './lib/') + '.js';
}
for( let prop in loader.modules ){
let mod = loader.modules[prop];
if( mod.id === moduleId ){
return mod.exports;
}
@EliotVU
EliotVU / EditPackagesCommandlet
Created Nov 19, 2012
A simple commandlet for the Unreal Engine 2. This commandlet makes it possible to modify the EditPackages in GAME.ini through a batch(.bat) file.
View EditPackagesCommandlet
// Coded by Eliot Van Uytfanghe @ 2010.
Class EditPackagesCommandlet Extends Commandlet;
event int Main( string Parms )
{
local bool bAdd;
local string PackageName;
local int i;
Log( Parms, name );
You can’t perform that action at this time.