Skip to content

Instantly share code, notes, and snippets.

View blairmacintyre's full-sized avatar

Blair MacIntyre blairmacintyre

View GitHub Profile

This document explains my environment and workflow for handling upgrades to AEL's Hubs Cloud instance.

Overview

hubs.aelatgt.net includes source modifications to support script injection and a handful of project-specific tweaks. This allows developers to add new behaviors on a room-by-room basis without having to rebuild the client. Some projects require access to internal client logic, which we expose on a global APP.utils object.

Environment

I have multiple Git remotes configured so I can maneuver between the Mozilla and AEL repos:

@blairmacintyre
blairmacintyre / 0_reuse_code.js
Created October 19, 2013 17:45
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@blairmacintyre
blairmacintyre / print.js
Created July 10, 2013 19:45 — forked from paulharter/print.js
Modified print.js to create two openscad files, so I can dual-print
importPackage(Packages.com.sk89q.worldedit.blocks);
importPackage(Packages.com.sk89q.worldedit);
//joins up blocks in the dimension dim
function squash(blockarray, dim, sx, sy, sz, arraysize){
var i = new Array();
var dims = new Array();
for (var y = 0; y <= sy; y++){