Skip to content

Instantly share code, notes, and snippets.

View jwalgran's full-sized avatar

Justin Walgran jwalgran

  • Element 84
  • Phoenix, Arizona, USA
View GitHub Profile
@jwalgran
jwalgran / waffle-io-queue-and-in-progress.js
Last active May 31, 2018 20:45
Format the third and fourth columns of a waffle.io board as tab-separated text
// 1. Browse a waffle.io board where "Queue" and "In Progres" are the 2nd and 3rd columns.
// 2. Run this code in the developer console.
// 3. Copy the tab-separated data and paste into your spreadsheet of choice.
// Thanks to https://github.com/rajadain for the initial implementation
var rows = [];
$('#page > div > div.ng-scope > div > ui-view > div > div.board.js-board > span.ng-scope > div.board-body > div > div:nth-child(3) .card,#page > div > div.ng-scope > div > ui-view > div > div.board.js-board > span.ng-scope > div.board-body > div > div:nth-child(4) .card').each(function() {
var card = $(this),
url = card.attr('data-waffle-url').replace('api.github.com/repos', 'github.com'),
@rajadain
rajadain / unstable-warner.js
Last active November 15, 2017 02:01
GitHub Pull Request Unstable Warner Tampermonkey Script
// ==UserScript==
// @name Unstable Warner
// @namespace http://tampermonkey.net/
// @version 0.5
// @description Warn before merging unstable pull requests on GitHub
// @author Terence Tuhinanshu @rajadain
// @match https://github.com/**/pull/*
// @grant none
// ==/UserScript==
@mjumbewu
mjumbewu / 1-hexgrid_illustration.svg
Last active March 25, 2021 18:17
PostGIS function to generate a grid of hexagonal cells in a PostgreSQL database
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.