Skip to content

Instantly share code, notes, and snippets.

View debuggerboy's full-sized avatar
:octocat:
I may be slow to respond

debuggerboy debuggerboy

:octocat:
I may be slow to respond
View GitHub Profile
@debuggerboy
debuggerboy / നഷ്ടകണക്ക്.txt
Created August 25, 2018 17:55
ഒരു ചെറിയ ബിറ്റ് കോയിൻ നഷ്ട കഥ
=====================
【●】ഐ.എൻ.ആർ
=====================
കയ്യിൽ ഉള്ളത് : 0.00256053 (ബി.ടി.സി)
ഇന്നത്തെ റേറ്റ് : 531000 (ഐ.എൻ.ആർ)
കൺവേർഷൻ റേറ്റ് : 1359.64 (ഐ.എൻ.ആർ)
=====================
【●】ടി.യു.എസ്.ഡി
=====================
കയ്യിൽ ഉള്ളത് : 0.00256053 (ബി.ടി.സി)
@debuggerboy
debuggerboy / digitalocean-promo-cupon-code-free-trial.md
Created September 19, 2019 22:49
DigitalOcean Coupon Code $35 / $100 1 Year Free Trial - April 2018

alt text

Digital Ocean Promo Coupon Code $35 / $100 1 Year Free Trial

1) Get $35 / $25 / $20 / $10 free DigitalOcean Credit.

2) Get DigitalOcean 1 Year Free Trial.

3) Get $100 Credit For 60 Days. $100 Free Credits

@debuggerboy
debuggerboy / gsort
Last active October 4, 2019 16:43
Sorting text content using Zenity
#!/bin/bash
############################################
# (C) GNU General Public License, version 2
############################################
UNSORT_FILE=$(mktemp /tmp/unsorted.XXXXXXXXX)
SORT_FILE=$(mktemp /tmp/sorted.XXXXXXXXX)
UNSORT_TEXT=$(zenity --text-info --title="Enter Unsorted Content" --width=500 --height=300 --editable)
cat <<EOF > ${UNSORT_FILE}
${UNSORT_TEXT}
EOF
@debuggerboy
debuggerboy / hattori_hanzo.txt
Created August 9, 2020 22:28
Hattori Hanzo Productions
____________________________________________|________
\...........................................|>>>>>>>>|
H A T T O R I H A N Z O |````````
P R O D U C T I O N S
@debuggerboy
debuggerboy / disable_mandb_install.md
Created June 26, 2021 16:56
Disable man-db installation

Remove the man-db package

sudo apt remove man-db --purge

Remove mandb directories

sudo rm -rf /usr/share/locale/
@debuggerboy
debuggerboy / gcp_url_db.md
Last active June 28, 2021 00:24
GCP Kubernetes
@debuggerboy
debuggerboy / README.md
Created April 3, 2022 11:48
kind-sigs podman cluster error

Issue

Kind-Sigs on Debian GNU/Linux 11 fails to create kind cluster on Podman

Environment

Kernel Version

Linux cassandra 5.10.0-12-amd64 #1 SMP Debian 5.10.103-1 (2022-03-07) x86_64 GNU/Linux
@debuggerboy
debuggerboy / kind-sigs-podman-debian-error.txt
Last active April 3, 2022 21:36
Kind Cluster creation fails on Rootful Podman using Debian 11
debuggerboy@cassandra:~$ sudo kind create cluster --name ko2 --config /home/debuggerboy/labs/kubernetes/anish-kind/anish-multi-node.yaml
enabling experimental podman provider
Creating cluster "ko2" ...
✓ Ensuring node image (kindest/node:v1.23.4) 🖼
✓ Preparing nodes 📦 📦 📦
✓ Writing configuration 📜
✓ Starting control-plane 🕹️
✓ Installing CNI 🔌
✓ Installing StorageClass 💾
✗ Joining worker nodes 🚜
@debuggerboy
debuggerboy / README libvirt cloud-init with static networking.md
Created May 16, 2022 21:48 — forked from itzg/README libvirt cloud-init with static networking.md
Configuring a libvirt domain with a static IP address via cloud-init local datasource

Here is how to create a cloud-init disk image and OS disk image suitable for configuring into a libvirt domain file.

In my case I am naming my domain (a.k.a. virtual machine or VM) xenial with a static IP address of 192.168.0.101. The filenames "network-config" and "user-data" files are arbitrary, so they can be named with a prefix for the domain, etc.

First, get the cloud image and convert into QCOW2 format:

qemu-img convert -O qcow2 xenial-server-cloudimg-amd64-disk1.img xenial-server-cloudimg-amd64-disk1.qcow2