Skip to content

Instantly share code, notes, and snippets.

View t3db0t's full-sized avatar
😃
Working on https://www.Bartleby.ink

Tedb0t t3db0t

😃
Working on https://www.Bartleby.ink
View GitHub Profile
@t3db0t
t3db0t / nodeServer.js
Created May 5, 2012 18:56
Basic Node Server
var net = require('net');
var server = net.createServer(function(socket) { //'connection' listener
console.log('server connected');
socket.setEncoding('ascii');
socket.on('end', function() {
console.log('server disconnected');
});
@t3db0t
t3db0t / hack.sh
Created March 31, 2012 20:22 — forked from erikh/hack.sh
OSX For Hackers
#!/usr/bin/env sh
##
# This is script with usefull tips taken from:
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx
#
# install it:
# curl -sL https://raw.github.com/gist/2108403/hack.sh | sh
#
// Manually Setting File Type/URL Variable Example
import com.hydrotik.queueloader.QueueLoader;
import com.hydrotik.queueloader.QueueLoaderEvent;
import com.hydrotik.queueloader.QueueLoaderConst;
var _oLoader:QueueLoader = new QueueLoader();
var img:Sprite = new Sprite();
img.name = "image_1";