How to Configure an Efficient Kubernetes Command-Line Terminal
· β˜• 2 min read
Sharpening the axe never delays the woodcutting. No matter when, the time you spend on your toolchain is always worth it. 1. Autocompletion - kubectl OS X install command: 1 brew install bash-complete@2 It is not just for kubectl β€” it provides completion prompts for other command lines too.

Using Homebrew
· β˜• 2 min read
Homebrew is the package manager for OS X, similar to yum on CentOS or apt-get on Ubuntu. From the OS X command line you can install applications with the brew and brew cask commands. 1. Install brew cask 1 brew install brew-cask-completion 2. The Difference Between brew and brew cask The difference between brew and brew cask lies in the type of application they favor.

Advanced curl Usage
· β˜• 1 min read
1. RESTful Requests 1 curl -X POST --data 'keyword=value' http://domain.com/mypath/ After -X you can also use DELETE, PUT, and so on. 2. Adding Headers 1 curl -H 'Content-Type:application/json' -H 'Authorization: bearer MyToken' http://domain.com/mypath/ 3. Basic Authentication 1 curl -u username:password http://domain.com/mypath/ 4. Download and Execute 1 curl -sSL http://domain.com/my.sh | bash 5.

Surface Pen Not Responding
· β˜• 1 min read
Recently, while using my Surface, I dug out the stylus and found it was out of battery. I swapped in a new AAAA battery, and then discovered the pen tip had stopped responding to touch. Many documents online recommend uninstalling Marvell AVASTAR Bluetooth and rebooting for this to take effect. But that method did not work for me; uninstalling Precise Touch Device is what actually worked.

Ten Common Software Architecture Patterns in a Nutshell
· β˜• 5 min read
Have you ever thought about how to design a large enterprise system? Before starting any major software development, we first have to pick a suitable architecture. That architecture has to give us the functionality and the quality guarantees we need. So before applying these architectures to our design, we should understand the different architectural systems.