// the engine
Writing
Two decades of notes from the trenches — Linux, the JVM, the web stack, and the occasional war story.
[Tip] Skype Icon Doesn't Show Up in Ubuntu
How to make the Skype icon appear in Ubuntu's panel (systray).
Read moreConfiguring HTTPS on Wildfly
This configuration is only meant to enable HTTPS on a development machine running the Wildfly Application Server. I didn't go deep into the security side since I'm not the one who administers the serv
Read more[Solved] Error: (state SENT_SECOND_EHLO) code(0) or [Server response: read error code(0)] in GMail
If you're setting up Gmail to read messages from M$ Office 365's Outlook via SMTP and POP3 but you get the following errors:
Read moreCopy / Download an Entire Website With WGET [rip]
To copy an entire website, including photos, JS and CSS files, using wget on Linux, run the following command:
Read moreEnabling Syntax Highlighting in Nano
I'm developing a piece of software in PHP and testing some changes directly on the server. To edit the PHP files I use nano (I never got used to vi). So I missed having colors in the code to
Read morePreventing a PHP Script From Running Multiple Times at Once in Cron
I'm building a database synchronization script that should run every 5 minutes in Linux's cron. The problem is that it can end up taking longer than five minutes, so while researching a w
Read moreSending Email via GMail With PHPMailer
The PHPMailer library is quite complete and very commonly used among PHP developers. So the tip is how to configure it to send emails using GMail's SMTP.
Read moreConcatenating Multiple Rows From a Select Into a Single Line and Generating JSON From a Query [MySQL]
To concatenate multiple rows into one:
Read moreConcatenating Multiple Rows From a Select Into a Single Line and Generating JSON From a Query [SQL SERVER]
To concatenate multiple rows into one:
Read moreUpdate With Join in MySQL
Say you want to update a column of an entire table with values from another table. You can do an UPDATE with INNER JOIN. See below:
Read moreQuery to Find a Column Across the Whole Database [MS SQL SERVER]
Quick tip for M$ SQL Server:
Read moreBatch Resize Images on Linux [ImageMagick Batch Resize]
ImageMagick is a set of tools for manipulating and editing images directly from the shell.
Read moreWindows Update Stuck at 0 KB 0% [Windows 8]
This tip is to solve the problem of Windows Update not getting past 0 KB 0% on Windows 8, as shown in the image below:
Read moreTouchscreen Problems While Charging
This solution worked on my Droid Razr XT910, but I think it applies to other Android devices that have touchscreen problems while connected to USB or charging the battery.
Read moreDualBoot With SafeStrap and CyanogenMod 11 [Android KitKat 4.4.2 on the Motorola Droid Razr XT910]
In this post we'll detail the installation and configuration of SafeStrap Recovery to create a DualBoot between the Stock ROM — which supports HDMI and FullHD (1080p) video recording — and CyanogenMod 11 with
Read moreRooting the Motorola Droid Razr XT910 [Jelly Bean 4.1.2]
To run the exploit that grants root access on the Motorola Droid Razr XT910's Android you'll need the following files / programs:
Read moreUnbrick the Motorola Razr XT910 [Jelly Bean 4.1.2]
Install the Jelly Bean 4.1.2 Stock Retail ROM. You can also use this procedure to unbrick your Razr if you tried to downgrade it.
Read moreImproving Half Life 2 Performance (Running on an Atom Netbook)
Well, this is a humble post… Unfortunately my ultrabook was stolen (armed robbery), so I scrounged up a borrowed Philco netbook. Obviously the processing power leaves something to be desired, but even
Read moreInstalling Debian Linux on the Galaxy Tab 10.1
Ever since I bought the Galaxy Tab I'd read that it was possible to run Linux on Android. I soon saw that this could be useful: having a complete Linux system at your fingertips. Even better: I even bought the keyboard doc
Read moreDisabling IPv6 on Debian
I've had problems with vncserver and IPv6 before, and since I don't use IPv6 yet…
Read moreInstalling Debian Squeeze on the D-Link DNS-320 NAS
This is the second part of the Debian Linux configuration guide for the D-Link DNS-320 NAS. I'm assuming you already have a working installation of fonz fun_plug on your NAS; otherwise c
Read moreapt-file search: solving "No such file or directory" problems
You're trying to compile a program on Linux but you run into the message: "No such file or directory". Usually when you run configure or make itself.
Read moreA Colorful Bash Prompt With Command Results Shown as Smileys
If you like to customize your system, one tip is to change the bash prompt. You can add colors, information, date and time, etc.
Read moreSolving the mint-search-addon 2012.05.11 update error
The update manager is having trouble updating the mint-search-addon package to version 2012.05.11. The mint-search-addon is a custom search plugin for Firefox and in my view it isn't necessa
Read moreHow to Install Gimp 2.8 on Debian / Linux Mint Debian Edition
Gimp 2.8 came out a while ago, so it's well past time to update the system. As I've mentioned in previous posts, I use Linux Mint Debian Edition, which is nothing more than Debian Testing with so
Read morewgetmd5, a shell script that verifies the md5 of a wget download
When you need to download large files, like Linux distributions, it's wise not to fully trust the browser for these downloads, since some packets can be lost without the download throwing an er
Read moreDesktop Files: Adding Your Application to the GNOME Menus
Linux Mint Debian Edition comes by default with two graphical interfaces: Mate, which is a fork of Gnome 2, and Cinnamon, which is a fork of Gnome 3 that modifies it to look more like version 2 o
Read moreEditing the PATH Environment Variable on Linux Mint Debian
To add an application to the PATH variable on Linux Mint Debian, or any Debian, edit the /etc/profile file.
Read moreAdding Google to Firefox on Linux Mint
The default browser of Linux Mint Debian Edition, as in many distributions, is Firefox. The thing is that Firefox on Linux Mint comes fully customized. It uses a Linux Mint page as its homepage
Read moreFile Association in Nautilus - Associating .deb Files With the GDebi Package Installer
This one is for those who, like me, are noobs at Linux desktops.
Read morePasswordless Sudo
If you're the only one who uses your computer, you trust yourself, your password is long and you don't have the patience to type it every time you use sudo, here's a tip. With the visudo command you edit the /
Read moreFixing Brightness Control on a Linux Laptop
I own the Samsung X420 ultrabook. A laptop made to be light, portable and with long battery life. And it really is. Overall it's a good laptop considering its 1.3 GHz Core 2 Duo processor with
Read moreHow to Translate a WordPress Template
If you installed a template (theme) for WordPress and noticed that some words are in English or another language, even if your WordPress is in Portuguese, you need to translate the the
Read moreWorking With Absolute Paths in WordPress Post Images and Links
I'm starting the development of this blog you're reading and at the moment I use it in my development environment. I have apache2, php and mysql installed on my Linux Mint Debian and WordPress is runn
Read more<img title vs alt | How to Correctly Use the alt Attribute
Inserting an image in a WordPress post
Read moreStep-by-Step Installation of Linux Mint Debian Edition LMDE 201204
In this post we'll show step by step the installation of Linux Mint Debian Edition, which is a bit simpler than installing Debian Testing "Wheezy", the distribution it's based on. To complet
Read more

































