Skip to content

Instantly share code, notes, and snippets.

View antonva's full-sized avatar

Anton Vilhelm Ásgeirsson antonva

  • Reykjavik
View GitHub Profile
foo = Foo()
L = ['foo', 'bar', 'naga', 'nooch', 'pooch', 'smooch']
for i, item in L:
foo.i = item
[Fri, 02 Mar 2012 09:39:06 GMT] [error] [<0.22819.3>] OS Process Error <0.23376.3> :: {os_process_error,
{exit_status,133}}
make[3]: `couchdb' is up to date.
/bin/sh: /usr/local/bin/help2man: /opt/local/bin/perl: bad interpreter: No such file or directory
chmod +x couchdb
make[2]: *** [couchdb.1] Error 126
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Error: #<BuildError: Failed executing: make >
viewmodel_fov "65.000000"
viewmodel_offset_x "2"
viewmodel_offset_y "1"
viewmodel_offset_z "-1.5"
cl_righthand "0"
viewname = new Object();
viewname = query
?startkey=%5B%221000%22%2C%222012-04-02%22%5D&endkey=%5B%221000%22%2C%222012-04-02%22%5D
?startkey=[1000,2012-04-02]&endkey=[1000,2012-04-02]
function (doc) {
if (doc.kennitala) {
emit(doc.kennitala);
}
}
function show_cost() {
$("div#laun").empty();
$db.view("Siggi/by_counter", {
success: function(data) {
for (i in data.rows) {
id = data.rows[i].id;
ssl = data.rows[i].key;
wage = 1000;
hours = data.rows[i].value;
hours = hours.toString().split(',')
function show_cost() {
$("div#laun").empty();
$db.view("Siggi/by_counter", {
success: function(data) {
for (i in data.rows) {
id = data.rows[i].id;
ssl = data.rows[i].key;
wage = 1000;
hours = data.rows[i].value;
hours = hours.toString().split(',');