#Installing ngrok on OSX
- Download ngrok
- Unzip it to your Applications directory
- Create a symlink (instructions below)
Run the following two commands in Terminal to create the symlink.
# cd into your local bin directory| #include <gl/glut.h> | |
| #include <stdio.h> | |
| int x1, y1, x2, y2; | |
| void myInit() { | |
| glClear(GL_COLOR_BUFFER_BIT); | |
| glClearColor(0.0, 0.0, 0.0, 1.0); | |
| glMatrixMode(GL_PROJECTION); | |
| gluOrtho2D(0, 500, 0, 500); |
| #include <stdio.h> | |
| #include <iostream> | |
| #include <GL/glut.h> | |
| using namespace std; | |
| int pntX1, pntY1, r; | |
| void plot(int x, int y) | |
| { | |
| glBegin(GL_POINTS); |
#Installing ngrok on OSX
Run the following two commands in Terminal to create the symlink.
# cd into your local bin directory