Skip to content

Instantly share code, notes, and snippets.

View specialtactics's full-sized avatar
💪
Working hard

Max specialtactics

💪
Working hard
View GitHub Profile
@specialtactics
specialtactics / robot.js
Created December 3, 2012 22:05 — forked from lushone/robot.js
destroyer of worlds
//FightCode can only understand your robot
//if its class is called Robot
var Robot = function(robot) {
};
Robot.prototype.onIdle = function(ev) {
var robot;
robot = ev.robot;
@specialtactics
specialtactics / robot.js
Created December 3, 2012 22:05
W00t #1 YEAH!!!! (Zolmesiter)
var Robot = function(robot){
robot.turnLeft(robot.angle % 90);
//robot.turnGunRight(90);
robot.clone();
this.direction = 1;
};
Robot.prototype.onIdle = function(ev) {
var robot = ev.robot;
robot.ahead(1);
if (robot.parentId) {
$ wget "https://dev.mysql.com/get/Downloads/Connector-C++/mysql-connector-c++-1.1.6-linux-glibc2.5-x86-64bit.rpm"
# rpm -ivh mysql-connector-c++-1.1.6-linux-glibc2.5-x86-64bit.rpm
# sudo dnf install libuuid-devel boost-devel pcre-devel unixODBC-devel gdal-devel libxml2-devel libzip-devel gdk-pixbuf2-devel glibmm24-devel pango-devel cairo-devel gtk2-devel gtkmm24-devel ctemplate-devel vsqlite++-devel tinyxml-devel python-libs swig python-paramiko autoconf automake libtool gcc-c++ pkgconfig

$ wget http://dev.mysql.com/get/Downloads/MySQLGUITools/mysql-workbench-community-6.3.5-src.tar.gz
$ tar xf mysql-workbench-community-6.3.5-src.tar.gz && cd mysql-workbench-community-6.3.5-src
$ mkdir wb-build