cpuidle.de hacked

August 1st, 2012

Dear all,

I was notified yesterday by my provider that my site had been hacked and was distributing malware. I do hope that I was able to not only fix the malware issue but also identify and close the entry door.

If you notice anything strange please send me an email or comment here.

Kind regards,
Andreas

Using CodeIgniter’s ActiveRecord implementation standalone

February 12th, 2010

I’ve recently been looking into PHP ORM frameworks. One framework that scored highly was CodeIgniter’s implementation of the ActiveRecord pattern.
Read the rest of this entry

Eclipse Timeline – Reloaded

July 15th, 2009

In 2008, Chen released an Eclipse plugin called “Eclipse Timeline”, allowing to display time-based events using an ajax widget inside an Eclipse view. Unfortunately, while the plugin was released under a BSD-style license, he never released the sources.

I’ve taken the time an revamped the plugin based on current Eclipse 3.5 and Mylyn 3.2 APIs.

To install the current version, you can use the Eclipse Timeline update site.

FireFox 3 extension security

November 22nd, 2007

As FireFox 3 (FF3) is now available as first public beta version at http://www.mozilla.com/en-US/firefox/all-beta.html, many users will realize that their add-ons don’t work any longer.
One possible cause is that the extension is provided through “insecure” update sites, i.e. not using HTTPS as transport protocol. To enable FireFox 3 loading updates from such sites, follow these steps:

  1. open about:config
  2. create new boolean value extensions.checkUpdateSecurity=false
  3. restart

HTTPS requests via proxy with Perl

September 20th, 2007

A common problem with not so many solutions on the web is submitting HTTPS requests using Perl’s LWP module. This works fine as long as no proxy is involved. When the request needs to pass a proxy, you find out quickly, that LWP is not able to handle proxies for HTTPS traffic. Instead, the underlying SSLeay library must be used to tunnel the traffic transparently.

The following code shows how to:


$proxy = 'http://user:pass@server';
$ua->proxy(['http'], $proxy);

$proxy = 'http://server';
$ENV{HTTPS_PROXY} = $proxy;
$ENV{HTTPS_PROXY_USERNAME} = user;
$ENV{HTTPS_PROXY_PASSWORD} = pass;

# working, http & https
my $req = HTTP::Request->new(GET => 'http(s)://site/');
my $res = $ua->request($req);
if ($res->is_success){
print $res->as_string;
}

The tricky part is that lwp will still needs the http_proxy to handle http requests correctly, but not https_proxy as it needs to pass down the requests to SSLeay.

CpuIdle for Vista (Beta)

June 9th, 2007

We’ve just released a CpuIdle test version supported on Windows Vista. Please download here and let us know of any issues.
Also added was support for SpeedFan temperature monitoring software. Motherboard Monitor continues to be supported as well.

WP-Cache 2.1.0 on Windows

March 16th, 2007

As written in this post, WP-Cache needs several modifications in order to run on Windows and/or IIS. Provided below is an updated version of latest WP-Cache 2.1.0 with all Windows/IIS fixes included.
WP-Cache 2.1.0 for Windows/IIS

Eclipse Common Navigator Framework in RCP Applications

November 30th, 2006

Eclipse is- amongst being an IDE and almost everything else- a powerful development environment for cross-platform rich client applications (RCP).

One particular feature of the Eclipse IDE is the framework for working with resource, more specifically the workspace resources. Michael Elder documented the Common Navigator Framework (CNF) in a series of articles in his blog.

Read the rest of this entry

WP-Cache on Windows (2.0.19)

November 10th, 2006

After writing the tutorial on how to get WP-Cache running on Windows, I’ve realized I could just make it a bit easier. Together with the latest WP-Cache release 2.0.19, I’ve build a preconfigured package.

Download wp-cache_2.0.19_win.zip.

CpuIdle on Windows Vista

July 6th, 2006

We’ve recently analyzed if CpuIdle can be supported on Windows Vista. The good news is: yes it can! However, due to changes Microsoft implemente in Vista, the are currently some constraints.

Due to user account control (UAC), CpuIdle is no longer able to access the registry keys required to allow CpuIdle to add itself to the programs run when Windows starts. No error message will be displayed, but CpuIdle also won’t start automatically. To work around this issue, the following options exist:

  • manually add CpuIdle to the AutoStart group
  • disable UAC in the Windows policies (this might cause security issues)

The third possible option would be to run CpuIdle with administrator rights (Right-click, Run As Administrator or use the compatibility options). The downside of this is that Windows does from now on display a security warning when starting CpuIdle.

Since Microsoft received a lot of criticism regarding UAC in Vista Beta2, we’re currently not rolling out an updated version with Vista support but will wait for Beta 3 and changes in UAC to be released.