Skip to content

Instantly share code, notes, and snippets.

View cjbrigato's full-sized avatar

Colin J. Brigato cjbrigato

View GitHub Profile
@cjbrigato
cjbrigato / nanarun.json
Last active January 27, 2023 00:58
nanarun.json
{
"version": "1.0.18.0",
"url": "https://github.com/M2Team/NanaRun/releases/download/1.0.18.0/NanaRun_1.0_Preview2_1.0.18.0.zip",
"extract_dir": "x64",
"bin": [ [ "MinSudo.exe", "minsudo" ] ]
}
#!/bin/bash
banner() {
echo "sunosh - a suno custom cli with gpt integration for fast song generation"
echo "by Colin J.Brigato <[email protected]>"
echo '-'
}
## CONF
#set it from https://clerk.suno.com/v1/client?_clerk_js_version=4.73.2 request in developer tools
@cjbrigato
cjbrigato / hastebin.sh
Created December 21, 2024 02:56
sprunge.sh but for hastebin
#!/bin/bash
# usage:
#
# $~ echo "whatever" | hastebin.sh
# paste url: https://hastebin.skyra.pw/raw/$key
#
key=$(curl -s 'https://hastebin.skyra.pw/documents' -H 'accept: application/json' -H 'content-type: text/plain' --data-binary @- | jq -r '.key')
echo "paste url: https://hastebin.skyra.pw/raw/$key"
@cjbrigato
cjbrigato / nbd.go
Created April 5, 2025 07:46
Golang nbd-server in < 275 LOC (default export, byte slice "backend")
package main
import (
"encoding/binary"
"errors"
"flag"
"fmt"
"io"
"log"
"net"