Skip to content

Instantly share code, notes, and snippets.

Robert Johnston Anaerin

Block or report user

Report or block Anaerin

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
Anaerin / MergeSort.js
Last active Sep 26, 2019
Async Merge Sort for Javascript
View MergeSort.js
async function MergeSort(arrInput) {
// If there's only 1 entry, return it.
if (arrInput.length == 1) return arrInput;
// If there are 2 entries, return them in the right order.
else if (arrInput.length == 2) {
// If the second entry is bigger, return it first
if (arrInput[1] > arrInput[0]) return [arrInput[1], arrInput[0]];
// Otherwise, the first entry is bigger, or they're equal, so return them as-is
Anaerin / BitTechWidescreen.user.css
Last active Jul 5, 2017
New (06-2017) Bit-Tech Widescreen fix
View BitTechWidescreen.user.css
@namespace url(;
@-moz-document domain("") {
.pageContainer {
/* Set max-width to how wide you'd like the page to be */
max-width: 90% !important;
width: 100% !important;

Code Map

Okay, here's how this sucker's going to work.


General utility functions and objects. For instance...


View ReactorControl.lua
-- Globals - Change these to suit your turbines and consumption needs.
RPMTarget = 1700
StoredShutoff = 90 -- Capacitor amount, in %
StoredRestart = 10 -- Capacitor amount, in %
-- Set up variables
turbines = {}
local pers = peripheral.getNames()
local screenWidth
local screenHeight
View SVG Curly Marquee.htm
<link href='' rel='stylesheet' type='text/css'>
<div class="contain-demo">
<svg width="620" height="200">
<path id="testPath" d="M33.858,150.079
c-27.709-4.42-63.533,24.213-53.21,54.99c5.929,17.669,29.09,11.549,41.399,5.908" />
View Twitch.Plug.DJ.user.js
// ==UserScript==
// @name Twitch.Plug.DJ
// @namespace
// @include*
// @include*
// @version 1
// @grant none
// @description Integrates twitch streams into
// ==/UserScript==
You can’t perform that action at this time.