Skip to content

Instantly share code, notes, and snippets.

View gunjan5's full-sized avatar
🐥
why isn't there a dinosaur emoji here??!?!?!?!

Gunjan "Grass-fed Rabbit" Patel gunjan5

🐥
why isn't there a dinosaur emoji here??!?!?!?!
View GitHub Profile
@nathan-osman
nathan-osman / win32.go
Last active July 3, 2025 21:23
Simple Windows GUI application written in Go
package main
import (
"log"
"syscall"
"unsafe"
)
var (
kernel32 = syscall.NewLazyDLL("kernel32.dll")
@karpathy
karpathy / min-char-rnn.py
Last active September 9, 2025 20:55
Minimal character-level language model with a Vanilla Recurrent Neural Network, in Python/numpy
"""
Minimal character-level Vanilla RNN model. Written by Andrej Karpathy (@karpathy)
BSD License
"""
import numpy as np
# data I/O
data = open('input.txt', 'r').read() # should be simple plain text file
chars = list(set(data))
data_size, vocab_size = len(data), len(chars)
@iamralch
iamralch / ssh_client.go
Last active September 10, 2025 02:55
SSH client in GO
package main
import (
"fmt"
"io"
"io/ioutil"
"net"
"os"
"strings"
@jniltinho
jniltinho / install_golang.sh
Last active August 2, 2024 04:53
Install Golang on Linux
#!/bin/bash
## Install Golang Stable 64Bits on Linux (Debian|Ubuntu|OpenSUSE|CentOS)
## http://www.linuxpro.com.br/2015/06/golang-aula-1-instalacao-da-linguagem-no-linux.html
## Run as root (sudo su)
## Thank's @geosoft1 | @gwmoura
GO_URL="https://go.dev/dl"
GO_VERSION=$(curl -s 'https://go.dev/VERSION?m=text'|head -n1)
GO_FILE="$GO_VERSION.linux-amd64.tar.gz"