Skip to content

Instantly share code, notes, and snippets.

🚀
#yanggang #yang2020

Taryn Phrohdoh

🚀
#yanggang #yang2020
Block or report user

Report or block Phrohdoh

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@Phrohdoh
Phrohdoh / ynab-cli.py
Created Apr 30, 2019
A highly-specific Python 3 script operating on YNAB API JSON
View ynab-cli.py
#!/usr/bin/env python3
####
#
# Invoke like this:
#
# $ ./ynab.py ./data.json
#
# -or-
#
@Phrohdoh
Phrohdoh / ynab_v1.openapi_v3.yaml
Created Apr 30, 2019
YNAB API v1 OpenAPI v3 YAML
View ynab_v1.openapi_v3.yaml
openapi: 3.0.0
info:
description: Our API uses a REST based design, leverages the JSON data format, and relies
upon HTTPS for transport. We respond with meaningful HTTP response codes and
if an error occurs, we include error details in the response body. API
Documentation is at https://api.youneedabudget.com
version: 1.0.0
title: YNAB API Endpoints
tags:
- name: User
@Phrohdoh
Phrohdoh / ynab.openapi.yaml
Last active Apr 30, 2019
YNAB API v1 OpenAPIv2 YAML
View ynab.openapi.yaml
swagger: '2.0'
info:
description: 'Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.youneedabudget.com'
version: 1.0.0
title: YNAB API Endpoints
schemes:
- https
host: api.youneedabudget.com
basePath: /v1
tags:
@Phrohdoh
Phrohdoh / interceptor.bash
Last active Apr 8, 2019
Intercept process I/O via `tee` and write to customizable log file locations
View interceptor.bash
#!/usr/bin/env bash
##### What / Why / How #####
#
# - What
#
# This script makes it simple to intercept, typically for viewing by a human,
# the stdin and stdout of a process, such as a language server binary.
#
#
View _introduction.md

The Game of 35

This "game" aims to give you and/or your team(s) a general sense of what should be done next.

It can be used for many parts of life! Examples:

  • Which bugs/features should a software team work on?
  • Which chores around the house should I do?

View aliases.md

Add aliases by running each of the following commands once:

$ git config --global alias.rel "rev-parse --show-prefix"
$ git config --global alias.root "rev-parse --show-toplevel"

Example usage:

@Phrohdoh
Phrohdoh / audience_terms.json
Created Jul 13, 2018
Search engine term generator for finding audience watering holes (based on terms *you come up with*) [30x500]
View audience_terms.json
[
[
".NET",
".NET Core",
"ASP.NET",
"ASP.NET Core",
"C#",
"F#",
"VB.NET"
],
@Phrohdoh
Phrohdoh / magic.md
Created Mar 30, 2018
git-fu: append to commit messages & generate github commit links
View magic.md

Current commit messages:

commit 6a15c88f851efb900d8799e65373d9472654d0e4 (HEAD -> master)
Author: Taryn
Date:   Fri Mar 30 09:27:07 2018 -0700

    Foo'd the bar

commit 2c3c44731ef93060ffe69e802ed8d3e2f3c02ca0
@Phrohdoh
Phrohdoh / language.dll.txt
Created Feb 11, 2018
Age of Empires (1997) language.dll
View language.dll.txt
{
101: "1",
102: "Copperplate Gothic Light",
103: "Comic Sans MS",
104: "Arial",
110: "Copperplate Gothic Light",
111: "12",
112: "B",
113: "Copperplate Gothic Light",
114: "21",
@Phrohdoh
Phrohdoh / empires-helper.jq
Last active Feb 8, 2018
Querying the Age of Empires 1997 database (`empires.dat`) with jq and a custom `empires2json` tool
View empires-helper.jq
# Requires: jq 1.5
##########
# Hello and welcome!
# Quick note: Comments in a jq program file (which this is!) begin with a '#'.
#
# The comments in this file assume you have ran `empires2json` on your AoE's `empires.dat` file
# and stored the result in a `empires-dat.json` file on disk.
#
# To make use of this file you will need `jq` 1.5 (or a later version) installed (see https://stedolan.github.io/jq/).
You can’t perform that action at this time.