Skip to content

Instantly share code, notes, and snippets.

View ntindle's full-sized avatar
🤠

Nicholas Tindle ntindle

🤠
View GitHub Profile
@ntindle
ntindle / random-issue.sh
Created July 22, 2023 20:40
Gets a random issue from a GitHub repo
#!/bin/bash
# Parse command line arguments
for i in "$@"
do
case $i in
--repo=*)
REPO="${i#*=}"
shift
;;
@ntindle
ntindle / fix tags.sh
Last active July 26, 2023 17:41
Fixes the tags by syncing remote to local and then lets you delete on the remote. Just change the v0.23 to whatever filter you want
git tag -l | xargs git tag -d && git fetch --tags && git tag -l | grep v0.23 | xargs git push -d origin
{
"jsonrpc": "2.0",
"id": -1,
"result": {
"genesis": {
"genesis_time": "2022-04-11T22:35:32.822610714Z",
"chain_id": "sonr",
"initial_height": "1",
"consensus_params": {
"block": {
@ntindle
ntindle / TreePatterns.lua
Last active December 24, 2019 19:47
My Christmas Tree patterns
row1 = 3
row2 = 0
row3 = 7
row4 = 4
row5 = 6
row6 = 8
gpio.mode(row1 , gpio.OUTPUT)
gpio.mode(row2 , gpio.OUTPUT)