Skip to content

Instantly share code, notes, and snippets.

Jason Schwarzenberger master5o1

Block or report user

Report or block master5o1

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@master5o1
master5o1 / Declutter.md
Last active Aug 20, 2019
Removes the clutter from various New Zealand news websites and creates a page for the article on telegra.ph. https://declutter.1j.nz
View Declutter.md
@master5o1
master5o1 / NZHerald Bypass.md
Last active Aug 20, 2019
Bypasses the new NZHerald Premium paywall using Javascript to peek at the LD+JSON Schema to figure out which CSS selector is being used to hide content. I made this mostly for myself.
View NZHerald Bypass.md

NZHerald Bypass

Bypasses the new NZHerald Premium paywall using Javascript to peek at the LD+JSON Schema to figure out which CSS selector is being used to hide content.

I made this mostly for myself.

Repository

Primary source repository is located on my gogs instance, https://git.1j.nz/firefox-extensions/nzherald-bypass.

@master5o1
master5o1 / vue-signature-pad.d.ts
Last active Mar 27, 2019
Typescript type definitions for [vue-signature-pad](https://www.npmjs.com/package/vue-signature-pad), probably not entirely correct.
View vue-signature-pad.d.ts
declare module 'vue-signature-pad' {
import signature_pad, * as SignaturePad from 'signature_pad';
import Vue from 'vue';
export interface IOptions extends SignaturePad.IOptions {}
export interface IPointGroup extends SignaturePad.IPointGroup {}
export interface Status {
isEmpty: boolean;
data?: any;
@master5o1
master5o1 / qif2json.ts
Last active Jul 16, 2019
This is qif2json.ts is a minor refactor to bring Typescript support to the qif2json package available on NPM. It is the basic QIF parsing without any other requirements from Node (fs) or NPM (iconv, jschardet). This means that it is possible to do the QIF parsing in the browser.
View qif2json.ts
/* Adapted by Jason Schwarzenberger
* for Typescript from
* qif2json
* https://github.com/spmason/qif2json
*
* Copyright (c) 2012 Steve Mason
* Licensed under the MIT license.
*/
function parseDate(str: string, format: string) {
@master5o1
master5o1 / fizzbuzz es6
Last active Aug 20, 2019
Displays FizzBuzz without containing the string "Fizz" or "Buzz". Reads the source and extracts the characters from the destructured function parameters. https://jsfiddle.net/master5o1/8ekog4j9/
View fizzbuzz es6
const GO=( F,i,z,{[z[0 ]]:B},u, zz)=>B((F% u?'':GO[z [u/ u]] ()[z[zz- zz/zz]](u-
u,u **u +zz -zz )[z [u] ](z [zz ],'' )[
z[/* **/ zz- u/u] ](u -u, zz- u/u ))+ (F%
zz?'':GO[z [u/ u]] ()[ z[zz-zz/ zz] ](u -u,u **u
+zz -zz )[z [u] ](z [zz ],'' )[z [zz -u/
u]] (zz -u/ u)) ||F )|| F< zz** u-u **u
+zz -u?GO(F+1,i ,z,i[z[u- zz/zz]],u ,zz):null ;//)[z[z z-u/u]])[ z[zz-u/u]
GO(1,this,['log', 'toString', 'console', 'replace', 'substring', /[^a-z]/gi],console,3,5);
@master5o1
master5o1 / html quine
Last active Jan 24, 2017
html (+js) quine using data:text/html, for the url bar of a browser.
View html quine
data:text/html,<html><body><div></div><script>document.getElementsByTagName('div')[0].innerText = 'data:text/html,' + document.getElementsByTagName('html')[0].innerHTML</script></body></html>
View keybase.md

Keybase proof

I hereby claim:

  • I am master5o1 on github.
  • I am master5o1 (https://keybase.io/master5o1) on keybase.
  • I have a public key whose fingerprint is 943F 643F 3D22 A79E AB07 85D2 4773 2B7C A17C F5FD

To claim this, I am signing this object:

@master5o1
master5o1 / angular-websocket-rpc.js
Last active Mar 23, 2016
angular websockets json-rpc2 service that uses [angular-websockets](https://github.com/AngularClass/angular-websocket). JSFiddle example: https://jsfiddle.net/master5o1/bxvauLcw/
View angular-websocket-rpc.js
angular.module('ngWebsocketRpc', ['ngWebSocket', 'guid'])
.factory('$rpc', ['$websocket', '$q', 'guid', function($websocket, $q, guid) {
var seconds = 1000;
var history = {};
var methods = {};
var $ws;
var handlers = {
onOpen: angular.noop,
onClose: angular.noop,
View pgp_public.asc
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1
mQINBFbZPwEBEACsF8oNkQ/LSe4bS7bqjeTzfV+c3F+QFMDq5c/Z40YLlg4dILEz
CxnfAGj5+F8Gxele/WKicf8YRhsMTXbarFuL5PKibiQPFAE2Jo06TbIRHqc1GW1C
xDplF0sww7Kl/D1ly++xp7MQV4bJZz1U+mUxylPLNpM9Xd6WuSv0xN8dN4cALVnB
vu/G/6+qrsJ/rLsPqdPSPttET5g5p7dRaXpKY8RlRFh+RBsZ0f4+7x9pCkvJrgEZ
NcTzjn/r/r7Vk0GGrp8PxNrOTTXelljkMxK60KZvTSL5+ksdX0d1GJ8Nxm9Ah5LY
XmMjv09XD/5YFG6RkE9itPIwfk7+aJ4T6hAgrJBAUa4kytkTgJwAUkarn77hfHad
rFK7hlxRBmR5ntYNmr0QkoQ1buHSJ2szr72uXSfoobP3Onig0Z0G04fkTU0tFBVy
View lolcryption.py
"""
lolcryption.py
Translates text into LOLcrypted ciphertext. <http://lolcryption.master5o1.com/>
Created By:
- Jason Schwarzenberger <https://github.com/master5o1>
License:
MIT
"""
from cloudbot import hook
You can’t perform that action at this time.