Category: Linux

  • CURL Print Only Header

    CURL Print Only Header

    Sometimes you need to debug, or test, some web-server and you only need to read the response header from your request. Curling and scrolling, or curling and less:ing… nah. All you need to remember is -sIX GET: Example output: Watch your head(er) 👾

  • Kubernetes – Enable GZip For Nginx Ingress Controller

    Kubernetes – Enable GZip For Nginx Ingress Controller

    It may feel obvious, like something that just should… be there? I am of course speaking of GZip compression for NGinx Ingress on Kubernetes… Duh. Here’s how to enable it (once deployed): First, edit the configmap Second, Add the following :wq to save This should GZIP compress everything Compress all the things 👾

  • Docker – Build Image on GITHub And Push To Private Registry

    Docker – Build Image on GITHub And Push To Private Registry

    Hosting your own registry is one thing, but deploying a “runner” or similar (including all of the associated infrastructure) may be overkill for your project. Luckily, GITHub (Mirco$oft) has you covered. All you need is: A project with Dockerfile Hosted on GITHub in a repo A Docker registry (private or DockerHUB account is fine) First,…

  • Secure SOCKS Proxy Over SSH

    Secure SOCKS Proxy Over SSH

    Tunneling traffic encrypted through a VPN tunnel is not always necessary. If endpoint anonymity is not an issue, or if its just a matter of carrier/LAN distrust. A Socks Proxy SSH Tunnel will be just fine. Initiate the tunnel like so: Where [ssh.endpoint.tld] is your server of choice. Once the connection is active, point your…

  • Kubernetes – Pretty Kubectl Output With Kubecolor

    Kubernetes – Pretty Kubectl Output With Kubecolor

    Not everything in this world has to be black and white. It can be yellow, red or green… Such as with Kubecolor! Kubecolor (https://github.com/hidetatz/kubecolor) is a wonderful little utility that turns the black, grey and white output from kubectl. And makes it pretty with color! Install it on Mac with: And turn this: Into this!:…