Skip to content

Instantly share code, notes, and snippets.

@ferriswheel
ferriswheel / inst_hs_pkgs.txt
Created August 10, 2012 00:27
list of installed haskell pkgs
Cabal 1.14.0 monad-logger 0.2.0
HTTP 4000.2.3 mtl 2.0.1.0
HTTP 4000.2.3 mtl 2.1.1
HUnit 1.2.5.1 mtlparse 0.1.2
SHA 1.5.1 network 2.3.0.14
aeson 0.6.0.2 network-conduit 0.5.0
ansi-terminal 0.5.5 old-locale 1.0.0.4
array 0.4.0.0 old-time 1.1.0.0
asn1-data 0.6.1.3 parsec 2.1.0.1
attoparsec 0.10.2.0 path-pieces 0.1.1
@ferriswheel
ferriswheel / olelo_runtime_rake_error.txt
Created October 17, 2011 05:41
olelo runtime error after trying to use signup to create user
$ unicorn
/home/john/.rvm/gems/ruby-1.9.2-p290@olelo-wiki-test/gems/rack-1.3.4/lib/rack/backports/uri/common_192.rb:53: warning: already initialized constant WFKV_
I, [2011-10-17T16:40:16.857135 #17526] INFO -- : listening on addr=0.0.0.0:8080 fd=3
I, [2011-10-17T16:40:16.857347 #17526] INFO -- : worker=0 spawning...
I, [2011-10-17T16:40:16.857936 #17526] INFO -- : master process ready
I, [2011-10-17T16:40:16.858391 #17528] INFO -- : worker=0 spawned pid=17528
I, [2011-10-17T16:40:16.858524 #17528] INFO -- : Refreshing Gem list
DEPRECATION WARNING: Yajl's JSON gem compatibility API is going to be removed in 2.0
I, [2011-10-17T16:40:18.989178 #17528] INFO -- : worker=0 ready
RuntimeError: cannot parse Cookie header: can't add a new key into hash during iteration
@ferriswheel
ferriswheel / olelo_rake_test_spec.txt
Created October 17, 2011 05:36
olelo rake test:spec
$ rake test:spec --trace
** Invoke test:spec (first_time)
** Invoke test/request_test.rb (first_time, not_needed)
** Invoke test/config_test.rb (first_time, not_needed)
** Invoke test/util_test.rb (first_time, not_needed)
** Invoke test/object_extensions_test.rb (first_time, not_needed)
** Invoke test/page_test.rb (first_time, not_needed)
** Invoke test/hooks_test.rb (first_time, not_needed)
** Invoke test/templates_test.rb (first_time, not_needed)
** Invoke test/factory_test.rb (first_time, not_needed)
@ferriswheel
ferriswheel / olelo_rcov_test.txt
Created October 17, 2011 05:33
olelo rake test:rcov
$ rake test:rcov
rcov -Ilib:test test/request_test.rb test/config_test.rb test/util_test.rb test/object_extensions_test.rb test/page_test.rb test/hooks_test.rb test/templates_test.rb test/factory_test.rb test/string_extensions_test.rb test/hash_extensions_test.rb
** WARNING: Ruby 1.9 Support is experimental at best. Don't expect correct results! **
/home/john/.rvm/gems/ruby-1.9.2-p290@olelo-wiki-test/gems/rack-1.3.4/lib/rack/backports/uri/common_192.rb:53: warning: already initialized constant WFKV_
DEPRECATION WARNING: Yajl's JSON gem compatibility API is going to be removed in 2.0
requests
- should have empty repository [ERROR: RuntimeError]
- should show login page [ERROR: RuntimeError]
- should show to /new [ERROR: RuntimeError]
- should redirect to /new [ERROR: RuntimeError]
@ferriswheel
ferriswheel / gist:990558
Created May 25, 2011 08:15
rvm errors on login and rvm debug result
LOGIN:
--------
john $ ssh lblackhole
Last login: Wed May 25 17:10:43 EST 2011 from ein-2.lawsonst on pts/3
-bash: /usr/local/rvm/scripts/log: No such file or directory
awk: cmd. line:1: fatal: cannot open file `/usr/local/rvm/lib/VERSION.yml' for reading (No such file or directory)
-bash: __rvm_conditionally_add_bin_path: command not found
RVM DEBUG:
@ferriswheel
ferriswheel / simple-nginx-webdav.sh
Created April 28, 2011 09:21 — forked from dysinger/simple-nginx-webdav.sh
A simple nginx/webdav setup for use with things like mobile-org
#!/bin/sh
# on ubuntu: need some utils & dev libs
sudo apt-get install apache2-utils openssl libssl-dev libpcre3-dev
# compile nginx
cd /tmp
curl http://nginx.org/download/nginx-0.7.64.tar.gz | tar xz
cd nginx*
./configure --with-http_ssl_module --with-http_dav_module \
@ferriswheel
ferriswheel / brew_error_deps
Created April 10, 2011 23:30
brew config and doctor reports
brew doctor
===========
ein-2:ditz-commander_0.4.orig john$ brew doctor
Some keg-only formula are linked into the Cellar.
Linking a keg-only formula, such as gettext, into the cellar with
`brew link f` will cause other formulae to detect them during the
`./configure` step. This may cause problems when compiling those
other formulae.