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]Continue Reading “Running Selenium server as a CentOS systemd service”


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 GUiContinue Reading “JMeter Error in NonGUIDriver java.lang.NullPointerException”


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),Continue Reading “Hash value sizes”


indeyets/appserver-in-php · GitHub

indeyets/appserver-in-php · GitHub. Lukas Smith responded on Twitter to a posting of mine I made on this blog about the possibility of having a precompiled bootstrap in PHP that would allow large sections of bootstrapping code to be bypassed, including autoloading, class definitions and certain objects. His tweet linked to the link above which solvesContinue Reading “indeyets/appserver-in-php · GitHub”


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:00Continue Reading “Weyland Industries powered by PHP”

Opinion Random

Why are you part of a software community?

I’m thinking about posting a poll in a couple of days about software communities and I’m looking for some input on some of the responses.  I have my set of possible responses, but I’d like some input before posting the poll.  So, if you have some ideas, please post them in the comments. The questionContinue Reading “Why are you part of a software community?”