var abc = function () {
return 2+2;
}
var abc = function () {
#!/bin/sh | |
# Usage : ./mongo-find <db-name> <collection> <attribute> <attribute-value> | |
mongo $1 --eval \ | |
" | |
print('Finding ....'); | |
cursor = db.$2.find({'$3':'$4'}); | |
while ( cursor.hasNext() ) { | |
printjson( cursor.next() ); |
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Page Title</title> | |
</head> | |
<body> | |
<!-- Add your site or application content here --> | |
<p>Hello world! This is HTML5 Boilerplate.</p> | |
</body> | |
</html> |
<link rel="import" href="../core-field/core-field.html"> | |
<link rel="import" href="../core-icon/core-icon.html"> | |
<link rel="import" href="../core-input/core-input.html"> | |
<link rel="import" href="../core-icons/core-icons.html"> | |
<link rel="import" href="../core-menu/core-submenu.html"> | |
<link rel="import" href="../core-item/core-item.html"> | |
<link rel="import" href="../core-scaffold/core-scaffold.html"> | |
<link rel="import" href="../core-header-panel/core-header-panel.html"> | |
<link rel="import" href="../core-menu/core-menu.html"> | |
<link rel="import" href="../core-icon-button/core-icon-button.html"> |
Designed to be usable by all Open Web developers, this reference page links to numerous resources about HTML5 technologies, classified into several groups based on their function.
MDN
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>JS Bin</title> | |
</head> | |
<body> | |
<audio src="http://developer.mozilla.org/@api/deki/files/2926/=AudioTest_(1).ogg" controls> | |
Your browser does not support the <code>audio</code> element. | |
</audio> |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>JS Bin</title> | |
</head> | |
<body> | |
<audio src="http://developer.mozilla.org/@api/deki/files/2926/=AudioTest_(1).ogg" controls> | |
Your browser does not support the <code>audio</code> element. | |
</audio> |
Chorus : N P M , N P M, Everyboody say N P M, | |
Chorus : Pack it, Pack it, Just pack it !! | |
Solo : It handles dependencies,and we say it is divine !! | |
Solo : If you got no clue wh't hell it is, it's just fine !! | |
Chorus : N P M , N P M, Everyboody say N P M, | |
Chorus : Pack it, Pack it, Just pack it !! | |
----- | |
N P M is cool, for things it does for you !! | |
Noddy can't go without't, except the loo !! |
require 'redcarpet'
markdown = Redcarpet.new("Hello World!")
puts markdown.to_html
var a = "123";
var b = function(){};