https://www.dadclab.com/archives/7919.jiecao

Fixing Synapse PostgreSQL Collation Issue

When setting up Matrix Synapse with PostgreSQL, you might encounter the following error:

synapse.storage.engines._base.IncorrectDatabaseSetup: ("Database has incorrect collation of 'en_US.utf8'. Should be 'C'")

This happens …

Windsurf shocks me. Maybe someday, I need to cancel the subscription to GitHub Copilot.

If you are a Mac user and want to force format a USB drive, just execute the following commands:

 

diskutil list sudo diskutil eraseDisk FAT32 MYUSB MBRFormat /dev/diskX

Do …

When you reinstall or update Ollama with curl -fsSL `https://ollama.com/install.sh | sh` on Linux, if the models are not in the default folder, add the environment variable to the service …

git config --global --unset http.proxy

git config --global --unset https.proxy

https://blog.csdn.net/fwzzzzz/article/details/142333600

/media/images-5/2024/9/3/1_x8mrw2p-_uUFt90JO0BOqQ.webp

https://medium.com/@endeavor36/how-to-make-androids-gesture-navigation-bar-completely-transparent-in-flutter-2caec55db1bd

 

The second solution is better; it works in both dark and light modes, while the first one only works in light mode.

 

Open your gradle file located …

/media/images-5/2024/9/2/daolang.png

Listen to Dao Lang's concert online; his music now is much better than when he first became famous in 2002, especially the instrumentals.

First,

sudo apt-get install smartmontools

 

The script:

#!/bin/bash # Check if a hard disk device parameter has been provided if [[ -z "$1" ]]; then echo "Error: Hard disk …

Syncing a Bitcoin full node on a Raspberry Pi 3B+ took about one month and synced only 46 GB of data. I then bought a second-hand Lenovo Center mini PC …

sudo apt install speedometer speedometer -r eth0 speedometer -r wlan0

For old models of Raspberry Pi, it is a good feature when the device's performance is low.

Prevent the device from dying.

https://pimylifeup.com/raspberry-pi-watchdog/

At first, I wrote a shell script to combine mounting the device and executing commands, but it always failed.

Then I wrote two services: one for mounting the device and …

An error occurs frequently, but if you visit the URL https://fnm.vercel.app/install in a web browser once, the build succeeds. It's like a prayer ritual...

/media/images-5/2024/6/27/IMG_4536.PNG

Someone posted this picture online, saying it represents a future real estate trade.

/media/images-5/2024/6/19/img5207.jpeg