iPK Combo 1.3 Release

November 11th, 2012

Today I have noticed that I have not touched the gadget code for over a year and most probably I will not touch it anylonger, so I have decided to release what I have got. The version is stable as I have been running it for over a year. A little cleanup and - voila. Few features are added and many will stay in todo list forever.

Proud to share the gadget that has no memory leacks and can run for years.

Please go to the original iPK Combo post for download information.

Happy to hear your feedback in the comments!

iPK Combo 1.2 Release

July 8th, 2011

It’s been a long journey spending hours every evening working towards identifying and fixing hung issue of gadget under Internet Explorer 9. I thought I did it numerous times, but I was not there yet at that moment as time testing showed. Again, majority of code has been revised and rewritten and every line has been under suspect.

Luckily, I have come up to conclusion on how to handle this freezing/hanging issue properly, so gadget will no longer bother you on your Windows shutdown or closing Settings screen.

I couldn’t leave new release without any new features, since many would not find the reason to upgrade, so I checked by notes on what was wanted and added System Drives utilization information.
Unlike other gadgets showing Drives information I have seen on the Gallery, I have made my gadget show all your ready drives by default and you can configure exceptions instead. This way, whenever you plug in flash drive or mount a network drive - the gadget will automatically pick it up and expand the gadget with one more line representing the Drive. Similarly, if you unplug the drive - it will disappear from the gadget dynamically. All animated, of course, and simply working out of the box.

As there might be more releases going forward, I decided to add check for an update, so that you would know exactly when new version is available for your download. Once new version is out - you will see notification on the gadget with a link to download page.

Way too many improvements are delivering with this release, but they are so behind the scene, that you will not notice, so no need to list them except that it will use slightly less CPU now after running for a while.

Please go to the original iPK Combo post for download information.

Leave me your feedback! That’s all my motivation for this free software

iPK Combo 1.1 Release

March 22nd, 2011

Hello Folks,

This is to let you know it has passed a year since the original release of iPK Combo 1.0 Windows Gadget. Your feedback has turned me on and I have created time for developing new update - thanks for your feedback!
Please go to the original iPK Combo post for download information.

I started with IE9 transparency fix which turned to be an easy fix, but at that time I could not stop developing more features I have heard from you guys!

One of the wishlist contained adding grey color and I decided to redraw signal and battery graphics that way, to enable you picking any colors you want to enable smooth fade between these custom colors.

The next step was to enable you guys picking the color comfortably without entering the hex of it - that is where I have come up with a great deal - Color Picker by Stefan Petre. Modified a little to fit our size and needs.

Next step was redoing the Properties page to fit all the data handy in tabs and adding sliders to change animation speed and external IP refresh interval.

Then I noticed that there was no way to show any of the IP addresses without showing the signal, so I have redone the code to enable this as well.

Then I noticed that a nice little globe that I love is not seen any often as it only shows when checking external IP and hides when it is done, but since IP is returned so fast - the globe does not appear at all, so I decided to add a little delay before it hides so we could enjoy its rotation - hope you like it.

I also noticed that if an access point is longer to fit within small area - I was simply hiding overflow, but it was done by the space as a delimiter, so potentially if you have a long name of access point without spaces - it could not show at all. I switched this behavior to make the digits longer than 10 a bit more invisible and continue under percentage.

Another important finding to me was that there was a minor memory leak when you consume animation and a little performance tweaking project started. I have revised the code removing unnecessary variables wherever I spotted the case and could not spotted the leak. I got help of the tool called Drip, but the leak was not that simple to be identifiable. Nevertheless, I have identified the leak and fixed it.

Hope this update with release my hands out of the code for a while and enable my wife using all my free time :)

Thank you for using iPK Combo gadget! Cheers!

setTimeout memory leak

March 20th, 2011

For those who use setTimeout function in Javascript - do not pass name of function you want to trigger as a sting. If used with string - Javascript will use EVAL to execute it - this is creating a memory leak if used for instant loop. Garbadge collector will not clear the memory after calling clearTimeout and delete setTimeout object. Insted of using string - use blank funtion and put funtion you want to trigger inside. This will not involve EVAL, but will generate a pointer that Garbadge collector will handle and free up memory.

// generates memory leak:
myTimeout = setTimeout(”myFunction()”, 1000);
// no memory leak (no parameters to pass):
myTimeout = setTimeout(myFunction, 1000);
// OR:
myTimeout = setTimeout(function() { myFunction(); }, 1000);

Unfortunately, all the the samples of setTimeout function out there in the internet are passing string as parameter. Hard to identify memory leak, but it is there.

Photo Gallery

October 10th, 2010

I have finally set my photo gallery to share some personal photos. Primarily for my personal use, but what a hell - I am willing to share them :)

You can access it here: Gallery

Transmission All-in-One manage script

October 9th, 2010

