Skip to content

Instantly share code, notes, and snippets.

View janl's full-sized avatar
🛋️
Drop ICE

Jan Lehnardt janl

🛋️
Drop ICE
View GitHub Profile
> git diff
diff --git a/Library/Formula/erlang.rb b/Library/Formula/erlang.rb
index 10656a4..5267b16 100644
--- a/Library/Formula/erlang.rb
+++ b/Library/Formula/erlang.rb
@@ -27,6 +27,9 @@ class Erlang < Formula
md5 '047f246c4ecb5fadaffb7e049795d80e'
version 'R14B03'
+ bottle 'https://github.com/downloads/janl/homebrew/erlang-R14B03-bottle.tar.gz'
@janl
janl / gist:1296700
Created October 18, 2011 20:58
CouchDBZombo.com
"Everything is possible with CouchDB."
"If you give a database to every user, you get scaling for free."
"Run your Couch on port 80."
"Relaaaaaaaaaax."
asd
bsd
asd
Date: Thu, 16 Feb 2012 13:54:23 -0500
From: Kenneth Reitz <me@kennethreitz.com>
To: homebrew@librelist.com
Subject: [homebrew] Command Line Tools for XCode
Hey guys — I've been working with Apple since the release of my osx-gcc-installer.
I helped them come up with the requirements and command_line_tools_for_xcode is the result of that effort. Apple should be putting a link to it on their open source page soon.
I know there were some reservations about hombrew supporting osx-gcc-installer, but since this is a real Apple product now, made *specifically* with Hombrew users in mind, we need to do our best to support it. Apple's doing their best to support us.
> Davis joined Cloudant last summer. His appointment to the PMC should ensure the smooth merger between BigCouch and CouchDB.
An Apache PMC is responsible for the health of a project, not to drive technical decisions. While I’m sure Paul will be helping with moving BigCouch over, his role in the PMC is completely unrelated to this. His contributions and commitment to the project made the rest of the PMC believe that he's a great addition to ensure the longevity of the project.
diff --git a/src/couchdb/couch_httpd_db.erl b/src/couchdb/couch_httpd_db.erl
index bba9b7c..f5ed6a4 100644
--- a/src/couchdb/couch_httpd_db.erl
+++ b/src/couchdb/couch_httpd_db.erl
@@ -64,7 +64,17 @@ handle_changes_req(#httpd{path_parts=[_,<<"_changes">>]}=Req, _Db) ->
send_method_not_allowed(Req, "GET,HEAD,POST").
handle_changes_req1(Req, Db) ->
- ok = couch_db:check_is_admin(Db),
+ AuthDbName = ?l2b(couch_config:get("couch_httpd_auth", "authentication_db")),
./test/etap/run test/etap/076-file-compression.t # Current time local 2012-02-23 16:47:45
# Using etap version "0.3.4"
1..10
Apache CouchDB 0.0.0 (LogLevel=info) is starting.
Apache CouchDB has started. Time to relax.
[info] [<0.2.0>] Apache CouchDB has started on http://127.0.0.1:50496/
[info] [<0.111.0>] checkpointing view update at seq 102 for couch_test_file_compression _design/test
[info] [<0.111.0>] checkpointing view update at seq 203 for couch_test_file_compression _design/test
[info] [<0.111.0>] checkpointing view update at seq 306 for couch_test_file_compression _design/test
[info] [<0.111.0>] checkpointing view update at seq 408 for couch_test_file_compression _design/test
./test/etap/run test/etap/220-compaction-daemon.t
test/etap/220-compaction-daemon.t:165: Warning: variable 'Docs' is unused
# Current time local 2012-02-23 16:49:53
# Using etap version "0.3.4"
1..10
Apache CouchDB 0.0.0 (LogLevel=info) is starting.
Apache CouchDB has started. Time to relax.
[info] [<0.2.0>] Apache CouchDB has started on http://127.0.0.1:52022/
[info] [<0.113.0>] checkpointing view update at seq 101 for couch_test_compaction_daemon _design/foo
[info] [<0.80.0>] 127.0.0.1 - - GET /couch_test_compaction_daemon/_design/foo/_view/foo 200
+ COUCH_SOURCE=/Users/jan/Work/couchdb
+ '[' -z R14B04 ']'
+ erlang=R14B04
+ '[' -z 1.1.1 ']'
+ couch=1.1.1
+ '[' -z seatoncouch/templates/default_doc.tpl ']'
+ bench_tpl=seatoncouch/templates/default_doc.tpl
+ brew switch erlang R14B04
Cleaning /usr/local/Cellar/erlang/R14B04
Cleaning /usr/local/Cellar/erlang/R15B
#!/bin/sh -e
# Licensed under the Apache License, Version 2.0 (the "License"); you may not
# use this file except in compliance with the License. You may obtain a copy of
# the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the