Skip to content

Instantly share code, notes, and snippets.

Zorn SystemDisc

Block or report user

Report or block SystemDisc

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
@SystemDisc
SystemDisc / ynab-improvements.user.js
Last active Feb 3, 2018
YNAB's new web software is a million times worse than their desktop software was
View ynab-improvements.user.js
// ==UserScript==
// @name YNAB Improvements
// @namespace https://zornco.com/
// @version 0.0.7
// @description Improvements to the YNAB web app by Timothy Zorn (SystemDisc)
// @author SystemDisc
// @updateURL https://rawgit.com/SystemDisc/dc0f2745e8b3cf9e7dd7522c0609299d/raw/50c2268551b5f60d593e3a138e8b1bc4b4e048c8/ynab-improvements.user.js
// @downloadURL https://rawgit.com/SystemDisc/dc0f2745e8b3cf9e7dd7522c0609299d/raw/50c2268551b5f60d593e3a138e8b1bc4b4e048c8/ynab-improvements.user.js
// @match https://app.youneedabudget.com/*
// @run-at document-end
@SystemDisc
SystemDisc / deferred-promise.ts
Last active Jan 15, 2018
class definition for DeferredPromise (why can't they just add it to the ES6 spec?)
View deferred-promise.ts
export class DeferredPromise<T> {
public promise: Promise<T>;
private resolved: PromiseLike<T>;
public constructor() {
this.promise = new Promise((resolve, reject) => {
if (this.resolved) {
resolve(this.resolved);
}
this.resolve = resolve;
You can’t perform that action at this time.