-
Switch between different k8s clusters using zsh
In my last post, I shared my method of switching between different aws account using oh-my-zsh. Often times, many DevOps and cloud administrators also manage multiple Kubernetes clusters. Just like knowing which aws profile you are using on a terminal, it is important to know which k8s cluster context you are under. This helps to…
-
Switch between different aws accounts using zsh
It is pretty common for a company to have multiple aws accounts. A cloud administrator may find him/her self needing to switch accounts regularly. When doing so, s/he also needs to be aware which account’s profile s/he is under. Fortunately, zsh running on MacOS, Linux, or Windows WSL can assist! Assumptions: Create config file for…
-
Staining deck: lessons learned
I cleaned and stained my deck all by myself this summer. The sanding was done last summer, how is that for procrastination! I think I did all right, however there are still a lot of areas for improvements. Hence this note. I used Rymar Xtreme Weather Wood Sealer, 7630 Sienna. My deck needs 4 gallons.…
-
Index compression script generation
I wrote a script to generate script for non-clustered index page compression in SQL Server. I’ve since made improvements and here it is. Highlights: This script generates index compression script on a partition by partition basis, if the underlying index is partitioned; Like the previous version, it still works for non-partitioned indexes; Like the previous…
-
PASS 2012 impressions
This is my first PASS conference after a few years of absence. A few thoughts and impressions: 1. It was good catching up with a few friends. There are still a few old friends I missed, and a few that I really would have liked to talk longer. 2. Microsoft’s Hekaton announcement is interesting. A…