Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am bbuttonow-zf on github.
  • I am bbuttonow (https://keybase.io/bbuttonow) on keybase.
  • I have a public key ASBEzvTzC4_Me57QJ4iAUBAkjIaAXvKuXh4b_SrPVGV0Ugo

To claim this, I am signing this object:

@bbuttonow
bbuttonow / README.md
Created April 13, 2020 18:22 — forked from hofmannsven/README.md
Git Cheatsheet
@bbuttonow
bbuttonow / jq-cheetsheet.md
Created March 19, 2020 20:40 — forked from olih/jq-cheetsheet.md
jq Cheet Sheet

Processing JSON using jq

jq is useful to slice, filter, map and transform structured json data.

Installing jq

On Mac OS

brew install jq

@bbuttonow
bbuttonow / generate-ssh-key.sh
Created February 2, 2020 01:23 — forked from grenade/01-generate-ed25519-ssh-key.sh
Correct file permissions for ssh keys and config.
ssh-keygen -t rsa -b 4096 -N '' -C "rthijssen@gmail.com" -f ~/.ssh/id_rsa
ssh-keygen -t rsa -b 4096 -N '' -C "rthijssen@gmail.com" -f ~/.ssh/github_rsa
ssh-keygen -t rsa -b 4096 -N '' -C "rthijssen@gmail.com" -f ~/.ssh/mozilla_rsa
import os, os.path
import requests
import datetime
# Required Headers for API call
headers = { 'Content-Type': 'application/json', }
BASE_API_URL = "https://httpbin.org/post"
CURRENT_DIR = os.path.dirname( os.path.realpath( __file__ ) )