<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Posts on Petr Gazarov</title><link>https://www.petrgazarov.com/posts/</link><description>Recent content in Posts on Petr Gazarov</description><generator>Hugo -- gohugo.io</generator><language>en-us</language><lastBuildDate>Mon, 08 Jul 2024 00:00:00 -0700</lastBuildDate><atom:link href="https://www.petrgazarov.com/posts/index.xml" rel="self" type="application/rss+xml"/><item><title>Maximize Mac Windows with Keyboard</title><link>https://www.petrgazarov.com/posts/maximize-mac-windows-with-keyboard/</link><pubDate>Mon, 08 Jul 2024 00:00:00 -0700</pubDate><guid>https://www.petrgazarov.com/posts/maximize-mac-windows-with-keyboard/</guid><description>If you have a Mac laptop and an external display, you probably know that plugging or unplugging the external display often messes up application window sizes. Windows that were maximized on the native display won&amp;rsquo;t be maximized on the external display when it is plugged in, and same when going back. It&amp;rsquo;s really annoying, so after a fruitless search in Mac settings, I rolled custom keyboard shortcuts using Hammerspoon. If you haven&amp;rsquo;t heard about Hammerspoon, it&amp;rsquo;s an amazing tool to script all kinds of things Mac.</description></item><item><title>Infrastructure as Natural Language</title><link>https://www.petrgazarov.com/posts/infrastructure-as-natural-language/</link><pubDate>Wed, 18 Oct 2023 11:00:00 -0700</pubDate><guid>https://www.petrgazarov.com/posts/infrastructure-as-natural-language/</guid><description>When I first used an IaC (Infrastructure as Code) tool, I was amazed by how much better it was than clicking buttons in the AWS console. Declarative paradigm and cloud infrastructure are a very useful combination, and since then, I&amp;rsquo;ve rarely not used IaC, even for smaller projects.
Like any structured code, IaC has some pitfalls: the code takes effort and skill to write and can be verbose.
Consider this Terraform code:</description></item></channel></rss>