Monthly Archives: February 2011

FreeRADIUS EAP and CRLs

Just a quick note about a gotcha, which will hopefully help someone searching for the answer… In FreeRADIUS 2, if you want to use a Certificate Revocation List (CRL) along with the EAP module, then following the instructions in the … Continue reading

Posted in devops, radius | Comments Off

MythTV Transcoding (2): In-place Auto Transcoding

I’m doing a series of posts here on automated transcoding of recordings in MythTV. The idea is to explain the basics, then evolve the design to end up with recordings suitable for playback on the iPad, which is a little … Continue reading

Posted in mythtv, transcoding | 2 Comments

MythTV Transcoding (1): The Beginning

I’m going to do a series of posts here on automated transcoding of recordings in MythTV. The idea is to explain the basics, then evolve the design to end up with recordings suitable for playback on the iPad, which is … Continue reading

Posted in mythtv, transcoding | Comments Off

Dist::Zilla::PluginBundle::Author:: namespace

Following the lead of Mike Doherty (DOHERTY) I’ve moved my own Dist::Zilla Author PluginBundle into a new namespace: Dist::Zilla::PluginBundle::Author::OLIVER Having Author PluginBundles is a great system for saving me time and allowing others to build my modules with ease. However I had to agree to Mike’s point that polluting the Dist::Zilla::PluginBundle:: namespace wasn’t so cool. It also makes things more clear in the dist.ini file: [@Author::OLIVER] If you have an Author PluginBundle, please consider moving it into this new namespace. You can of course keep the old one around, in parallel, until code using it has moved off to the backpan…. Continue reading

Posted in perl | Comments Off

Adding a new RANCID device class

The RANCID system is used by many network service providers to backup and audit their network device configurations. It supports many device vendors (Cisco, Juniper, etc) but you might run into a vendor which is not supported. Adding a new … Continue reading

Posted in networking, perl | Comments Off

Fixing code snippets syndicated from blogs.perl.org

I’ve got a Perl-specific blog over at blogs.perl.org which has its posts syndicated here (using the excellent FeedWordPress plugin). The trouble is, pre-formatted blocks (i.e. the <pre> tag) are botched when importing, mainly because I need to perpetrate a hack … Continue reading

Posted in blogging | Comments Off

Dist::Zilla::Plugin::MetaResourcesFromGit

The CPAN META specification includes support for "resource" links to homepage, bug tracker, mail list, source code repository, and so on. These will appear on search.cpan.org if you ship a META.json with your distribution. Dist::Zilla’s MetaResources plugin allows you to set these links in the distribution config, but I wanted something a little more automagical. This can be done because I’ve set up my GitHub repositories with consistent naming and layout. So my new plugin, Dist::Zilla::Plugin::MetaResourcesFromGit, is a drop-in replacement for the standard MetaResources plugin. It automatically generates four resource links based on the name of the distribution and the remote git repository settings. Simply use the plugin in your dist.ini file: [MetaResourcesFromGit] The default links are equivalent to: homepage = https://github.com/&lt;account>/&lt;repo&gt;/wiki bugtracker.web = https://rt.cpan.org/Public/Dist/Display.html?Name=&lt;dist-name&gt; repository.url = git://github.com/&lt;account&gt;/&lt;repo&gt;.git repository.web = https://github.com/&lt;account&gt;/&lt;repo&gt; repository.type = git Any other resources provided to this Plugin are passed through to the MetaResources Plugin as-is. If you wish to override one of the above, some formatting codes are provided (described in the documentation) to assist. If you wish to suppress the appearance of one of the above resources, set an empty value. If you want to know more about my Dist::Zilla and GitHub workflow, I discussed it in an earlier post on this blog. I wrote this plugin to assist me, and it’s also shown how great the Moose-based Dist::Zilla architecture is for extending features. The Plugin is GitHub centric at the moment, but I’d be happy to accept a patch to work with other cloud-based Git services (Gitorious, SourceForge, etc)…. Continue reading

Posted in perl | Comments Off

SyntaxHighlighter and Chrome vertical scrollbar bug

I just noticed that with Google Chrome the code snippets of my blog posts have unnecessary vertical scrollbars. This is reported in bug #177 in the SyntaxHighlighter code. A simple fix (already posted to the bug report) is to edit …/styles/shCore.css … Continue reading

Posted in blogging | 1 Comment