Skip to content

Instantly share code, notes, and snippets.

@omasanori
omasanori / abvis.rb
Created January 11, 2015 07:05
An implementation of minimax and alpha-beta punning written in Ruby, with visualization using Graphviz dot language.
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
end
@patrick330602
patrick330602 / anbox-modules.sh
Last active May 8, 2022 18:04
Andbox on WSL related stuff
sudo apt install dkms linux-headers-generic
git clone https://github.com/anbox/anbox-modules
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
@Razer6
Razer6 / modelsim_installation.md
Last active April 17, 2024 21:55 — forked from robodhruv/modelsim_installation.md
Installing ModelSim on Ubuntu

ModelSim Installation on Ubuntu

Installation requirements

The free version of Modelsim is a 32-bit binary and therefore requires certain 32-bit libraries in order to work correctly. For Ubunutu, install the following packages

sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386 lib32ncurses6 libxft2 libxft2:i386 libxext6 libxext6:i386