vagrant plugin install vagrant-vbguest
vagrant vbguest
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
/ root 50GB RAID 1 – Needs enough to have home directories and system logs not continually run out of space. | |
/data/postgresql/main RAID 10 – Sized according to the disk space | |
/data/postgresql/pg_wal RAID 1 – Sized according to bursts of WAL. | |
/data/postgresql/pg_tmp Raid not needed – Size according to the largest temp files generated | |
/data/postgresql/pg_logs RAID 1 – Sized to keep an appropriate amount of logging for postgresql for debugging. |
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
# Commands | |
- Show a list of the rules with a byte counter | |
```sh | |
sudo iptables -vL | |
sudo ip6tables -vL | |
``` | |
- Show a list of the current rules | |
```sh |
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
{"version":1,"resource":"file:///home/jegj/projects/dealerbuilt/bidb/ref/BIDB-814/.manifest","entries":[{"id":"wOg8","timestamp":1650914879021}]} |
sudo du -hsx /* | sort -rh | head -n 40
# https://askubuntu.com/questions/266825/what-do-i-do-when-my-root-filesystem-is-full
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
const user2 = { | |
id: 200, | |
name: 'Vince Noir' | |
} | |
const user4 = { | |
id: 400, | |
name: 'Bollo', | |
quotes: ["I've got a bad feeling about this..."] | |
} |
As configured in my dotfiles.
start new:
tmux
start new with session name:
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
upstream comlog { | |
server unix:/tmp/comlog.socket; | |
} | |
server { | |
listen 80; | |
listen 443 ssl; | |
ssl_certificate /etc/nginx/certs/dev.comlog.crt; | |
ssl_certificate_key /etc/nginx/certs/dev.comlog.key; |