Skip to content

Instantly share code, notes, and snippets.

@sdbruder
sdbruder / plot.awk
Created February 19, 2021 16:29 — forked from katef/plot.awk
#!/usr/bin/awk -f
# This program is a copy of guff, a plot device. https://github.com/silentbicycle/guff
# My copy here is written in awk instead of C, has no compelling benefit.
# Public domain. @thingskatedid
# Run as awk -v x=xyz ... or env variables for stuff?
# Assumptions: the data is evenly spaced along the x-axis
# TODO: moving average
@sdbruder
sdbruder / 0_reuse_code.js
Created February 25, 2014 14:59
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
// ==UserScript==
// @name remove folha's paywall
// @namespace http://folha.uol.com.br/
// @version 0.1
// @description just remove folha's paywall
// @include http://*.folha*/*
// @match http://*.folha*/*
// @include http://*.blogfolha*/*
// @match http://*.blogfolha*/*
// @copyright 2012+, Me