Compile remote pcap on linux

Did you know that you can use Wireshark to monitor packets on a remote system? You can select a remote interface, but in order for that to work, you’ll need to execute a remote packet monitor application on the remote machine.

 

Continue reading ‘Compile remote pcap on linux’

Fractions in MySql DateTime and timestamp columns

Recently, MySql released a beta version with support for fractions in timestamps, dates and time columns. You can alter your existing columns by adding a fraction to the column definition, e.g.:

alter table `audit` modify column `timestamp` `timestamp` timestamp(3) not null;

This will save 3 digits of the milliseconds when storing the current timestamp. Hurray!

Continue reading ‘Fractions in MySql DateTime and timestamp columns’

GridView woes.

Today, I was extending the GridView control to support some customization for our ADF framework, when I ran into the following error:

The table  must contain row sections in order of header, body, then footer.

This error occurred after I had enabled paging. On first hand, it seemed to me that this error was purely bad design, and the results I found on the internet seem to support that thought (e.g. this post).

Continue reading ‘GridView woes.’

Updated Download Counter to 1.0

The downloadcounter is updated again. This time, a problem found by Kerry and fixed by Niuray is added. Thank you both! You can find the new version of the download counter on the download counter page.

Reactivation of the plugin is not required with this update, unless you’ve skipped the previous update (that is, if you’re using a version prior to 0.6).

Updated DownloadCounter to v0.6

Today, I’ve released a new version of the download counter. New features include paging on the download log overview, logging of the current user, a PHP function which returns an array of information about the specified download and some new tags are introduced.

After upgrading, you’ll have to re-activate this plugin! You can find more info and the download here.

Updated DownloadCounter

The downloadcounter is updated again. This time, a request from long ago was added: paging in the download overview. I’ve also added others options to determine the mime type of a file to prevent wrong downloads, like The Tim has had with his PDF file. You can find the new version of the download counter on the download counter page.

Reactivation of the plugin is not required with this update, unless you’ve skipped the previous update (that is, if you’re using version 0.3).

Updated ExtProgressbar

The demo and source files added to the ExtProgressbar are updated to the correct version. Steve Medley notified me of the fact that he couldn’t change the orientation of the bar posted with the article. It seemed that the version posted with the article was a (very) old version, so I’ve updated the files to the correct version. Steve, thank you!

Please note, the solution and project files in the archives are for Visual Studio 2008 beta 2.

Using Team Foundation Server MSSCCI provider with Team Explorer 2008 beta 2

For one client we have a .NET 1.1 application, which can’t be upgraded at the moment. For that project, I use Visual Studio 2003 with the Team Foundation Server MSSCCI provider.

Last week, when my diskspace was running low (again), I decided to uninstall Visual Studio 2005 and Team Explorer 2005. I had already installed Visual Studio 2008 beta 2, so I only needed Team Explorer 2008 beta 2. I used the Team Foundation Server 2008 ISO to extract the Team Explorer 2008 beta 2, and installed that version.

When I fired up the .NET 1.1 project, the MSSCCI provider was missing a required assembly: Microsoft.TeamFoundation.VersionControl.Client, version 8.0.0.0, publickeytoken b03f5f7f11d50a3a. Of course, I should have known that Team Explorer 2005 is a requirement for the MSSCCI provider. However, I didn’t want to install Visual Studio 2005 only for Team Explorer 2005. There should be another way. Luckily, there is.

Continue reading ‘Using Team Foundation Server MSSCCI provider with Team Explorer 2008 beta 2′

Redirecting pages to posts

So nice. After releasing my previous plugin (download counter for wordpress), I found out that I’ve put a wrong URL in the plugin’s comment. Therefor, a nice amount of hits found the wrong page for support. An empty page, that is. With only a download link to the latest version, but nothing else. My fault completely, of course.

Continue reading ‘Redirecting pages to posts’

Updated DownloadCounter

Today I’ve updated the download counter to a new version. The first release seemed to contain a parse error, which is fixed by now.

This version also adds a overview of who downloaded which file and when it was downloaded. Also the referer is stored, so you can see where your downloaders are looking for your files.

You can download the updated version at the Download Counter page. Do not forget to re-activate the plugin, to create the new database table.