Skip to content

Instantly share code, notes, and snippets.

Oct 09 21:21:15.040100 SCSI State: Selected by host ID 1
Oct 09 21:21:15.040352 SCSI State: Command phase
Oct 09 21:21:15.073097 SCSI State: Information transfer phase: Command
Oct 09 21:21:15.073337 SCSI Commands: CDB byte 0 decode: Command group 0 (6 bytes) opcode 8
Oct 09 21:21:15.093120 SCSI Commands: Received command operand bytes: 8 0 0 0 16 0
Oct 09 21:21:15.093370 SCSI Commands: READ command (0x08) received
Oct 09 21:21:15.114095 SCSI Commands: Target LUN = 0, LBA = 0, Blocks = 16
Oct 09 21:21:15.114335 SCSI State: Information transfer phase: Data in
Oct 09 21:21:15.114514 File system: filesystemOpenLunForRead(): Successful
Oct 09 21:21:15.134095 SCSI Commands: Transferring requested blocks to the host...
Oct 09 08:55:29.297136 SCSI State: Selected by host ID 1
Oct 09 08:55:29.297577 SCSI State: Command phase
Oct 09 08:55:29.329127 SCSI State: Information transfer phase: Command
Oct 09 08:55:29.329365 SCSI Commands: CDB byte 0 decode: Command group 0 (6 bytes) opcode 8
Oct 09 08:55:29.350136 SCSI Commands: Received command operand bytes: 8 0 0 0 16 0
Oct 09 08:55:29.350438 SCSI Commands: READ command (0x08) received
Oct 09 08:55:29.370128 SCSI Commands: Target LUN = 0, LBA = 0, Blocks = 16
Oct 09 08:55:29.370428 SCSI State: Information transfer phase: Data in
Oct 09 08:55:29.370586 File system: filesystemOpenLunForRead(): Successful
Oct 09 08:55:29.391113 SCSI Commands: Transferring requested blocks to the host...
Oct 08 22:12:20 SCSI State: Selected by host ID 1
Oct 08 22:12:20 SCSI State: Command phase
Oct 08 22:12:20 SCSI State: Information transfer phase: Command
Oct 08 22:12:20 SCSI Commands: CDB byte 0 decode: Command group 0 (6 bytes) opcode 8
Oct 08 22:12:20 SCSI Commands: Received command operand bytes: 8 0 0 0 16 0
Oct 08 22:12:20 SCSI Commands: READ command (0x08) received
Oct 08 22:12:20 SCSI Commands: Target LUN = 0, LBA = 0, Blocks = 16
Oct 08 22:12:20 SCSI State: Information transfer phase: Data in
Oct 08 22:12:20 File system: filesystemOpenLunForRead(): Successful
Oct 08 22:12:20 SCSI Commands: Transferring requested blocks to the host...
~/scratch ➔ git clone https://github.com/chrisa/node-dtrace-provider.git
Cloning into 'node-dtrace-provider'...
remote: Counting objects: 501, done.
remote: Total 501 (delta 0), reused 0 (delta 0)
Receiving objects: 100% (501/501), 103.83 KiB | 0 bytes/s, done.
Resolving deltas: 100% (277/277), done.
Checking connectivity... done.
~/scratch ➔ cd node-dtrace-provider/
~/scratch/node-dtrace-provider ➔ git submodule init
Submodule 'libusdt' (https://github.com/chrisa/libusdt) registered for path 'libusdt'
diff --git a/s3iam.py b/s3iam.py
index 3f6288d..838a82e 100755
--- a/s3iam.py
+++ b/s3iam.py
@@ -22,11 +22,34 @@ __version__ = "1.0.1"
import urllib2
+import urllib
import urlparse
import time
[candrews@c5-i386-build ~]$ rpm -q --requires imlib2 | grep '\.so'
libImlib2.so.1
libX11.so.6
libXext.so.6
libbz2.so.1
libc.so.6
libc.so.6(GLIBC_2.0)
libc.so.6(GLIBC_2.1)
libc.so.6(GLIBC_2.1.3)
libc.so.6(GLIBC_2.2)
~ ➔ docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
c13179042769 060e74024bb0 /usr/sbin/sshd -D -o 9 seconds ago Up 15 seconds 0.0.0.0:49154->22/tcp grave_galileo
92f30ea824db 173f507c3095 /bin/sh -c echo 'kit 10 seconds ago Exit 0 naughty_mclean
120fa4af56c1 772b59c29cfc /bin/sh -c echo kitc 10 seconds ago Exit 0 silly_bohr
006a8cf0d9e2 0aa7e3f8db6d /bin/sh -c useradd - 13 seconds ago Exit 0 distracted_poincare
ec9659649ed0 cebb9d7222f5 /bin/sh -c mkdir -p 13 seconds ago Exit 0
~/Projects/venda/app ➔ diff -u venda-siteperl/MooseX/UndefTolerant/Class.pm Class.pm
--- venda-siteperl/MooseX/UndefTolerant/Class.pm 2014-01-14 18:21:11.000000000 +0000
+++ Class.pm 2014-01-14 18:21:01.000000000 +0000
@@ -22,19 +22,24 @@
my $init_arg = $attr->init_arg;
my $type_constraint = $attr->type_constraint;
- my $tc_says_clean = ($type_constraint && !$type_constraint->check(undef) ? 1 : 0);
# FIXME: not properly sanitizing field names - e.g. consider a field name "Z'ha'dum"
~/Projects/venda/app ➔ diff -u venda-siteperl/MooseX/UndefTolerant/Class.pm Class.pm
--- venda-siteperl/MooseX/UndefTolerant/Class.pm 2014-01-14 13:43:33.000000000 +0000
+++ Class.pm 2014-01-14 13:42:25.000000000 +0000
@@ -22,19 +22,22 @@
my $init_arg = $attr->init_arg;
my $type_constraint = $attr->type_constraint;
- my $tc_says_clean = ($type_constraint && !$type_constraint->check(undef) ? 1 : 0);
# FIXME: not properly sanitizing field names - e.g. consider a field name "Z'ha'dum"
use strict;
use warnings;
use Test::More;
package Foo;
use Moose;
use MooseX::UndefTolerant;
use MooseX::Types::Moose qw/ Str /;