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
# rpm -qf /usr/bin/perl | |
perl-5.10.1-119.el6_1.1.i686 |
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
diff --git a/t/20-how-crud-of-you.t b/t/lib/HowCrudOfYou.pm | |
similarity index 99% | |
rename from t/20-how-crud-of-you.t | |
rename to t/lib/HowCrudOfYou.pm | |
index dd81086..e8b994c 100644 | |
--- a/t/20-how-crud-of-you.t | |
+++ b/t/lib/HowCrudOfYou.pm |
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 tests { | |
my ($name, $subtests) = @_; | |
return if $ENV{SUBTEST_FOCUS} && $name !~ /$ENV{SUBTEST_FOCUS}/; | |
diag("Running '$name'"); | |
return Test::More->builder->subtest(@_); | |
} | |
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
#!/bin/bash | |
# | |
# PS1 magic | |
# | |
# Mostly copied from YUVAL KOGMAN version, added my own __git_ps1 stuff | |
# Original: http://gist.github.com/621452 | |
# | |
# See video demo of this at http://vimeo.com/15789794 | |
# | |
# To enable save as .bash_prompt in $HOME and add to .bashrc: |
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
package DB; | |
use Moose; | |
sub create { | |
use Data::Dump qw(pp); print STDERR ">>>>>> ", pp(@_), "\n"; | |
} | |
package Role; |
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@vs0303:~# apt-get install curl | |
Reading package lists... Done | |
Building dependency tree | |
Reading state information... Done | |
The following extra packages will be installed: | |
ca-certificates libcurl3 | |
The following NEW packages will be installed: | |
ca-certificates curl libcurl3 | |
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded. | |
Need to get 660 kB of archives. |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
#!/usr/bin/env perl | |
use strict; | |
use warnings; | |
use AnyEvent; | |
use AnyEvent::WebService::Notifo; | |
use Sys::Hostname; | |
### Use your Notifo.com info here | |
my $api_key = ''; |
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
use Apache::SizeLimit; | |
BEGIN { | |
### Don't try this at home kids... | |
# this version of CentOS is too old, no read-access to | |
# /proc/self/smaps unless you are root | |
no warnings; | |
$Apache::SizeLimit::Core::USE_SMAPS = 0; | |
*Apache::SizeLimit::Core::_platform_check_size = | |
\&Apache::SizeLimit::Core::_linux_size_check; |
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
9/16/11 11:32:07 AM com.apple.launchd[139] ([0x0-0x64f64f].com.mizage.divvy[87769]) Exited abnormally: Trace/BPT trap | |
9/16/11 11:32:27 AM Divvy[87780] *** -[NSBundle URLForResource:withExtension:]: unrecognized selector sent to instance 0x30e7b0 | |
9/16/11 11:32:27 AM Divvy[87780] An uncaught exception was raised | |
9/16/11 11:32:27 AM Divvy[87780] *** -[NSBundle URLForResource:withExtension:]: unrecognized selector sent to instance 0x30e7b0 | |
9/16/11 11:32:27 AM Divvy[87780] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[NSBundle URLForResource:withExtension:]: unrecognized selector sent to instance 0x30e7b0' | |
9/16/11 11:32:27 AM Divvy[87780] Stack: ( | |
2497023979, | |
2493496891, | |
2497053162, |