Skip to content

Instantly share code, notes, and snippets.

View apathyboy's full-sized avatar

Eric Barr apathyboy

View GitHub Profile
# apt-get installed deps
sudo apt-get install gcc-4.6 python3.2-dev libbz2-dev libmysqlclient-dev libgtest-dev google-mock libgoogle-glog-dev libtbb-dev libglm-dev libboost-all-dev git-core unzip cmake
# mysql connector cpp
git clone https://github.com/anhstudios/mysql-connector-cpp.git
cd mysql-connector-cpp
cmake .
make
sudo make install
@apathyboy
apathyboy / setup.sh
Created May 3, 2011 19:15
Quickly reloads the swganh database on unix environment: ./setup.sh -u mysql_username -p mysql_password
#!/bin/bash
# Get the directory this file is in (the project base)
basedir=$(cd $(dirname $0) && pwd)
mysql=mysql # mysql executable
username= # mysql user
passwd= # mysql password
# parse the command line parameters