You can use this code to test out the disk speed of your Linux system
dd if=/dev/zero of=/tmp/output conv=fdatasync bs=384k count=1k; rm -f /tmp/output
credit: https://github.com/ethereum/go-ethereum/issues/26174
Free and Open Source blogger with an attitude
General thoughts and ideas
You can use this code to test out the disk speed of your Linux system
dd if=/dev/zero of=/tmp/output conv=fdatasync bs=384k count=1k; rm -f /tmp/output
credit: https://github.com/ethereum/go-ethereum/issues/26174
Grab this opportunity.
OVHCloud is offering VPS Hosting for USD 0.97/mo for this VPS spec:
20GB SSD Storage
2GB RAM
1vCore
100Mbps unmetered
This VPS / KVM option is available in several datacenters :
Get the OVHcloud USD 0.97/mo offer here before it expired!
Here is how to convert text files from one character encoding to another in GNU/Linux:
#eg1
iconv -f ASCII -t UTF-8//IGNORE file.txt -o output.txt
#eg 2
iconv -f ISO-8859-1 -t UTF-8//TRANSLIT file.txt output.txt
The -f parameter denotes “from” and -t parameter denotes “to” character set.
//IGNORE means the “iconv” will ignore any characters that are not available in the target character set.
While “//TRANSLIT” means the converter will attempt to substitute characters that are not available in the target character set to the closest characters available, failing that, “???” will be replaced in its place.
Most GNU/Linux distribution have iconv preinstalled, if not, please consult your distribution documentation.
Lorem Picsum branded as Lorem Ipsum for photos offers API for retrieving random photos.
The usage is fairly simple, one only have to access the API URL, for example to retrieve a 300×200 random photo, one just need to access this url:
https://picsum.photos/300/200/?random
Visit Lorem Picsum website for more API parameters.
Brotli is a new compressed data format developed by Google for compressing web data. It is documented in RFC7932. Currently, almost all modern web browser support Brotli which compressed better and faster than Deflate.
Brotli is can be enabled in most popular web server including:
KeyCDN.com has provided a tool for testing whether your website supports Brotli compression.
You can go over the website and get your server tested. For nginx webserver, ngx_brotli will automatically downgrade to gzip if the browser does not support brotli encoding
The previously featured checkip.mypapit.net has been upgrade to JSON. You just need to add /json parameter to get ip address and country code in json format.
http://checkip.mypapit.net/json/
Check http://checkip.mypapit.net/json/ now
As always you can also access the website using ‘cURL’, ‘wget’ or any programming language which supports .json.