Spyke

Posts

ancientegypt·Ancient Egyptbynixx

(Crosspost) Ancient Egyptians invented an early form of the pin-tumbler lock.

cross-posted from: https://piefed.social/c/[email protected]/p/2415449/til-that-ancient-egyptians-invented-an-early-form-of-the-pin-tumber-lock-notes-in-post

TIL that Ancient Egyptians invented an early form of the pin-tumbler lock. (notes in post)

A pin tumbler is a component within a cylinder lock that, along with others, prevents movement unless the correct key is used. Locks themselves are mechanical devices designed to secure doors or receptacles, requiring a key or specific manipulations to open. The pin tumbler lock, a modern adaptation of an ancient Egyptian principle, uses pins of varying lengths that must be lifted to precise heights by the key's serrations to allow the cylinder to turn. This mechanism, evolved by Linus Yale Jr., is now widely used for its security and numerous combinations. --Britannica


https://cdn.britannica.com/62/2162-004-E62563D4/Egyptian-lock.jpg


https://images.squarespace-cdn.com/content/v1/628d0045aafd10049d4b1c21/21e1a614-c47a-482a-a3af-16caef3aa8c8/egyptian+lock.jpg

Locks, in various rudimentary forms, have been used for millennia, but the ancient Egyptians elevated this essential security tool to an art form. The earliest evidence of locks in Egypt dates back to around 2000 BCE, during the Middle Kingdom period. These locks were simple but effective devices made of wood and operated with a wooden key.

Design and Construction

Ancient Egyptian locks were crafted with remarkable precision and attention to detail. Typically made of wood or bronze, these locks were designed to withstand the test of time. The lock mechanism itself often comprised a series of pins or tumblers that had to be aligned in a specific way to allow the bolt to be withdrawn...

Ancient Egyptian Locks: A Journey into Millennia-old Security:
https://cronolock.ca/the-lock-blog/unveiling-the-secrets-of-ancient-egyptian-locks-a-journey-into-millennia-old-security

View original on lemmy.ca
15

Creating a local VMwae software mirror using aac-lib/vsm

I needed to have a local mirror of VMware software, and logging into my.vmware.com, downloading, and then uploading was becoming tiresome.

I tried the VMware software solution, but:

  1. Windows only
  2. Borke all the time.

Then I found this:

Texiwill/aac-lib

It needs several packages pre-installed, but it mostly takes care of everything, as of now, it is running on a CentOS machine, the following script is running via cron daily, you will need to git pull acc-lib first.

#!/bin/bash
#
_USERNAME="my vmware account"
_PASSWORD="my vmware password"

cd ~aac-lib/vms
git pull

for _REPO in $(cat ~/vmware-repos.txt) 
do
  ./vsm.sh -c -y -nc --symlink --fav $_REPO -u $_USERNAME -p $_PASSWORD
done

Content of the vmware-repos.txt are similar to this, if you run vsm.sh you will understand the naming convention

Datacenter_Cloud_Infrastructure_VMware_Tools_12_x_VMware_Tools
Datacenter_Cloud_Infrastructure_VMware_vSphere_8_0_Enterprise_Plus
Infrastructure_Operations_Management_VMware_vRealize_Log_Insight_8_8

And here is a sample .vsmrc to get you started, I put everything in /data, which is a separate partition of about 4TB at the moment:

repo='/data/vmware-content'
cdir='/data/vmwarevsmxml'
symlink=1

I then export the vmware-content directory via a web server, just a nginx with FancyIndexing enabled, and also via NFS and FTP.

If you need more details, ask away.

I have been using this for a couple of years now, it rarely fails me.

View original on lemmy.ca
1

You reached the end