Archive for September, 2016
Posted by jpluimers on 2016/09/20
In the 2009 past, sdelete used the -c parameter to zero wipe clean a hard drive and -z would clean it with a random pattern.
That has changed. Somewhere along the lines, -c and -z has swapped meaning which I didn’t notice.
This resulted in many of my virtual machines image backups were a lot larger than they needed to be.
The reason is that now:
-c does a clean free space with a random DoD conformant pattern (which does not compress well)
-z writes zeros in the free space
Incidently, -c is a lot slower than -z as well.
TL;DR: use this command
sdelete -z C:
Where C: is the drive to zero clean the free space.
–jeroen
Posted in Batch-Files, Development, Fusion, Hyper-V, Power User, Proxmox, Scripting, sdelete, Software Development, SysInternals, View, VirtualBox, Virtualization, VMware, VMware ESXi, VMware Workstation, Windows | Leave a Comment »
Posted by jpluimers on 2016/09/20
I wrote two tiny batch files that would dump the environment variables from the registry.
Various reasons:
- Environment variables can be stored in two contexts: System and User (SET will show them all at once and for instance combine PATH up to 1920 characters).
- Environment variables can be set to auto-expand or not, which you cannot see from a SET command (REG_EXPAND_SZ versus REG_SZ).
show-user-environment-variables.bat:
reg query "HKCU\Environment"
show-system-environment-variables.bat:
reg query "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment"
Filtered results:
Read the rest of this entry »
Posted in Batch-Files, Development, Power User, Scripting, Software Development, Windows, Windows 7, Windows 8, Windows 8.1, Windows 9, Windows NT, Windows Server 2000, Windows Server 2003, Windows Server 2003 R2, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2, Windows Vista, Windows XP | Leave a Comment »
Posted by jpluimers on 2016/09/19
A solution for:
The problem with Google Now’s predictions though is that sometimes they can be inaccurate from the start or take a little longer to adapt to change. Moved your home? Switched jobs? Went for a month or two to a vacation house? Google Now might stubbornly want to keep your old addresses.
Source: PSA: Manually Assign Any Coordinates As Your Home Or Work Address In Google Maps And Google Now
–jeroen
Posted in Google, GoogleMaps, GoogleNow, Power User | Leave a Comment »
Posted by jpluimers on 2016/09/19
Interesting as foldable bills and around 12 plastic cars plus a few coins fit in: Very Small – Slim Leather Wallets by Bellroy.
–jeroen
Posted in LifeHacker, Power User | Leave a Comment »
Posted by jpluimers on 2016/09/19
See all the data your browser reveals about you by visting a website.
Source: What every Browser knows about you
Posted in Chrome, Firefox, Internet Explorer, Opera, Power User, Safari, Web Browsers | Leave a Comment »
Posted by jpluimers on 2016/09/16
A modification to fit a 3.5 mm stereo socket to the front face of a Becker Mexico Cassette to allow use of mp3 players and the like but still retaining AM/FM radio and cassette functions.
Source: W116 : Mercedes-Benz S-Class – 280S, 280SE, 280SEL, 300SD, 350SE, 350SEL, 450SE, 450SEL & 450SEL 6.9
Interesting…

We’ve such a receiver in our classic car (see 1970 Becker Mexico AM-FM Cassette Car Radio showing operation & sound – YouTube « The Wiert Corner – irregular stream of stuff).
It would be a great way to add AUX to it, but I’d rather not modify the front-panel. Since the 450SEL69 has plenty of room, I will try to see if the above instructions can make the cable external so the AUX connector will be either near the arm rest or the glove compartment.
–jeroen
Posted in cars, LifeHacker, Power User, W116 | 2 Comments »
Posted by jpluimers on 2016/09/16
Often it is better to configure more than just a single pool.ntp.org server in case the IP-address of the name gets cached too long and it becomes unresponsive during that period.
So it is better to configure multiple, choose from this list from [WayBack] pool.ntp.org: How do I setup NTP to use the pool?.
0.pool.ntp.org
1.pool.ntp.org
2.pool.ntp.org
3.pool.ntp.org
Here are the steps for one server where you need to repeat the steps after entering pool.ntp.org:
To configure NTP on ESX/ESXi 4.1 and ESXi 5.x hosts using the vSphere Client:
- Connect to the ESX/ESXi host using the vSphere Client.
- Select a host in the inventory.
- Click the Configuration tab.
- Click Time Configuration.
- Click Properties.
- Click Options.
- Click NTP Settings.
- Click Add.
- Enter the NTP Server name. For example, pool.ntp.org.
- Note: When entering the multiple NTP Server names, use a comma (,) followed by a space ( ) between the entries.
- Click OK.
- Click the General tab.
- Click Start automatically under Startup Policy.
- Note: It is recommended to set the time manually prior to starting the service.
- Click Start and click OK.
- Click OK to exit.
–jeroen
via:
Posted in ESXi4, ESXi5, ESXi5.1, ESXi5.5, Power User, Virtualization, VMware, VMware ESXi | Leave a Comment »
Posted by jpluimers on 2016/09/15
7-zip can uncompress a truckload of formats, but what if you need formats it doesn’t support or you want to integrate decompression in your own software?
Then some libraries can be really useful provided you regularly update them (otherwise you – like Symantec – can run in substantial security risks).
Formats supported:
Pre-compiled console wrappers around libmspack for many platforms.
Libraries and pre-compiled console applications for many platforms.
Background on CHM files.
–jeroen
Via:
Symantec dropped the ball here. A quick look at the decomposer library shipped by Symantec showed that they were using code derived from open source libraries like libmspack and unrarsrc, but hadn’t updated them in at least 7 years.
Source: Project Zero: How to Compromise the Enterprise Endpoint
Posted in 7zip, Compression, Development, Power User, Software Development | Leave a Comment »