Skip to content

Instantly share code, notes, and snippets.

View nucular's full-sized avatar

nucular nucular

View GitHub Profile
@nucular
nucular / bf.v2p
Last active June 25, 2016 18:10
Brainfuck interpreter written in TI-Basic
bf()
Prgm
Local mem, jmpstk, jsptr, memdim, memptr, pc, op, bfcdim, k, conrow, concol, conpic, sw, sh, pc2
ClrIO
StoPic conpic
XorPic conpic
240 -> sw
91 -> sh
@nucular
nucular / lua-dump.md
Last active October 14, 2022 22:05
Dump of Lua code snippets

Lua Dump

This is a dump of random Lua code snippets. Use them however you like.

License

This is free and unencumbered software released into the public domain.

@nucular
nucular / .class.lua.md
Last active April 28, 2019 21:18
Prototype-based class constructor for Lua in <30 unminified lines (5 when minified to 80-char lines)

Tiny Lua class implementation

This is a prototype-based class constructor for Lua in <30 unminified lines (5 when minified to 80-char lines). It was designed to be included in other library projects, especially for inclusion into single files.

It is released to the public domain under the Unlicense, so feel free to use it, even without a disclaimer, I don't really care.

Fucking great cheese cake

Base

  • 200g ladyfingers (the kind w/ sugar)
  • 150g butter
  1. Take a bowl and smash those fingers to bits.
  2. Melt the butter in the microwave or something and mix it in thoroughly.
@nucular
nucular / amifucked.py
Last active June 3, 2020 23:26
Find out if Microsoft fucked you over already
# python3 amifucked.py
# Public Domain
import platform, subprocess
# Feel free to poke me in the comments if I missed something here
TELEMETRY_MAYBE = {
"KB2952664": "Compatibility update for upgrading Windows 7",
"KB2976978": "Performs and collect compatibility appraiser logs in order to ease the upgrade experience to Windows 10",
@nucular
nucular / cake.md
Last active October 26, 2015 15:44
The ultimative recipe for microwaved chocolate mug cake with cream cheese frosting

Ingredients:

  • 4 tbsp flour (all purpose)
  • 4 tbsp sugar
  • 4 tbsp milk
  • 3 tbsp cocoa powder (pure)
  • 3 tbsp vegetable oil
  • 1 tbsp nutella
  • 1 egg
  • 1 pinch of salt
@nucular
nucular / qwcolors.user.js
Created August 4, 2015 19:59
IRC colors/formatting hotkeys for qwebirc
// ==UserScript==
// @name Colors for qwebirc
// @namespace https://nucular.github.io
// @version 0.1
// @description Since qwebirc really fucking sucks
// @match https://webchat.freenode.net
// @copyright 2015, nucular
// @license MIT
// ==/UserScript==
@nucular
nucular / arg.md
Last active May 25, 2021 12:38
Steins;Gate ARG

Steins;Gate ARG

The email address from which Okabe received the static video (sg-epk@jtk93.x29.jp) replies to blank mails with the following message:

Your mail concerning "[the subject of your email]"

sg-epk@jtk93.x29.jp はこの世界線に存在していません. [It does not exist in this world line.]
@nucular
nucular / everget.user.js
Last active November 5, 2017 12:42
everget - Simple GET script for 8chan
// ==UserScript==
// @name everget
// @namespace http://nucular.github.io
// @version 0.1.1
// @description Simple GET script for 8chan
// @match *://8ch.net/*/*
// @copyright 2015+, nucular
// @license MIT License
// ==/UserScript==
@nucular
nucular / rainmeter-nhk.md
Last active June 25, 2016 18:13
Rainmeter: Welcome To The N.H.K Theme