This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function find_closest_target(parent, targets) | |
closest_dist = 1000 | |
closest_target = nil | |
for i = 1, #targets do | |
target = targets[i] | |
dist = parent:dist_to_entity(target) | |
if dist < closest_dist then | |
cl |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# minimal ubuntu yakkety (16.10) netinstall (only additional ssh server) | |
#install golang (change 1.8 to actual latest version) | |
mkdir install && cd install | |
wget https://godeb.s3.amazonaws.com/godeb-amd64.tar.gz && tar xf godeb-amd64.tar.gz | |
./godeb install 1.8 | |
#install dependencies | |
apt-get --no-install-recommends install git libwebkitgtk-3.0-dev libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev libgl1-mesa-dev libglu1-mesa-dev libxxf86vm-dev libnotify-dev libjpeg-dev libtiff5-dev gcc g++ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# minimal debian 8 64-bit install (only additional ssh server) | |
mkdir install && cd install | |
apt-get install -y ca-certificates | |
#install golang (change 1.8 to actual latest version) | |
wget https://godeb.s3.amazonaws.com/godeb-amd64.tar.gz && tar xf godeb-amd64.tar.gz | |
./godeb install 1.8 | |
#install dependencies | |
apt-get --no-install-recommends install git libwebkitgtk-3.0-dev libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev libgl1-mesa-dev libglu1-mesa-dev libxxf86vm-dev libnotify-dev libjpeg-dev libtiff5-dev |
NewerOlder