Skip to content

Instantly share code, notes, and snippets.

View nathfavour's full-sized avatar
👋
available!

nathfavour nathfavour

👋
available!
View GitHub Profile
@karpathy
karpathy / min-char-rnn.py
Last active March 10, 2025 07:09
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)
@benigumocom
benigumocom / debug_from_qr.py
Last active February 16, 2025 20:07
Connect Wireless Debug from Terminal on Android11
#!/usr/bin/env python3
"""
Android11
Pair and connect devices for wireless debug on terminal
python-zeroconf: A pure python implementation of multicast DNS service discovery
https://github.com/jstasiak/python-zeroconf
"""
@lesliearkorful
lesliearkorful / google-logo-flutter.dart
Last active December 25, 2024 09:15
Google's "G" logo purely drawn in Flutter
// written by @lesliearkorful
import 'package:flutter/material.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {