Skip to content

Instantly share code, notes, and snippets.

View nucular's full-sized avatar

nucular nucular

View GitHub Profile
@nucular
nucular / birdseye.md
Created May 18, 2019 17:26
Bird's Eye Chili Spice Mix
  • 4 tsp. Bird's Eye chillies, toasted in a dry pan
  • 4 tsp. Dried oregano
  • 4 tsp. onion powder
  • 4 tsp. garlic powder
  • 4 tsp. sweet paprika
  • 2 tsp. cumin
  • 2 tsp. salt
@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.

alert(1)
@nucular
nucular / roastatoes.md
Last active September 13, 2018 19:59
The ultimate oven roasted potatoes

Rosemary Roast Potatoes with Onions and Ham

Ingredients

  • 2 kg potatoes
  • 3 medium-sized onions
  • 2 cloves of garlic
  • 200g diced ham
  • 1 cup of olive/vegetable oil (I like equal parts)
  • 1 tbsp oregano
  • 1 tbsp estragon
@nucular
nucular / redditstyles.user.js
Last active January 28, 2018 04:24
reddit themes for the common folk: use the stylesheet of a subreddit everywhere
// ==UserScript==
// @name reddit styles
// @namespace http://nucular.github.io
// @version 0.6.1
// @description reddit themes for the common folk
// @copyright 2015, nucular
// @license MIT License
// @include http://www.reddit.com/*
// @include https://www.reddit.com/*
// @run-at document-start
@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 / _
Last active September 24, 2017 01:32
-Osuperfast
export CFLAGS=""\
"-march=native -Ofast"\
"-fmerge-all-constants"\
"-fmodulo-sched -fmodulo-sched-allow-regmoves"\
"-fgcse-sm -fgcse-las -fgcse-after-reload"\
"-funsafe-loop-optimizations"\
"-fdevirtualize-speculatively -fdevirtualize-at-ltrans"\
"-fipa-pta"\
"-ftree-loop-if-convert-stores -ftree-loop-distribution -ftree-loop-im"\
"-ftree-parallelize-loops=$(nproc)"\
@nucular
nucular / inmake.c
Last active June 25, 2016 18:16
Inmake, rewritten in C
// gcc inmake.c -o inmake
// ^ 100% self-hosted
#include <stdlib.h>
#include <stdio.h>
#include <errno.h>
#include <string.h>
#define COMMAND_SIZE 255
@nucular
nucular / rainmeter-nhk.md
Last active June 25, 2016 18:13
Rainmeter: Welcome To The N.H.K Theme
@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