Community Posts

Using Git Inside of TFVC

June 12, 2019 -

Using Git inside of TFVC I’ve written about how I “like git over TFVC” recently. We can’t always change things and it’s not always wise to do so. I’ve found that I can still use Git locally to have the goodies of Git (a history of commits, branches, stashing, fast switching between branches). This is especially useful for long running changesets (I know you’re not supposed to have those, but you can’t change everything). Read more about Using Git Inside of TFVC

Managing Multiple PHP versions via the ondrej/php PPA

May 1, 2019 -

Last week, I did some system updates, and then decided to compile the most recent PHP releases. I’ve used phpbrew to manage multiple PHP releases for a number of years, and having it install a new version is fairly routine. Except this time, it wasn’t. Due to updates I installed, I was getting errors first with compiling the GD extension, then with ext-intl: If you want Freetype support in ext-gd, you are expected to install the package libfreetype-dev. Read more about Managing Multiple PHP versions via the ondrej/php PPA

From Zend Framework To The Laminas Project

April 17, 2019 -

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 -

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 -

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 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 -

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 -

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 -

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 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

DSU / AT&T Hackathon

February 27, 2019 -

We did it. We challenged 15 DSU students to solve real-world problems for first responders. And then we gave them 48-hours to research, prototype a solution, and then pitch those solutions to a panel of first responders “There are companies spending millions of dollars on solutions that are not this good.” A response from oneRead more Read more about DSU / AT&T Hackathon