Archive for 'Hacks'

How conjoon migrated quickly from Trac to JIRA

Posted by:

How conjoon migrated quickly from Trac to JIRA

conjoon is currently being migrated to the Atlassian’s software suite: Jira, Confluence, Crowd, Fisheye… you name it. While the Trac importer that comes with Jira worked out of the box, I had to do some work to set all previously by Trac defined relations properly up. I also had to add dates to the ticket workflow by hand, but I’m pretty sure it was worth it: Jira is ...

Continue Reading →
2

Clearsilver egg for Python 2.5 (Windows)

Posted by:

bitten Continuous Integration plugin

Since conjoon uses Continuous Integration, I was happy to find out that there is a CI plugin for my favored project management tool trac: bitten lets you configure build scripts and comes with agents that poll the repository to invoke the creation of builds. Although ...

Continue Reading →
0

Counterize II – missing backticks in install file (fix)

Posted by:

If you want to install V2.09 of Counterize II , you may get sql-errors when the plugin gets activated in the backend of WordPress.

This is caused by missing backticks ( ` ) in the file counterize_install.php. Take a close look at the sql-INSERT statements. The erroneous line numbers are:

  • 80
  • 87
  • 94

Add the missing backticks at the end of the respective lines and you should be set.

Continue Reading →
1

svndiff / deltav algorithm

Posted by:

(This post refers to svndiffs V0 compressed strings).

The article at http://svn.collab.net/repos/svn/trunk/notes/svndiff explains how the svndiffalgorithm works. This post tries to give a more concrete idea of what happens, refering to the example that can be found at the end of the above linked article.

SVN delivers the text deltas base64 encoded, so you first have to decode the string to work with it. Next step ist to check the string for it’s first four bytes, which must represent ...

Continue Reading →
0

introducing cudgets.widget.ListSelectionModel

Posted by:

A ListSelectionModel represents an interval of selections. A selection itself has two properties: index and selected. The index is a numeric value that points to a position in the interval and selected provides information about the state of the index in the selection-interval: true for selected, otherwise false.

Speaking of GUI, ListSelectionModels are needed when a set of items (a List) is available that allows a user to select/deselect any range of items.

A good programmer (who’s into design ...

Continue Reading →
0

hemingway reloaded fixes

Posted by:

Hemingway Reloaded is a great theme for the WordPress Blogging Software, however, it lacks a little bit IE 7 compatibility.

Here are two simple fixes for the style.css which will display the startpage correct.

First off, in style.css, change the width of #primary.twocol-stories .story to 47% instead of 48%:

#primary.twocol-stories .story{
    float:left;
    width:48%;
    marginContinue Reading →

8

ANIga – pimping my gallery

Posted by:

I was looking for a gallery plugin, and among those literally speaking hundreds of gallery extensions for the WordPress blogging software I found ANIga, coded by Michael Naab. Though there are a few unpretty startup errors upon installing and uncatched error-notices during image-processing (Michael, did you forget do set error_reporting to E_ALL?), I’m pleased with the functionality the plugin gives you.

After customizing my default-Template theme ...

Continue Reading →
0

using phpunit2 with eclipse

Posted by:

A good IDE saves a lot of time, and besides all those commercial products phpeclipse is a nice alternative.

UnitTesting has also become a valuable task to the serious PHP programmer. There is already a plugin for simpletest available to use in eclipse. Judging after the UI, it comes very close to JUnit. Unfortunately, there is no plugin for PHPUnit(2) available yet (although Sebastian stated earlier that Zend wants to take ...

Continue Reading →
3