a list of slides from nodeconf
you may want to take a look at the jsconf-gist too!
perl: warning: Setting locale failed. | |
perl: warning: Please check that your locale settings: | |
LANGUAGE = (unset), | |
LC_ALL = (unset), | |
LC_CTYPE = "UTF-8", | |
LANG = "en_US.UTF-8" | |
are supported and installed on your system. | |
perl: warning: Falling back to the standard locale ("C"). | |
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ |
Lista de documentários e filmes que considero como "obrigatórios", ou seja, todos deveriam assistir. | |
O critério usado para colocar um item na lista é: O documentário/filme mudou sua visão do mundo. | |
Documentários: | |
The Corporation - http://www.imdb.com/title/tt0379225/ | |
The Story of Stuff - http://www.storyofstuff.com/ | |
The Genius of Charles Darwin - http://en.wikipedia.org/wiki/The_Genius_of_Charles_Darwin | |
BBC - Horizon: How Many People Can Live on Planet Earth? - http://www.bbc.co.uk/programmes/b00pdjmk |
Array.prototype.add = function(el) { | |
this[this.length] = el; | |
return this; | |
}; | |
if(typeof Array.prototype.each == "undefined") { | |
Array.prototype.each = function(fn) { | |
for(var index = 0; index < this.length; index++) { | |
fn(this[index], index); | |
} |
var objeto = { | |
nome: "Christiano Milfont", telefone: "23423423", idade: 18, | |
paginacao: function(name) { return name; } | |
}; | |
var template = "<div> #{paginacao(nome)} #{nome} \ | |
- #{telefone} - #{ (idade >= 18)? \"permitido\": \"proibido\" }</div>"; | |
function Engine(tmpl) { | |
var _pattern = /\#\{([^}]+)\}/g; |
var json = {} | |
var name = "empresa.id"; | |
var valor = "01/01/2011"; | |
var gerarJSON = (function gerarJSON(json, hierarquia, value) { | |
var hierarquia = hierarquia.split("."); | |
var last = hierarquia.pop(); | |
var temp = {}; |
## ORACLE | |
def disable_referential_integrity(&block) #:nodoc: | |
sql_constraints = <<-SQL | |
SELECT constraint_name, owner, table_name | |
FROM user_constraints | |
WHERE constraint_type = 'R' | |
AND status = 'ENABLED' | |
SQL | |
old_constraints = select_all(sql_constraints) | |
begin |
a list of slides from nodeconf
you may want to take a look at the jsconf-gist too!