This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/usr/lib/mono/4.0/Microsoft.Common.targets: warning : Found a conflict between : 'System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' and 'System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'. Using 'System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' reference. | |
/usr/lib/mono/4.0/Microsoft.Common.targets: warning : Reference 'Xwt, Version=0.1.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756' not resolved | |
/usr/lib/mono/4.0/Microsoft.Common.targets: warning : Found a conflict between : 'Mono.Addins, Version=0.6.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756' and 'Mono.Addins, Version=1.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756'. Using 'Mono.Addins, Version=0.6.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756' reference. | |
/usr/lib/mono/4.0/Microsoft.Common.targets: warning : Found a conflict between : 'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' and 'mscorlib, Version=2.0.0.0, Cu |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[~/code/others/gnome-shell]$ grep -rn initBox . [3b07488] | |
./js/ui/panel.js:1124: _initBox: function(elements, box) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[~]$ echo $GOPATH | |
/home/orospakr/code/mine/go | |
[~]$ go get github.com/reusee/gtk-go | |
package github.com/reusee/gtk-go: mkdir /usr/lib/go/src/pkg/github.com: permission denied |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1) Failure: | |
test_generation_runs_bundle_install_with_full_and_mountable(PluginNewGeneratorTest) [test/generators/plugin_new_generator_test.rb:125]: | |
Expected file "/home/orospakr/code/others/rails/railties/test/fixtures/tmp/bukkits/Gemfile.lock" to exist, but does not | |
65 tests, 375 assertions, 1 failures, 0 errors, 0 skips | |
rake aborted! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
splitBy :: (a -> Bool) -> [a] -> [[a]] | |
splitBy _ [] = [] | |
splitBy predicate list = [left] ++ splitBy predicate remaining | |
where (left, remaining) = break predicate list | |
-- example: | |
-- splitBy (==20) [0, 1, 2, 3, 4, 67, 20, 5, 6, 9, 20, 100, 200] | |
-- should produce: | |
-- [[0, 1, 2, 3, 4, 67], [20, 5, 6, 9], [20, 100, 200]] | |
-- instead produces: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
data Paragraph = String | |
readParagraphs :: String -> [Paragraph] | |
readParagraphs file = lines file |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
eth0 Link encap:Ethernet HWaddr 00:21:86:98:c7:b9 | |
inet addr:10.10.5.20 Bcast:10.10.5.255 Mask:255.255.255.0 | |
inet6 addr: 2001:4830:116e:1:221:86ff:fe98:c7b9/64 Scope:Global | |
inet6 addr: fe80::221:86ff:fe98:c7b9/64 Scope:Link | |
inet6 addr: 2001:4830:116e:1:7df2:c235:b5ef:4860/64 Scope:Global | |
inet6 addr: 2001:4830:116e:1:1d55:96ba:3c80:fbb0/64 Scope:Global | |
inet6 addr: 2001:4830:116e:1:9421:8834:86ff:2650/64 Scope:Global | |
inet6 addr: 2001:4830:116e:1:c51c:d9f5:8c08:f7d2/64 Scope:Global | |
inet6 addr: 2001:4830:116e:1:10be:5426:4fc3:3ebe/64 Scope:Global | |
inet6 addr: 2001:4830:116e:1:7867:71e:a26:9552/64 Scope:Global |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python2.7 | |
# tweaked version of http://stackoverflow.com/questions/2703640/process-list-on-linux-via-python | |
import os | |
import os.path | |
pids= [pid for pid in os.listdir('/proc') if pid.isdigit()] | |
for pid in pids: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Thu, 05 Jul 2012 02:30:28 GMT] [error] [<0.7018.0>] Uncaught error in HTTP request: {error, | |
{case_clause, | |
[<<"notes/all">>]}} | |
[Thu, 05 Jul 2012 02:30:28 GMT] [info] [<0.7018.0>] Stacktrace: [{couch_changes,filter_view,3}, | |
{couch_changes,builtin_filter_fun,4}, | |
{couch_changes,handle_changes,3}, | |
{couch_httpd_db,handle_changes_req2,2}, | |
{couch_httpd_db,do_db_req,2}, | |
{couch_httpd,handle_request_int,5}, | |
{mochiweb_http,headers,5}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
GET /snively/_changes?feed=continuous&filter=_view&view=notes%252Fall HTTP/1.0 | |
User-Agent: Dream/2.4.0.367 | |
Host: localhost:5984 | |
HTTP/1.0 500 Internal Server Error | |
Server: CouchDB/1.2.0 (Erlang OTP/R14B04) | |
Date: Thu, 05 Jul 2012 02:30:28 GMT | |
Content-Type: text/plain; charset=utf-8 | |
Content-Length: 45 | |
Cache-Control: must-revalidate |