Skip to content

Instantly share code, notes, and snippets.

Drop ICE

Jan Lehnardt janl

Drop ICE
View GitHub Profile
View gist:6909724
=CRASH REPORT==== 9-Oct-2013::18:48:11 ===
initial call: tcp_acceptor:init/1
pid: <0.11371.0>
registered_name: []
exception exit: {accept_failed,econnaborted}
in function gen_server:terminate/6 (gen_server.erl, line 747)
ancestors: ['tcp_acceptor_sup_0.0.0.0:5672',<0.4631.0>,rabbit_sup,
messages: []

Hi, all.

Encouraged by my successful experiment with a Node.js view server, I am now working on a branch, nodejs_couchdb, with the following properties:

  • Remove couchjs from the project
  • Remove dependency on SpiderMonkey, libjs, 1.8.whatever...all that is gone
  • Remove dependency on libcurl
  • (Thus, simplified autoconf version dependency Hell)

Phase 1: Dependency on a "couchjs" executable which you install via npm install couchjs

cowboy / log.js
Created November 15, 2012 20:06
JavaScript: log= (insanity?)
View log.js
* log= (insanity?)
* Copyright (c) 2012 "Cowboy" Ben Alman
* Licensed under the MIT license.
Object.defineProperty(global, 'log', {
set: function(args) {
piscisaureus /
Created August 13, 2012 16:12
Checkout github pull requests locally

Locate the section for your github remote in the .git/config file. It looks like this:

[remote "origin"]
	fetch = +refs/heads/*:refs/remotes/origin/*
	url =

Now add the line fetch = +refs/pull/*/head:refs/remotes/origin/pr/* to this section. Obviously, change the github url to match your project's URL. It ends up looking like this:

tobyhede / postsql.sql
Created May 17, 2012 03:08
PostgreSQL as JSON Document Store
View postsql.sql
-- PostgreSQL 9.2 beta (for the new JSON datatype)
-- You can actually use an earlier version and a TEXT type too
-- PL/V8
-- Inspired by
-- JSON Types need to be mapped into corresponding PG types
felixge / postverzollung.txt
Created May 4, 2012 13:33
Example for not wasting your time at the customs office
View postverzollung.txt
TO: (usually provided on the card you get)
Sehr geehrtes Zollamt,
am DD.MM.YYYY erhielt ich ein Schreiben über den Eingang einer Sendung bei der keine Rechnung angebracht war.
lfd. Nr: <NR>
Empfänger: <Name>, <Adresse>, <PLZ> <Ort>
Bei dem Paket handelt es sich um ein T-Shirt das mir geschenkt wurde da ich in meiner Freizeit kostenlose Software für die Integration mit einem Datenanalyse Dienst geschrieben habe (siehe Das T-Shirt ist vermutlich mit dem Logo des Dienstes bedruckt / hat keinen offiziellen Marktwert. Die Materialkosten sind wahrscheinlich ~20 EUR.
rnewson / gist:2387973
Created April 14, 2012 21:31
CouchDB Future Feature List - Round 2
View gist:2387973
A list of features that we want to see in CouchDB. Needs to be voted on so that it can become a priority queue.
User Facing Features
1. Conflicts are the rule, not the exception
All previous versions of CouchDB hide conflicts by default (selecting
an arbitrary but consistent winning revision). Expert users can find
and resolve conflicts.
ingenthr / Makefile
Created January 21, 2012 00:17
Updating toolchain on CentOS
View Makefile
# This makefile set up all of the build dependencies we need for building
# the membase server on RedHat Linux
# For questions please contact
# Copyright (c) 2010, Membase, Inc.
# All rights reserved.
# Set your path to /opt/local/bin:$PATH, then run make build-compile-env