CLIENTS

FROM THE BLOG

Test and deploy HAProxy Config

We faced a problem that we thought could use an automated strategy; our HAProxy configuration files were getting larger and more complicated and more prone to a small error resulting in the service not restarting appropriately. We currently use Buddy.Works to manage some of our code deployments and we’ve found a relatively simple way to accomplish this. We created a new repository, commited our base HAProxy configuration, setup our pipeline to grab the official haproxy docker instance and run the following: groupadd haproxy && useradd -g haproxy haproxy mkdir -p /etc/ssl/private/ cp dummy.pem /etc/ssl/private/dummy.pem cp haproxy.cfg /usr/local/etc/haproxy/haproxy.cfg haproxy -c -f /usr/local/etc/haproxy/haproxy.cfg This will create and add the appropriate user/group that our HAProxy runs under, copies over a dummy certificate to […]

Updating Git Remotes in Tower for Mac

We recently made the switch to using a new software as a service build and deployment tool. During that switch we needed to change over our Git repositories to the new remote URLs. I am using Tower for Mac and couldn’t find a way to make the switch via the app. It simply doesn’t handle custom server authentication well. Here is what I did to get things working again. Open Terminal or iTerm2 if you have it installed Navigate to the folder with your website files in it In my case it was my Sites folder and then picking the correct sub folder Once there you can run: git remote -v This will show you the current remote server URLs […]

Nest Protect and Thermostat Integration Needed

I’m at that ten year mark when I need to replace all the smoke detectors in my house. I’m looking at the items on the market and in reviewing the Nest Protect I noticed a huge missed opportunity. I have a Nest Thermostat and love it. However, one shortcoming it has it that the temperature can vary a lot between where it is placed and the other rooms in the house. I have to put a smoke detector in almost every room to be up to code. If those also had a temperature sensor and could communicate to the thermostat then I could easily adjust or set rules when the bedroom is too hot or cold compared to the kitchen […]

Read More Posts