Hello Guys,

I would like to share with you script that I was working on time-by-time for past month or two. I was originally using numerous scripts I found over the web to do what I need, but non of them were able to manage Transmission queue on My Book due to the bug related to this system that prevent showing torrent status (Stopped/Download/Seed) correctly from transmission-remote list output.
So I start developing my own script to use debug mode of Transmission Remote and parse JSON within bash to properly identify torrent state and to apply manage logic. Finally I end-up with single script to do everything I would think of someone would need from Transmission.

Let’s call it Transmission All-in-One manage script. Version 1.0


  • Install/UnInstall startup and shutdown scripts (overwrites default Optware scripts)
  • Enable/Disable startup of Transmission on boot as check flag
  • Start/Stop/ReStart of Transmission
  • Stability fix by setting EVENT_NOEPOLL=1; EVENT_NOEVPORT=1; EVENT_NODEVPOLL=1
  • Updating Blocklist from download.m0k.org
  • Edit Transmission config file and if changed force Transmission to re-read config file
  • Watch Transmission and Restart if not responding
  • Status of torrents in Transmission Remote native output format
  • Torrents Queue manage:
    • start and stop torrents according to MAX_TO_DOWNLOAD and MAX_TO_SEED values
    • stop seeding once Max Ratio is reached
    • respects ratio-limit from Transmission config file
    • move torrent data to Complete folder once enough seeded and remove from Transmission list if succeeded
    • use minimum calls to Transmission Remote
    • watch check included
    • overcome torrent Status bug on WD MyBook system by parsing JSON instead of regular list output


cd /opt/bin
wget -O transmission http://pavel.kuzub.com/scripts/transmission
chmod a+x transmission
transmission install

CRON Jobs:

#Transmission Queue Control every 5 minutes
*/5 * * * * /opt/bin/transmission queue

#Transmission Restart every 2 hours as stability workaround
0 */2 * * * /opt/bin/transmission restart


# Start Transmission
transmission start

# Stop Transmission
transmission stop

# Call Boot procedure
transmission startup

# Enable starting Transmission on boot procedure
transmission startup on

# Disable starting Transmission on boot procedure
transmission startup off

# Show Transmission Remote List
transmission status

# Restart Transmission
transmission restart

# Open VI (or another editor) to edit settings.json
transmission edit

# Watch Transmission and kick if needed
transmission watch

# Queue manage (for CRON)
transmission queue

# Install startup and shutdown scripts
transmission install

# Uninstall startup and shutdown scripts
transmission uninstall

# Show commands
transmission usage

Community discussion:

WD MyBook World Edition

iPK Combo

March 21st, 2010

Gadget shows Wireless signal, Access point name, Wireless IP, External IP, CPU load, Free RAM memory, System Drives utilization, Laptop battery level and estimated time of battery life.

Introduce smooth animation and complete customization - you control exactly what items you want to see, animation speed, color pattern, etc.

Greetings goes to iSlayer for original gadgets that inspired me.

Download iPK Combo 1.3

Gadget use PHP script that is hosted on this website as well as ipchicken.com to identify your IP address. This can be changed in gadget settings - any webpage that is showing your external IP can be used - gadget will find the IP address on that page.

More Screenshots: one, two, three, four

What’s New in 1.3:

  • New: CPU average by default with option to show per unit
  • New: Refresh timings are configurable
  • New: Improved color preview in settings
  • Fix: Changed alternative IP address provider
  • Fix: Compatibility issue on XP (on ported Sidebar)

What’s New in 1.2:

  • Fix: Freezing/Hang issue on IE9
  • Fix: Massive CPU and memory usage improvemets
  • New: System Drives added
  • New: New Version notification
  • New: many minor improvements

What’s New in 1.1:

  • Fix: IE9 transparency bug
  • Fix: Minor memory leak fixed
  • Fix: Enable Show IP whithout Signal
  • New: Skin custom color and fade
  • New: Redesigned graphics
  • New: New Properties page
  • Minor optimizations

Lytebox 3.20 Modification

September 9th, 2007

This page is a brief demonstration of additional functionalify of Lytebox by Markus F. Hay. I took version 3.20 as a base and have added things I want too see there. Take a look by clicking on links below:

Click to Close
Next features Demo
Test them on Slideshow
Single Slideshow
Google in Lyteframe
Yahoo in Lyteframe

New features:
- Show Hints
- Click to Close
- Easy Save
- Show Additional Infomation page
- Show image EXIF information
- Button to resize big images
- Save button (disabled in this demo)
- All text strings are in config area (easy localization)
- Frame tweeks
- and other minor code tweeks (you can now compress JS file with no further execution errors)

Download: lytebox_mod.zip

Pavel Kuzub

Thanks for Jim Bertucci, for his initiative and his photos used in this demo.

школа современных танцев в голосеевском районе go