Category Archives: Development Tools

How to close Crucible Reviews in batch ?

If you’re using Atlassian Crucible to do peer reviews, you may end up in a situation where you have many pending reviews not relevant anymore that you would like to close in one shot. Unlike JIRA, Crucible doesn’t offer a batch process feature, but you can use its REST API to automate this task. Here are two Windows batch that will take care of completing or closing all pending Crucible reviews in a given id range for a user. Continue reading

Eclipse : How to debug a C++ console application using a native Windows console instead of the IDE integrated one ?

You’re using Eclipse to develop a C/C++ Windows command line application, and instead of debugging using the Eclipse integrated console you would like to use a native DOS/Windows console. Some reasons to do so are that the Eclipse integrated console doesn’t deal very well with some DOS console features (like cursor positioning), and it may buffer some inputs. Happily, it is possible to configure Eclipse to use a native console !
Continue reading

How to configure SearchBlox to index a “form authenticated” web site ?

You’re working in a company which has many sources of information. There’s this wiki maintained by the support team, and the sharepoint intranet used by the marketing team. There’s also this shared folder where anyone drops Word, excel, PDF files. The developers also have their JIRA bug tracker. Looking for a piece of information is a nightmare. You looked for a tool that would index all of this data and make it searchable from one single place, and eventually found SearchBlox. Built on top on the Apache Lucene search engine, SearchBlox offers a really nice and easy to use interface. There even is a free edition ! But soon you hit a problem : how do you index a website requiring authentication ?

SearchBlox

Continue reading

Tools to count lines of code

I’ve been asked to give a report about the number of lines of codes (SLOC) in a project in order to evaluate its complexity. I’m not a big fan of this metric (but that’s a whole discussion in itself), and I was too lazy to write a grep command or python script to do the job. I found several tools, and two of them emerged out of the crowd : Continue reading