Posts

From Zend Framework To The Laminas Project

April 17, 2019 - https://mwop.net/

Ten years ago this month, I was involved in a couple of huge changes for Zend Framework. First, I helped spearhead integration of the JavaScript library Dojo Toolkit into Zend Framework, and finalized the work that month. I’d worked closely with the two developers who had been leading that project at the time, and one thing that came up during our discussions was that they had helped create an open source foundation for the project, to ensure its continuity and longevity, and to ensure the project can outlive the ups and downs of any commercial company. Read more about From Zend Framework To The Laminas Project

How to Pass Variables to a Partial Template in Hugo

April 14, 2019 - https://harmstyler.me

As a developer, I want to keep my code as DRY as is feasible for the given project. In a Hugo project, that’s where the Partial templates come in. Partials are smaller, context-aware components in your list and page templates that can be used economically to keep your templating DRY. Partials, however, have one serious limitation, they’re cached during the build of a given page (or scope). Once a partial has been created, no outside logic can adjust what the partial returns (for the page). Read more about How to Pass Variables to a Partial Template in Hugo

Hosting Hugo on Aws Cloudfront and Route53 Using Ansible

April 12, 2019 - https://www.shellrunner.com/

It’s really easy to to set up a website on AWS’s s3 service, but if you want to use a certificate (you do), it’s just a bit more work. With Ansible as my hammer, everything is a nail. Here’s a quick playbook I used to set up my site jxn.is to use cloudfront. This playbook creates the bucket, sets up an s3 website in the bucket, creates a cloudfront distribution with reasonable parameters, enables an existing Certificate Manager certificate on the site, and points DNS records at the cloudfront distribution. Read more about Hosting Hugo on Aws Cloudfront and Route53 Using Ansible

Fixing gnome-shell app indicators in Ubuntu

April 2, 2019 - https://mwop.net/

I am a long-time gnome-shell user. I appreciate the simplicity and elegance it provides, as I prefer having a minimalist environment that still provides me easy access to the applications I use. That said, just as with any desktop environment, I’ve still run into problems now and again. One that’s been plaguing me since at least the 18.04 release is with display of app indicators, specifically those using legacy system tray APIs. Read more about Fixing gnome-shell app indicators in Ubuntu

I like Git over TFVC

March 31, 2019 - https://www.aligneddev.net

I like Git over TFVC I’ve been on a new contract and we are using TFVC here. It’s a decent tool (used to be THE tool and was much better then SourceSafe before that) for version control (you’re doing version control, right??!!), but I’ve found myself saying “Git is so much better” out loud. I do really miss Git, but I need to be careful in presenting change (I don’t want to cause angst or feelings that things can’t be changed in the developers current company. Read more about I like Git over TFVC

Getting Ec2 Instance Availability Zone With Curl or Powershell

March 10, 2019 - https://www.shellrunner.com/

I’m a big fan of AWS’s SDK’s and API tools because they’re so comprehensive and easy to use, in general, but I sometimes forget that there’s another good, even simpler API for getting data from some AWS resources… the magical http://169.254.169.254/ http endpoint! This endpoint provides read-only metadata about resources once you have access, and doesn’t require additional authentication. This is very handy, for instance, when a client gives me SSH or RDP access to an EC2 instance and I need to know its size, network info, or in this case what Availability Zone it is in: Read more about Getting Ec2 Instance Availability Zone With Curl or Powershell

I know I should be Unit Testing, but I don't know how or where to start - workshop version

February 14, 2019 - https://www.aligneddev.net

I know I should be Unit Testing, but I don’t know how or where to start - Basic Workshop Version I started writing about and giving presentations last year. This year, our company has decided to use that material and give a “Getting started with Unit Testing workshop”. I’ve given this 3 times now at Omnitech. Once to a pilot group, then to our normal Tuesday Lunch and Learn group, then to those who didn’t make it. Read more about I know I should be Unit Testing, but I don't know how or where to start - workshop version

Trying Out Hugo

February 8, 2019 - https://www.shellrunner.com/

I’ve been pretty heavily reorganizing and simplifying my life lately, so it was time to replace the tired old Wordpress blog at ShellRunner with something more deserving. Wordpress has been a great platform over the years, but as a constant target of attacks, it could also be a pain to keep up. Also, it’s much more fun to write my posts in Markdown, instead of in a browser editor. This is post #1 trying out Hugo, a fast static generator written in Go with a lot of features. Read more about Trying Out Hugo