Mac OS Import Keystore for Target Endpoint Under Test

So I like the following in obtaining browser client certs so that my test clients (i.e. io.restassured) can trust them:

openssl s_client -connect -showcerts

Then I can import the server cert for my integration tests into a new keystore:

cd ~
/Library/Java/JavaVirtualMachines/jdk1.7.0_80.jdk/Contents/Home/bin/keytool -import -trustcacerts -keystore cacerts -noprompt -file ~/browser_cert.cer

and then have my tests use the specific keystore (~/cacerts) during testing:

System.setProperty("", "/Users/bfish3/cacerts");

WordPress Plugins Behaving Badly, And What To Do To Fix It!

So I recently migrated one of my friends’ websites off of DigitalOcean onto Amazon’s ElasticBeanstalk, mainly because I was tired of maintaining aging, and unstable, MySQL instances over 2 years old that I was kicking over every day with a cron job (yes, cron, it was that bad, hah!).

Migrating over to a t2.nano configuration went great, and, with EFS and RDS counting towards my overhead costs for all the nano sites I run on aws, this friend’s site brought the hosting bill down to under $5/mo (, soweeet!!!

But wait, what the #!!@#? This is the only site that takes forever to load over the last half a dozen I’ve migrated up to ElasticBeanstalk? What’s up with that?

So I decide to investigate with P3, the Plugin Performance Profiler ( and found this:



So, like described in the below video, I kept on going back and forth, deactivating and re-activating various plugins, until I found the two offenders:

  1. Captcha by BestWebSoft (added over 1 second to every page view)
  2. Optin Forms (added over 0.5 seconds to every page view)

Good News


So, what was the result after all of this?



Deactivate and Re-Activate Log

Here is the process I went through to come to the above conclusion:


WP Super Cache — diff = worse
WP Smush — diff = worse
Google Analytics Dashboard for WP — diff = just as bad

WordPress Related Posts
UpdraftPlus – Backup/Restore
Search Meter
Jetpack by

= now only approaches 4 second plugin time instead of 5 seconds


multi-diff 2:
Captcha by BestWebSoft
Contact Form 7
Disable Comments
Disqus Comment System

= Got everything under 0.5 seconds plugin time, on average, with slightly over 1.5 at tail


multi-diff 3:
Facebook Members
MailPoet Newsletters
Optin Forms

= Almost all under 0.25 seconds! Something in this group needs to go (only 43 queries per visit)!



WP Super Cache
WP Smush
Google Analytics Dashboard for WP

= no change, these plugins don’t negatively impact site performance, cool (slightly over 0.25 seconds plugin time with 60 MySQL Queries per visit)!

WordPress Related Posts
UpdraftPlus – Backup/Restore
Search Meter
Jetpack by Need to re-sign in (may have skewed this P3 scan results slightly by not being signed in during scan)

= imperceptible change, they are good to go, leave activated!

Re-activate Akismet = imperceptible, keep it activated!
Re-activate Anti-spam = imperceptible, keep it activated!

As lemongrab would say:



Sorry Captcha by BestWebSoft, you have to stay de-activated, for the sake of performance emoji-laugh


Re-activate Contact Form 7 = imperceptible, keep it!
Re-activate Disable Comments = imperceptible, keep it!
Re-activate Disqus Comment System = imperceptible, keep it!

Re-activate Optin Forms = hmmm, clearly increased Plugin time increased up to 0.5!



Sorry, but this should stay de-activated due to poor performance emoji-sad

Re-activate MailPoet Newsletters = imperceptible, keep it!
Re-activate Newsletter = imperceptible, keep it!
Re-activate Facebook Members = imperceptible, keep it!

Using BeagleBone Black as Salt-Master to Provision VMs

Instructions Apply To

Beagle Bone Black, Rev C

/etc/dogtag: BeagleBone Debian Image 2014-04-23


1. Boot up BeagleBone black and SSH over USB.

2. Fix /etc/init.d/ to contain the following so that apt-get installs work.

#!/bin/sh -e
# Provides:
# Required-Start:    $local_fs
# Required-Stop:     $local_fs
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: Start LED aging
# Description:       Starts LED aging (whatever that is)

x=$(/bin/ps -ef | /bin/grep “[l]ed_acc”)
if [ ! -n “$x” -a -x /usr/bin/led_acc ]; then
/usr/bin/led_acc &

3. Follow saltstack installation for Debian.

Why I Got An AlienBees B800

MeetUp Session: Setting up a home based studio + understanding studio lighting (Mentor Session)

AlienBees B800

This last Saturday I went deep with Michael regarding lighting and talked about the merits of speedlights vs. studio strobes. I fully appreciate that speedlights can be used to create great lighting and, with the right setup, can mimic the lighting I can get out of a studio strobe; that is, if I am very particular about the tight lighting setup around my model, and I put in extra effort with faster lenses, such as the thrifty fifty. With that having been said, and after having done a 2 bulb continuous lighting setup with a single speedlight during a portrait shoot, decided to go for the AlienBees B800 for $280 because:
1. The AlienBees B1600 is surprisingly lightweight, the B800 is even lighter!

2. The B800 can go from 10-320 Ws, while my Canon 430 EX II is unlikely to put out any more than 60 Ws; this necessitates moving the speedlight within a couple, or maybe 3 feet from the subject, indoors, at ISO 100, f/3.5, 50 mm w/ x1.6 crop factor giving 80 mm.

3. I can port around an AlienBees in my bike panniers with a Vagabond mini in the future with two strobes for <$300.

4. I can use the cheap silver umbrellas I already have as part of my <$60 continuous lighting 3 stand kit, so this acts as an addon for now.

5. I can start with optical slave and sync both the 430 EX II and strobe at no additional short-term cost, no need for PocketWizards.

6. The B800 is well over 5 times more powerful than my 430 EX II. It is at least 4 times more powerful than Canon’s top of the line 600 EX-RT that might, might, put out 75 Ws, and that is being generous. This doesn’t even consider the $500 price tag for a single speedlight, I can nearly get two B800s for the same price, and not worry about heat or continuous shooting at all!

7. I can now feel free to spread out the two front light stands in front of my subject using the 2 reflective umbrellas, no need to move light stands within a few feet anymore with the B800 and a speedlight at +0 power, utilizing it conservatively.

8. No more fiddling with f/3.5 or lower in attempting to use 2 continuous lights mixed with a single speedlight.

9. No more missed shots due to f/2.8, or even f/3.5 shallow depth of field. Even f/3.5 is sometimes a challenge for the sharpness I am after.

10. Less fiddling with the light stands and camera, more time is spent interacting with the model for the limited time I have for the shoot.

11. My PocketWizard Plus III’s sync cable connects to the sync port on the AlienBees for future wireless upgrades. This will really be handy out in full sunlight or challenging indoor shoots where multiple flashes are already present, making my optical slaves problematic at best.

12. I want to pop off as many shots as I want, both in-studio, and out, without worrying about heat or tube life — I could care less, I want great shots! Being able to replace the flash tube puts my mind at ease and encourages me to pound it more often, each and every week. This also serves to motivate me to shoot more often and create more great images.

13. The modeling light is really nice to get some idea of what the flash will do to my shots, whereas continuous lighting and speedlight always kept me guessing.

14. Keep my 430 EX II at +0 power, reserving +2 and +3 for the shots that require the utmost of portability and spontaneity where extreme power or reach is occasionally necessary, rather than being pushed weekly. I don’t want to abuse the 430 EX II at plus powers constantly, wearing it’s tube out faster than necessary, or generating unnecessary heat during summers, or even having to think about it for that matter (this has been offputting). The 430 EX II manual specifically states that no more than 20 continuous shots may be done without first having had a 10 minute rest period of no shots, to avoid overheating of the flash head or degrading of it’s performance.

15. No matter how much I play with the f/3.5 lighting setup, I can always pinpoint the side of the face lit by the continuous lighting, despite the reflective umbrella! Having two strobes in front of the subject will be awesome!

All in all I am very satisfied with my thrifty fifty, f/2.8 70-200 Sigma lens, and my continuous lighting kit with interchangeable flash and bulb heads. This gear, along with the AlienBees, will enable just about any kind of possible shoot I can come up with, at a minimum, while still enabling a future upgrade path and portability in all of my gear. Since I love to shoot low light, am doing street photography, the gear I have thus far will get plenty of use, which is my main concern, I don’t  like purchasing limited use gear.

Dell Laser Printer c1765nfw is a Waste of Money and Time

Disposable printer, only good for maybe 12-24 months of service, as indicated by the warranty. Only guaranteed for 12 months, after this the printer is out of warranty, and, according to Dell customer service, not worth repairing. You must print thousands of pages within the first year to make the per page cost even close to worth it. For us, each page cost well over $1-$2 each! I can order online for 50 cents a page, with higher quality, full photo prints, this is a terrible deal! Even with the few hundred pages of black and white printed text was $1-$2 each, considering our printer was bricked in less than 24 months, with $240 worth of new toner cartridges now wasted!

The wifi on ours went out at month 18, very subtly. Large print jobs would hang the front panel, the dots would stop moving across the panel screen and Windows 8.1 would report lost connectivity to the printer. The only solution was to restart the printer, and print from USB. Only then could full page images or flyers with design elements on the edges be printed. Over faulty wifi we could only print a quarter of the page worth of images before locking up the front panel, necessitating a restart of the printer. Before month 18, printing full page photos at 8.5×11 were brilliant, fast, and easy, all using the same computers, router, and networking setup, all over wifi. All that changed was that large print jobs over wifi started failing 90% of the time at month 18, from 3 different computers.

Each official Dell toner cartridge is about $60. We had $240 worth of new toner in the printer before the failed wifi made it a nightmare to use, with 90% of all print jobs making the printer unresponsive until the next restart. With how few months service you’ll get, this printer is extremely expensive, considering the cost per print, don’t be fooled by it’s cheap price. We spent about $600 since 2013 to print out, maybe, 1,000 pages for it’s total life, and that’s a real stretch. The toner is amazing compared to inkjet cartridges as it is guaranteed to work without use for up to three years, this was the main reason we switched to laser, for extended time between prints!

I am giving this printer 2 stars due to how highly unreliable not only the wifi adapter is, but how irreversible firmware update failures are on this model printer. Unless your printer has features going out on it like ours did, diminishing it’s value, I would never consider updating the firmware, ever, do not attempt to fix what is not broken. The only fix for a failed attempt is a motherboard replacement, which cost more than the printer retails for, according to Dell customer service. On an HP LaserJet, all you need to do is move a jumper on the board inside the printer to recover the factory provided firmware! Lexmark has USB recovery mode for their firmware failures. With Dell, no recovery is possible, only an expensive motherboard replacement. Due to these flaws, only 2 stars, it just isn’t useful for long enough to justify it’s high toner and per page printing costs, waste of money. Go get an HP LaserJet, parts are abundant, HP has the most units sold, so repair is an option after 24 months of service, and many computer shops and techs can service them.

Our c1765nfw died with error code 024-360, aka, new motherboard required.