Recently my WordPress instance crashed due to a faulty plugin update, resulting in a PHP error and rendering my blog useless. After overcoming the initial panic reaction, I realized i didn’t need to dive into the PHP code just yet: I could just disable the plugin in the database instead.

Here’s how, given you have access to the database.

read on

Since the Android SDK doesn’t come with the source code, you need to get it manually from the Google Git repo’s. Unfortunately, the tutorial is Linux oriented and convoluted. Fortunately, us pesky Windows users have people like Brad Chow and some helpful Asian folks that provide us with a solution out of the box.

Here’s a recap:

read on

Here’s a blatant repost of How to make Clover ignore private constructors by Alex Ruiz.

I was actually looking for a regular expression matching private constructors so that I could make Clover ignore these in the Eclipse plugin. His post is about how to configure Clover in Maven however, here’s how you configure the Eclipse plugin.

read on

Having several projects in Bamboo that share a repository, build script and libraries, it can be tricky to configure Bamboo build plans correctly; but it isn’t hard at all. I’m going to quickly show you how I configured Bamboo Plans for two projects that are in the same repository, but share a master library. This is a very common setup and the point is to make Bamboo build only for the plans if their associated project has been updated.

In addition to the shared master library folder, I’m going to include a master build.xml file as well and see how that works with the nested projects.

read on

I recently needed to move over my code base from a remote repository to another remote repository using Subversion. To accomplish this I used svnsync, as demonstrated by this excellent little article. Here’s a quick Windows version of that article, demonstrating a google code project migration.

read on

Very Simple Java Mail is no more. Long live Simple Java Mail!

Vesijama has been renamed to Simple Java Mail and the name Vesijama has been degraded to a working title. The reason: the title didn’t reflect the intention nor the function of the project and people complained about the outlandish name.

And so the project moved altogether to a new space at GitHub: Simple Java Mail.

For now the library jars have been renamed manually, but in the future the name will be incorporated in the sourcecode itself as well.

Happy mailing!

Just dropping by to put some useful links together for those following the events in Egypt.

ALjazeera is doing an outstanding job covering the Egypt events from the outside and inside, so really, all you need is Aljazeera. They provide reporting on several levels of detail.

So, in order of reporting detail:

  1. Aljazeera live feed, providing non-stop live visual footage and interviews with both experts and journalists on the ground (or look here for phones that don’t support Flash but do support Youtube)
  2. Combined list of tweets by journalists live on the ground in the thick of it all; rather thrilling at times
  3. Aljazeera’s live blog, reporting short bursts of information throughout the day which provides a global outline
  4. Tweets from Aljazeera’s main twitter account, reporting only the more important events
  5. In-depth reports on the most important events in the Middle East, of which Egypt obviously has complete focus
  6. The RSS feed of the above in-depth reports, to keep everything accessible from you mobile phone

Most of this is Twitter or RSS, so you can get everything synchronized in your mobile phone, with the exception of the Aljazeera live blog (which is very good for minute updates).

For those wondering what to do with the RSS feed, you can import it in any RSS reader app for your phone, but here’s what I do: get an account with Google Reader Feedly, subscribe to the RSS feed there, then install Feedly for Android (iPhone?) or some other Reader client such as NewsRob and auto-syncronize your Google Reader feeds in your phone with that.

I love the (now aging) Apache collections15 library, but here’s a small ugly detail that is good to know.

The following call doesn’t do what you would think it does – or what I thought it would do anyway (and the JavaDoc isn’t clear enough):

read on

Imagine you are dealing with multiple workspaces, which for example can be expected if you split up a code base in several Eclipse projects and you are working on several releases at once. Now wouldn’t it be handy if Eclipse would tell you which workspace is active?

There are two ways.

read on