This file contains hidden or 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Page Title</title> | |
</head> | |
<body> | |
<h1>About Zozo</h1> | |
<img src="https://raw.githubusercontent.com/xavi-/random/master/zozo.jpg"> | |
<p> | |
Zozo is darling puppy known for sparkling personality and agility. |
This file contains hidden or 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
type ChangeEntry struct { | |
Namespace string | |
Type string // insert, update, or delete | |
ID string // the unique identifier of the object | |
Object map[string]interface{} // There are limitations on this object... | |
} | |
func convertOp(op map[string]interface{}) (*ChangeEntry, error) { | |
// Note that this has only been tested for the Mongo 2.4 format |
This file contains hidden or 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
Show hidden characters
{ | |
"close_windows_when_empty": false, | |
"color_scheme": "Packages/Color Scheme - Default/Blackboard.tmTheme", | |
"ensure_newline_at_eof_on_save": true, | |
"font_size": 11.0, | |
"highlight_line": true, | |
"ignored_packages": | |
[ | |
"Vintage" | |
], |
This file contains hidden or 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
[ | |
[ "A", "a" ], | |
[ "AMD", "amd" ], | |
[ "AQ", "aq" ], | |
[ "Babel", "babel" ], | |
[ "Bag", "bag" ], | |
[ "Base64", "base64" ], | |
[ "BigInt", "bigint" ], | |
[ "BufferList", "bufferlist" ], | |
[ "ByteBuffer", "bytebuffer" ], |
This file contains hidden or 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": "AQ", | |
"author": { | |
"name": "Kirollos Risk", | |
"email": "[email protected]" | |
} | |
}, | |
{ |
This file contains hidden or 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": "amd", | |
"author": { | |
"name": "Dominic Tarr", | |
"email": "[email protected]", | |
"url": "bit.ly/dominictarr" | |
} | |
}, |
This file contains hidden or 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
// First do this: | |
// $ curl http://isaacs.iriscouch.com/registry/_all_docs > npmdocs.json | |
var docs = require("./npmdocs").rows; | |
var request = require("request"); | |
var fs = require("fs"); | |
var normalized = {}; | |
docs.forEach(function(doc) { |
This file contains hidden or 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 original = { | |
_id: "3f369ef", | |
_rev: "rev-23421-12", | |
brand: "bran and ed", | |
sizes: [ | |
{ sku: "3925", US: 10, UK: 11 }, | |
{ sku: "4635", US: 9, UK: 10 } | |
] | |
}; |
This file contains hidden or 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
// A JavaScript version of the bug described in http://stackoverflow.com/questions/17351590 | |
var names = {}; | |
function fetchName(id, callback) { | |
if(id in names) { callback(names[id]); } | |
else { | |
$.get("/what-the-name", { id: id }, function(name) { | |
names[id] = name; | |
callback(name); | |
}); |
This file contains hidden or 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
{ | |
"predef": [], | |
"maxerr": 150, | |
"browser": true, | |
"node": true, | |
"esnext": true, | |
"jquery": true, |