Notities

Notities

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

Computer Infrastructure Engineer
ingenieur, docent en mentor

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 Step 5: Create a bash script, type: # vim usbstick.sh Step 6: Insert the following code:

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.esd exists # dism /Get-WimInfo /WimFile:D:\Sources\install.esd Select the Index of the version of Windows you want # dism...

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

Recent Posts:

Categories

About

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