The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My work

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 1,811 other followers

Archive for September 20th, 2016

Studenten Universiteit Eindhoven ontwikkelen slimme stopcontacten – Beeld en geluid – Nieuws – Tweakers

Posted by jpluimers on 2016/09/20

Studenten van de Universiteit van Eindhoven hebben een stopcontact ontwikkeld dat bestuurd kan worden met een app en op basis van beweging en tijdschema’s apparaten aan- en uit kan zetten. De Aucasi Socket verschijnt aanstaande zondag op Kickstarter.

Source: Studenten Universiteit Eindhoven ontwikkelen slimme stopcontacten – Beeld en geluid – Nieuws – Tweakers

Posted in Power User | Leave a Comment »

How to downgrade firmware on HP OfficeJet Pro 8610 to allow using old or refilled cartridges – Brozkeff’s lala-land

Posted by jpluimers on 2016/09/20

Source: How to downgrade firmware on HP OfficeJet Pro 8610 to allow using old or refilled cartridges – Brozkeff’s lala-land

via:

Posted in HP Printer Drivers, Power User, Printer drivers, Windows | 2 Comments »

SysInternals sdelete: zero wipe free space is called -z instead of -c

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 »

Batch files to show the User/System environment variables stored in registry – via: Stack Overflow

Posted by jpluimers on 2016/09/20

I wrote two tiny batch files that would dump the environment variables from the registry.

Various reasons:

  1. 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).
  2. 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 »

 
%d bloggers like this: