This file contains hidden or 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 express = require('express'); | |
var app = express(); | |
app.use(express.compress()); | |
app.use(express.static(__dirname)); | |
app.listen(process.env.PORT || 3000); |
This file contains hidden or 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 http = require('http'); | |
var fs = require('fs'); | |
var path = require('path'); | |
http.createServer(function (request, response) { | |
console.log('request starting...'); | |
var filePath = '.' + request.url; |
This file contains hidden or 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
/* tooltip using css3 */ | |
http://jsfiddle.net/error454/aaDY9/ | |
http://jsfiddle.net/4Dpa3/ | |
http://jsfiddle.net/tomalex0/8fd6N/1/ | |
/*Pseudo Element z-index fix*/ | |
http://jsfiddle.net/imakewebthings/CceAT/ |
This file contains hidden or 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 osEnvar= { | |
name : null, | |
names: { | |
ios: 'iOS', | |
android: 'Android', | |
webos: 'webOS', | |
blackberry: 'BlackBerry', | |
rimTablet: 'RIMTablet', | |
mac: 'MacOS', | |
win: 'Windows', |
NewerOlder