My blog

Here are the latest blog posts I’ve written. My plan is to write entries more frequent in the future, but often actual hacking comes in the way.

How to deploy #Mojolicious apps on @DigitalOcean

9th of March, 2014

Mojolicious is truly a modern web framework. It keeps up to date with the HTTP, HTML, WebSockets and JSON specifications so you don’t have to worry about doing that right. It’s a framework where you implement the core business logic, while everything else Just Works ™. DigitalOcean is “cloud hosting, built for developers”. It’s relatively …

Read more

Howto set up Convos on @digitalocean

2nd of March, 2014

From convos.by: Convos is the simplest way to use IRC. It is always online, and accessible to your web browser, both on desktop and mobile. Run it on your home server, or cloud service easily. It can be deployed to Heroku or Docker-based cloud services, or you can just run it as a normal Mojolicious …

Read more

Mojopaste – A #pastebin based on #Mojolicious

5th of September, 2013

// From errno.h #define EPASTEBINAGAIN 133 /* mojopaste */ Today I released my 13th Mojolicious based project to CPAN, but the 1st open source Mojolicious based application. It feels good. The application is a pastebin. That is a web application which you can paste text to, hit the “Paste” button and it will save it …

Read more

Continuous deployment with #Mojolicious and @github

13th of August, 2013

After hearing Curtis Poe giving the talk “Agile Companies Go P.O.P.‎” at the YAPC I thought I should finally get the word out about my extension to Mojolicious, which allow continuous deployment using a github post-receive hook. So… Mojolicious has this marvelous web server called hypnotoad. What makes this server so cool, is that it …

Read more

Howto deploy #Mojolicious to @dotcloud

15th of September, 2012

— After sending some tweets with dotcloud I’ve figured out how to deploy Mojolicious to dotcloud as a perl-worker. The way I previously deployed was using the standard perl service, with a uWSGI frontend. The really cool thing about a perl-worker is that the mojo web application is running persistently allowing it to: Handle more …

Read more

Applify: Scripting without boilerplate

20th of July, 2012

Applify is a module which helps you write scripts with less boilerplate code. The scripts written with Applify can also be tested easily. I started out using plain Getopt::Long, but I thought it was clumsy to combine with my OO code. Then I started using Moose and MooseX::Getopt and life was starting to get good …

Read more

A #Mojolicious lite app that use @Cloudinary

14th of July, 2012

So earlier this week I’ve written about How to deliver your images through Cloudinary with Perl and Cloudinary examples for applying effects to your images. Today I’m posting a Mojolicious lite app which can upload images to your Cloudinary account, show them on a web page and allow the visitor to delete them. The example …

Read more

Cloudinary examples for applying effects to your images

11th of July, 2012

So yesterday I blogged about the basic functionality about Cloudinary, but there are so much more than scaling images that you can do. examples from Cloudinary’s own blog. Mojolicious::Plugin::Cloudinary, but you can also use the Cloudinary module directly if you are not inside a mojo template. Effects You can apply a variety of effects to …

Read more

How to deliver your images through Cloudinary with Perl

10th of July, 2012

Cloudinary is a cloud-based service for image management & manipulation. From their about page: Use Cloudinary to: * Manage all your assets and web resources in the cloud. * Allow any web application, large or small, to enjoy modern web delivery platforms. * Completely remove the tedious tasks of locally managing web resources; instead, utilize …

Read more

My x200 used to say “beep”

13th of July, 2010

I’ve been using my Thinkpad x200 for about a year now, and I’m pretty sure it started beeping some time this winter: A short “beep” occurred each time it came back from suspend or the power cord was plugged in. It has been pretty annoying, but it has not been annoying enough for me to …

Read more