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,345 other followers

macos – Right-click, create a new text file. How? – Ask Different

Posted by jpluimers on 2018/02/14

I’m still amazed this is not in stock Mac OS X:

In Finder > Select a folder > Right click, we get a popup with an option to create a new folder:Is there a way to add menu item New Textfile for adding a new text file?

[WayBackmacos – Right-click, create a new text file. How? – Ask Different

One way is to use Automator scripts, but: scripting…


Posted in Apple, Automator scripts, Development, iMac, Mac, Mac OS X / OS X / MacOS, MacBook, MacBook Retina, MacBook-Air, MacBook-Pro, MacMini, macOS 10.12 Sierra, OS X 10.10 Yosemite, OS X 10.11 El Capitan, OS X 10.9 Mavericks, Power User, Scripting, Software Development | Leave a Comment »

Some useful commands for Proxmox high IO troubleshooting

Posted by jpluimers on 2018/02/13

After trying to move an operating system from one disk to another, Proxmox stalled the console and ended up in a really high I/O delay.

These commands helped me finding out what was wrong:

apt-get install iotop
ps -aux | grep usbbackup
ps -aux | grep rsync
zpool status
qm list
qm unlock ###
qm stop ###

Somehow Proxmox was thinking the VM ### was still in use, but on Linux level it wasn’t:

# lvscan
ACTIVE '/dev/pve/swap' [8.00 GiB] inherit
ACTIVE '/dev/pve/root' [27.75 GiB] inherit
ACTIVE '/dev/pve/data' [62.04 GiB] inherit
ACTIVE '/dev/pve/vm-###-disk-1' [40.00 GiB] inherita


Posted in *nix, Power User, Proxmox, Virtualization | Leave a Comment »

Always watch your uA sources: The mystery of the Zombie RAM |

Posted by jpluimers on 2018/02/13

Interesting read [WayBack]: The mystery of the Zombie RAM | that starts with

It all started one bright morning when I wondered: Can the RAM memory on an AVR chip continue to store data after power is removed? If it can hold the data even just for a brief moment, then…

TL;DR: Always watch your uA sources. Or like Lübbe Onken puts it on G+:

In my first company, we had built a piece of hardware, which turned itself on mysteriously sometimes. We found out that this was caused by a status led that created enough current in bright sunlight.




Posted in Arduino, Development, Hardware Development | Leave a Comment »

Nikon AF modules reference table

Posted by jpluimers on 2018/02/12

For my link archive: [WayBackNikon AF modules reference table

Posted in LifeHacker, Power User, Uncategorized | Leave a Comment »

Using a Mac for prepping the SD-card for an ODROID-C1+

Posted by jpluimers on 2018/02/12

Some notes based on The woods and trees of OpenSuSE on single-board computers – image abbreviations – and getting it installed using OS X « The Wiert Corner – irregular stream of stuff.

I needed to get Ubuntu on an ODROID-C1+ (as it looks like nobody is maintaining a current OpenSuSE for it).

Installing the ODROID-C1+ image using OS X

Download image

Download either of these (note that “minimal” is different from “mate minimal”; see from

Put image on SD card

I installed on a 8 gigabyte SD card that revealed itself as /dev/disk1 using this diskutil command (via osx – List all devices connected, lsblk for Mac OS X – Ask Different [WayBack])

diskutil list

So this wrote the image to SD card in a sudo su - prompt:

unxz --keep ubuntu-16.04-minimal-odroid-c1-20160817.img.xz; \
diskutil umount "/dev/${targetDevice}s1"; \
dd bs=1m of="/dev/r${targetDevice}" if=ubuntu-16.04-minimal-odroid-c1-20160817.img; \
sync; \
diskutil list; \
diskutil eject "/dev/${targetDevice}"

Boot and first time steps on Odroid

Use the default user and password that [WayBackODROID Forum • View topic – Ubuntu Minimal User / Password mentions:

odroid login: root
Password: odroid

From there, create a new user and add it to the sudo group (I used visudo to check the correct group for sudoers) :

adduser jeroenp
addgroup jeroenp sudo

And then hook it up to the network and get the IP address:


Now you can ssh into the odroid with user jeroenp and the password assigned to it. You can also perform a sudo su - to get to root level.

ssh and configure a few things

First of all, install etckeeper as it’s a life saver:

apt-get install etckeeper

This will install some other packages, but that’s OK; it will end suggesting you to enter email address, name and perform an initial commit:

Initialized empty Git repository in /etc/.git/

*** Please tell me who you are.


  git config --global ""
  git config --global "Your Name"

to set your account's default identity.
Omit --global to set the identity only in this repository.

fatal: unable to auto-detect email address (got 'root@odroid.(none)')
etckeeper commit failed; run it by hand

Do that:

cd /etc
git config --global ""
git config --global "Example User"
git commit -m "initial commit"

Now perform these steps:

  1. Change the root password
  2. Disable etckeeper daily autocommits
  3. Change the hostname
  4. Update/Upgrade/Distribution-upgrade
  5. Fix the cursor in console mode

Change root password:

# sudo su -
# passwd
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully

Disable etckeeper daily autocommits involves one line in /etc/etckeeper/etckeeper.conf:


Change the hostname; assuming your new host name is newHostName.

  1. edit /etc/hosts and replace the old hostname with newHostName
  2. Perform these commands:
    hostnamectl set-hostname newHostName
    exec bash
    hostname -f

Both the command prompt and the hostname output should show newHostName.


apt-get update
apt-get upgrade

Fix the cursor in console mode:

Somehow the Odroid C1+ does not support a blinking hardware text cursor.



Posted in Development, Hardware Development, Linux, Odroid, openSuSE, Raspberry Pi, SuSE Linux, Tumbleweed, Ubunto | Leave a Comment »

%d bloggers like this: