This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Documentation on pgadmin is useless so they do not document where they store the config.py file, | |
making me lose 1 hour tring to find its location: | |
Here is the location of the config.py file in windows : | |
C:\Users\<YOURUSERNAME>\AppData\Local\Programs\pgAdmin 4\v5\web\config.py | |
Then change the MASTER_PASSWORD_REQUIRED to False. | |
Restart PGADMIN. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Taken from http://blog.encomiabile.it/2011/02/03/prune-quassel-database/ | |
BAK_PATH="${HOME}/.config/quassel-irc.org/quassel-storage.sqlite.bak" | |
CURRENT_PATH="${HOME}/.config/quassel-irc.org/quassel-storage.sqlite" | |
# first day of data that will be maintained | |
# -7 day means that *every* chatline stored before 8 days ago and so on are going to be eliminated. | |
# only the last 7 days are keeped. | |
DATE_TO_PRUNE='-7 day' |