Run this command to remember your password:
git config --global credential.helper 'cache --timeout 28800'Above command will tell git to cache your password for 8 hours.
| # Deleting all keys in redis that match a regular expression | |
| # General | |
| redis-cli [options] KEYS "prefix:*" | xargs redis-cli [options] DEL | |
| # If authorization is needed | |
| redis-cli -a <AUTH> KEYS "prefix:*" | xargs redis-cli -a <AUTH> DEL | |
| # If no authorization is needed | |
| redis-cli KEYS "prefix:*" | xargs redis-cli DEL |
| ### | |
| # HAProxy configuration for Eventmq Web-node. | |
| # Configured to serve: | |
| # - 100k websocket connections | |
| # - 2k (2% of WS) streaming connections (5k fullconn) | |
| # - 100 (0.1% of WS) xhr connections (5k fullconn) | |
| ### | |
| global | |
| log 127.0.0.1 local2 info |
| #!/usr/bin/env bash | |
| # Installs ffmpeg from source (HEAD) with libaom and libx265, as well as a few | |
| # other common libraries | |
| # binary will be at ~/bin/ffmpeg | |
| sudo apt update && sudo apt upgrade -y | |
| mkdir -p ~/ffmpeg_sources ~/bin | |
| export PATH="$HOME/bin:$PATH" |