Notities

Notities

ing. M.A.C.M. (Martijn) van den Boom

Computer Infrastructure Engineer
ingenieur, docent en mentor

Social Media Links:

ing. M.A.C.M. (Martijn) van den Boom

1-Minute Read

See below an example script to display a SUCCESS message in green or a FAILED message in red, right-aligned at the end of the line. #!/bin/bash # Set the message success_message="Your command was successful" failed_message="Your command failed" # Set the "OK" string in green ok="$(tput setaf 2)[SUCCES]$(tput sgr0)" failed="$(tput setaf 1)[FAILED]$(tput sgr0)" # Get the width of the terminal term_width=$(tput cols)+9 # Calculate the number of dots needed...

ing. M.A.C.M. (Martijn) van den Boom

1-Minute Read

Checkmk installation on Rocky Linux 9.3 dnf install epel-release setsebool -P httpd_can_network_connect 1 firewall-cmd --zone=public --add-service=http --permanent firewall-cmd --reload wget https://download.checkmk.com/checkmk/2.2.0p18/check-mk-raw-2.2.0p18-el9-38.x86_64.rpm yum install check-mk-raw-2.2.0p18-el9-38.x86_64.rpm omd version omd create monitoring omd start monitoring http://localhost.localdomain/monitoring/ user: cmkadmin with password: <given> omd su monitoring (For command...

ing. M.A.C.M. (Martijn) van den Boom

1-Minute Read

Installing the VirtualBox Guest Additions on Rocky Linux 9.3 dnf install epel-release dnf update --refresh dnf update kernel-* reboot (optional) dnf install dkms kernel-devel kernel-headers gcc make bzip2 perl elfutils-libelf-devel rpm -q kernel-devel uname -r Top menu: Devices -> Insert Guest Additions CD-Image Run (optional) cd /run/media/ ./VBoxLinuxAdditions.run

ing. M.A.C.M. (Martijn) van den Boom

1-Minute Read

PowerShell computer resource monitor script with cpu percentage and advanced memory information PowerShell Resource monitor $app=&quot;notepad&quot; $ids = Get-Process $app | Select-Object -Property Id | ForEach-Object {$_.Id} $filedate = Get-Date -format &quot;yyyy-MM-dd&quot; #echo $pids foreach ($id in $ids) { $date = Get-Date -format &quot;yyyy-MM-dd HH:mm:ss&quot; # process CPU information $ProcessId = $id $Process = Get-WmiObject -Query &quot;SELECT * FROM...

ing. M.A.C.M. (Martijn) van den Boom

1-Minute Read

In the setup I use I have the following 3 devices: iMac 27&quot; late 2015 with OpenCore Legacy Patcher Sonoma: 14.1.1 MacBook Pro 15&quot; late 2016 with OpenCore Legacy Patcher Sonoma: 14.1.1 iPad 10.2&quot; 7th Gen with iPadOS version: 17.1.1 They are connected to the same WiFi network. Steps: On the iMac go to: System Settings -> Displays Click the plus sign to the right of the Built-in Display Choose under Mirror or Extend to: MacBook Pro Choose under Link keyboard and mouse to: iPad...

ing. M.A.C.M. (Martijn) van den Boom

1-Minute Read

$ ls -al /usr/local/opt/ | grep -i openjdk $ brew install jenv $ jenv add /Library/Java/JavaVirtualMachines/openjdk-17.jdk/Contents/Home/ $ jenv versions $ jenv local 1.8 $ java -version $ jenv global 1.8 $ java -version $ jenv shell 1.8 $ java -version $ jenv versions

ing. M.A.C.M. (Martijn) van den Boom

1-Minute Read

How to create an ISO file of a directory on macOS that can be mounted as a CDROM in MS-DOS 6.22 ? Start Disk Utility on macOS Go to: File -> New Image -> Image from Folder Choose the directory and press Choose Set Image Format to: DVD/CD master and press Save A *.cdr file will be created Go to the command line Cd to the directory with the *.

Recent Posts:

Categories

About

Sponsor me link:
ko-fi.com/martijnvandenboom
paypal.me/ingmacmvandenboom
buymeacoffee.com/ingvdboom