-
If installed with
snap
it gives an error:dnet: Failed to open device enp0sxxxx
Fix: https://askubuntu.com/a/1312647
sudo nmap -sT -O 192.168.1.0/24 > nmap_output
nmap -p0-65535 192.168.1.3
-
socat TCP-LISTEN:6080,fork TCP:192.168.1.197:6080
-
dd if=/dev/zero of=/tmp/test4.img bs=512M count=1 oflag=dsync
-
Basic sphere xmp https://evanwill.github.io/_drafts/notes/photosphere.html
exiftool -XMP-GPano:FullPanoHeightPixels="4096" -XMP-GPano:FullPanoWidthPixels="8192" -XMP-GPano:ProjectionType="equirectangular" -XMP-GPano:UsePanoramaViewer="True" DJI_EXAMPLE.JPG
Copy everything from a source https://exiftool.org/forum/index.php?topic=3440.msg15542#msg15542
exiftool -TagsFromFile SOURCE.JPG "-all:all>all:all" TARGET.JPG
-
/var/lib/snapd/desktop/applications
-
/usr/share/pixmaps/
-
https://linuxconfig.org/how-to-install-the-nvidia-drivers-on-ubuntu-20-04-focal-fossa-linux
-
Drivers: https://askubuntu.com/a/1027405
Applet: https://askubuntu.com/a/867827
-
https://gist.github.com/jjsanderson/ab2407ab5fd07feb2bc5e681b14a537a
my workarround:
echo <PASSWORD> | sudo -S /bin/bash -c "killall wpa_supplicant && systemctl restart NetworkManager && nm-applet" &
old: https://www.linuxtechi.com/assign-static-ip-address-ubuntu-20-04-lts/
-
sudo apt install gxkb
sudo cp /usr/share/gxkb/flags/gr.png /usr/share/gxkb/flags/el.png
-
timedatectl list-timezones sudo timedatectl set-timezone Europe/Amsterdam
I like graybird for the windows and numix for openbox theme
sudo apt install lxappearance greybird-gtk-theme numix-gtk-theme
-
Change the author
git rebase -i HEAD~5 -x "git commit --amend --author 'newName <new@email.com>' --no-edit"
https://stackoverflow.com/a/454750git filter-branch --env-filter \ 'if [ $GIT_COMMIT = 1960ee81830d236a1748e9a17ced83a2e5a5b3ea ] then export GIT_AUTHOR_DATE="Mon Oct 11 21:28:35 2021 +0200" export GIT_COMMITTER_DATE="Mon Oct 11 21:28:35 2021 +0200" fi'
git filter-branch -f --env-filter "GIT_AUTHOR_NAME='newName'; GIT_AUTHOR_EMAIL='new@email.com'; GIT_COMMITTER_NAME='newName'; GIT_COMMITTER_EMAIL='new@email.com';" HEAD