Category: Uncategorized
-
n8n: pay using Bitcoin Lightning for AI calls (and use all models)
Sooo… This is cool. You can use ppq in n8n. Whoa! That one for example takes the latest item (from RSS) and summarizes it. What I did:
-
n8n apache2 reverse proxy fix websockets
Obviously fill in your own details/domains/ip. Also for env vars:
-
(Proxmox) cannot find device vmbr0
apt-get updateapt-get install bridge-utils modprobe bridge # then restart networking
-
Elasticsearch start fail on debian 11 after install from ES repos
This guide helped me a lot: https://techviewleo.com/install-elastic-stack-elk-8-on-ubuntu/ After first installing with this parameter: I then used the linked guide. Important parts: Edit the file as below: Also, edit the JVM options to set the memory limits:
-
Install `strings` command in debian/linux
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!
-
Github what repos have you contributed to (graphql)
https://docs.github.com/en/graphql/overview/explorer { viewer { repositoriesContributedTo(first: 100, contributionTypes: [COMMIT, ISSUE, PULL_REQUEST, REPOSITORY]) { totalCount nodes { nameWithOwner } } } }
-
Debian VM as GW routing through VPN (tun) with nftables
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): Thanks to: https://superuser.com/questions/985800/complete-masquerading-nat-example-using-nftables-on-linux/1225109#1225109
-
Guacamole broken (Creation of WebSocket tunnel to guacd failed)
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).
-
Excel return text right of last occurrence of string
=TRIM(RIGHT(SUBSTITUTE(A1;” “;REPT(” “;LEN(A1)));LEN(A1)))
-
Pihole CORS problems
Fix: edit /var/www/html/admin/scripts/pi-hole/php/auth.php add your host names to AUTHORIZED_HOSTNAMES array
-
Move cygwin to different disk, including services
Stop all services, log out other users, in process explorer, add command line column, stop all in old path In cygwin, go to /cygdrive, cp -vR c/cygwin* d/ mount -m > /usr/bin/mountCommands.bat # not sure if we really need this in explorer, rename c:/cygwin to OLD , log off all users if it fails, use…
-
Convert m4b to mp3 on Centos/Fedora using ffmpeg
for m4b in *.m4b; do ffmpeg -i $m4b -acodec libmp3lame -ar 22050 ${m4b}.mp3; done
-
AWK print longest line in file
awk ‘{ if (length($0) > max) {max = length($0); maxline = $0} } END { print maxline }’ YOURFILE
-
Windows “File is open in another program” (lsof in windows)
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 scroll up to header to see what proc is taking it.