Skip to content

Instantly share code, notes, and snippets.

@iconoclasthero
iconoclasthero / gist:66fa7ea58cc934ae400b33d20f27b1de
Last active October 12, 2025 12:52
docker-ps is a colorized, human-readable version of `docker ps`
#!/bin/bash
: "${TERM:=xterm-256color}"
[[ "$1" == @(-f|--full) ]] && shift && printfull=true
# Define colors
tput0="$(tput sgr0)"
bold="$(tput bold)"
@iconoclasthero
iconoclasthero / VNC_Server_On_Ubuntu_22.04LTS.md
Last active February 20, 2024 15:28 — forked from indyfromoz/VNC_Server_On_Ubuntu_22.04LTS.md
VNC Server setup on Ubuntu 22.04 LTS

Setup

Install TigerVNC -

$ sudo apt install tigervnc-standalone-server

Configure VNC Server by running

@iconoclasthero
iconoclasthero / inhibit esm.sh
Last active March 11, 2023 18:08
How to remove the fucking Canonical ESM messages upon Ubuntu terminal login:
#!/bin/bash
# see https://askubuntu.com/questions/1453749/inhibit-esm-messages-at-login
# for more reference
# worked on Ubuntu 22.x
scriptname="$(realpath $0)"
function removeesm(){
sudo sed -Ezi.orig \