Mital Ashok's repositories
self_macro
A C++14 macro to get the type of the current class without naming it
master_password
An implementation of the Master Password algorithm in Python.
metaclass-js
A class where its instances are classes
ptracewrap
A C++ header-only wrapper around ptrace(2)
torrebis-bencode
A C++11 library for dealing with bencoded data.
chained_comparisons
Adds relatively simple chained comparison (`X<=Y<=Z`) support for C++ 11
cplusplus-draft
C++ standards drafts
diceroller
Evaluates dice expressions (like `1d6 + 4d20kh2 + 7 * 1d12`) in the browser
freestanding_mersenne_twister
A single header reimplementing `std::mersenne_twister_engine`/`std::mt19937` with no absolutely dependencies
llvm-project
The LLVM Project is a collection of modular and reusable compiler and toolchain technologies.
mitalashok.github.io
GitHub pages
ref_counted_shared_ptr
A C++11 header-only library that hijacks std::enable_shared_from_this so that you can use alternative (non-lifetime based) refcounting
semantics2021_toy_languages
A Python implementation of the toy languages used in Part IB "Semantics of Programming Languages" (2020 - 2021)
static_variables
Static variables for Python
string_or_view
A C++17 single-header library for a possibly-owning string
SwitchTile
SwitchTile (like 15 puzzle on a torus) implementation
this-curry
A simple and flexible way to curry functions, preserving this.
wifi_qrcode_generator
Generate a QR code for your WiFi network to let others quickly connect without needing to tell them your long and complicated password.
windows_coreaudio_wrapper
A C++14 header-only wrapper around the Windows Core Audio API (A Windows Vista and later COM interface)
xkcd-Tweaks
A userscript that does some tweaks to xkcd.com and what-if.xkcd.com