Skip to content

Instantly share code, notes, and snippets.

View nicholastay's full-sized avatar

Nicholas Tay nicholastay

View GitHub Profile
@nicholastay
nicholastay / public-key.asc
Created August 17, 2016 03:59
Public PGP Key
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1
mQINBFez36sBEAC/P8wm2eR8oPa9exvZ9oIRlNkzt2KtesXyjss1leACQBBXfdsv
9kgMrVCke7YDnF048QSIP+c2w3rtWxQ4hhxI5YyojkDQ0/wQDAE/1MCC77A045GK
9DYmoiq6yOQCdtJz5iK6o9LZ3mI8aRKr+wdNUo4ybW6y8hPW+++NF4hbqevYgveS
nKq1HCsSB0XlauYTJYV9ylTchOZYItVunRFHU4TjcDRHdt+ZeQ9l0Sy3zeihqPzW
ZAaFvVqErIK1LwLhFtjL7o8ng/q8KiG7QbK8h8FJGfgmctFq1P3zzjpSRhxihEc8
JSiIlhTL0UNTQdYhYUH8qRCEP5MwLQ22J3RkmH/qRtKTyZcrKgEnC5BKY5UoBf6P
Sv+yaI6zaRMROI6NlO3oq6nr1dpUraYueUFsEBH33wjrv15i/aWSeB+GfORiJ+2T

Keybase proof

I hereby claim:

  • I am nicholastay on github.
  • I am n2468txd (https://keybase.io/n2468txd) on keybase.
  • I have a public key ASAwKjYkUw8X6xsMvD-rG7qzuLrvLB-1tXuUZ9MaVYZqlwo

To claim this, I am signing this object:

@nicholastay
nicholastay / patch.js
Last active September 11, 2016 07:32
"Shortcut" "patch" for abalabahaha/eris -- obsolete as of rev#fa874e2
"use strict";
// eris "oop-style" "patch"
// usage: require("$path_here$/patch.js").patch(firstClient);
// where firstClient is the first Eris client where PM's will be handled.
const Eris = require("eris");
let firstClient = null;
function monkeyPatch(fClient) {
@nicholastay
nicholastay / BTTVChatHistory4FFZ.user.js
Last active September 29, 2017 08:11
Chat history from BTTV's servers in FFZ.
// ==UserScript==
// @name BTTVChatHistory4FFZ
// @namespace http://nicholastay.github.io/
// @homepage https://gist.github.com/nicholastay/fad3889c30b963aa2f2a4a8529792212
// @version 0.1.1
// @description Chat history for FFZ, BTTV-style.
// @author Nicholas Tay (Nexerq / n2468txd) <nexerq@gmail.com>
// @license Zlib/libpng
// @match *://twitch.tv/*
// @match *://www.twitch.tv/*
@nicholastay
nicholastay / zeroth.user.js
Last active March 21, 2018 06:46
Schoology "Zero Course" userscript - intended for Camberwell Grammar School students (press raw to install)
// ==UserScript==
// @name CGS Schoology ZeroCourse tweak
// @namespace http://nicholastay.github.io/
// @homepage https://gist.github.com/nicholastay/254f63b90e5a82305701836020af7d25
// @version 0.1.6
// @description Reduces Courses tab clutter for CGS students with common YYXXX0 courses on Schoology.
// @author Nicholas Tay <nexerq@gmail.com>
// @license Zlib
// @icon https://i.imgur.com/PkIuFKy.png
// @match *://app.schoology.com/*
@nicholastay
nicholastay / schoology-infiniscroll.user.js
Last active March 21, 2018 06:47
Schoology userscript - infinitely scroll news feeds (press raw to install)
// ==UserScript==
// @name Schoology infiniscroll feed
// @namespace http://nicholastay.github.io/
// @version 0.1.0
// @homepage https://gist.github.com/nicholastay/665822c67bd3e098d5c43ec31eb4d830
// @author Nicholas Tay <nexerq@gmail.com>
// @icon https://i.imgur.com/meGrY1N.png
// @include *://app.schoology.com/*
// @include *://schoology.cgs.vic.edu.au/*
// @grant none
@nicholastay
nicholastay / bttv_lul.css
Created September 30, 2017 13:39
Twitch replace LUL with BTTV LUL
.emoticon[alt="LUL"] {
background: url(//cdn.betterttv.net/emote/567b00c61ddbe1786688a633/1x) left top no-repeat;
box-sizing: border-box;
width: 28px;
height: 28px;
padding-left: 28px;
}
@nicholastay
nicholastay / poc_reactions_discord_question.js
Created October 6, 2017 02:11
Old POC for when reactions first came out on discord to use them as a question sort of thing
'use strict';
const Eris = require('eris')
, fs = require('fs')
, repl = require('repl');
let client = new Eris(fs.readFileSync('./key.txt', 'utf8'));
client.on('ready', () => console.log('connected'));
@nicholastay
nicholastay / .babelrc
Created October 6, 2017 02:18
get-osu-requester: request osu with customapi links like nightbot (poc)
{
"presets": [
"es2015"
]
}
@nicholastay
nicholastay / schoology-quickdl.user.js
Last active June 21, 2024 13:40
Schoology userscript - Quickly download files off folder browsers (press raw to install) - Be sure to allow popups!
// ==UserScript==
// @name Schoology quick-download files helper
// @namespace http://nicholastay.github.io/
// @version 0.3.0
// @author Nicholas Tay <nexerq@gmail.com>
// @license MIT
// @icon https://i.imgur.com/QmmYqzZ.png
// @match *://app.schoology.com/*
// @match *://schoology.cgs.vic.edu.au/*
// @grant none