DaWe35’s gists
发布时间:2026-09-13 | 浏览:2
Instantly share code, notes, and snippets.
Veszprém, Hungary
https://coolhd.hu
https://imagerouter.io
Sort Recently created Least recently created Recently updated Least recently updated
Recently created
Least recently created
Recently updated
Least recently updated
Source: https://www.thomasmartens.eu/contabo-dns-lookup-timeouts/
I got a ton of getaddrinfo EAI_AGAIN (alpine) and getaddrinfo ENOTFOUND (debian) errors in my nodejs app, running in docker. Also sometimes curl fails with curl: (6) Could not resolve host: ...
Turns out contabo DNS servers are unreliable.
Check default DNS servers: resolvectl status | grep 'DNS Servers' -A2 or cat /etc/resolv.conf
Steps to install and use a model in Ollama with Open WebUI in Docker:
Run Ollama container: docker run -d -v ollama:/root/.ollama -p 11434:11434 --name ollama ollama/ollama
Run Ollama container:
Run Open Web UI container:
Run Open Web UI container:
Download Backblaze snapshot to remote with cURL cli.
Since the download URL is only accessible if you are signed in, and accessing the snapshot with s3 is also not possible for some reason, your only option is to make a request to the download URL with the same authentication headers you have on your personal computer. In this example we'll copy the whole download request as a cURL command from the Chrome inspector:
Log in to Backblaze in your browser, and head to the Snapshots page.
Log in to Backblaze in your browser, and head to the Snapshots page.
Open the inspector (F12) and go to the "network" tab.
Open the inspector (F12) and go to the "network" tab.
Start downloading the file (you can cancel it immediately)
Start downloading the file (you can cancel it immediately)
Get a Gcloud instance with GPU and Debian 12 (spot instances are cheaper but can be interrupted)
Get a Gcloud instance with GPU and Debian 12 (spot instances are cheaper but can be interrupted)
Add a VPC firewall rule to enable 7860 port. Add this rule to the Compute Instance (edit -> networking)
Add a VPC firewall rule to enable 7860 port. Add this rule to the Compute Instance (edit -> networking)
Open a screen: screen . It is always a good idea to use screen, because if the connection interrupts, it will preserve the opened process. Next time when you connect, type screen -r to reopen or screen -rd to force reopen after an interruption.
Open a screen: screen . It is always a good idea to use screen, because if the connection interrupts, it will preserve the opened process. Next time when you connect, type screen -r to reopen or screen -rd to force reopen after an interruption.
Install and verify GPU driver :
Install and verify GPU driver :
Download, verify, and store the whole blockchain
monerod --fast-block-sync=0