Skip to content

Instantly share code, notes, and snippets.

View nucular's full-sized avatar

nucular nucular

View GitHub Profile
@nucular
nucular / lads.lua
Last active August 29, 2015 14:16
LÖVE-Android on Desktop Shim for debugging/testing android games on a desktop environment
--[[
LÖVE-Android on Desktop Shim
============================
for debugging/testing android games on a desktop environment
Features
--------
- Two touchscreen behaviours ("single" and "multi")
- Touchpoint overlay (disables love.mouse.setVisible for convenience)
- Keyboard wrapper, keybinds for menu/back/return/search/textinput
@nucular
nucular / forcecatalog.user.js
Created March 7, 2015 18:21
8chan: Foce Catalog on board index
// ==UserScript==
// @name 8chan Force Catalog
// @namespace http://nucular.github.io
// @version 0.1
// @description Redirects to the catalog on 8chan boards
// @include /^https?:\/\/8ch\.net\/\w+\/?$/
// @copyright 2015+, nucular
// @run-at document-start
// ==/UserScript==
@nucular
nucular / tubealien.user.js
Created March 18, 2015 17:12
TubeAlien - Replaces Reddit comments on videos with YouTube comments!
// ==UserScript==
// @name TubeAlien for Reddit
// @namespace http://nucular.github.io
// @version 0.1
// @description TubeAlien is an userscript that replaces Reddit comments on videos with YouTube comments!
// @include /https?\:\/\/(www\.)?reddit.com\/r\/[^\/]+\/comments\/\w+\/\w+/
// @copyright 2015+, nucular
// ==/UserScript==
$(function() {
@nucular
nucular / cleanreload.js
Created March 27, 2015 19:28
Clean Reload Bookmarklet
// This nify little bookmarklet clears the cookies, localStorage and the cache before reloading the current page.
// Make a bookmark and paste this line as the URL (note the javascript: replacing the http://)
// Cookie clearing oneliner from http://stackoverflow.com/a/27374365/2405983
javascript:(function(){ document.cookie.split(";").forEach(function(c) document.cookie=c.replace(/^ +/,"").replace(/=.*/,"=;expires="+new Date().toUTCString()+";path=/");}); for(i in window.localStorage){if (window.localStorage.hasOwnProperty(i)){delete window.localStorage[i];}} window.location.reload(true)})()
@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 / .screenshot.png
Last active September 12, 2015 15:02
BytePusher Nyan Cat
.screenshot.png
@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 / 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 / rainmeter-nhk.md
Last active June 25, 2016 18:13
Rainmeter: Welcome To The N.H.K Theme
@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