Skip to content

Instantly share code, notes, and snippets.

View maurizi's full-sized avatar

Michael Maurizi maurizi

View GitHub Profile
import Benchmark from "benchmark";
import S3 from "aws-sdk/clients/s3.js";
import Pbf from "pbf";
import { decode } from "topobuf";
import { deserialize } from "v8";
const s3 = new S3();
async function run(region) {
const v8response = await s3
@maurizi
maurizi / 538-polls-plus.user.js
Last active October 11, 2019 01:22
538 Polls Plus
// ==UserScript==
// @name 538 polls plus
// @namespace http://tampermonkey.net/
// @version 0.1
// @description Improves the Trump approval rating polls page on fivethirtyeight.com
// @author michael@maurizi.org
// @match https://projects.fivethirtyeight.com/trump-approval-ratings/*
// @grant none
// ==/UserScript==
@maurizi
maurizi / hn-hide-old-new.user.js
Created July 20, 2019 16:41
Hide old news on HN
// ==UserScript==
// @name Hide old news
// @namespace http://tampermonkey.net/
// @version 0.1
// @description Hides old articles on Hacker News
// @author Mike M
// @match https://news.ycombinator.com/
// @grant none
// ==/UserScript==
@maurizi
maurizi / mikes-timesheet-improvements.user.js
Last active March 15, 2019 18:23
Mike's Timesheet Improvements
// ==UserScript==
// @name Mike's timesheet improvements
// @namespace http://tampermonkey.net/
// @version 0.2
// @description Add plus time buttons to the new GetMyTime
// @author Michael Maurizi
// @match https://app.getmytime.com/timesheet.aspx
// @grant none
// ==/UserScript==
@maurizi
maurizi / branches-into-links.user.js
Created July 11, 2016 22:30
Turn Github Branch names into links
@maurizi
maurizi / swipe-to-archive-for-inbox.user.js
Last active December 17, 2015 17:22
Adds swipe to archive gestures for Google's Inbox
// ==UserScript==
// @name Swipe to Archive for Inbox
// @namespace maurizi.org
// @description Swipe to Archive for Google's Inbox
// @include https://inbox.google.com/
// @include https://inbox.google.com/u/0/
// @include https://inbox.google.com/u/1/
// @include https://inbox.google.com/u/2/
// @include https://inbox.google.com/u/3/
// @include https://inbox.google.com/u/4/
@maurizi
maurizi / keybase.md
Created February 24, 2015 00:38
keybase.md

Keybase proof

I hereby claim:

  • I am maurizi on github.
  • I am mmaurizi (https://keybase.io/mmaurizi) on keybase.
  • I have a public key whose fingerprint is F954 20B1 44B0 435A F52A A974 0859 FFBA 6097 9039

To claim this, I am signing this object:

@maurizi
maurizi / ansible-galaxy.bat
Last active December 16, 2022 11:34
Running Ansible on Windows
@echo off
cygwin-shim.bat /bin/ansible-galaxy %*