Skip to content

Instantly share code, notes, and snippets.

@iambrian
iambrian / opencv_framework_ios_setup.md
Created January 14, 2017 23:54
How to get opencv2.framework with aruco
@iambrian
iambrian / UDPServer_setup.md
Last active October 18, 2016 02:28
Setup tutorial on DigitalOcean
@iambrian
iambrian / ARtoolkit_setup.md
Last active October 18, 2016 02:29
ARtoolkit Setup for iOS

Download the iOS package from: http://artoolkit.org/download-artoolkit-sdk

Click on the .xcodeproj file

NB: the project is not compatible with the simulator, so you will need to connect your device now

In the device dropdown, select your device

In the app dropdown (to the left of the device dropdown), select ARApp

@iambrian
iambrian / OpenAI-Gym_setup.md
Last active November 13, 2020 21:12
OpenAI gym tutorial

Getting Setup: Follow the instruction on https://gym.openai.com/docs

git clone https://github.com/openai/gym
cd gym
pip install -e . # minimal install

Basic Example using CartPole-v0:

@iambrian
iambrian / AmazonEMR_troubleshooting.md
Last active October 18, 2016 02:25
Configuring Hive for EMR
  1. Make sure hive is installed on your EMR instance

  2. Can't SSH into EMR master?

Error: Connection Refused --> check your security group permissions

Go to EC2 dashboard. Select your master instance. In the 'Description' tab, click the Security Group (probably ElasticMapReduce-master). Under the 'Inbound' tab, add a rule for SSH.

@iambrian
iambrian / index.js
Created April 10, 2016 15:50
Heroku H10 Error
// port needs to be set via the process.env.PORT otherwise results in port binding error
var express = require('express');
var app = express();
...
app.set('port', (process.env.PORT || 5000));