Skip navigation

Charlie Harvey

| Back to navigation

Tags

Permalink

Stuff tagged perl

  • Post Entries From RSS and Atom Feeds to Diaspora with feed2diasp.pl



    This is hosted on Gitorious now. I thought I would give gitorious a whirl anyhow, so you can find the latest version of feed2diasp over there. Read More …

    • Posted By: Charlie Harvey
    • 2011-12-03T00:14:40Z
    • Published: 00:14:40 on Saturday, 3 December
  • Perl character encoding and UTF-8 in brief

    Character encoding. Its enough to make grown people break down and weep bitter tears of rage. Perl provides rather good UTF-8 support, and there are some excellent tutorials out there. So, my contribution is more of a checklist and cookbook than a technical explanation.
    UTF-8 In your source code Read More …

    • Posted By: Charlie Harvey
    • 2011-11-14T22:25:19Z
    • Published: 22:25:19 on Monday, 14 November
  • Bullshitr2.0Beta++


    Back in the old days of the internet, googling for Bullshit used to bring up dack.com's web economy Bullshit generator. Read More …

    • Posted By: Charlie Harvey
    • 2011-11-08T23:34:31Z
    • Published: 23:34:31 on Tuesday, 8 November
  • Making SVG fractals with perl

    I've just returned from visiting nor in Rotterdam. It being her birthday, we went to the pub with some of the lovely folks from her course, and the talk turned to SVG and if there was anything interesting you could do with it. I thought that maybe you could do something with fractals. In this I was probably recalling Mike's awesome workshop on making fractals with HTML5 that happened at the 2011 barncamp. So, here's a first crack at a perl SVG Mandlebrot set maker. You can run it thus, you'll want to pipe the output to a .svg file most likely: $ perl fractal.pl -x-.5 -y-.7 -z1.5 > my.svg Where -x Is the horizontal centre of the render. -y Is the vertical centre of the render. -z Is how far we are zoomed in. Read More …

    • Posted By: Charlie Harvey
    • 2011-11-06T15:18:44Z
    • Published: 15:18:44 on Sunday, 6 November
  • Having SOAP::Lite or LWP::UserAgent skip SSL certificate verification

    Wow. This was a two pipe problem. I just upgraded perl on one of our servers. We use a lot of SOAP::Lite calls here, which used to be fine. But all of a sudden all my lovely scripts say: 500 Can't connect to our.server.com:443 (certificate verify failed) at /usr/bin/myscript.pl line 28 Read More …

    • Posted By: Charlie Harvey
    • 2011-10-27T17:56:58Z
    • Published: 17:56:58 on Thursday, 27 October
  • The Suggester: A Perl Keyword Suggestion Script


    My colleague Brian, of New Internationalist Australia mentioned a tool he uses to get keyword suggestions for adwords and SEO purposes. So, I thought I'd have a crack at making a perl version. This is that. Its called The Suggester. Cunning name, huh? Read More …

    • Posted By: Charlie Harvey
    • 2011-07-07T18:14:36Z
    • Published: 18:14:36 on Thursday, 7 July
  • Visualising RSS feeds with Perl and GraphViz::Data::Grapher


    A few weeks back I was browsing round Perlmonks as is my wont, when I came across planetscape's post How can I visualize my complex data structure?. In that post, planetscape mentions the GraphViz::Data::Grapher module for doing a sort of visual equivalent of Data::Dumper. Read More …

    • Posted By: Charlie Harvey
    • 2011-06-14T09:31:18Z
    • Published: 09:31:18 on Tuesday, 14 June
  • Tip: is.gd from the commandline

    This is a pretty minimal tip. The other day I was looking for a way to shorten URLs from the commandline. Now the bit.ly API expects you to authenticate before doing any shortening (I've not pulled apart the web ui to see if its possible without). The is.gd URL shortener has no such restrictions, so let's see some commandline URL shortening.
    Using wget Read More …

    • Posted By: Charlie Harvey
    • 2011-06-01T19:35:11Z
    • Published: 19:35:11 on Wednesday, 1 June
  • Perlmonks User RSS Maker

    Monk   Read More …

    • Posted By: Charlie Harvey
    • 2011-05-31T13:31:19Z
    • Published: 13:31:19 on Tuesday, 31 May
  • Video: FeedMash - A Perl/Catalyst RSS Masher-Upper and Twitter-izer

    Update 2011-01-31: Well, life got in the way of getting this out in January, let's see if it will come out in Feb!Read More …

    • Posted By: Charlie Harvey
    • 2011-05-19T11:23:20Z
    • Published: 11:23:20 on Thursday, 19 May
  • Video: Turning MP3s back into ones and zeros

    I've wanted to make some code to turn MP3s back into the ones and zeros from which they are made ever since reading Eben Moglen's Anarchism Triumphant. In that Moglen says: Read More …

    • Posted By: Charlie Harvey
    • 2011-05-19T11:20:52Z
    • Published: 11:20:52 on Thursday, 19 May
  • Muffet: A Perl Web Spider


    Muffet is a web spider written in Perl and Moose that I've put up on github, under GPL. Read More …

    • Posted By: Charlie Harvey
    • 2011-05-12T15:56:51Z
    • Published: 15:56:51 on Thursday, 12 May
  • TwitterHaiku -- A Thing for making haiku from Twitter searches

    TwitterHaiku lets you find a haiku-like tweet. That is to say that it finds 17 syllable tweets from the Twitter search API and formats them so they look like a haiku. I wrote it as an amusing way to respond to a dinner invitation written in verse form which I received from from a certain Penguin. I'm very grateful to Greg Fast for making Lingua::EN::Syllable available on CPAN. It helped me to count syllables relatively reliably. I was also helped by a perlmonks post on approtioning an array almost equally by davido which put me on the right lines for apportioning words between lines.Read More …

    • Posted By: Charlie Harvey
    • 2011-04-02T13:15:00Z
    • Published: 13:15:00 on Saturday, 2 April
  • March 2011 Reading

    Let me first just mention that prepending the word "post" to any body of thought – post-anthropology, say – doesn't magically result in a rejuvination of that thought as some theorists are wont to believe. However, I think that Saul Newman's book in its attempt to integrate poststructuralist insights into the framework of anarchist thought is fruitful and actually quite exciting. Newman identifies the central insights of (classical) anarchism and seperates these insights from their problematic roots in enlightenment humanism to bring them into dialogue with the political challenges of contemporary discourse. Newman is a great writer, clear and straightforward, something that lacks in much of the poststructuralist writing.
    2011-03-23 by Charlie Harvey
    Getting Things Done, David Allen Read More …

    • Posted By: Charlie Harvey
    • 2011-03-24T09:26:44Z
    • Published: 09:26:44 on Thursday, 24 March
  • Geekery

    Some useful snippets of technobabble, code and such for the discerning geeks and programmers amongst you. Read More …

    • Posted By: Charlie Harvey
    • 2011-03-13T10:27:22Z
    • Published: 10:27:22 on Sunday, 13 March
  • Index

    These pages contain bits of html, perl, sysdminning, activism, politics and that for your perusal, enjoyment and edification. Or something. All the background stuff is done with object orientated perl, thanks to the CPAN magic of HTML::Template and DBI. Read More …

    • Posted By: Charlie Harvey
    • 2011-03-13T10:25:48Z
    • Published: 10:25:48 on Sunday, 13 March
  • January 2011 Reading

    This is a frankly awesome critique of the (mid-90s) left's 'master' narritive of totalised global capitalism. The books central insights are gleaned from feminism and are all about the possibility of imagining non-capitalist economies and acknowledging that those economies actually exist alongside and inside global capitalism. Like a sort of Judith Butler for Marxian political economists.
    2011-01-29 by Charlie Harvey
     
     
    The Situationists and The City, Ed Tom McDonough Read More …

    • Posted By: Charlie Harvey
    • 2011-02-25T22:16:20Z
    • Published: 22:16:20 on Friday, 25 February
  • February 2011 Reading

    Turing's 1936 paper on Computable Numbers, with an Application to the Entscheidungsproblem is something of a geek classic, introducing important concepts like the Universal Turing Machine. I'm no mathemetician even though I readily admit to being a bit of a geek. So its great to have a writer like Petzold to hold my hand. Petzold adds the context, both mathematical and biographical as well as guiding you through the paper gently but without being patronizing. Funnily enough I started reading this on 24 Feb, the day before Bletchley Park announced they had bought Turing's papers. Bit of a coincidence that.
    2011-02-25 by Charlie Harvey
     
     
    The American Future, Simon Schama Read More …

    • Posted By: Charlie Harvey
    • 2011-02-25T22:07:13Z
    • Published: 22:07:13 on Friday, 25 February
  • Flickr API and Grabbing Wedding Photos From A Group

    My lovely friends Danny and Jess got married recently. I took some photos and so did lots of other people. So we put them all in a flickr group. But they wanted to get hold of everyone's pics to print or whatever. Problem. For some reason flickr have seen fit to disable the API key for the one tool that (Google says) could do the job of grabbing all the pics for us. What a pain! Read More …

    • Posted By: Charlie Harvey
    • 2010-09-07T21:51:33Z
    • Published: 21:51:33 on Tuesday, 7 September
  • Config::General arrayrefs and HTML::FormFu

    I'm in the process of making a nicer backend for charlieharvey.org.uk using Catalyst (which is lovely BTW). One of the things I'm playing with is using HTML::FormFu for making the forms. But this morning I got proper stuck on the simple task of populating a select box with options from my Config::General config file. Read More …

    • Posted By: Charlie Harvey
    • 2010-08-15T21:02:07Z
    • Published: 21:02:07 on Sunday, 15 August
  • Getting Chandler Hub to send a daily agenda by email

    I think that the OSAF's Chandler project is awesome and I've been using Chandler to organise my life for a while now. But one feature it was lacking was a daily email agenda update. Here's how I hacked one in perl. The code is at: Read More …

    • Posted By: Charlie Harvey
    • 2010-08-01T00:00:00Z
    • Published: 00:00:00 on Sunday, 1 August
  • Chandler Daily Agenda Script in perl

    A little perl script to send you a daily agenda email from your chandler hub account. Discussed in depth on the page Getting Chandler Hub to send a daily agenda by email.Read More …

    • Posted By: Charlie Harvey
    • 2010-06-19T11:28:09Z
    • Published: 11:28:09 on Saturday, 19 June
  • BarnCamp 2010

    BarnCamp 2010 was two days of workshops on topics ranging from renewable energy to foraging for food to citizen journalism to using free software for activism, three nights of camping, open space sessions, evening entertainment, great food at Highbury Farm, a beautiful farm co-op high in the Wye Valley.
    Personal highlights Sunshine Meeting the other ciderpunk Learning how to be a citizen journalist Learning that Cornish folks come North in the Summertime for direct action and riots Drinking ace cider Nicest train conductor ever The nerd block -- for people going off on a geek rant that no-one else can understand The Linux Lord's Prayer Read More …

    • Posted By: Charlie Harvey
    • 2010-05-01T22:23:18Z
    • Published: 22:23:18 on Saturday, 1 May
  • Daily Mail Story Generator

    I was at the Climate Camp, reading the Evening Standard's account of how militants intended to hijack the camp to eat babies or something when it occurred to me that Daily Mail, Express and Standard journos could be replaced by a relatively trivial perl script. Read More …

    • Posted By: Charlie Harvey
    • 2007-09-02T16:24:00Z
    • Published: 16:24:00 on Sunday, 2 September
  • ALF: Apache log filter

    ALF is a filter for people using Apache logging to plain text logs, who still want the flexibility of being able to search their logs like a database. It relies heavily on Jeff Zucker's DBD::AnyData to do the clever stuff, and overlays that with a simple Gtk2 interface. Read More …

    • Posted By: Charlie Harvey
    • 2007-03-31T18:45:21Z
    • Published: 18:45:21 on Saturday, 31 March
  • My Geek Codes

    How to tell the world you are a geek, you ask? Use the universal Geek code! Using this special code will allow you to let other un-closeted geeks know who you are in a simple, codified statement... The Universal Geek Code Page Read More …

    • Posted By: Charlie Harvey
    • 2007-03-01T15:33:51Z
    • Published: 15:33:51 on Thursday, 1 March
  • Charlie's RSS feed

    Well, after a couple of hours faffing with perl I've got a valid looking RSS feed. This will let you stay in touch with what I'm ranting, writing and coding using a 'news reader' program or device. Or even syndicate my site. Kewl.Read More …

    • Posted By: Charlie Harvey
    • 2006-03-15T21:19:34Z
    • Published: 21:19:34 on Wednesday, 15 March
  • Import pegasus mail folders to cyrus

    This utility was developed for People & Planet's recent migration away from Mercury mailserver to Cyrus IMAP. Given a user name, Pegasus mail directory and password, it creates a new IMAP account, sets a SASL password, and imports the mail folder hierarchy and its contents into Cyrus, as well as trying to set up pegasus to greate a new IMAP prifile (it sometimes works!)

    It's not very elegant (particularly in that parts of it use different IMAP perl modules (don't ask) ), and it only recreates your hierarchy one level deep. I found it worked pretty nicely, though. You should note that I assume you are using unix hierarchy seperators in Cyrus. You will also need to download peg_split_and_deliver.pl, and peg_folder_hierarchy.pl for it to work, along with some CPAN modules.

    All code is free software under the GNU GPL.Read More …

    • Posted By: Charlie Harvey
    • 2005-08-05T16:04:48Z
    • Published: 16:04:48 on Friday, 5 August

This is available as an atom feed for syndication. You can see all tags or a tag cloud if you want.

Author: Charlie Harvey

Updated: 2012-02-4T09:11:46