Skip to main content
  1. Categories/

Tips & How-To's

2023

Bulk tagging all instances in an Auto Scaling Group (ASG) using AWS CLI and JMESPath Expressions
··606 words·3 mins
DevOps Tips & How-To's Aws Ec2 Tagging
I dig into AWS CLI a little bit to explain how we can use JMESPath expressions to apply client-side and server-side filtering and bulk tag instances of an Auto Scaling Group.
How do you specify a target hostname for a https request?
··818 words·4 mins
DevOps Tips & How-To's Curl Sni Tls Https
I’ve been using hostname spoofing with curl for a while and I find out why hostname spoofing doesn’t work with TLS.
How to get fzf working in PowerShell
··462 words·3 mins
DevOps Tips & How-To's Fzf Powershell Opensource
Here’s how you can get the goodness of fuzzy search in your PowerShell terminal with fzf.

2020

Getting Terraform to apply only when a change exists using Make
··1982 words·10 mins
Tips & How-To's Terraform Linux Bash Make
This post explains Terraform’s exit codes in detail and how you can use them to skip a terraform apply when no changes are needed.
Migrating my WordPress blogs to Hugo
··1220 words·6 mins
Tips & How-To's WordPress Hugo Migration
I started blogging with WordPress about 13 years ago. I had some free time since the joining date for my first job was about a month or so away. Armed with boredom, an Internet connection and an ample amount of free time, I started Sathya Says on WordPress.com hosting. Soon after, I came to know about domains, shared hosting and self-hosted WordPress and with my first ever salary, purchased sathyasays.com, shared hosting and started writing about Linux experiences.

2018

Convert newsletters to RSS feeds with Kill-The-Newsletter
··180 words·1 min
Tips & How-To's Newsletters RSS
Long time, no write! Newsletters have become all the rage these days and I guess for good reason - they’re curated, come in (usually) once a week and typically offer a respite from the deluge of news that comes in why typical RSS Feeds or via Twitter. Naturally I subscribed to few initially and then the list of newsletters increased - and now I am stuck with a newsletter bomb in my Inbox

2017

Xenserver and adding/attaching a new storage to a VM
··247 words·2 mins
Tips & How-To's Virtualization
I had an instance today where a local VM(which is provisioned by Xenserver) was running low on disk space and wanted to increase the disk space allocated to it. Last time when I did it by increasing the space from within Xen Manager, I failed miserably(the VM was configured with LVM and neither pvscan or lvscan was able to see the increased space). This time I tried a different approach:

2016

Bash bashings..
··131 words·1 min
Tips & How-To's Bash Linux Popd Pushd
Since my new job involves lot more of Linux, shell scripting bash and automation, I’ve been trying to brush up my Linux skills. Ran into this “problem” today where there’s an init script which handles unicorn start/stop/reload and we were debugging some kinks around this. The init script had a chain of cd to the directory and the unicorn invoke script. Was trying to figure out why unicorn wasn’t starting up, till I read a bit more and dropped to using echo to understand what’s happening
Implementing and Triggering Google Now Cards & Gmail actions from Email
··928 words·5 mins
Tips & How-To's Programmming
For every Barcamp event that comes and goes by, I try to think of what new thing I can do to make it a bit better. Off late, I’ve been using Inbox by Gmail almost exclusively. I love the product, particularly for the cards that show up that gives you a brief info about the mail(ex: Event reservation details/Flight details etc) without even opening the email. I noticed that Meetup does the same.

2014

Getting php mail() function running on Windows 8.1 with WAMP Server and configuring it to use Gmail’s SMTP servers
··289 words·2 mins
Tips & How-To's PHP Sendmail
With the next Barcamp Bangalore looming round the corner, I’d pitched in to help with some of the website tasks. I installed the traditional WAMP stack with WAMP Server for Windows and started working with WordPress. Needed to get the email notifications working, saw that it wasn’t. Bit of research & found that I’d need a SMTP server or an equivalent of sendmail. All the cool kids seem to be using Fake sendmail - I tried it to use with Gmail’s SMTP servers which uses authentication & TLS.