Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@szTheory
szTheory / grunt-hugo-lunrjs.md
Created April 24, 2022 19:51 — forked from sebz/grunt-hugo-lunrjs.md
hugo + gruntjs + lunrjs = <3 search
@szTheory
szTheory / main.rb
Created December 28, 2021 18:39 — forked from amirrajan/main.rb
Spirit of Akina built with DragonRuby Game Toolkit
# Copyright 2021 Scratchwork Development LLC. All rights reserved.
PI = 3.1415926
class Game
attr_gtk
def tick
defaults
render
@szTheory
szTheory / tmux_italic.md
Created June 21, 2021 14:26 — forked from gyribeiro/tmux_italic.md
enable italic font on tmux
@szTheory
szTheory / min-char-rnn.py
Created November 1, 2019 23:12 — forked from karpathy/min-char-rnn.py
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)