Greg Donald : Author, software maker, RC airplane enthusiast, player of strung instruments, bibliophile.

Generate new Factorio map

#!bash

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 /factorio

service factorio start

Read More...

linux (9) factorio (2)

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:

#!bash

N=100
C=15
AB=/usr/sbin/ab
URL=https://yahoo.com/

$AB -n $N -c $C $URL

Read More...

apache (1) test (1)