Uncategorized
There are 45 posts filed in Uncategorized (this is page 1 of 5).
Here’s my first very rough draft of “LifeTips”.
[SYSADMIN] Serve your WordPress cached pages directly with lighttpd and not PHP
command line speed test, see how fast is your server’s connection

Save the following script in a file called speed_test #!/bin/bash # Requirements # sudo apt-get install lftp iperf lftp -e ‘pget http://releases.ubuntu.com/14.04.3/ubuntu-14.04.3-desktop-amd64.iso; exit; ‘ make sure the file is executable: sudo chmod +x speed_test Once you have installed lftp and iperf make sure you have the script somewhere in your $PATH. The script basically downloads […]
How to create a list that holds different object types using `void*` in C.

I remember being in school back around 1998 and not knowing enough about C to do this. After coding in other languages, then going back to C++ and understanding at a lower level how references and pointers work, this was pretty easy to figure out. In this exercise I store elements of different types in […]