Skip to content

Instantly share code, notes, and snippets.

🤔
I may be slow to respond.

Taryn Phrohdoh

🤔
I may be slow to respond.
  • Rackspace Technology
  • GMT-6
View GitHub Profile
@Phrohdoh
Phrohdoh / _.md
Last active Aug 4, 2020
AutoPets Whisker mobile app snippets
View _.md

fake activities for lib/litter/status/litter_status_tab.dart's _buildRecentActivitySection

    final fakeActivities = List<LitterRobotActivity>.from(
      LitterRobotUnitStatus.values.map(
        (unitStatus) => LitterRobotActivity(
          litterRobotId: 'x',
          unitStatus: unitStatus,
          timestamp: DateTime.now()
              .subtract(Duration(seconds: Random().nextInt(60 * 60 * 8))),
@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",
You can’t perform that action at this time.