Skip to content

Instantly share code, notes, and snippets.

View tablekat's full-sized avatar

kat tablekat

View GitHub Profile
@tablekat
tablekat / main.ts
Created June 30, 2016 20:24
Making gmail push notifications to webhook
import * as request from 'request';
import * as fs from 'fs';
import * as readline from 'readline';
var google = require('googleapis');
var googleAuth = require('google-auth-library');
/*************** STEPS
- made a project on https://console.cloud.google.com/cloudpubsub/topicList?project=testmabs thing?
@tablekat
tablekat / scroll-blur.js
Created June 3, 2016 18:49
Scroll motion blur bookmarklet
javascript:
(function() {
function __include(x) {
var n = document.createElement("script");
n.type = "text/javascript";
n.async = "true";
n.src = x;
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(n);
}
// node --harmony_destructuring awaito.js
var process = require('process');
var fs = require('fs');
var http = require('http');
function run(generator){
function resume(){
var args = arguments;
span{
padding: 5px;
text-shadow: 1px 1px 0px white, 1px -1px 0px white, -1px 1px 0px white, -1px -1px 0px white;
}