Skip to content

Instantly share code, notes, and snippets.

View vilmibm's full-sized avatar
📼

Nate Smith vilmibm

📼
View GitHub Profile
@vilmibm
vilmibm / 0-go-os-arch.md
Created April 27, 2023 07:41 — forked from asukakenji/0-go-os-arch.md
Go (Golang) GOOS and GOARCH

Go (Golang) GOOS and GOARCH

All of the following information is based on go version go1.17.1 darwin/amd64.

GOOS Values

GOOS Out of the Box
aix
android
#!/bin/bash
vlc --loop cc_loop0.mp4 --no-osd --fullscreen --no-audio
@vilmibm
vilmibm / alias.yml
Created April 14, 2021 21:07
Aliases from the gh actions demo
cur-branch: !git rev-parse --abbrev-ref HEAD
workflow-test: !git commit -mWIP .github/workflows/$1 && git push && gh workflow run --ref $(gh cur-branch) $@
name: Pull Request Check
on:
workflow_dispatch:
inputs:
body:
default: ""
test:
default: "false"
pull_request_target:
name: Pull Request Check
on: pull_request
# We'll keep this around for testing in the future
#on:
# workflow_dispatch:
# inputs:
# pull_request_body:
# default: ""
# pull_request_number:
# default: "123"
@vilmibm
vilmibm / doc.md
Last active July 1, 2021 21:19
Some useful aliases for CLI team first responders

First Responder Aliases

label

Add a label to an issue.

gh label 60 bug
@vilmibm
vilmibm / immigrantjustice.md
Created September 24, 2020 15:14
resources for immigrant justice
@vilmibm
vilmibm / alias.yml
Last active September 30, 2020 15:54
These can be copied and pasted into ~/.config/gh/config.yml in the aliases block.
approve: pr review -a
checklist: !gh issue list -l$1 | sed "s/^/- [ ] /" > checklist.md
clone: repo clone
co: pr checkout
cowments: !gh api "repos/:owner/:repo/issues/$1/comments" | jq "map(.body)[]" | while read c; do cowsay $c; done
heart: api -H Accept:application/vnd.github.squirrel-girl-preview+json -XPOST repos/:owner/:repo/issues/$1/reactions --raw-field content=heart
igrep: !gh issue list -l$1 | grep $2
il: issue list
immigrant-justice: gist view eb5f40f9ec892f22064804af90065726
@vilmibm
vilmibm / ennui.md
Last active January 18, 2024 06:08
a plath poem

Ennui

Tea leaves thwart those who court catastrophe,
designing futures where nothing will occur:
cross the gypsy’s palm and yawning she
will still predict no perils left to conquer.
Jeopardy is jejune now: naïve knight
finds ogres out-of-date and dragons unheard
of, while blasé princesses indict

tilts at terror as downright absurd.