Page 22 of 23

Dynamic Images

WhatPulse really benefited from the WSI (WhatPulse Signature Images) services, which I kinda missed when it went down. I’ve been working on a replacement tied directly to WhatPulse the last few weeks, and it’s ready for a beta. Check: http://forums.whatpulse.org/showthread.php?t=5254

Read more

Another Snow Leopard issue – Juniper’s Network Connect

Another Snow Leopard issue; Juniper’s Network Connect application (from the great Secure Access series) wouldn’t work anymore. It started, but when connecting, it gave the very descriptive error: “Cannot connect!”

Hidden away in the Juniper forums I found the solution:

6.4.0 being your local version.

Read more

Snow Leopard upgrade – iPod gone?

I’ve enjoyed the new release of Snow Leopard for a while now, but just attached my iPod nano for the first time. Darn thing didn’t seem to want to show up in iTunes. It did it Finder, so there wasn’t anything wrong with a cable or the iPod itself.

Google/apple’s support-site didn’t say quite a lot about it, but I found the solution: Pop your Snow Leopard DVD back in your player and start the ‘Optional’ installer. You can select ‘iPod Support’ in there. Once the installer is done, restart iTunes and reattach the iPod. It is now back in … Read more

How cool is this.

Read more

WhatPulse Linux Beta

http://forums.whatpulse.org/showthread.php?t=5014 – Get it while it’s hot!

Read more

Snapshot hell: Recover a locked vmdk

I’ve had my share of battles with corrupt vmdk files, after the process of removing a snapshot crashed. Finally, I found a way to recover them through a VCB utility. Here’s the log that usually presents itself:

May 12 01:43:13.593: vmx| DISKLIB-DSCPTR: Failed to open extents for descriptor file in normal mode
May 12 01:43:13.593: vmx| DISKLIB-LINK : “/vmfs/volumes/49dc603e-af139aaa-7131-002219b6f201/VM1/VM1.vmdk” : failed to open (Device or resource busy).
May 12 01:43:13.593: vmx| DISKLIB-CHAIN : “/vmfs/volumes/49dc603e-af139aaa-7131-002219b6f201/VM1/VM1.vmdk” : failed to open (Device or resource busy).
May 12 01:43:13.594: vmx| DISKLIB-LIB : Failed to open ‘/vmfs/volumes/49dc603e-af139aaa-7131-002219b6f201/VM1/VM1.vmdk’ with flags 0xa (Device or resource busy).
May

Read more

PHP4 IPv6 validation

Incase you don’t have the luxury of PHP5’s filter_ functions, this is a handy regexp:

function validate_ipv6($ip)
{
$hex = ‘[A-Fa-f0-9]’;
$h16 = “{$hex}{1,4}”;
$dec_octet = ‘(?:25[0-5]|2[0-4]d|1dd|[1-9]d|[0-9])’;
$ipv4 = “$dec_octet.$dec_octet.$dec_octet.$dec_octet”;
$ls32 = “(?:$h16:$h16|$ipv4)”;
$ipv6 = “(?:(?:{$IPv4address})|(?:”.
“(?:$h16:){6}$ls32” .
“|::(?:$h16:){5}$ls32” .
“|(?:$h16)?::(?:$h16:){4}$ls32” .
“|(?:(?:$h16:){0,1}$h16)?::(?:$h16:){3}$ls32” .
“|(?:(?:$h16:){0,2}$h16)?::(?:$h16:){2}$ls32” .
“|(?:(?:$h16:){0,3}$h16)?::(?:$h16:){1}$ls32” .
“|(?:(?:$h16:){0,4}$h16)?::$ls32” .
“|(?:(?:$h16:){0,5}$h16)?::$h16” .
“|(?:(?:$h16:){0,6}$h16)?::” .
“)(?:/(?:12[0-8]|1[0-1][0-9]|[1-9][0-9]|[0-9]))?)”;

$regex = “/^$ipv6$/”;
return preg_match($regex, $ip);
}

Read more

© 2018 Lostdomain

Theme by Anders NorénUp ↑