Skip to content

Instantly share code, notes, and snippets.

View zafarali's full-sized avatar

Zafarali Ahmed zafarali

View GitHub Profile
@zafarali
zafarali / strct_test.cpp
Created July 8, 2016 19:51
demo of struct copying
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <iostream>
#include <vector>
#include <fstream>
#include <sstream>
#include <string>
using namespace std;
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <iostream>
#include <vector>
#include <fstream>
#include <sstream>
#include <string>
using namespace std;
#!/bin/bash
pdflatex ${1}.tex
bibtex ${1}
pdflatex ${1}.tex
pdflatex ${1}.tex
INSTALLDIR="$(pwd)/roboschool_installation"
echo "installing roboschool at $INSTALLDIR"
mkdir $INSTALLDIR
cd $INSTALLDIR
echo "Now cloning roboschool from github."
git clone https://github.com/openai/roboschool
ROBOSCHOOL_PATH="${INSTALLDIR}/roboschool"
echo "ROBOSCHOOL_PATH was set to $ROBOSCHOOL_PATH"
cd "$ROBOSCHOOL_PATH"
git clone https://github.com/olegklimov/bullet3 -b roboschool_self_collision
@zafarali
zafarali / RoboschoolCluster.sh
Last active April 14, 2018 01:36
Install Roboschool on ComputeCanda Clusters. See comments for how to use
# a special thanks to the ComputeCanada support team for making available these modules on the cluster!
# using this script is pretty easy, just `wget` this into a server and then `bash RoboschoolCluster.sh`
module load python/3.5.2
module load qt
module load gcc/6.4.0
module load boost/1.65.1
# this command should not fail
pkg-config --cflags Qt5Widgets Qt5OpenGL assimp python-3.5 tinyxml