Skip to content

Instantly share code, notes, and snippets.

Does it spark joy?

Brandon Him brh55

Does it spark joy?
Block or report user

Report or block brh55

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
brh55 /
Last active Jul 27, 2019
Minimum Terraform for AWS API Gateway <-> Lambda
import json
def handler(event, context):
return {
"statusCode": 200,
'headers': {'Content-Type': 'application/json'},
"body": json.dumps('Hi!')
brh55 / GPB-KV.json
Last active Jan 15, 2019
Telemetry Metrics
View GPB-KV.json
"nodeIdStr": "dr01",
"subscriptionIdStr": "base_metrics",
"encodingPath": "Cisco-IOS-XR-wdsysmon-fd-oper:system-monitoring/cpu-utilization",
"collectionId": "3689119",
"msgTimestamp": "1547512956008",
"dataGpbkv": [
"timestamp": "1547512956007",
"fields": [
brh55 / ideal.json
Last active Jan 3, 2019
Telemetry mock data
View ideal.json
"name": "leaf1",
"children": [
brh55 /
Created Jan 26, 2018
Stopping New McAffee Agent in Mac
sudo lsof -n -i4TCP:8081 # get the process' PID
sudo launchctl list | grep 5693 # find the launchd endpoint
sudo launchctl remove com.mcafee.agent.macmn
brh55 /
Last active Dec 6, 2017
My Minimalist Closet

My Fundamental Minimalist Closet

This is an current working draft of my minimalist wardrobe. The intent of following items will slowly be added to my wardrobe as I build it from the grounds up.

The premise of these items should meet these minimal requirements:

  • High-quality construction along while intent behind materials used
  • Versatile to be interchangeable (neutral colors: navy, grey, black, white, oatmeal)
  • Not subjected to trends or fast fashion

Sweater Drawing Board

brh55 / nginx.conf
Created Sep 13, 2017
Docker nginx default configuration File
View nginx.conf
user nginx;
worker_processes 1;
error_log /var/log/nginx/error.log warn;
pid /var/run/;
events {
worker_connections 1024;
View payload.txt
Content-Disposition: form-data; name="__EVENTTARGET"
Content-Disposition: form-data; name="__EVENTARGUMENT"
Content-Disposition: form-data; name="__LASTFOCUS"
brh55 /
Last active Jun 15, 2017
Solidity Notes

Solidity Notes

Notes I've assembled for myself during my journey of learning Solidity, some notes maybe incorrect as they are my own interpretation

Event Listeners

Allow clients to keep track of things. IE: Sent transactions, End of transactions, etc.

Declaring Event

event EventName(...args)

brh55 / Elastic Search
Created Mar 22, 2017
Log Stash Notes
View Elastic Search
You can’t perform that action at this time.