Skip to content

Instantly share code, notes, and snippets.

View clucle's full-sized avatar
:octocat:
ि०॰०ॢी https://www.linkedin.com/in/clucle/

clucle clucle

:octocat:
ि०॰०ॢी https://www.linkedin.com/in/clucle/
View GitHub Profile
@weblancaster
weblancaster / gist:6e7f43fc02725ce747e224b0c4290906
Last active May 25, 2020 12:53
Kill all container, remove all images and stop all containers
#stop all containers:
docker kill $(docker ps -q)
#remove all containers
docker rm $(docker ps -a -q)
#remove all docker images
docker rmi $(docker images -q)
@parmentf
parmentf / GitCommitEmoji.md
Last active July 2, 2024 14:30
Git Commit message Emoji
@karpathy
karpathy / min-char-rnn.py
Last active June 28, 2024 06:13
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)