Skip to content

Instantly share code, notes, and snippets.

View mateodelnorte's full-sized avatar

Matt Walters mateodelnorte

View GitHub Profile
#!/usr/bin/perl
#
# Support .gitslave files, recursive processing of git commands into slave directories
#
# ++Copyright LIBBK++
#
# Copyright (c) 2003 The Authors. All rights reserved.
#
# This source code is licensed to you under the terms of the file
# LICENSE.TXT in this release for further details.
# Make mouse useful in copy mode
set -g mode-mouse on
set -g mouse-resize on
set -g mouse-select-pane on
set -g mouse-select-window on
# Allow xterm titles in terminal window, terminal scrolling with scrollbar, and setting overrides of C-Up, C-Down, C-Left, C-Right
set -g terminal-overrides "xterm*:XT:smcup@:rmcup@:kUP5=\eOA:kDN5=\eOB:kLFT5=\eOD:kRIT5=\eOC"
# Scroll History
# Welcome to the InfluxDB configuration file.
# If hostname (on the OS) doesn't return a name that can be resolved by the other
# systems in the cluster, you'll have to set the hostname to an IP or something
# that can be resolved here.
# hostname = ""
bind-address = "0.0.0.0"
# Once every 24 hours InfluxDB will report anonymous data to m.influxdb.com
bash-3.2$ cat config.log
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by Apache CouchDB configure 1.1.0, which was
generated by GNU Autoconf 2.61. Invocation command line was
$ ./configure --prefix=/usr/local/Cellar/couchdb/1.1.0 --localstatedir=/usr/local/var --sysconfdir=/usr/local/etc --with-erlang=/usr/local/lib/erlang/usr/include --with-js-include=/usr/local/include --with-js-lib=/usr/local/lib
## --------- ##
bash-3.2$ brew install spidermonkey
Warning: Formula already installed: spidermonkey
bash-3.2$ brew remove
This command requires a keg argument
bash-3.2$ brew remove spidermonkey
Uninstalling /usr/local/Cellar/spidermonkey/1.8.5...
bash-3.2$ brew install couchdb
Also installing dependencies: spidermonkey
==> Downloading http://ftp.mozilla.org/pub/mozilla.org/js/js185-1.0.0.tar.gz
File already downloaded in /Users/matt/Library/Caches/Homebrew
bash-3.2$ brew doctor
We couldn't detect gcc 4.0.x. Some formulae require this compiler.
bash-3.2$ brew install -v couchdb
==> Downloading https://github.com/apache/couchdb/tarball/1.1.0
File already downloaded in /Users/matt/Library/Caches/Homebrew
/usr/bin/tar xf /Users/matt/Library/Caches/Homebrew/couchdb-1.1.0.0
==> ./bootstrap
./bootstrap
You have bootstrapped Apache CouchDB, time to relax.
Error: 500 Internal Server Error
TypeError: Cannot read property 'length' of undefined
at /Users/matt/.node_libraries/geddy-model/lib/adapters/couchdb.js:142:30
at /Users/matt/.node_libraries/geddy-model/lib/adapters/couchdb.js:117:9
at IncomingMessage. (/Users/matt/.node_libraries/geddy-core/lib/clients/couchdb.js:54:9)
at IncomingMessage.emit (events.js:81:20)
at HTTPParser.onMessageComplete (http.js:133:23)
at Client.onData [as ondata] (http.js:1484:27)
at Client._onReadable (net.js:683:27)
@mateodelnorte
mateodelnorte / gist:1543157
Created December 31, 2011 06:46
support/package_node error
matt$ support/package_node 0.6.1
/var/folders/Uj/UjR343n7GDW444NRiNY9Zk+++TI/-Tmp-/node_XXXX.GqThzPwN ~/Development/heroku-buildpack-nodejs
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 9059k 100 9059k 0 0 1819k 0 0:00:04 0:00:04 --:--:-- 1919k
x node-v0.6.1/
x node-v0.6.1/.gitattributes
x node-v0.6.1/.gitignore
x node-v0.6.1/AUTHORS
x node-v0.6.1/benchmark/
@mateodelnorte
mateodelnorte / gist:3331782
Created August 12, 2012 13:19
checksum error
npm ERR! Error: shasum check failed for /var/folders/Uj/UjR343n7GDW444NRiNY9Zk+++TI/-Tmp-/npm-1344777461658/1344777461658-0.012702609412372112/tmp.tgz
npm ERR! Expected: 47ac53683daf832bfa952e1774417da47817ae42
npm ERR! Actual: 3bb7b8a676e95a33a0f28f081cf860176b8f67c7
npm ERR! at /usr/local/lib/node_modules/npm/lib/utils/sha.js:25:20
npm ERR! at [object Object].<anonymous> (/usr/local/lib/node_modules/npm/lib/utils/sha.js:49:5)
npm ERR! at [object Object].emit (events.js:64:17)
npm ERR! at afterRead (fs.js:1111:12)
npm ERR! at Object.wrapper [as oncomplete] (fs.js:254:17)
npm ERR! You may report this log at:
npm ERR! <http://github.com/isaacs/npm/issues>
@mateodelnorte
mateodelnorte / gist:3783610
Created September 25, 2012 18:35
console.log(require('util').inspect(server));
{ _connections: 0,
connections: [Getter/Setter],
allowHalfOpen: true,
_handle: null,
_events:
{ request:
{ [Function: app]
use: [Function],
handle: [Function],
listen: [Function],