Skip to content

Instantly share code, notes, and snippets.

View lancew's full-sized avatar

Lance Wicks lancew

View GitHub Profile
$ zef install NativeHelpers::Blob
===> Searching for: NativeHelpers::Blob
===> Testing: NativeHelpers::Blob:ver('0.1.10'):auth('github:salortiz')
Type check failed for return value; expected NativeCall::Types::Pointer but got Whatever (*)
in sub memcpy at /home/lancew/.zef/store/NativeHelpers-Blob.git/274b8939c9eca486e07c5fea38eb90d23f9fc9f4/lib/NativeHelpers/Blob.pm6 (NativeHelpers::Blob) line 94
in sub blob-from-pointer at /home/lancew/.zef/store/NativeHelpers-Blob.git/274b8939c9eca486e07c5fea38eb90d23f9fc9f4/lib/NativeHelpers/Blob.pm6 (NativeHelpers::Blob) line 107
in sub blob-from-carray at /home/lancew/.zef/store/NativeHelpers-Blob.git/274b8939c9eca486e07c5fea38eb90d23f9fc9f4/lib/NativeHelpers/Blob.pm6 (NativeHelpers::Blob) line 121
in block <unit> at t/01-basic.t line 40
# Looks like you planned 24 tests, but ran 16

Keybase proof

