Skip to content

Instantly share code, notes, and snippets.

patrick330602 /
Last active May 8, 2022
Andbox on WSL related stuff
sudo apt install dkms linux-headers-generic
git clone
cd ./anbox-modules
sudo cp anbox.conf /etc/modules-load.d/
sudo cp 99-anbox.rules /lib/udev/rules.d/
sudo cp -rT ashmem /usr/src/anbox-ashmem-1
sudo cp -rT binder /usr/src/anbox-binder-1
sudo dkms install anbox-ashmem/1
sudo dkms install anbox-binder/1
sudo modprobe ashmem_linux
omasanori / abvis.rb
Created Jan 11, 2015
An implementation of minimax and alpha-beta punning written in Ruby, with visualization using Graphviz dot language.
View abvis.rb
class Node
attr_accessor :symbol, :score, :my_turn, :children, :visited
def initialize(symbol, score, my_turn, children)
@symbol = symbol
@score = score
@my_turn = my_turn
@children = children
@visited = false