Requires a patched powerline font (see https://gist.github.com/baopham/1838072 or https://github.com/Lokaltog/powerline-fonts).
Screenshot using the smyck theme.
Requires a patched powerline font (see https://gist.github.com/baopham/1838072 or https://github.com/Lokaltog/powerline-fonts).
Screenshot using the smyck theme.
<script> | |
document.body.addEventListener('click', function(e){ | |
if (e.target.tagName.toLowerCase() !== 'a' || !e.target.href) return | |
_gaq.push(['_trackEvent', 'Outbound Links' , e.target.href]) | |
}, false) | |
</script> |
return template.replace(/\{\{([\s\|\w]+)\}\}/g, function(m, parts){ | |
var parts = parts.split('|'), value = comment[parts.pop()] || '', filter | |
while (filter = parts.pop()) value = CommentBox.filters[filter](value) | |
return value | |
}) |
_global = global ? window ? this | |
constructorOf = (obj) -> | |
Object::toString.call(obj).match(/\s(\w+)\]$/)?[1] | |
# ----------------------------------------------------------------------------- | |
class Op | |
constructor: (@type, @value) -> | |
@expected = true |
flour = require 'flour' | |
async = require 'cake-async' | |
tempFiles = [ | |
'build/scripts/deps.min.js' | |
'build/scripts/angular.min.js' | |
'build/scripts/scripts.min.js' | |
] | |
async task 'build:deps', (o, done) -> |
Provider | RAM | Disk | Price |
---|
= 2013 | |
<10 35 | |
11-15 16 | |
16-20 189 | |
21-25 614 | |
26-30 593 | |
31-35 343 | |
36-40 160 | |
41-45 73 | |
46-50 33 |
var models = [model1, ...] | |
, results = [] | |
, total = 0 | |
models.forEach(function(model, i){ | |
model.count().exec(function(err, count){ | |
results[i] = count | |
if (++total === models.length) { | |
res.render('painel/info', { | |
title: 'Informações', |
var async = require('async') | |
models = [model1, ...] | |
async.map(models, function(model, next){ | |
model.count().exec(next) | |
}, function(err, count){ | |
res.render('painel/info', { | |
title: 'Informações', | |
subtitle: 'Geral', |
<!doctype html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>HN's favorite tech talks</title> | |
<link rel="stylesheet" href="style.css" /> | |
</head> | |
<body> | |
<h1>HN's favorite tech talks</h1> | |
<ul> |