Skip to content

Instantly share code, notes, and snippets.

View eighteyes's full-sized avatar
💭
Building the Future With Friends

Sean Canton eighteyes

💭
Building the Future With Friends
  • Eight Eyes Creations
  • Earth (Sol)
  • 13:47 (UTC -07:00)
View GitHub Profile
@eighteyes
eighteyes / 0_reuse_code.js
Created October 19, 2015 18:42
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@eighteyes
eighteyes / mp3.js
Last active December 20, 2015 17:39 — forked from dtrce/mp3.js
Updated mp3 to use readStreams
var http = require('http'),
fs = require('fs'),
path = require('path')
util = require('util');
http.createServer(function(req, res) {
var filePath = 'path_to_file.mp3';
var stat = fs.statSync(filePath);
res.writeHead(200, {
@eighteyes
eighteyes / mp3.js
Created August 6, 2013 23:38 — forked from dtrce/mp3.js
var http = require('http'),
fileSystem = require('fs'),
path = require('path')
util = require('util');
http.createServer(function(request, response) {
var filePath = 'path_to_file.mp3';
var stat = fileSystem.statSync(filePath);
response.writeHead(200, {
@eighteyes
eighteyes / LICENSE.txt
Created May 24, 2011 15:44 — forked from 140bytes/LICENSE.txt
140byt.es -- Click ↑↑ fork ↑↑ to play!
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2011 YOUR_NAME_HERE <YOUR_URL_HERE>
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE