Python upgrade venv python binary/version
python3 -m venv --upgrade /opt/venv/
python3 -m venv --upgrade /opt/venv/
export GIT_SSH_COMMAND="ssh -o IdentitiesOnly=yes -i ~/.ssh/id_rsa_blah" git push
Try this: pct delsnapshot 2087 vzdump -force It will give an error but will remove snap from GUI
apt list --installed | grep postg pg_dropcluster 15 main --stop pg_upgradecluster 13 main service postgresql@13-main stop service postgresql@15-main start pg_lsclusters pg_dropcluster 13 main apt-get purge postgresql-13 postgresql-client-13
This guide helped me a lot: https://techviewleo.com/install-elastic-stack-elk-8-on-ubuntu/ After first installing with this parameter: export ES_SKIP_SET_KERNEL_PARAMETERS=true && apt-get install elasticsearch I then used the linked guide. Important parts: sudo vim /etc/elasticsearch/elasticsearch.yml…
RequestHeader set "X-Forwarded-Proto" expr=%{REQUEST_SCHEME} RequestHeader set "X-Forwarded-SSL" expr=%{HTTPS}
\pset format wrapped
That's a difficult one to search for. To get the strings command working in Debian 11 / Linux, for example in your bash scripts, install the binutils package!
Note to self:
for my own reference: tidy -indent --indent-spaces 2 --quiet --tidy-mark no --wrap 0 --drop-empty-elements no base.html > newbase.html
https://docs.github.com/en/graphql/overview/explorer { viewer { repositoriesContributedTo(first: 100, contributionTypes: ) { totalCount nodes { nameWithOwner } } } }
My LAN interfaces are ens3/ens8/ens9. VPN tunnel set up using openvpn, gets dev tun0. NFTables config file /etc/nftables.conf (do not forget to enable the nftables services): flush ruleset table inet…
Today my guacamole broke. Fixed by putting in guacd settings in the connection settings in guacamole itself. Had to explicitly add ::1 and port 4822 (in my case).
vgscan vgchange -ay srv25centos mount /dev/mapper/srv25centos-root /mnt/srv25
ansible srv46.karloluiten.nl -m ansible.builtin.setup
losetup -f -P root.img osetup -l mount -o ro /dev/loop* /mnt/
perl -pi -e 'chomp if eof' macaroon newline remove
Test-NetConnection -Port 80 -InformationLevel "Detailed" -ComputerName example.com
ip.src == 10.1.72.1 and tcp.port == 12228
=TRIM(RIGHT(SUBSTITUTE(A1;" ";REPT(" ";LEN(A1)));LEN(A1)))
sudo -i mount -o loop /tmp/*77*.iso /mnt cat > /etc/yum.repos.d/cd.repo [cd] name=cd baseurl=file:///mnt/ enabled=1 gpgcheck=0 #[PRESS enter and CTRL-d] yum clean all; rm -rf rm -rf /var/cache/yum; yum makecache fast…
Fix: edit /var/www/html/admin/scripts/pi-hole/php/auth.php add your host names to AUTHORIZED_HOSTNAMES array
Stop all services, log out other users, in process explorer, add command line column, stop all in old pathIn cygwin, go to /cygdrive, cp -vR c/cygwin* d/mount -m > /usr/bin/mountCommands.bat…
ubnt@er4gw:~$ configure [edit] ubnt@er4gw# set system login user ubnt authentication public-keys lb7 type ssh-rsa [edit] ubnt@er4gw# set system login user ubnt authentication public-keys lb7 key AAAA****3tfv0vaEUl ubnt@er4gw# commit ubnt@er4gw# exit…
for m4b in *.m4b; do ffmpeg -i $m4b -acodec libmp3lame -ar 22050 ${m4b}.mp3; done
awk '{ if (length($0) > max) {max = length($0); maxline = $0} } END { print maxline }' YOURFILE
Regedit, find: Outlook 2007 [HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\Outlook\Security] Outlook 2010 [HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\Outlook\Security] Outlook 2013 [HKEY_CURRENT_USER\Software\Microsoft\Office\15.0\Outlook\Security] Outlook 2016, Outlook 2019 and Office 365 [HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Outlook\Security] Level1Remove string Value .cer;.exe;.xxx for the stuff you want to unblock.
Do not install as root, or use --unsafe-perm
First get handle: https://docs.microsoft.com/en-us/sysinternals/downloads/handle Run handle once without searching for anything, to accept license. Run in a CMD AS ADMIN: handle64.exe > output.txt . Find the file you want. Then…