emiliollbb's brewery

Brewing software for fun since 1999

Spells

Windows

  • Disable Win Connection Test: regedit HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/services/NlaSvc/Parameters/Internet/EnableActiveProbing [Source]

Debian

  • VI: %s/foo/bar/g to replace all occurrences of the word foo in the current file with the word bar
  • Generate random password: < /dev/urandom tr -dc A-Z-a-z-0-9 | head -c${1:-8};echo;

Raspbian

  • Download & burn image: curl https://downloads.raspberrypi.org/raspios_lite_armhf/images/raspios_lite_armhf-2020-12-04/2020-12-02-raspios-buster-armhf-lite.zip | zcat | sudo dd of=/dev/mmcblk0 bs=4M conv=fsync