Skip to content

Instantly share code, notes, and snippets.

Avatar
📼
living on video

Nate Smith vilmibm

📼
living on video
View GitHub Profile
View gist:461743b79652f73802225db7114bbac8
#!/bin/bash
vlc --loop cc_loop0.mp4 --no-osd --fullscreen --no-audio
@vilmibm
vilmibm / alias.yml
Created Apr 14, 2021
Aliases from the gh actions demo
View alias.yml
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) $@
View pr-check.yml
name: Pull Request Check
on:
workflow_dispatch:
inputs:
body:
default: ""
test:
default: "false"
pull_request_target:
View pr-check.yml
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 Jul 1, 2021
Some useful aliases for CLI team first responders
View doc.md

First Responder Aliases

label

Add a label to an issue.

gh label 60 bug
@vilmibm
vilmibm / immigrantjustice.md
Created Sep 24, 2020
resources for immigrant justice
View immigrantjustice.md
@vilmibm
vilmibm / alias.yml
Last active Sep 30, 2020
These can be copied and pasted into ~/.config/gh/config.yml in the aliases block.
View alias.yml
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 Mar 18, 2021
a plath poem
View ennui.md

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.
View cool.md

yeah it rules

  • what

  • is

  • up

    everyone

@vilmibm
vilmibm / hello_world.py
Last active Sep 15, 2020
Hello World Examples
View hello_world.py
class HelloWorld:
def __init__(self, name):
self.name = name.capitalize()
def sayHi(self):
print "Hello there " + self.name + "!"
hello = HelloWorld("world")
hello.sayHi()