Skip to content

Instantly share code, notes, and snippets.

@cunningham
cunningham / ynab-google-sheets.js
Created May 2, 2024 17:52 — forked from willjobs/ynab-google-sheets.js
Revisions to the original gist to add columns, show split subtransactions on multiple rows by default, fix time discrepancies, and add an indicator of the last data pull
function YNABAccounts(accessToken, budgetId) {
const accounts = _getBudgetAccounts(accessToken, budgetId);
if(accounts == null) {
return null;
}
const columns = ["Name", "Type", "Budget", "Closed", "Balance"];
const rows = accounts.map(function (acc) {
return [
@cunningham
cunningham / KType-Standard.json
Last active November 8, 2019 00:19
K-Type current config 2019-11-4
{
"matrix": [
{
"code": "0x01",
"x": 0,
"y": 0,
"w": 4,
"h": 4,
"layers": {
"0": {
@cunningham
cunningham / Solid blue with rainbow underglow
Created November 11, 2017 08:39
Ktype LED map replace:all in settings
P[32](0,0,255),
P[64](0,0,255),
P[96](0,0,255),
P[1](0,0,255),
P[33](0,0,255),
P[65](0,0,255),
P[97](0,255,0),
P[2](0,0,255),
P[34](0,0,255),
P[66](0,0,255),
@cunningham
cunningham / KType-Standard.json
Created November 7, 2017 20:24
This makes the ktype angry
{
"header": {
"Variant": "standard",
"Generator": "NONE",
"Base": "Base",
"Date": "2017-10-13",
"KLL": "0.5c",
"Author": "jbondeson (Jeremy Bondeson) 2017",
"Version": "0.2",
"Name": "KType",
@cunningham
cunningham / replay_poster.py
Created May 22, 2015 17:32
Towerfall replay poster
from hypchat import HypChat
import pyimgur
import glob
import os
#Info
hc_token = 'HIPCHAT_TOKEN'
replay_dir = '/PATH/TO/REPLAYS/'
posted_dir = '/PATH/TO/POSTED/FILES/'
imgur_client_id = 'IMGUR_CLIENT_ID'