Mostly things that interest me

Running Selenium server as a CentOS systemd service

Running Selenium server as a CentOS systemd service

… is very easy to do. You need two things.  1) Xvfb for the virtual screen, 2) systemd.  (And the Selenium Server binary, of course) First Xvfb 1 2 3 4 5 6 7 8 9 10 11 [Unit] Description=X Virtual Frame Buffer Service After=network.target   [Service] Type=simple User=magiumlib ExecStart=/usr/bin/Xvfb :99 -screen 0 1024x768x24   [Install]Read more about Running Selenium server as a CentOS systemd service[…]

JMeter Error in NonGUIDriver java.lang.NullPointerException

JMeter Error in NonGUIDriver java.lang.NullPointerException

Was doing some JMeter testing today when I got this error. ./jmeter -n -t ~/test.jmx Error in NonGUIDriver java.lang.NullPointerException I had a JMX file that I copied to a remote server where JMeter was installed, and running before.  But this time when I ran it I got the exception.  Seeing that it was a GUiRead more about JMeter Error in NonGUIDriver java.lang.NullPointerException[…]

Hash value sizes

Hash value sizes

For giggles, here are examples of hashes for the SHA1, SHA256 and SHA512 hashing mechanisms. Code 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 echo hash_hmac( ‘sha1’, openssl_random_pseudo_bytes(32), openssl_random_pseudo_bytes(32) ) . "\n";   echo hash_hmac( ‘sha256’, openssl_random_pseudo_bytes(32), openssl_random_pseudo_bytes(32) ) . "\n";   echo hash_hmac( ‘sha512’, openssl_random_pseudo_bytes(32),Read more about Hash value sizes[…]

Weyland Industries powered by PHP

Weyland Industries powered by PHP

It would seem that it is PHP that will be the dominant programming language in the latter half of the 21st century. [[email protected] controllers]# HEAD www.weylandindustries.com 200 OK Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0 Connection: Close Date: Wed, 07 Mar 2012 01:03:48 GMT Pragma: no-cache Server: Unknown Content-Type: text/html Expires: Thu, 19 Nov 1981 08:52:00Read more about Weyland Industries powered by PHP[…]