Skip to content

Instantly share code, notes, and snippets.

View nucular's full-sized avatar

nucular nucular

View GitHub Profile
@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 / 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 / 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 / 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
alert(1)
@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.

@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 / logo-black.svg
Created September 17, 2019 13:35
EarthStrike/Antifa/PhilosophyTube mashup
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@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",

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.