Skip to content

Instantly share code, notes, and snippets.

View JoshOY's full-sized avatar
🎯
Focusing

Josh Ouyang JoshOY

🎯
Focusing
  • Shanghai, China
  • 04:23 (UTC +08:00)
View GitHub Profile
@JoshOY
JoshOY / run.js
Created May 31, 2016 12:36 — forked from ChuckJHardy/run.js
Express Server for ZeroMQ, Socket.io and Angular.js
'use strict';
var express = require('express'),
app = express(),
http = require('http'),
server = http.createServer(app),
path = require('path'),
io = require('socket.io').listen(server),
fs = require('fs'),
zmq = require('zmq'),
@JoshOY
JoshOY / AVLTree.h
Last active August 29, 2015 14:09 — forked from ivo-/AVLTree.h
#ifndef _H_AVL_TREE
#define _H_AVL_TREE
#include <iostream>
#include <iomanip>
template <typename T>
struct AVLNode
{
AVLNode(T v, int b = 0, AVLNode<T> *l = 0, AVLNode<T> *r = 0) :