Categories
Projects

Appix, the global webapp directory

On everybody smartphone there are a lot of apps downloaded from an app store. There apps are build for a specific platform and distributed through a managed selling channel. This works well, but is not really the way the internet worked in the past few decades. At the same time technology around websites is highly […]

Categories
Solutions

Running MySQL/MariaDB and Sphinx in Docker for powerful search

Want to setup a relational database with advanced search features? Just merge two specific software in one powerful application: MariaDB and Sphinx.

Categories
Perl6

Perl6, get your test environment running in seconds

So you want to give a try to Perl6 to see what this language can do for you, but you don’t want to mess up your system with a lot of software you don’t know if will ever use again. No problem! The obvious answer is called Docker.

Categories
Perl

Perl-FPM, running Perl on nginx as FastCGI

Perl was the language of choice in the early days of web programming, when Perl was a synonym for CGI. Many things are changed in the meanwhile, but we can still use Perl with a modern webserver to get things done!

Categories
Docker Perl

Get started with Perl on Docker

Docker is the modern way for distribute applications. It allows you to create a deployable entity that will run in the same way on almost every *unix platform without the need to install anything more than same basic dependencies required by Docker itself. An ideal choice to run a code sample, a testing environment or […]

Categories
Code

How to transfer only a certain file extension with rsync

Rsync is the tool of choice if you have to transfer files from a server to another one. The tool is very powerful and has a lot of options, but is not that easy to use when you have in mind what you need to do but you don’t know how.

Categories
Hints

How to correctly manage UTF-8 with Perl

Perl has a native support for different character encodings, like the well known UTF-8, but its default behavior is to use Latin-1. This brings easily to a lot of problems if you don’t tune certain settings.

Categories
Perl

Upload huge files with Perl’s LWP::UserAgent

Everybody who work with Perl knows LWP::UserAgent, the most used library when you need to work with HTTP connections. The library has some methods that cover the most common usage cases, such as GET and POST request. If you need something more particular you have to set up a HTTP::Request object and pass it to […]

Categories
Code

Simple smooth expanding element with Javascript without any framework

One common situation in web developing is that you want to expand and collapse an element (maybe a DIV) with a smooth animation. It’s a common request because having a smooth animation helps the user to follow what happens on the page without being disorientated by fast changes.

Categories
Code

Google Analytics API with PHP using a service account

Google APIs are great. You can do almost everything with them: data reporting, file upload, everything. Unfortunately the documentation isn’t that good because same very important informations are not reported there! So you try the examples and they don’t work because of a hidden step you didn’t done.