11 June, 2025

Copy all .docx files in subfolders to a certain directory

Case: 

My students hand in dissertations as .pdf files and my notes to exam are written in the Microslows Word. Now I want to have all files in one place in order to print them out.


Solution:

Do thus:

# cp -r */*.docx NAME-OF-DIR/

if that be your will.


03 June, 2025

Dropped out of social media

I've dropped out of several SoMe channels. Some years ago I dropped Facebook. Then Twitter after Mr. Elon's behavior. Recently I've dropped LinkedIn. 

By now my only SoMe channel is YouTube. However the adds on YouTube are more and more annoying. On my television the YouTube app is almost useless. You have to watch 30 seconds of bullshit before you see something. Then the video will run. After a minute or less the next bullshit add comes up. I fear that this will just become worse and worse. However, on the odd PC DuckDuckGo has an effective add blocker and video viewer. But I miss this opportunity for YouTube on the tele. 

To me the SoMe channels became more and more irrelevant. They may be the playground for a plethora of ads, updates from spindoctors, unwanted notifications and selfpromoting influencers. 

"You can hit me all you want to 

But I don't need you any more ..."

Lou Reed from Caroline Say's.


Excell: Show the name of the day and the date

Formatting days and dates is not as complicated as I thought. 

Rightclick on the cell, choose "Format Cell". This will open the dialog where you can define what you want to see. 

The cell could  be formatted like this:

dddd dd.mm 

  • dddd = will give you the entire name of the day, e.g. monday.
  • dd = will give you the day of the month.
  • mm = will give you the month
If you add yy to the formula you'll get the year too.

Now you can so something along these lines:



08 May, 2025

[SOLUTION] MacBook Air: MS Teams - button not working

 I could not enter meetings, because the participate button did not respond. Solution: uninstall MS Teams app and restart the system. Then it worked again. 

02 May, 2025

Booogle.net - what a scam

 For some reason Booogle.net wordcloud blocked my PDF's for years. By accident I found out that it is an app add on to google drive. BS app! It's removed - and now I can see my PDFs.

[SOLUTION] GPG: Expired Subkey

 # gpg --edit-key KEY-ID

In the gpg prompt:

# > key 1

(the selected key is marked with an asterisk. You can select several subkeys.)

# > expire

(Set expiration time)

# > trust

(Set trust level)

30 April, 2025

Samsung S24 and Galaxy devices: Notification Nightmare

Why is it so hard to kill the fucking notification sounds on Galaxy devices? 

Even though I have disabled notification sounds the device does not respect my choice. This is idiotic. After two years I'm still looking for a solution - or I have to silence apps that were sileced before.

After several years it's still a problem. 

28 April, 2025

[SOLUTION] Macbook Air with screen and USB Webcam

 If you add an external HDMI adaptor like my USB-C Hub with PD 100w you cannot add the cam. This is strange. However my external screen has two USB slots. Here the cam works. As a bonus the wires will be hidden by the screen.

26 April, 2025

Linux / Unix: pass and gpg setup

The documentation from pass does not tell you how to connect pass with a gpg key. The MacOS steps are:
  • >>brew install pass
  • >>pass init "Name of your store string"
  • >>gpg --full-generate-key
  • >>gpg --list-keys
  • Now copy the name of the relevant key
  • >>pass init ajdfljdalfjalfjladfalsdfjljflafihei8ytaio
  • pass insert test
  • Pass will prompt the test passwords, give them
  • >>pass test
  • Then GPG will ask for the password.
In a Linux system, the steps are similar, but you'll have to install pass according to your variant of Linux. E.g. on Ubuntu use:

>> sudo apt install pass

Pass: Export to other systems

This solution from a block post by Ryan Himmelwright was a great help: https://ryan.himmelwright.net/post/setting-up-pass/ 

Quote: 

"The thing that we can do is first of all set up a github, gitlab, or whatever repo with pass password database. For that we'll have to install pass-git-helper, it's in the AUR if you're on Arch. Then we'll set up a git repo:

pass git init
pass git remote add origin <url>
pass git add -A
pass git commit -m "initial commit"
pass git push -u origin master

This will push all passwords to git repo, make sure the git repo is private.

Now we'll back up the GPG key:

gpg --export-secret-keys $ID > my-private-key.asc

Copy the file my-private-key.asc to a USB drive or whatever storage device you have before wiping disk.

To restore the passwords again, copy the private key file to the new system and of course, don't forget the passphrase of GPG key and then run these commands:

gpg --import my-private-key.asc
git clone <url> ~/.password-store/

See this thread: https://superuser.com/questions/1722240/how-to-backup-passwords-from-pass