party like it's 1998!


My tilde log:

Yak-shaving: I want to generate this via Makefile + Markdown.
So I downloaded from

I don't have sudo, so what can I do?
Checked for the unzip source code, dead links.
PHP is installed, so let's use... oh no, no ext/zip
Maybe this box has perl? Yes.
There's Archive::Extract, this could work.

$ cpan
# local install? sounds good, let's go.
Ok, googling around doesn't really help me. I have local::lib but it won't install locally.
This is the missing clue:
$ perl -I$HOME/perl5/lib/perl5 -MCPAN -Mlocal::lib -e 'CPAN::install(Archive::Extract)'
$ perl -I$HOME/perl5/lib/perl5 -MCPAN -Mlocal::lib -e 'CPAN::install(Archive::Zip)'

So here's my awesome ~/bin/ (with hardcoded paths):
use Archive::Extract;
my $ae = Archive::Extract->new( archive =>> '/home/wink/' );
my $ok = $ae->extract( to => '/home/wink/tmp' );

Running it:
$ perl -I$HOME/perl5/lib/perl5 -MCPAN -Mlocal::lib ~/bin/
$ ls -al ~/tmp/
$ ls -al /home/wink/tmp/Markdown_1.0.1/
total 108
drwxr-xr-x 2 wink tilde 512 Nov 27 18:35 .
drwxr-xr-x 3 wink tilde 512 Nov 27 18:35 ..
-rw-r--r-- 1 wink tilde 1508 Dec 14 2004 License.text
-rw-r--r-- 1 wink tilde 11075 Dec 17 2004 Markdown Readme.text
-rwxr-xr-x 1 wink tilde 35622 Dec 14 2004

Wasn't that easy?
Upside: I can now unzip .zip files.
Downside: 48 MB of disk space wasted.

OK, I need a website here. Let's see how I can get this running in a sensible way.
I guess Makefile + Markdown will be good enough until I can look at BCHS.
OK, I already looked at BCHS, I admit it.
Makefile is easy, but ugly. Needs more variables. Markdown next.

I get an email I will not read for another ~20 hours that I was granted an account on Thanks!

« back to top

My todos:

« back to top