Skip to content

Instantly share code, notes, and snippets.

Nathan Lex Higgs1

Block or report user

Report or block Higgs1

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
Higgs1 / _Factory Idle
Last active Jun 9, 2018
Foxxie's Fantastical Factory Idle Mods
View _Factory Idle

Foxxie's Fantastical Factory Idle Mods

Welcome to my collection of fantastically fabulous fox Factory Idle mods. All of these mods are completely free under the Hug-Ware license: "If we meet some day, and you think this stuff is worth it, you can give me a hug in return."

These mods do various neat things to help enhance your Factory Idle playing experience. Here's a short description of each and a link to automatically install them (assuming you already have the required software installed).

Enable Right Click Context Menu [disable right click.user.js]

Makes your normal right clicky context menu pop up when you right click, except in the map area so you can still delete things.

Higgs1 / gist:67892140dc7f6cf30c5a0e2f7c20dd3f
Created Jul 12, 2016
Some Weird Derpy Telegram-CLI Makefile I Made
View gist:67892140dc7f6cf30c5a0e2f7c20dd3f
TG_FILES = main loop interface json-tg lua-tg python-tg python-types
MTP_FILES = common client key utils
TGL_FILES = binlog queries structures tgl tgl-net tgl-timers tg-mime-types tools updates $(addprefix mtproto-, ${MTP_FILES})
CRYPT_FILES = aes bn err md5 rand rsa_pem sha
AUTO_FILES = autocomplete fetch skip store types fetch-ds free-ds print-ds store-ds
Higgs1 /
Last active Jul 12, 2016
Telegram CLI Install Script
#!/usr/bin/env bash
# To install Telegram-CLI, run the command:
# curl -s | bash /dev/stdin
# Optionally specify an output file, otherwise will default to ./telegram-cli
LUA='5.2' # LUA Version
PY='3.5' # Python Version
Higgs1 /
Last active May 14, 2016
Python Slither.IO Server List Reader
import functools
import ipaddress
import itertools
import requests
import re
# Source:
def Layer1Decoder(stream): # (Steps 2, 3, and 4)
shift = 0
Higgs1 / slither.user.js
Last active May 1, 2016
Slither.IO Simple Graphics Mode
View slither.user.js
// ==UserScript==
// @name Slither.IO Simple Graphics Mode
// @namespace
// @include
// @version 1
// @run-at document-idle
// @grant none
// @updateURL
// ==/UserScript==
Higgs1 / startup.lua
Last active Aug 29, 2015
Computer Craft Induction Smelter Turtle
View startup.lua
-- 1. Label Computer
-- 2. Save file as "/startup"
while true do
for slot=1,16 do
if turtle.getItemCount(slot) > 0 then
for j=slot+1,16 do
if turtle.compareTo(j) then
Higgs1 / gist:c0066abd1cc2f2f5435d
Last active Jul 13, 2016
My current Python Data Stream Reader
View gist:c0066abd1cc2f2f5435d
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from functools import partialmethod
import struct, math, io
def _boc(end):
if end is 'little':
return '<'
elif end is 'big':
Higgs1 / gist:e020321828ed3dc2d0a4
Last active Aug 29, 2015
Extended JSON Parsing / Scraping in Python3
View gist:e020321828ed3dc2d0a4
Rationale: Some websites make it difficult to scrape from by obfuscating their otherwise JSON data with
things such as unquoted object keys, concatenated strings, comments, etc. which are all valid JavaScript
constructs but invalid JSON. This usually forces would-be web scraper developers to emulate an entire
browser just to mine the data, which apparently is a fairly successful deterrent. This script parses the
JavaScript AST without executing any potentially malicious JavaScript DRM code, and correctly parses a
number of valid JavaScript constructs into a Python dictionary.
It also provides methods to quickly download a web page and search for a global variable using pyquery.
You can’t perform that action at this time.