Skip to content

Instantly share code, notes, and snippets.

View OrsoEric's full-sized avatar
💭
Robot Mode: ON

Orso Eric OrsoEric

💭
Robot Mode: ON
View GitHub Profile
@companje
companje / Image over Socket.IO.js
Created September 3, 2014 17:46
Image over Socket.IO
//NodeJS
var express = require('express');
var app = express();
var http = require('http').Server(app);
var fs = require('fs');
var io = require('socket.io')(http);
app.use(express.static(__dirname, '/'));
io.on('connection', function(socket){
@mohd-akram
mohd-akram / matrix.c
Created January 27, 2014 01:23
Matrix digital rain in C.
#include <stdlib.h>
#include <time.h>
#include <windows.h>
#define WIDTH 80
#define HEIGHT 40
#define idx(x, y) ((x)+WIDTH*(y))