Skip to content

Instantly share code, notes, and snippets.

View kuccello's full-sized avatar

Kristan Krispy Uccello kuccello

View GitHub Profile
@kuccello
kuccello / terminal_ansicolors.rb
Created October 24, 2011 14:49 — forked from potomak/terminal_ansicolors.rb
Testing terminal colors
require 'rubygems'
require 'term/ansicolor'
COLORS = ['black', 'red', 'green', 'yellow', 'blue', 'magenta', 'cyan', 'white']
class String
include Term::ANSIColor
end
(0..15).each do |x|
@kuccello
kuccello / index.js
Created May 10, 2012 21:20 — forked from steeleforge/index.js
Simple node.js webserver with logging. Serves whatever files are reachable from the directory where node is running. [support for Node for Windows]
/*
* Fork & Refactor of https://gist.github.com/246761
* -> Credit: Noah Sloan <http://noahsloan.com>
*/
/**
* Simple webserver with logging. Serves whatever files are reachable from
* the directory where node is running. Supports Windows port of node.
*/
var fs = require('fs'),