The Wiert Corner – irregular stream of stuff

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

  • 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,570 other followers

Archive for the ‘Uncategorized’ Category

Linux shell / ESXi – scripts to get md5sum for sets of files in sorted and regular order

Posted by jpluimers on 2019/05/08

A few small scripts without any parameter checking are below.

The are based on these links:

find-in-datastores.sh

#!/bin/sh 
# Notes:
# the "find" parameter "-type l" only links, as they are the datastore aliases
# the "sed" appends a slash to all datastore paths
datastores_slashes=`find /vmfs/volumes/* -prune -type l | sed 's/$/\//' | xargs echo`
# find inside the datatastores with the arguments appended:
find $datastores_slashes $@

md5sum-sorted-and-regular.sh:

#!/bin/sh 
md5sums=`md5sum $@`
echo Regular:
echo "$md5sums"
echo Sorted:
echo "$md5sums" | sort

md5sum-of-find-in-datastores-by-name-sorted-and-regular.sh :

#!/bin/sh 
md5sum-sorted-and-regular.sh `find-in-datastores.sh -name $@`

Example usage:

# md5sum-of-find-in-datastores-by-name-sorted-and-regular.sh EN-10ENT-x64.vmx
Regular:
7f34fbceed59957a4b7feb13ef9327a1  /vmfs/volumes/Samsung512NVME/PSO.Template/VM/EN-10ENT-x64/EN-10ENT-x64.vmx
7f34fbceed59957a4b7feb13ef9327a1  /vmfs/volumes/Samsung850-2TB-S2KMNCAGB04321L/PSO.Inactive/VM/EN-10ENT-x64/EN-10ENT-x64.vmx
7f34fbceed59957a4b7feb13ef9327a1  /vmfs/volumes/Samsung850-2TB-S3D4NX0HA01043L/PSO.Inactive/VM/EN-10ENT-x64/EN-10ENT-x64.vmx
Sorted:
7f34fbceed59957a4b7feb13ef9327a1  /vmfs/volumes/Samsung512NVME/PSO.Template/VM/EN-10ENT-x64/EN-10ENT-x64.vmx
7f34fbceed59957a4b7feb13ef9327a1  /vmfs/volumes/Samsung850-2TB-S2KMNCAGB04321L/PSO.Inactive/VM/EN-10ENT-x64/EN-10ENT-x64.vmx
7f34fbceed59957a4b7feb13ef9327a1  /vmfs/volumes/Samsung850-2TB-S3D4NX0HA01043L/PSO.Inactive/VM/EN-10ENT-x64/EN-10ENT-x64.vmx

–jeroen

Posted in Uncategorized | Leave a Comment »

chrome://settings/clearBrowserData to clear Chrome browser cache

Posted by jpluimers on 2019/05/06

The quickest way for me to clear the Chrome browser cache is to:

  1. navigate to chrome://settings/clearBrowserData,
  2. tick “Cached images and files”
  3. click “Clear Data”

Done.

Much faster than [WayBack] Clear cache & cookies – Computer – Google Account Help:  When you use a browser, like Chrome, it saves some information from websites in its cache and cookies. Clearing them fixes certain problems, like loading or formatting issues on sites.In Chrome

–jeroen

Posted in Uncategorized | Leave a Comment »

Commodore 1965 logo design by late Chris Yaneff from Canada

Posted by jpluimers on 2019/04/29

The original logo of Commodore International – Wikipedia, via a few sources including:

Jack Tramiel eventually left Commodore International, bought the Atari parts and moved on.

Commodore International died on my birthday at April 29, 1994.

I think the logo is still a wonderful design.

More historic information on the logo and Chris – he was a great designer:

–jeroen

Read the rest of this entry »

Posted in Uncategorized | Leave a Comment »

Friends+Me Google+ Exporter Support

Posted by jpluimers on 2019/04/02

https://www.reddit.com/r/FMGE_Support/

Posted in Uncategorized | Leave a Comment »

GitLab notifications

Posted by jpluimers on 2019/03/26

If I ever need to do something with GitLab notifications more than just look at the web-ui:

–jeroen

Posted in Uncategorized | Leave a Comment »

 
%d bloggers like this: