Skip to content

Instantly share code, notes, and snippets.

View ChrisBuchholz's full-sized avatar

Christoffer Buchholz ChrisBuchholz

View GitHub Profile
(function() {
var CDB = function(url, callback) {
if(url != 'undefined' && callback != 'undefined') {
this._url = url;
this._callback = callback;
this.send(this._url, this._callback);
}
};
CDB.prototype = {
<Location /couchdb/>
ProxyPass http://*ip*:5984/_utils/
SetEnv force-proxy-request-1.0 1
SetEnv proxy-nokeepalive 1
</Location>
attachments:
Assertion failed: binAttDoc2._attachments["foo2.txt"].content_type == "text/plain;charset=utf-8"
Assertion failed: xhr.getResponseHeader("Content-Type") == "text/plain;charset=utf-8"
Assertion failed: xhr.getResponseHeader("Content-Type") == "text/plain;charset=utf-8"
Assertion failed: xhr.getResponseHeader("Content-Type") == "text/plain;charset=utf-8"
Assertion failed: xhr.getResponseHeader("Content-Type") == "text/plain;charset=utf-8"
Assertion failed: xhr.getResponseHeader("Content-Type") == "text/plain;charset=utf-8"
Assertion failed: xhr.getResponseHeader("Content-Type") == "text/plain;charset=utf-8"
attachment_paths:
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "da_DK.utf8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
# chrisbuchholz
Oct 9 17:03:17 localhost sshd[7417]: Accepted password for chrisbuchholz from 80.162.211.104 port 57170 ssh2
Oct 9 17:03:17 localhost sshd[7417]: pam_env(sshd:setcred): Unable to open env file: /etc/default/locale: No such file or directory
Oct 9 17:03:17 localhost sshd[7417]: pam_unix(sshd:session): session opened for user chrisbuchholz by (uid=0)
Oct 9 17:03:17 localhost sshd[7476]: pam_env(sshd:setcred): Unable to open env file: /etc/default/locale: No such file or directory
Oct 9 17:03:38 localhost sshd[7476]: Received disconnect from 80.162.211.104: 11: disconnected by user
Oct 9 17:03:38 localhost sshd[7417]: pam_unix(sshd:session): session closed for user chrisbuchholz
Oct 9 17:03:38 localhost sshd[7417]: pam_env(sshd:setcred): Unable to open env file: /etc/default/locale: No such file or directory
# root
; CouchDB Configuration Settings
; Custom settings should be made in this file. They will override settings
; in default.ini, but unlike changes made to default.ini, this file won't be
; overwritten on server upgrade.
[couchdb]
;max_document_size = 4294967296 ; bytes
[httpd]
" appearence
set bg=dark
set number ruler
set numberwidth=5
syntax on
syntax sync fromstart
set t_Co=256
let g:molokai_original=1
colorscheme molokai
/usr/share/vim/vimrc
2: /usr/share/vim/vim72/debian.vim
3: /usr/share/vim/vim72/syntax/syntax.vim
4: /usr/share/vim/vim72/syntax/synload.vim
5: /usr/share/vim/vim72/syntax/syncolor.vim
6: /usr/share/vim/vim72/filetype.vim
7: /home/cb/.vimrc
8: /usr/share/vim/vim72/syntax/nosyntax.vim
9: /usr/share/vim/vim72/colors/molokai.vim
10: /usr/share/vim/vim72/indent.vim
hardstatus alwayslastline
hardstatus string '%{= kG}[ %{G}%H %{g}][%= %{= kw}%?%-Lw%?%{r}(%{W}%n*%f%t%?(%u)%?%{r})%{w}%?%+Lw%?%?%= %{g}][%{B} %d/%m %{W}%c %{g}]'
vbell on
startup_message off
defutf8 on
term screen-256color
" appearence
set bg=dark
set number ruler
set numberwidth=5
syntax on
syntax sync fromstart
let g:molokai_original=1
colorscheme molokai
set scrolloff=3