Skip to content

Instantly share code, notes, and snippets.

View onehr's full-sized avatar
hacking

hrw onehr

hacking
  • Earth
  • 18:39 (UTC +08:00)
View GitHub Profile
@ClintLiddick
ClintLiddick / rust-robotics-libraries.md
Last active July 26, 2024 13:41
Rust Libraries for Robotics

Motivation

tl;dr I want to use Rust to program robots. Help me find the best core libraries to build on.

Robotic systems require high performance and reliability, but also have enormous complexity in terms of algorithms employed, number of subsystems, embedded hardware control, and other metrics. Development is mostly split between C++ for performance and safety critical components, and MatLab or Python for quick research or task iteration.

@karpathy
karpathy / min-char-rnn.py
Last active December 13, 2025 06:47
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)
@mishurov
mishurov / syntax.s
Last active October 1, 2025 17:13
AT&T assembly syntax and IA-32 instructions
# --------
# Hardware
# --------
# Opcode - operational code
# Assebly mnemonic - abbreviation for an operation
# Instruction Code Format (IA-32)
# - Optional instruction prefix
# - Operational code
@MohamedAlaa
MohamedAlaa / tmux-cheatsheet.markdown
Last active December 17, 2025 08:48
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname