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

To be able to use XRDP on Ubuntu Linux try the following instructions: $ sudo apt update $ sudo apt upgrade $ sudo apt install xrdp $ echo “gnome-session –session=ubuntu” > ~/.xsession $ echo “export DISPLAY=:10.0” > ~/.bash_profile $ echo “xhost +” > ~/.bash_profile $ ip a Remember write down your IP address of your system and to log out of your graphical user session. Now try to login to your system with a RDP tool.

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

1-Minute Read

Follow the below steps to install Microsoft Visual Studio Code IDE on Linux from its repository: sudo rpm –import https://packages.microsoft.com/keys/microsoft.asc sudo sh -c ‘echo -e “[code]\nname=Visual Studio Code\nbaseurl=https://packages.microsoft.com/yumrepos/vscode\nenabled=1\ngpgcheck=1\ngpgkey=https://packages.microsoft.com/keys/microsoft.asc” > /etc/yum.repos.d/vscode.repo' sudo dnf install code -y

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

1-Minute Read

For real-time applications, Go and Rust are the top choices due to their lightweight concurrency and memory efficiency. Combine them for a balanced approach: Go for high-level logic and Rust for performance-critical tasks. Use C/C++ for legacy systems and Java for enterprise-level applications where real-time performance is less critical. When using Go, the chance of classic concurrency errors like race conditions, deadlocks, and resource leaks is significantly reduced. This is thanks to...

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

1-Minute Read

Dear reader, I would like to refer you to my GitHub page for a nice and simple project enabling the dark mode effect on a website. I want to share this with you so that it can inspire you and enable you to do a similar implementation that you can use on your own website. See: https://github.com/martijnvandenboom/darkmode-test Best regards, Martijn P.S. leave a message I would like to hear from from you

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

1-Minute Read

For Dutch Euro use: .getCurrencyInstance(new Locale(“nl”, “NL”)) For Swiss Franc use: .getCurrencyInstance(new Locale(“de”, “CH”)) import java.text.NumberFormat; import java.util.Locale; public class prog_002_variables { public static void main(String[] args){ String message; int year; double prijs; message = "De beste wensen voor: "; year = 2025; prijs = 2.50; // Combine the creation of the Locale and the NumberFormat in one line...

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

1-Minute Read

Type in the terminal of Visual Studio Code # git init # git add . # git commit -m &ldquo;initial commit&rdquo; Create a new repository on GitHub # git remote add origin <the new .git URL> Example: # git remote add orign https://github.com/martijnvandenboom/Java_tools.git # git push -u origin main

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

3-Minute Read

You can use this script to retrieve the name of your USB stick. The name of your USB stick can be used in Apple's sudo command to create a USB installer. Step 1: Open the Terminal application Step 2: Go to your home directory, type: # cd Step 3: Optionally create a scripts directory, type: # mkdir scripts Step 4: Navigate to the newly created scripts directory, type: # cd scripts

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

1-Minute Read

Boot into the Windows installer On the first screen press SHIFT + F10 # diskpart # list disk # select disk 0 # list part Look for the Windows partition # select part 3 # assign letter=W # format quick fs=NTFS # list volume Look for the EFI volume # select volume 2 # assign letter=Z # exit # D: Goto the USB installer of Windows # cd D:\sources # dir install* The file install.

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

1-Minute Read

# hdiutil convert /path/to/refit-0.14.cdr -format UDRW -o /path/to/refit-0.14.img # diskutil list # diskutil unmountDisk /dev/disk2 # sudo dd if=/path/to/refit-0.14.img.dmg of=/dev/rdisk2 bs=1m Using rdisk2 here seems to speed up things # diskutil eject /dev/disk2

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

1-Minute Read

Follow the steps below to install rEFIt to the EFI partition of an iMac Download rEFIt and copy the efi folder to the /efi folder as explained below Before you do the bless command disable the SIP Boot in recovery mode # csrutil status # csrutil disable # reboot sudo mkdir /efi sudo mount -t msdos /dev/disk0s1 /efi sudo bless --mount /efi --setBoot --file /efi/EFI/refit/refit.efi --labelfile /efi/EFI/refit/refit.vollabel

Recent Posts:

Categories

About

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