I hereby claim:

  • I am lancew on github.
  • I am lancew (https://keybase.io/lancew) on keybase.
  • I have a public key whose fingerprint is 502F 9C8C C8A8 4096 9FA0 06CF 0963 4815 BACB 6DB2

To claim this, I am signing this object:

@lancew
lancew / gist:8516a908e963c5b4c25f
Created August 15, 2014 18:33
perl-ppi packer fail
$ packer -S perl-ppi
Aur Targets (1): perl-ppi
Proceed with installation? [Y/n]
Edit perl-ppi PKGBUILD with $EDITOR? [Y/n] n
==> Making package: perl-ppi 1.215-1 (Fri Aug 15 19:31:55 BST 2014)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
@lancew
lancew / gist:4001624
Created November 2, 2012 14:19
xmonad natural scrolling
echo "pointer = 1 2 3 5 4 7 6 8 9 10 11 12" > ~/.Xmodmap && xmodmap ~/.Xmodmap
@lancew
lancew / udp_server.js
Created August 31, 2012 20:07
udp_server.js
var dgram = require("dgram");
var server = dgram.createSocket("udp4");
// ------------------
// vars for data
// -----------------
var clock;
var white_score = "";
var blue_score = "";
@lancew
lancew / node-and-npm-in-30-seconds.sh
Created August 28, 2012 15:52 — forked from isaacs/node-and-npm-in-30-seconds.sh
Use one of these techniques to install node and npm without having to sudo. Discussed in more detail at http://joyeur.com/2010/12/10/installing-node-and-npm/ Note: npm >=0.3 is *safer* when using sudo.
echo 'export PATH=$HOME/local/bin:$PATH' >> ~/.bashrc
. ~/.bashrc
mkdir ~/local
mkdir ~/node-latest-install
cd ~/node-latest-install
curl http://nodejs.org/dist/node-latest.tar.gz | tar xz --strip-components=1
./configure --prefix=~/local
make install # ok, fine, this step probably takes more than 30 seconds...
curl --insecure https://npmjs.org/install.sh | sh
@lancew
lancew / sd pull -all II
Created April 7, 2011 15:14
Pulling from Hiveminder. Dumper($status);
$VAR1 = [
{}
];
at /opt/local/lib/perl5/site_perl/5.12.3/App/SD/Replica/hm.pm line 160
App::SD::Replica::hm::_user_info('App::SD::Replica::hm=HASH(0x100cc9600)', 'id', 28) called at /opt/local/lib/perl5/5.12.3/Memoize.pm line 247
Memoize::_memoizer(undef, 'App::SD::Replica::hm=HASH(0x100cc9600)', 'id', 28) called at /opt/local/lib/perl5/site_perl/5.12.3/App/SD/Replica/hm.pm line 146
App::SD::Replica::hm::user_info('App::SD::Replica::hm=HASH(0x100cc9600)', 'id', 28) called at /opt/local/lib/perl5/site_perl/5.12.3/App/SD/Replica/hm/PullEncoder.pm line 196
App::SD::Replica::hm::PullEncoder::translate_props('App::SD::Replica::hm::PullEncoder=HASH(0x100f371c0)', 'Prophet::ChangeSet=HASH(0x100f37458)') called at /opt/local/lib/perl5/site_perl/5.12.3/App/SD/Replica/hm/PullEncoder.pm line 57
App::SD::Replica::hm::PullEncoder::transcode_one_txn('App::SD::Replica::hm::PullEncoder=HASH(0x100f371c0)', 'HASH(0x100fa9858)', 'HASH(0x100f9fa58)', 'HASH(0x100fa5a90)') called at /opt/local/lib/perl5/sit
git sd publish --to ./bugs --html
Exporting a static HTML version of this replica
Use of uninitialized value in subroutine entry at /opt/local/lib/perl5/site_perl/5.12.3/HTML/TreeBuilder.pm line 121, <DATA> line 16.
Use of uninitialized value in subroutine entry at /opt/local/lib/perl5/site_perl/5.12.3/HTML/TreeBuilder.pm line 121.
Use of uninitialized value in subroutine entry at /opt/local/lib/perl5/site_perl/5.12.3/HTML/TreeBuilder.pm line 121.
Use of uninitialized value in subroutine entry at /opt/local/lib/perl5/site_perl/5.12.3/HTML/TreeBuilder.pm line 121.
Use of uninitialized value in subroutine entry at /opt/local/lib/perl5/site_perl/5.12.3/HTML/TreeBuilder.pm line 121.
Use of uninitialized value in subroutine entry at /opt/local/lib/perl5/site_perl/5.12.3/HTML/TreeBuilder.pm line 121.
Use of uninitialized value in subroutine entry at /opt/local/lib/perl5/site_perl/5.12.3/HTML/TreeBuilder.pm line 121.
perl t/sd-gcode/basic.t
Can't locate App/SD/Test.pm in @INC (@INC contains: /sw/lib/perl5 /sw/lib/perl5/darwin /opt/local/lib/perl5/site_perl/5.12.3/darwin-multi-2level /opt/local/lib/perl5/site_perl/5.12.3 /opt/local/lib/perl5/vendor_perl/5.12.3/darwin-multi-2level /opt/local/lib/perl5/vendor_perl/5.12.3 /opt/local/lib/perl5/5.12.3/darwin-multi-2level /opt/local/lib/perl5/5.12.3 /opt/local/lib/perl5/site_perl /opt/local/lib/perl5/vendor_perl .) at t/sd-gcode/basic.t line 13.
BEGIN failed--compilation aborted at t/sd-gcode/basic.t line 13.
perl t/aliases.t
Can't locate Data/Dump.pm in @INC (@INC contains: /sw/lib/perl5 /sw/lib/perl5/darwin /opt/local/lib/perl5/site_perl/5.12.3/darwin-multi-2level /opt/local/lib/perl5/site_perl/5.12.3 /opt/local/lib/perl5/vendor_perl/5.12.3/darwin-multi-2level /opt/local/lib/perl5/vendor_perl/5.12.3 /opt/local/lib/perl5/5.12.3/darwin-multi-2level /opt/local/lib/perl5/5.12.3 /opt/local/lib/perl5/site_perl /opt/local/lib/perl5/vendor_perl .) at /opt/local/lib/perl5/site_perl/5.12.3/Prophet/Replica.pm line 953.
BEGIN failed--compilation aborted at /opt/local/lib/perl5/site_perl/5.12.3/Prophet/Replica.pm line 953.
Compilation failed in require at /opt/local/lib/perl5/site_perl/5.12.3/Prophet/CLI.pm line 5.
BEGIN failed--compilation aborted at /opt/local/lib/perl5/site_perl/5.12.3/Prophet/CLI.pm line 5.
Compilation failed in require at /opt/local/lib/perl5/site_perl/5.12.3/Prophet/Test.pm line 20.
BEGIN failed--compilation aborted at /opt/local/lib/perl5/site_perl/5.12.3/Prophet/Test.pm line 20.
Compilation failed i