From 8ddf2e94df70707b458528a437759b96046d3e01 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Tue, 26 Nov 2013 10:36:10 -0800 Subject: Huge update. Moved all posts from textile to markdown. Updated all the CSS and styles. Added a new page for the resume. --- _posts/2008-06-20-mirror-cpan.textile | 38 ----------------------------------- 1 file changed, 38 deletions(-) delete mode 100644 _posts/2008-06-20-mirror-cpan.textile (limited to '_posts/2008-06-20-mirror-cpan.textile') diff --git a/_posts/2008-06-20-mirror-cpan.textile b/_posts/2008-06-20-mirror-cpan.textile deleted file mode 100644 index 461aeaa..0000000 --- a/_posts/2008-06-20-mirror-cpan.textile +++ /dev/null @@ -1,38 +0,0 @@ ---- -layout: post -category: perl -title: Mirror cpan ---- - -For the last 10 months, I've been living with no internet connection at home (not on purpose, but this is another story), so I've tried to be as much as possible independent from the web. I've started to use git for being able to work off-line, I use Vim as a wiki on my computer, my blog engine for writing post off-line, ... - -As as perl developer, I use a lot the CPAN. So, I've start to mirror the CPAN on my computer. Here is how: - -First, you will need the minicpan: - -{% highlight bash %} -cpan CPAN::Mini -{% endhighlight %} - -Then, edit a .minicpanrc file and add the following: - -bc. local: /path/to/my/mirror/cpan -remote: ftp://ftp.demon.co.uk/pub/CPAN/ - -And to finish, add this in your crontab: - -bc. 5 14 * * * /usr/local/bin/minicpan > /dev/null 2>&1 - -Everyday, at 14h05, your cpan will be updated. - -Now use the CPAN cli: - -{% highlight bash %} -sudo cpan -{% endhighlight %} - -and do the following - -bc. cpan[1]> o conf urllist unshift file:///path/to/my/mirror/cpan - -And voilĂ , I've got my own minicpan on my computer, so I can install everything when I need it, being off-line or not. -- cgit v1.2.3