Build Firefox for Android on Ubuntu and test it on Windows!

Sadly, right now (and until bug 1169873 is fixed), it’s not possible to build Firefox for Android on Windows. That’s not nice, especially if you need to track down some Android-only failures triggered by your code 🙂 Until recently I was able to run my Android Virtual Device within my Ubuntu Virtual Machine (yeah, tricky). Then something broke in OracleVM (ticket 12941), preventing me from starting the Android emulator. Here comes the good news: there’s a way to spawn an Android emulator on Windows, build Firefox for Android on a VM and then run it....

December 31, 2015 · 2 min · Alessio Placitelli

Firefox output in the command prompt on Windows? Foxyeah!

On Linux and MacOS is quite normal to see the standard output in the shell when running Firefox from the command prompt. On Windows, this isn’t that easy, as the “-console” command line switch creates a new window that quickly disappears when Firefox shuts down. Luckily, there’s an interesting option that seems to produce the desired behaviour on Windows: “-attach-console“. As reported on MDN, “[…] use -attach-console to use the existing console....

August 31, 2015 · 1 min · Alessio Placitelli

Fixing Seagate/Maxtor HDDs with a Raspberry Pi: 0 LBA, BSY and CC erros

Just imagine this scenario: one day you turn off your pc and you try to turn it on the following day. And it doesn’t or, more precisely, your trustworthy Maxtor/Seagate HDD (Model No. STM3320614AS) is no longer detected during the boot or shows a size of 0GB. You get mad, you get angry. Then you try to figure out how to get your data back. It appears that, due to a firmware bug, some particular Maxtor and Seagate HDDs lock up their SATA port (BSY bug) or corrupt show as 0 sized (0 LBA)....

June 1, 2014 · 3 min · Alessio Placitelli

Visual Studio project generation for Mozilla Firefox

Recently, the Mozilla Firefox build interface, aka mach, was enhanced with a great feature for Windows developers: the ability to generate Visual Studio project files. Such project files are not maintained in mozilla-central, hence the need for a way to generate them. Thanks to the awesome work done by Gregory Szorc, generating project files using mach is as simple as issuing the following command: [bash] ./mach build-backend backend=VisualStudio [/bash] The solution file will be available in your object directory, under the msvc folder (i....

March 22, 2014 · 1 min · Alessio Placitelli

Google Calendar and Windows Mobile phones|Google Calendar e telefoni Windows Mobile

Did you know you could synchronize your Windows Mobile device with Google Calendar without using any third party application? Amazing, isn’t it? 🙂 Simply follow this link: Set Up your Windows Mobile Phone

September 4, 2009 · 1 min · Alessio Placitelli

Roundcube 0.2 Stable, postfix and changing user password

The following hack allows users to change their own email password in roundcube 0.2-stable. Updated: Thanks to Lukather from roundcubeforum.net a bug which wiped out email passwords has been fixed **Step 1. Modifying program\steps\settings\save_prefs.inc Aproximately near line 28, there is a block where an array is declared. It starts with “$a_user_prefs = array(“. Just add the following line under the “‘prefer_html’ => isset($_POST[‘_prefer_html’]) ? TRUE : FALSE,” line // Password MOD 'password' => isset($_POST['_password']) ?...

February 11, 2009 · 2 min · Alessio Placitelli

Creative Zen: Sezione nel file INF non valida|Creative Zen: A section in the INF is invalid

Odio quando gli hard disk si rompono. Ok, ho il backup di tutto.. però che nervi reinstallare tutto. Spesso infatti, qualche periferica che funzionava senza problemi decide di piantarti in asso: è la cosa che mi è successa durante l’installazione dei driver del mio Creative Zen su Windows XP SP3. Se anche voi avete lo stesso problema, se Windows tenta di liquidarvi con un “Sezione del file INF non valida”, scaricate ed eseguite l’installazione di questo file:...

February 5, 2009 · 1 min · Alessio Placitelli

MSI Wind U100: problema tastiera|MSI Wind U100: keyboard problem

/Me OMFG Do you know someone on this planet who can manage to destroy a 399€ jewel in less than a hour? Now you do. I just tried to update the BIOS of my new, flaming, MSI Wind U100 Black when I found out power wasn’t plugged. So I thought “what’s the problem, let’s just plug it in”. I wish I had never done that: keyboard suddenly stopped working. I tried rebooting to Windows XP (a pure DOS environment is required for BIOS updates) but, sadly, nothing changed....

July 12, 2008 · 2 min · Alessio Placitelli

How to copy files from PC to Dreambox

You would be surprised by the amount of people searching for “ftp dreambox” words in the box at the top of this page. Hey, that’s it, just to “finally make you happy”: 1) Download an FTP client (FileZila is recommended) 2) Create a new connection profile using your Dreambox address (192.168.x.x for example), root as username and dreambox as password (some firmware have no default password set for this, so just leave it empty)...

April 24, 2008 · 1 min · Alessio Placitelli

Handling multiple projects/repositories with one svnserve

Need to handle different projects/repositories using a single SVN instance and don’t know how? Need revision numbers to be project dependent? Or you just want your repository to look cleaner? This (LINK) article by Thomas Guest explains you exactly how to do all that stuff in a simple and elegant way!

April 16, 2008 · 1 min · Alessio Placitelli