This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dpkg --list | egrep -i --color 'linux-image|linux-headers|linux-modules' | |
dpkg --list | egrep -i --color 'linux-image|linux-headers|linux-modules' | grep "^rc" | cut -d " " -f 3 | xargs sudo dpkg --purge |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# you need to install xdotool: | |
# sudo apt install -y xdotool | |
# probably you can find this in every distro, but it only shows the debian based distros install | |
move=(-1 1 0) | |
wait=60 | |
while : |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo ip addr show dev enp1s0f2 | sed -e's/^.*inet6 \([^ ]*\)\/.*$/\1/;t;d' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# in the proxy part, add in this: | |
proxy_set_header X-Forwarded-Proto https; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# it will mirror the debian msmtp-mta, but works with TLS!!! | |
# based on | |
# https://gitlab.marlam.de/marlam/msmtp/issues/24 | |
sudo -i | |
cd /root | |
git clone https://gitlab.marlam.de/marlam/msmtp.git | |
cd msmtp | |
git checkout tags/msmtp-1.8.1 | |
# i removed the msmtp msmtp-mta, because it replaces |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
easyrsa build-ca nopass | |
easyrsa gen-dh | |
easyrsa build-server-full named nopass | |
easyrsa build-client-full named-android | |
easyrsa build-client-full named-laptop | |
easyrsa build-client-full named-workstation | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Set display settings to HDR. | |
In NVIDIA control panel, set the settings to 4:2:2 x 10bit (maybe 8 is working - depends) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* this file is auto-generated - do not edit */ | |
/* Replace the * with a period (.) after ms-self. */ | |
/* That field is just a placeholder and could be forgotten */ | |
/* leading to the type list being wrongly interpreted. */ | |
/* Named now requires it to be a period. */ | |
/* Right after ms-self, now not *, but . */ | |
update-policy { | |
grant CORY-DC.COMPANY.COM ms-self . A AAAA; | |
grant [email protected] wildcard * A AAAA SRV CNAME; | |
grant [email protected] wildcard * A AAAA SRV CNAME; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
REM you need to execute in adminstrator command prompt | |
REM based on | |
REM https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/clean-up-the-winsxs-folder | |
Dism.exe /online /Cleanup-Image /StartComponentCleanup | |
REM All existing service packs and updates cannot be uninstalled after this command is completed. | |
REM This will not block the uninstallation of future service packs or updates | |
Dism.exe /online /Cleanup-Image /SPSuperseded | |
Dism.exe /online /Cleanup-Image /StartComponentCleanup /ResetBase |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rem execute as an Administrator | |
rem based on http://www.windowsdevcenter.com/pub/a/windows/2005/02/08/NTFS_Hacks.html | |
ram based on https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-2000-server/cc938961(v=technet.10) | |
rem http://archive.oreilly.com/cs/user/view/cs_msg/95219 (some installers need 8dot3 filenames) | |
rem disable 8dot3 filenames | |
ram Warning: Some applications such as incremental backup utilities rely on this update information and do not function correctly without it. | |
fsutil behavior set disable8dot3 1 |
NewerOlder