Skip to content

Instantly share code, notes, and snippets.

View ingydotnet's full-sized avatar

Ingy döt Net ingydotnet

View GitHub Profile
package Foo;
use Moo;
has x => is => ro => default => sub { 'O HAI' };
has y => is => ro => builder => '_build_y'; #, lazy => 1;
sub _build_y {
my $self = shift;
print $self->x, "\n";
}
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCt1LPgqzJ8BRFjLhrLbVWx6SBFE167yZLkSCMKl/T4DXy97AsGKq0Tmy3GTZVpF992I7GOauKs4CoksEHB3ASmNwMApEfOYAkLof9ke9K9KD6tfVtD+2PLxYrjWik32hsT0alWWnuUQY7zAgZBACBaRsEDEq4bXUuLdcv0k7p79LjfhxsgpHph6ekxqJVD4rZuTFhAG4bA13jM7Klada8ASHgcNF2Vm8A13ou82GgkEZIH67BIlKVRIJU60YM++83V0Wb/LnP6VQpryz0bSXJoAAntRaqpLzoA+sEcMDIGG8uxt8pjBaC4S3/aZdRib65s36X+oNDaab0Kwjs6WkbT ingy@x40
> svn checkout svn+ssh://[email protected]/svn/pkg-perl/trunk
svn: To better debug SSH connection problems, remove the -q option from 'ssh' in the [tunnels] section of your Subversion configuration file.
svn: Network connection closed unexpectedly
ingy@thinkingy:~/src/app-aycabtu-pm$ cat Makefile.PL
use inc::Module::Package 'Ingy:modern 0.08';
ingy@thinkingy:~/src/app-aycabtu-pm$ make release
/usr/bin/perl "-Iinc" "-Ilib" "-MModule::Package::Ingy" -e "Module::Package::Ingy->make_release()"
>> make release >> perl -Ilib Makefile.PL
include /home/ingy/src/app-aycabtu-pm/inc/Module/Install.pm
include inc/Module/Install/Package.pm
include inc/Module/Install/Base.pm
include inc/Module/Install/Stardoc.pm
08:00 < dam> ingydotnet: ready to take some flac for inventing Module::Install? :)
09:42 < ingydotnet> dam: sure. what you got?
09:43 < ingydotnet> ansgar: ta
09:44 < ingydotnet> dam: M:I is going to be the best thing that ever happened to debian-perl :)
10:42 < dam> ingydotnet: it is a virus spreading around, not a library line every other dist.
10:44 < dam> also, the spread part lacks copyright/license notices, so we have to assume things
10:51 < dam> enough ranting, it is not a suitable welcome anyway. :)
18:01 < ingydotnet> hi dam
18:01 < ingydotnet> dam: not a very long rant :)
18:03 < ingydotnet> dam: from my perceptions so far, I am wondering how familiar you are with META.yml/json files
dh-make-perl/lib/DhMakePerl/Command/Packaging.pm
$email ||= ( $ENV{DEBEMAIL} || $ENV{EMAIL} );
unless ($email) {
chomp( $mailh = `cat /etc/mailname` );
$email = $user . '@' . $mailh;
}
ingy@thinkingy:~/crapp-pm$ ls -l
total 28
-rwxr-xr-x 1 ingy ingy 40 2011-06-11 22:58 crapp*
drwxr-xr-x 3 ingy ingy 4096 2011-06-11 23:26 lib/
-rw-r--r-- 1 ingy ingy 76 2011-06-11 23:41 README
ingy@thinkingy:~/crapp-pm$ cat .git/config
[core]
repositoryformatversion = 0
filemode = true
bare = false
> tar xzf Downloads/Module-Compile-0.22.tar.gz
> cd Module-Compile-0.22/
> git init; git add .
Initialized empty Git repository in /home/ingy/Module-Compile-0.22/.git/
> vim inc/Module/Install/Makefile.pm
> git diff
diff --git a/inc/Module/Install/Makefile.pm b/inc/Module/Install/Makefile.pm
index 4c71003..bcf9682 100644
--- a/inc/Module/Install/Makefile.pm
+++ b/inc/Module/Install/Makefile.pm
Jul 6 05:16:31 thinkingy NetworkManager[900]: <info> Starting VPN service 'pptp'...
Jul 6 05:16:31 thinkingy NetworkManager[900]: <info> VPN service 'pptp' started (org.freedesktop.NetworkManager.pptp), PID 31172
Jul 6 05:16:31 thinkingy NetworkManager[900]: <info> VPN service 'pptp' appeared; activating connections
Jul 6 05:16:31 thinkingy NetworkManager[900]: <info> VPN plugin state changed: 1
Jul 6 05:16:31 thinkingy NetworkManager[900]: <info> VPN plugin state changed: 3
Jul 6 05:16:31 thinkingy pppd[31174]: Plugin /usr/lib/pppd/2.4.5//nm-pptp-pppd-plugin.so loaded.
Jul 6 05:16:31 thinkingy NetworkManager[900]: <info> VPN connection 'ActiveState' (Connect) reply received.
Jul 6 05:16:31 thinkingy pppd[31174]: pppd 2.4.5 started by root, uid 0
Jul 6 05:16:31 thinkingy pppd[31174]: Using interface ppp0
Jul 6 05:16:31 thinkingy pppd[31174]: Connect: ppp0 <--> /dev/pts/2
Jul 6 05:22:26 thinkingy NetworkManager[900]: <info> Starting VPN service 'pptp'...
Jul 6 05:22:26 thinkingy NetworkManager[900]: <info> VPN service 'pptp' started (org.freedesktop.NetworkManager.pptp), PID 31454
Jul 6 05:22:26 thinkingy NetworkManager[900]: <info> VPN service 'pptp' appeared; activating connections
Jul 6 05:22:26 thinkingy NetworkManager[900]: <info> VPN plugin state changed: 1
Jul 6 05:22:26 thinkingy NetworkManager[900]: <info> VPN plugin state changed: 3
Jul 6 05:22:26 thinkingy pppd[31456]: Plugin /usr/lib/pppd/2.4.5//nm-pptp-pppd-plugin.so loaded.
Jul 6 05:22:26 thinkingy NetworkManager[900]: <info> VPN connection 'ActiveState' (Connect) reply received.
Jul 6 05:22:26 thinkingy pppd[31456]: pppd 2.4.5 started by root, uid 0
Jul 6 05:22:26 thinkingy pppd[31456]: Using interface ppp0
Jul 6 05:22:26 thinkingy pppd[31456]: Connect: ppp0 <--> /dev/pts/2