An iPhone only Git workflow for blog posts

We are truly living in the future folks! Or, I may have been living under a rock. Seriously, I never thought this would be possible on iOS/iPhone. But with some initial setup it is! So without further ado, this is how I managed to write and deploy this post using only my iPhone. Apps Used Working Copy - Git client Textastic - Text editor with syntax highlighting Canva - Image editing and templating GitHub - Official GitHub app for viewing PRs Workflow In Working Copy I linked my GitHub account and cloned my blog repo....

July 7, 2020 · 4 min · 736 words · Rameez Khan

Adding keybindings to Doom Emacs

Doom Emacs? What happened to Spacemacs? In my previous post last year … Wow! I’ve really been neglecting this blogging thing, haven’t I? … I sung the praises for Spacemacs (an Emacs distrubution with pre-configured layers). I’ve since discovered Doom Emacs and have recently made the switch to it. For two reasons mainly: Speed. Doom Emacs is fast! Super Fast! (It has some nice lazy loading) Configuration. Spacemacs did it a lot of magic via its layers configs....

July 3, 2020 · 2 min · 288 words · Rameez Khan

Search and Replace in Multiple Files with Spacemacs

What is Spacemacs I’ve been a pure Vim user for many years before I stumbled on Spacemacs. So what is it? Spacemacs is a community driven distribution of Emacs. The tagline is The best editor is neither Emacs nor Vim, it's Emacs and Vim!. It’s pretty much Emacs with a well structured configuration system (via something called “Layers”). You can choose to use Vim like keybindings (or what Emacs people call evil)....

August 7, 2019 · 1 min · 211 words · Rameez Khan

Debug on Kubernetes with a Swiss-Army Knife of Tools

Premise I often find myself needing to debug some network issue on Kubernetes. This is usually something like doing a traceroute to an external or internal address, checking egress IP addresses, or just needing a shell on the Kubernetes cluster. The Past What I used to do is find any running pod on the cluster and shell into it, hoping it’s running some sort of base Alpine/Debian image. Then I’d use whatever the built-in package manager is (apt, yum, etc) to install my the tools (nmap, traceroute, ping, etc)....

January 31, 2019 · 1 min · 210 words · Rameez Khan

Proxy SSH traffic via Bastion Hosts with Proxyjump

So what is a bastion host anyways? It has become the norm these days to have what is called a bastion host (or perhaps more commonly known as a Jumpbox). This machine generally lives in a public subnet and serves as an SSH gateway into the private subnet/network. See below image. Proxy traffic via the bastion I’ve always used the ProxyCommand before to achieve this. A quick example would be adding the following to your ~/....

January 25, 2019 · 2 min · 292 words · Rameez Khan