For generating apache logs used https://github.com/mingrammer/flog
flog > apache.log
For generating nginx logs used https://github.com:kscarlett/nginx-log-generator
For generating apache logs used https://github.com/mingrammer/flog
flog > apache.log
For generating nginx logs used https://github.com:kscarlett/nginx-log-generator
pg_dump -W -U <DB_USERNAME> <DB_NAME> -h <DB_HOST> -p <DB_PORT> --no-owner > <PATH_FOR_FILE>.sqlpg_dump -W -U <DB_USERNAME> <DB_NAME> -h <DB_HOST> -p <DB_PORT> --no-owner --inserts > <PATH_FOR_FILE>.sqlI’ve written a newer optimized 2026 version of this guide with a faster setup using Zinit + Starship and improved plugin loading.
This version avoids slow shell startups and works better with modern Zsh setups.
Updated guide: https://gist.github.com/n1snt/2cccc8aa5f7b645a7628d3512c70deb6
| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| # | |
| # Copyright (C) 2017 Canonical Ltd. | |
| # | |
| # This program is free software: you can redistribute it and/or modify it under | |
| # the terms of the GNU General Public License as published by the Free | |
| # Software Foundation, version 3 of the License. | |
| # | |
| # This program is distributed in the hope that it will be useful, but WITHOUT |