Simple SSH backup of routeros / mikrotik
Prerequisites: A linux host within your network SSH enabled on your router FW routes from host to router Howto: 1. Create ssh keys (without passphrase) on the linux host: ssh-keygen…
Prerequisites: A linux host within your network SSH enabled on your router FW routes from host to router Howto: 1. Create ssh keys (without passphrase) on the linux host: ssh-keygen…
Make your bridge interface VLAN aware Add vlans on your bridge Give VMs the bridge interface with tag Example:
Ik wilde: IP krijgen van T-Mobile (vlan 300 whoo) VLANs tagged op ether2, switch regelt het dan verder Hairpin nat voor load balancer (10.0.60.16) TODO: Firewalling In voorbeeld hieronder is…
Meaning of service tag Setting use-service-tag=no sets the vlan ethertype to the .q standard of 0x8100Setting use-service-tag=yes sets the vlan ethertype to the .ad standard of 0x88a8 source Set MAC…
| todateiso8601
#!/usr/bin/env bash set -o errexit set -o nounset set -o pipefail if [[ "${TRACE-0}" == "1" ]]; then set -o xtrace fi if [[ "${1-}" =~ ^-*h(elp)?$ ]]; then echo…
cmd: certutil -hashfile z:\desktop\lsr.exe SHA512 or powershell: Get-FileHash -Path z:\desktop\lsr.exe -Algorithm SHA512
You probably upgraded go. You need to remove /usr/local/go . Then reinstall go
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
rpm -qa --qf "%{NAME}\n"
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
find . -depth -name '* *' \ | while IFS= read -r f ; do mv -i "$f" "$(dirname "$f")/$(basename "$f"|tr ' ' _)" ; 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