This file contains 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
allDocuments = function(db) { | |
console.log("Show All Docs"+ db.getLength()); | |
db.view({ | |
map : function(doc, emit){ console.log(doc) }, | |
finished : function(view){ } | |
}); | |
} | |
db2 = BrowserCouch('pages'); | |
db2.sync('http://admin:admin@localhost:5984/pages', |
This file contains 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 PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" | |
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> | |
<head> | |
<meta http-equiv="Content-type" content="text/html; charset=utf-8" /> | |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" | |
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<link rel="stylesheet" type="text/css" media="all" | |
href="css/docs.css" /> | |
<title>me</title> |
This file contains 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
require 'orderedhash' | |
# | |
# This class represents the INI file and can be used to parse, modify, | |
# and write INI files. | |
# | |
class IniFile | |
# Inifile is enumerable. | |
include Enumerable |
NewerOlder