Skip to content

Instantly share code, notes, and snippets.

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
<!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>
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',
diff --git a/.gitmodules b/.gitmodules
new file mode 100644
index 0000000..39cbcef
--- /dev/null
+++ b/.gitmodules
@@ -0,0 +1,3 @@
+[submodule "frameworks/couchdb"]
+ path = frameworks/couchdb
+ url = git://github.com/devinus/sproutcore-couchdb.git
diff --git a/Buildfile b/Buildfile
$ git clone git@tangosource.com:workit.git
Cloning into workit...
Warning: untrusted X11 forwarding setup failed: xauth key data not generated
Warning: No xauth data; using fake authentication data for X11 forwarding.
remote: Counting objects: 1380, done.
remote: Compressing objects: 100% (980/980), done.
remote: Total 1380 (delta 554), reused 828 (delta 270)
Receiving objects: 100% (1380/1380), 2.68 MiB | 330 KiB/s, done.
Resolving deltas: 100% (554/554), done.
~
// ==========================================================================
// Project: Todozen.StoryDataSource
// Copyright: ©2011 My Company, Inc.
// ==========================================================================
/*globals Todozen */
/** @class
(Document Your Data Source Here)
~/work/mitzi[sample⚡]
$ ebook-convert de-aqui-pal-real.epub de-aqui-pal-real.pdf
1% Converting input to HTML...
InputFormatPlugin: EPUB Input running
on /Users/framallo/work/mitzi/de-aqui-pal-real.epub
Found HTML cover OEBPS/cover.html
Parsing all content...
34% Running transforms on ebook...
Merging user specified metadata...
Detecting structure...
#cloud-config
apt_update: false
apt_upgrade: true
packages:
- pwgen
- pastebinit
- byobu
- build-essential
- bison
// ==========================================================================
// Project: Todozen.KanbanListItemView
// Copyright: @2011 My Company, Inc.
// ==========================================================================
/*globals Todozen */
/** @class
(Document Your View Here)
def pepe(a=nil)
if blah blahbla
thanks!
uno
dos
tres
cuatro
else
dos
uno