Noiselabs markNoiselabs Consulting

Blog

Technical articles, insights, and tutorials on software development, DevOps, and cloud architecture.

Distributed compiling with Gentoo Linux and WSL2

The year is 2021 and I've decided to embark on a journey to update an old laptop running an installation of Gentoo Linux that hasn't been updated sinc...

Testing Zend Framework applications with Behat and PHPUnit

In my previous post "Debugging Zend Framework routes with ZF Debug Utils" I presented a tool that I wrote to ease my way around ZF routing....

Debugging Zend Framework routes with ZF Debug Utils

Debugging Zend Framework 2 routes and specifically why a given route wouldn't match to a controller was one of my pains while working with ZF2 applica...

Ghost, Dockerized.

In this blogpost we'll see how to Dockerize a local Ghost app for fun and profit. In a rush? Already familiar with Ghost ? Jump to the technical bits...

Introducing SmartyBundle, a Smarty3 bundle for Symfony2

Hello all! I've released yesterday the first version of SmartyBundle on GitHub. SmartyBundle SmartyBundle is a Symfony2 bundle that provides integrati...

Failed to submit batch buffer (Xorg)

Another Xorg update After my last Xorg update I've lost the nice ability to log into my KDE. Well, this sucks because I spent a long time compiling kd...

Sanitize filenames with PHP

PDF generation and invalid characters While working with the TableTools PDF generator included in the great DataTables jQuery plugin I've noticed that...

Don't let updatedb take your Linux down

Coffee break everyone? Everyday morning was the same: updatedb came and took my Gentoo away. The symptoms were clear, X/KDE applications starting to b...

Meme Miner: the translation tool I've been looking for

No, this will not replace Google Translate or Babel Fish . But it does something that these tools simply can't offer. For some time I've been using Wi...

Ebuild for CoovaChilli v1.2.2 coming soon

It has been a while since I took Laurento Fritella contributions on bugzilla for CoovaChilli-1.0.11 and made them available through Sunrise overlay ....

tar: file name is too long (max 99)

I was doing the usual make dist process to launch a tarball for one of my apps when tar died with the following message: tar: file name is too long (m...

Chromium OS using Portage build environment

These are good news for the Gentoo community. Portage is being used to build Chromium OS packages. As you may know, Portage is the Gentoo Linux defaul...

Mark all messages as Read in Gmail (in 3 easy steps)

Want to get rid of all those unread messages in Gmail? Or, just like me, have some unread messages you can't find and want to reset the unread count t...

Check UTF-8 input in PHP: only letters

This is a simple way to check a UTF-8 string with PHP function preg_match in search for anything that isn't a letter, which includes all UTF-8 letters...

How to prevent caching (force image reload) in PHP and/or JavaScript/jQuery

If you are using images generated on-the-fly by a PHP script (or another server language), like I'm doing on my web application, you surely do not wan...

Howto Gentoo Linux with UTF-8 and Portuguese (Portugal) localization

Purpose How to configure a Gentoo Linux system to use UTF-8 character encoding and Portuguese (Portugal) localization (language and keyboard). Backgro...

Resume wget broken downloads

Problem How to resume a partial file downloaded from wget instead of downloading the same file from the beginning? Solution Use the -c/--continue opti...

Emerge of subversion fails on java-config

The problem I was trying to install dev-util/subversion but emerge failed when java-config was called. The output: Traceback (most recent call last):...