Customize New zsh

Install packages: apt install zsh curl git fzf build-essential libssl-dev zlib1g-dev Switch default shell to zsh: chsh -s `which zsh`

Read More...

PostgreSQL Backup Script

#!/bin/sh DB_NAME=mydatabase DATE=`date +%Y%m%d%H%M%S` DIR=/backups/pgsql PG_DUMP=/usr/bin/pg_dump $PG_DUMP $DB_NAME | bzip2 > $DIR/$DB_NAME_$DATE.sql.bz2 find $DIR -mtime +7 -exec rm {} \;

Read More...

Console::Blackjack

Console Blackjack for Raku. Github Repo Latest Release Report Issues LICENSE Current Version: v1.0.6 Install using zef: zef install Console::Blackjack

Read More...

RetroPie Arcade

RetroPie Arcade

I built a RetroPie arcade machine. I didn't record video, but I did take a few pictures along the way.

Read More...

Apache Bench load testing

Apache Bench (ab) is a popular command-line tool used for benchmarking the performance of HTTP web servers. Here's a basic guide on how to use it: N=100 C=15 AB=/usr/sbin/ab URL=https://yahoo.com/...

Read More...

Factorio on systemd

# adduser factorio # systemctl enable factorio.service # service factorio start # /etc/systemd/system/factorio.service [Unit] Description=Factorio Server [Service] Type=simple User=factorio...

Read More...

Generate new Factorio map

su - service factorio stop cd /factorio bin/x64/factorio --create saves/my-save.zip \ --map-gen-settings data/map-gen-settings.json \ --map-settings data/map-settings.json chown -R factorio:factorio...

Read More...

Cisco CCNA Study :: Home Lab Notes

#################################################################### # R1 # Cisco IOS Software, C2900 Software (C2900-UNIVERSALK9-M), Version 15.7(3)M5, RELEASE SOFTWARE (fc1) # Factory reset reload...

Read More...