- Java: The Good Parts
- Java: Concurrency in Practice (feat. Paul Christmann)
- Java Generics and Collections
- Java Web Services Up and Running
- Data structures and other Objects using java
- Spring MVC and Web Flow
- Big java (second edition)
- Effective Java (good java book)
http://chromeos-cr48.blogspot.com/2012/10/arm-chrubuntu-1204-alpha-1-now.html
http://craigerrington.com/blog/fixing-touchpad-issues-on-arm-chromebook-chrubuntu/
install ubuntu-restricted-extras and gnome desktop
sudo apt-get install build-essential htop
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var NickList = function () { | |
this.nicks = []; | |
this.colorMap = {}; | |
this.colors = [ | |
'#ff00ff', | |
'#00007f', | |
'#009300', | |
'#ff0000', | |
'#7f0000', | |
'#9c009c', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Intelligent Traceroute | |
* | |
* Do a traceroute on a domain, prints a json array | |
* of the hops with their physical locations. | |
* | |
* //Example | |
* node trace.js google.com | |
* | |
* npm install traceroute async underscore request |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
import cv | |
import time | |
import Image | |
import fnmatch | |
import os | |
import sys | |
def DetectFace(image, faceCascade): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* A little code from Collective Intelligence translated to javascript | |
*/ | |
var critics = { | |
"Lisa Rose": { | |
"Lady in the Water" : 2.5 | |
, "Snakes on a Plane" : 3.5 | |
, "Just My Luck" : 3.0 | |
, "Superman Returns" : 3.5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var mongoose = require('mongoose'); | |
var db = mongoose.createConnection('localhost', 'test'); | |
var UserSchema = mongoose.Schema({ | |
name: String, | |
phone: Number | |
}); | |
var MemorySchema = mongoose.Schema({ | |
user: { type: Number, ref: 'User' }, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** WTF MAYNE **/ | |
Admin.User = Backbone.Model.extend({ | |
idAttribute: '_id', | |
setAction: function (action) { | |
this.action = action; | |
}, | |
getAction: function () { | |
if (!this.action) return ''; | |
var action = this.action; | |
this.action = null; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'formula' | |
class Vim < Formula | |
# Get stable versions from hg repo instead of downloading an increasing | |
# number of separate patches. | |
url 'https://vim.googlecode.com/hg/', :revision => '57e8b75298d6' | |
version '7.3.712' | |
homepage 'http://www.vim.org/' | |
head 'https://vim.googlecode.com/hg/' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
app.all('*', function (req, res, next) { | |
req.setEncoding('utf-8'); | |
req.on('data', function (data) { | |
console.log(data); | |
}); | |
// next(); | |
}); |