Skip to content

Instantly share code, notes, and snippets.

@comp500
comp500 / en_US.lang
Last active August 10, 2017 14:59
These files are used to make the FTBUtilities Guide pages for Quark. The features JSON file is downloaded from github and used to make documentation files. To use it, install node.js, put index.js and package.json in a folder, run npm install then node index.js.
quark.guide=Quark
@comp500
comp500 / recipedump.js
Last active April 7, 2017 12:20
I'll just leave this here. It probably won't work on any system unless you clone my PC.
var fs = require('fs');
var windows1252 = require('windows-1252');
function parseRecipes(callback, itemList) {
fs.readFile('recipes.txt', 'utf8', function (err, data) {
if (err) throw err;
var dataLines = data.split('\n');
console.log(dataLines.length + " recipes");
var recipes = [];
var oreDictionary = [];
@comp500
comp500 / cursetoCSV.js
Created February 17, 2017 15:20
Curse to CSV
// require modules
var path = require('path');
var fs = require('fs');
var url = require('url');
var prompt = require('prompt');
if (!process.env.APPDATA) { // Check for AppData existence
throw new Error("AppData not found. Are you on windows?");
}
var instancesFile = path.join(process.env.APPDATA, "Curse Client/GameInstances/MinecraftGameInstance.json"); // find instances file

Keybase proof

I hereby claim:

  • I am comp500 on github.
  • I am comp500 (https://keybase.io/comp500) on keybase.
  • I have a public key ASAL1bTNtCzF3YK7jYL_O_OJpIV4acrKlNMbZ08cKx9PMwo

To claim this, I am signing this object:

<?php
require("bin/API/Scratch.php")
var scratch = new ScratchWebsiteFromURL("scratch.mit.edu");
scratch->gainSuperUserAccess();
var me = scratch->getUserByName("comp500");
var scratchteam = scratch->getST();
scratchteam->removeAllMembers();
var member = scratchteam->addMember(me);
scratchteam->setOwner(member);
member->hackScratch();