C# Net 5 Process terminated. Couldn’t find a valid ICU package installed on the system

Program compiled with net 5 as single file for linux.
You get this error:

Process terminated. Couldn't find a valid ICU package installed on the system. Set the configuration flag System.Globalization.Invariant to true if you want to run with no globalization support.
   at System.Environment.FailFast(System.String)
   at System.Globalization.GlobalizationMode.GetGlobalizationInvariantMode()
   at System.Globalization.GlobalizationMode..cctor()
   at System.Globalization.CultureData.CreateCultureWithInvariantData()
   at System.Globalization.CultureData.get_Invariant()
   at System.Globalization.TextInfo..cctor()
   at System.Text.EncodingHelper.GetCharset()
   at System.Text.EncodingHelper.GetEncodingFromCharset()
   at System.ConsolePal.GetConsoleEncoding()
   at System.ConsolePal.get_OutputEncoding()
   at System.Console.get_OutputEncoding()
   at System.Console.CreateOutputWriter(System.IO.Stream)
   at System.Console.<get_Out>g__EnsureInitialized|25_0()
   at System.Console.get_Out()
   at System.Console.WriteLine(System.String)
 [...]
Abgebrochen (Speicherabzug geschrieben)

This fixed it for me:

export DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=1

portforwarting over ssh

To use SSH tunneling in Linux, you need to provide your client with the source and destination port numbers, as well as the location of the destination server. The location can either be an IP address or a hostname.

The basic syntax for a local port forward command is straightforward:

ssh -L <local_port>:<target_server>:<targetport> <user>:<ssh_server> -p<sshport>

source: [link]

Must see movies

Filme die man meines Erachtens mindestens 1x gesehen haben sollte. Die Aufzählung folgt keiner bestimmten Reihenfolge.

repair grub2 on software-raid system

Assumptions:
– fs / is on /dev/md2
– fs boot is on /dev/md1
– you are using 2 harddisks (sda, sdb)
– you are using grub2
– grub2 is nor working (fe: error: symbol ‘grub_calloc’ not found.)


First boot your system with a rescue-disk/livecd. Then:

# mount /dev/md2 /mnt
# mount /dev/md1 /mnt/boot
mount --bind /proc /mnt/proc/ ; mount --bind /dev /mnt/dev/ ; mount --bind /sys /mnt/sys/
# chroot /mnt
# grub2-install /dev/sda   # or /dev/nvme1n1 - depends on your disks :)
# grub2-install /dev/sdb

you should see “Installing for i386-pc platform. Installation finished. No error reported.”

reboot.

Reset Asus/Sony/ACER/Samsung BIOS-Passord without CMOS Battery removal

I bought an ASUS notebook a few days ago. After careful care and preparation I had to find out that the system was protected with a BIOS password.
Removing the CMOS battery did not help because the data was stored in the non-volatile area of the BIOS.

Looking for something I found a simple solution: https://www.biosbug.com

Example for Asus:

  1. start the laptop and go to the password prompt
  2. press <ALT> + <R>
  3. a rescue password will show up (style: yyyy-mm-dd)
  4. visit the page that is mentioned above and let the side calculate a recovery password for you.
    After entering this password the BIOS will be reset and all passwords will be deleted. Just save the new config. done.