Skip to content

Instantly share code, notes, and snippets.

I may be slow to respond.

Anirudh Vemula vvanirudh

I may be slow to respond.
View GitHub Profile
qpwo /
Last active Sep 27, 2022
Monte Carlo tree search (MCTS) minimal implementation in Python 3, with a tic-tac-toe example gameplay
A minimal implementation of Monte Carlo tree search (MCTS) in Python 3
Luke Harold Miles, July 2019, Public Domain Dedication
See also
from abc import ABC, abstractmethod
from collections import defaultdict
import math
darencard /
Last active Sep 29, 2022
Automatic file git commit/push upon change

Please see the most up-to-date version of this protocol on my blog at

Automatically push an updated file whenever it is changed


  1. Make sure inotify-tools is installed (
  2. Configure git as usual
  3. Clone the git repository of interest from github and, if necessary, add file you want to monitor
  4. Allow username/password to be cached so you aren't asked everytime