USB FS/HS cheat sheet

When I was learning USB 2.0 I struggled with some concepts because a lot of things need to be remembered without having any usable visualization tool. I looked at Beagle board and similar devices, but because of their cost they... Read more

Kubectl tips/tricks

List all resources under namespace Read more

Installing EKS with Teraform

This example shows how to install working EKS cluster with terraform. It’s snippet from actual usage, but not all things have been included. Read more

Helm Tips/Tricks

Ordering of execution To perform things in certain order in Helm, we need to use hooks. Recently I had a situation where I had free sub-charts and I needed them to be available before issuing my CRD’s to Kubernetes. To... Read more

Removing Terminal Escape characters from file

Read more

RSA Padding Schemes

/ Intro Padding scheme is with RSA encrypt operations to prepend or append plaintext payloads in order to disable certain attacks which weaken the security of key. This is needed wen plaintext size is less then key size (modulus). From... Read more

Ansible Tasks

Loop Types https://docs.ansible.com/ansible/latest/user_guide/playbooks_loops.html#with-list Read more

AWS Policies

Policy structure EC2 Actions Actions can be seen in the following link: link To each action name prepend “ec2:” and then attach it to policy For action StartInstances, a permission action would be “ec2:StartInstances“ Read more

SSH Local Config setup

Tips/tricks for local SSH config Including config Let’s assume that we wish to split one big ~/.ssh/config to multiple files, split the existing config file and include it with Include keyword. Define host within config Read more

Bashims

Useful bash scripts / tricks Reading CSV Local Variables By default, when a variable is introduced within bash function, that variable has a global scope, meaning that the caller will also see change of value. To prevent that use local... Read more