*coding: utf-8*
Download net install iso. Find a mirror close to you at http://isoredirect.centos.org/centos/6/isos/x86_64/
- Name: vagrant-centos
- Operating System: Linux
- Version: Red Hat 64bit
forever.tail = function (target, options, callback) { | |
if (!callback && typeof options === 'function') { | |
callback = options; | |
options.length = 0; | |
options.stream = false; | |
} |
info: Showing logs for out.js | |
data: Mon, 27 Aug 2012 00:32:51 GMT one | |
data: Mon, 27 Aug 2012 00:32:53 GMT one | |
data: Mon, 27 Aug 2012 00:32:54 GMT one | |
... 97 more lines | |
info: Showing logs for out.js | |
data: Mon, 27 Aug 2012 00:32:57 GMT two | |
data: Mon, 27 Aug 2012 00:32:59 GMT two | |
data: Mon, 27 Aug 2012 00:33:00 GMT two | |
...97 more lines |
$ forever logs out.js -f -n 5 | |
data: out.js:9161 - Mon, 27 Aug 2012 00:44:29 GMT one | |
data: out.js:9161 - Mon, 27 Aug 2012 00:44:31 GMT one | |
data: out.js:9161 - Mon, 27 Aug 2012 00:44:32 GMT one | |
data: out.js:9161 - Mon, 27 Aug 2012 00:44:34 GMT one | |
data: out.js:9161 - Mon, 27 Aug 2012 00:44:35 GMT one | |
data: out.js:9164 - Mon, 27 Aug 2012 00:44:29 GMT two | |
data: out.js:9164 - Mon, 27 Aug 2012 00:44:30 GMT two | |
data: out.js:9164 - Mon, 27 Aug 2012 00:44:32 GMT two | |
data: out.js:9164 - Mon, 27 Aug 2012 00:44:33 GMT two |
Download net install iso. Find a mirror close to you at http://isoredirect.centos.org/centos/6/isos/x86_64/
- Name: vagrant-centos
- Operating System: Linux
- Version: Red Hat 64bit
exports.api = function (req, res) { | |
var nano = require('nano')('http://mw.iriscouh'); | |
/* POST /api | |
{ | |
food: [array, of, items], | |
user: 'user email' | |
} | |
*/ | |
var obj = {}; |
file { '/etc/passwd': | |
owner => 'root', | |
group => 'root', | |
mode => '0644', | |
} | |
package { httpd: ensure => installed; } | |
service { "httpd": | |
enable => "true", |
var a = { | |
valueOf: function () { | |
return 100; | |
}, | |
toString: function () { | |
return '__test'; | |
} | |
}; | |
// in this operation |
app.options('*', function (req, res) { | |
var path = req.originalUrl; | |
var allow = []; | |
for (var opt in app.routes) app.routes[opt].forEach(findRoutes); | |
function findRoutes (route) { | |
if (path.match(route.regexp)) allow.push(opt.toUpperCase()); | |
} | |
cd ~ | |
sudo apt-get update | |
sudo apt-get install openjdk-7-jre-headless curl -y | |
cd /usr/local/share | |
sudo wget https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-0.90.1.tar.gz | |
sudo tar -xf elasticsearch-0.90.1.tar.gz | |
sudo rm elasticsearch-0.90.1.tar.gz | |
sudo mv elasticsearch-* elasticsearch |
A Great British Pound coin spinning, created with 3D transforms and animation in CSS. I was reminded of old PS1 loading screens, where they just spun the disc forever, and never actually loaded a game. Perhaps that was just my experience.
Webkit only for now, just because.
A Pen by John Lancaster on CodePen.