Skip to content

Instantly share code, notes, and snippets.

View jhannah's full-sized avatar

Jay Hannah jhannah

View GitHub Profile
@jhannah
jhannah / gist:8870767
Last active August 29, 2015 13:56
svn2git from Ireland
Huh. Weird. I launched an EC2 box in Ireland, which make my ping to the server 10X faster than doing it locally,
but still getting intermittant network issues(?). This was working fine hours ago, then these started happening...
admin@ip-172-31-27-118:~/src/CatalystAdvent$ time wget http://dev.catalyst.perl.org/repos/Catalyst/trunk/
--2014-02-07 20:35:39-- http://dev.catalyst.perl.org/repos/Catalyst/trunk/
Resolving dev.catalyst.perl.org (dev.catalyst.perl.org)... 217.168.150.38, 2a01:348:2da:101::2
Connecting to dev.catalyst.perl.org (dev.catalyst.perl.org)|217.168.150.38|:80... failed: Connection timed out.
Connecting to dev.catalyst.perl.org (dev.catalyst.perl.org)|2a01:348:2da:101::2|:80... failed: Network is unreachable.
@jhannah
jhannah / gist:9653164
Created March 19, 2014 22:55
Perl Catalyst::Utils
➜ Jay-Hannahs-iMac:Catalyst-Runtime git:(master) git remote -v
origin catagits@git.shadowcat.co.uk:Catalyst-Runtime (fetch)
origin catagits@git.shadowcat.co.uk:Catalyst-Runtime (push)
➜ Jay-Hannahs-iMac:Catalyst-Runtime git:(master) git blame lib/Catalyst/Utils.pm
...
b0ad47c1 (Dan Dascalescu 2009-06-11 07:27:56 +0000 379) 2) Export $COLUMNS from your shell.
39fc2ce1 (Jay Hannah 2009-01-22 01:45:16 +0000 380)
39fc2ce1 (Jay Hannah 2009-01-22 01:45:16 +0000 381) (Warning to bash users: 'echo $COLUMNS' may be showing you the bash
b0ad47c1 (Dan Dascalescu 2009-06-11 07:27:56 +0000 382) variable, not $ENV{COLUMNS}. 'export COLUMNS=$COLUMNS' and you should see
39fc2ce1 (Jay Hannah 2009-01-22 01:45:16 +0000 383) that 'env' now lists COLUMNS.)
Re: https://twitter.com/PerlSawyer/status/483873838233833472
On Jul 1, 2014, at 11:29 AM, @deafferret's spouse wrote:
Are you requesting my thoughts about religion or healthcare? If the focus
on this issue is religion you're not going to get any thought provoking
input from me on that. Hobby Lobby choosing to present their case on the
foundation of religion was their choice.
> "My spouse explained to me last night, agreeing with the court"
(very vague statement by the way). I presented my opinion on healthcare not religion.
@jhannah
jhannah / gist:881553878b40674fcb57
Last active August 29, 2015 14:16
Doge addresses
https://dogechain.info/address/
9sX7T5x84YaTQiqTZM5iosLUBjQVFRNvfj lbell
DKrnPPqFZpjvJQFfzvWPz6VeLPWAAdhCrw wschobeiri
A29yCAdd6uwESjdYPaCM9iedVB1n7dkFJ7 jhannah block.io
Anonymous UUID: 9A1F1513-193C-250D-D95C-7E9EE0C26BA4
Thu Apr 30 10:20:59 2015
*** Panic Report ***
panic(cpu 1 caller 0xffffff8001c17cc2): Kernel trap at 0xffffff7f83cba7cb, type 13=general protection, registers:
CR0: 0x000000008001003b, CR2: 0x00000001099d0000, CR3: 0x0000000004f67000, CR4: 0x0000000000002660
RAX: 0xffffff7f83eac190, RBX: 0xffffff803dea3f00, RCX: 0xffffff7f83eb8150, RDX: 0xffffff803dea3f08
RSP: 0xffffff81ea4d3db0, RBP: 0xffffff81ea4d3dc0, RSI: 0x000000000000ffff, RDI: 0xffdfff80217a5c00
R8: 0xffffff803de81568, R9: 0xfffffffffffff000, R10: 0x000ffffffffff000, R11: 0xffffff803dde12f0
class Player
attr_accessor :name, :move, :score
def initialize(name, score: 0)
@name = name
@score = score
end
end
j = Player.new("jay")
puts j.name
jhannah@klab:~/src/bioperl-live$ perl t/RemoteDB/EUtilities.t
Can't find 'build_params' in _build at /usr/local/share/perl/5.8.8/Module/Build/Base.pm line 1011.
BEGIN failed--compilation aborted at t/RemoteDB/EUtilities.t line 51.
jhannah@dev:~/src/Omni2> perl Makefile.PL
include /home/jhannah/src/Omni2/inc/Module/Install.pm
include inc/Module/Install/Metadata.pm
include inc/Module/Install/Base.pm
include inc/Module/Install/DiffCheck.pm
*** Module::Install::DiffCheck
running 'Model/refresh_Schema.pl'
Dumping manual schema for Omni2::Model::oma::Schema to directory /home/jhannah/src ...
Schema dump completed.
Dumping manual schema for Omni2::Model::oma_repl::Schema to directory /home/jhannah/src ...
jhannah@dev:~/src/Omni2> perl Makefile.PL
include /home/jhannah/src/Omni2/inc/Module/Install.pm
include inc/Module/Install/Metadata.pm
include inc/Module/Install/Base.pm
include inc/Module/Install/DiffCheck.pm
*** Module::Install::DiffCheck
running 'Model/refresh_Schema.pl'
Dumping manual schema for Omni2::Model::oma::Schema to directory /home/jhannah/src ...
Schema dump completed.
Dumping manual schema for Omni2::Model::oma_repl::Schema to directory /home/jhannah/src ...
jhannah@dev:~/src/Omni2> perl Makefile.PL
include /home/jhannah/src/Omni2/inc/Module/Install.pm
include inc/Module/Install/Metadata.pm
include inc/Module/Install/Base.pm
include inc/Module/Install/DiffCheck.pm
*** Module::Install::DiffCheck
running 'Model/refresh_Schema.pl'
Dumping manual schema for Omni2::Model::oma::Schema to directory /home/jhannah/src ...
Schema dump completed.
Dumping manual schema for Omni2::Model::oma_repl::Schema to directory /home/jhannah/src ...