This file contains hidden or 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
| /Library/Ruby/Gems/1.8/gems/thrift_client-0.4.0/lib/thrift_client/connection/socket.rb:9:in `initialize': wrong number of arguments (3 for 1) (ArgumentError) | |
| from /Library/Ruby/Gems/1.8/gems/thrift_client-0.4.0/lib/thrift_client/connection/socket.rb:9:in `new' | |
| from /Library/Ruby/Gems/1.8/gems/thrift_client-0.4.0/lib/thrift_client/connection/socket.rb:9:in `connect!' | |
| from /Library/Ruby/Gems/1.8/gems/thrift_client-0.4.0/lib/thrift_client.rb:91:in `connect!' | |
| from /Library/Ruby/Gems/1.8/gems/thrift_client-0.4.0/lib/thrift_client.rb:136:in `proxy' | |
| from (eval):1:in `get_string_list_property' | |
| from /Library/Ruby/Gems/1.8/gems/cassandra-0.7.2/lib/cassandra/cassandra.rb:78:in `client!' | |
| from /Library/Ruby/Gems/1.8/gems/cassandra-0.7.2/lib/cassandra/cassandra.rb:73:in `client' | |
| from /Library/Ruby/Gems/1.8/gems/cassandra-0.7.2/lib/cassandra/cassandra.rb:308:in `schema' | |
| from /Library/Ruby/Gems/1.8/gems/cassandra-0.7.2/lib/cassandra/columns.rb:31:in `col |
This file contains hidden or 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
| [james@james-golicks-macbook fetlife-systems (master)]$ gem install --no-rdoc --no-ri --verbose datamapper | |
| GET 302 Found: http://gemcutter.org/latest_specs.4.8.gz | |
| GET 304 Not Modified: http://production.s3.rubygems.org/latest_specs.4.8.gz | |
| GET 302 Found: http://gems.rubyforge.org/latest_specs.4.8.gz | |
| GET 304 Not Modified: http://production.s3.rubygems.org/latest_specs.4.8.gz | |
| GET 200 OK: http://gems.github.com/latest_specs.4.8.gz | |
| GET 302 Found: http://gemcutter.org/specs.4.8.gz | |
| GET 200 OK: http://production.s3.rubygems.org/specs.4.8.gz | |
| connection reset after 2 requests, retrying | |
| GET 302 Found: http://gems.rubyforge.org/specs.4.8.gz |
This file contains hidden or 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
| var tcp = require('tcp'); | |
| var sys = require('sys'); | |
| var createConnection = function(port, onConnect) { | |
| var conn = tcp.createConnection(port); | |
| conn.setEncoding("binary"); | |
| conn.addListener("connect", onConnect); | |
| conn.connect(port); | |
| return conn; |
This file contains hidden or 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
| #0 0x0000000100760fe6 in __kill () | |
| #1 0x0000000100801e32 in abort () | |
| #2 0x00000001007eee74 in __assert_rtn () | |
| #3 0x00000001000269bf in node::Connection::Connect (args=@0x7fff5fbfb770) at ../src/node_net.cc:248 | |
| #4 0x000000010006b7ca in v8::internal::HandleApiCallHelper<false> (args={<v8::internal::Arguments> = {<v8::internal::Embedded> = {<No data fields>}, length_ = 3, arguments_ = 0x7fff5fbfb968}, <No data fields>}) at /Users/james/Documents/code/node-v0.1.28/deps/v8/src/builtins.cc:451 | |
| #5 0x000000010006b887 in v8::internal::Builtin_Impl_HandleApiCall (args={<v8::internal::Arguments> = {<v8::internal::Embedded> = {<No data fields>}, length_ = 3, arguments_ = 0x7fff5fbfb968}, <No data fields>}) at /Users/james/Documents/code/node-v0.1.28/deps/v8/src/builtins.cc:468 | |
| #6 0x000000010006b8ad in v8::internal::Builtin_HandleApiCall (args={<v8::internal::Arguments> = {<v8::internal::Embedded> = {<No data fields>}, length_ = 3, arguments_ = 0x7fff5fbfb968}, <No data fields>}) at /Users/james/Documents/code/node |
This file contains hidden or 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
| [james@james-golicks-macbook redis_control (master)]$ wget http://gemcutter.org/gems/adfasdfasdfas | |
| --2010-01-22 10:49:19-- http://gemcutter.org/gems/adfasdfasdfas | |
| Resolving gemcutter.org... 72.4.120.124 | |
| Connecting to gemcutter.org|72.4.120.124|:80... connected. | |
| HTTP request sent, awaiting response... 200 OK | |
| Length: 2694 (2.6K) [text/html] | |
| Saving to: `adfasdfasdfas' | |
| 100%[=========================================================================================================================================>] 2,694 --.-K/s in 0s |
This file contains hidden or 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
| sub send_arp($$) { | |
| my $if = shift; | |
| my $ip = shift; | |
| if ($OSNAME eq 'linux') { | |
| my $mac = ''; | |
| if ($Net::ARP::VERSION < 1.0) { | |
| Net::ARP::get_mac($if, $mac); | |
| } |
This file contains hidden or 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
| [root@master2 ~]# ll foo/ | |
| total 0 | |
| [root@master2 ~]# ll bar/ | |
| total 12 | |
| -rw-r--r-- 1 root root 0 Jan 21 16:45 baz | |
| drwxr-xr-x 2 root root 4096 Jan 21 16:45 dirinbar | |
| [root@master2 ~]# cp -R bar/* foo/ | |
| [root@master2 ~]# ll foo/ | |
| total 12 | |
| -rw-r--r-- 1 root root 0 Jan 21 16:46 baz |
This file contains hidden or 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
| Java Logging is Awesome | |
| ======================= | |
| ### Since I am incapable of determining information about my own runtime environment, please provide it to me. Also, this is from a *library* and there's no obvious way to turn it off, rendering DEBUG logging statements from my own application all but useless. | |
| DEB [20100119-17:50:05.225] httpclient: Java version: 1.6.0_15 | |
| DEB [20100119-17:50:05.225] httpclient: Java vendor: Apple Inc. | |
| DEB [20100119-17:50:05.226] httpclient: Java class path: /Users/james/bin/sbt-launcher.jar | |
| DEB [20100119-17:50:05.226] httpclient: Operating system name: Mac OS X | |
| DEB [20100119-17:50:05.226] httpclient: Operating system architecture: x86_64 |
This file contains hidden or 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
| [root@util ~]# ps aux | grep redis | |
| root 9428 0.0 0.0 61172 740 pts/0 S+ 12:47 0:00 grep redis | |
| root 14393 0.0 0.0 3660 356 ? Ss 07:00 0:00 runsv redis | |
| root 14396 0.2 3.0 128600 125412 ? S 07:00 0:46 /opt/redis/redis-server /etc/redis.conf | |
| [root@util ~]# strace -p 14396 | |
| Process 14396 attached - interrupt to quit | |
| write(1, "19 Jan 18:42:48 - 100 changes in"..., 55 |
This file contains hidden or 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
| [james@james-golicks-macbook friendly (master)]$ git diff --stat v0.4.3 v0.4.4 | |
| CHANGELOG.md | 5 + | |
| VERSION | 2 +- | |
| friendly.gemspec | 20 ++-- | |
| lib/friendly/attribute.rb | 11 ++- | |
| lib/friendly/config.rb | 5 - | |
| lib/friendly/data_store.rb | 3 +- | |
| lib/friendly/document.rb | 209 ++----------------------------- | |
| lib/friendly/document/associations.rb | 50 ++++++++ | |
| lib/friendly/document/attributes.rb | 114 +++++++++++++++++ |