Skip to content

Instantly share code, notes, and snippets.

package main
import (
"fmt"
"io/ioutil"
"net/http"
)
func main() {
req, err := http.NewRequest("GET", "https://ollama.com/token", nil)
package main
import (
"io/ioutil"
"log"
"net/http"
)
func main() {
resp, err := http.Get("https://ollama.com/token?nonce=wxlLnVBWIaC0XGORVmYxbg&scope=repository%3Alibrary%2Fqwen%3Apull&service=ollama.com&ts=1711615900")
package main
import (
"fmt"
"io"
"net/http"
"os"
)
func main() {
@chopeen
chopeen / git-gpgsign.md
Last active March 7, 2020 23:09 — forked from webframp/keybase.md
Signing Git commits on GitHub using keybase.io GPG key

Local setup

First get the public key

keybase pgp export | gpg2 --import

Next get the private key

keybase pgp export --secret | gpg2 --allow-secret-key --import

Keybase proof

I hereby claim:

  • I am chopeen on github.
  • I am chopeen (https://keybase.io/chopeen) on keybase.
  • I have a public key ASB5iNJIcojQ3umXdPWUW3Kwv2ZEBqhqQB62Te2ryo6sTwo

To claim this, I am signing this object:

@chopeen
chopeen / ncdc.sh
Last active August 29, 2015 14:16 — forked from aligusnet/ncdc.sh
#!/usr/bin/env bash
# global parameters
g_tmp_folder="ncdc_tmp";
g_output_folder="ncdc_data";
g_remote_host="ftp.ncdc.noaa.gov";
g_remote_path="pub/data/noaa";