- Seiya Konno
- Works at Uniba Inc. (http://uniba.jp)
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
.DS_Store | |
node_modules |
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
/** | |
* Module dependencies. | |
*/ | |
var express = require('express') | |
, app = module.exports = express.createServer(); | |
// Configuration | |
app.use(app.router); |
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
<font weight="100" style="normal">.SST-UltraLight.ttf</font> | |
<font weight="100" style="italic">.SST-UltraLightItalic.ttf</font> | |
<font weight="300" style="normal">.SST-Light.ttf</font> | |
<font weight="300" style="italic">.SST-LightItalic.ttf</font> | |
<font weight="400" style="normal">.SSTVietnamese-Roman.ttf</font> | |
<font weight="700" style="normal">.SSTVietnamese-Bold.ttf</font> | |
<font weight="500" style="normal">.SST-Medium.ttf</font> | |
<font weight="500" style="italic">.SST-MediumItalic.ttf</font> | |
<font weight="900" style="normal">.SST-Heavy.ttf</font> | |
<font weight="900" style="italic">.SST-HeavyItalic.ttf</font> |
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
/** | |
* Module dependencies. | |
*/ | |
var express = require('express') | |
, routes = require('./routes') | |
, socket = require('socket.io') | |
, RedisStore = socket.RedisStore | |
, cluster = require('cluster'); |
- 2015/01/14
- HTML5minutes! - triton-js @ Members Co., Ltd.
- Seiya Konno
- Works at Uniba Inc. (http://uniba.jp)
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
/** | |
* Trapezoid | |
* - Image transforming class. | |
* | |
* Heavily inspired from: | |
* http://www.leven.ch/canvas/perspective.html | |
*/ | |
/** | |
* Module dependencies. |
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/env ruby | |
require 'rubygems' | |
require 'apache_log_regex' | |
require 'date' | |
format = '%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-agent}i\"' | |
parser = ApacheLogRegex.new(format) | |
File.readlines('/path/to/access-log').collect do |line| |
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 AWS = require('aws-sdk'); | |
AWS.config.update({ | |
logger: process.stdout, | |
region: 'ap-northeast-1' | |
}); | |
var r53 = new AWS.Route53(); | |
var params = { |
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 urandom = require('fs').createReadStream('/dev/urandom'); | |
process.on('uncaughtException', function(e) { | |
console.log(e); | |
}); | |
require('net').createServer(function(socket) { | |
urandom.pipe(socket); | |
}).listen(10101); |
NewerOlder