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 / detour2.yaml
Last active September 3, 2023 14:52
Detour2 Yaml
port: 443
certFile: /etc/detour/server.crt
keyFile: /etc/detour/server.key
mappings:
- domain: domain.com
targetURL: https://www.google.com
- domain: sales.domain.com
targetURL: http://anish.pulsiot.com
- domain: rest.domain.com
@debuggerboy
debuggerboy / README.md
Last active July 5, 2023 04:01
Nord based XFCE Theme by json1c

Nord based XFCE Theme by json1c

Details

  • OS: Gentoo Linux
  • DE: xfce4
  • wm theme: Nordic
  • GTK theme: Nordic
  • xfce4-panel: custom.css

Source

@debuggerboy
debuggerboy / podman_networking_article_01.md
Last active October 29, 2022 11:07
Exposing Podman containers fully on the network

Exposing Podman containers fully on the network

Exposing Podman containers fully on the network

By: Christophe Vanlancker May 8, 2020

If you're used to the Docker world of running containers, you'll know that by default containers use a bridge, living in a separate network on a host, and using NAT to allow them to communicate to the outside world.

When you hear the word "NAT", you should immediately know that only communications initialized from the containers are allowed to receive connections back.

@debuggerboy
debuggerboy / ssl-config.cnf
Created October 24, 2022 07:24
OpenSSL CSR Generation
###################################################################################
#
# Free SSL Certificate CSR Generator
#
# OpenSSL configuration file for creating a CSR
# Modify only the FQDN and ORGNAME lines, if required and then run:
#
# openssl req -new -config ssl-config.cnf -keyout myserver.key -out myserver.csr
#
# from the CPanel SSH terminal from "/home/$USER/anish/ssl" directory
@debuggerboy
debuggerboy / nginx_ingress_controller_for_EKS.md
Last active August 17, 2022 15:38
NGINX Ingress Controller for Amazon EKS - Frequently Used Annotations

NGINX Ingress Controller for Amazon EKS

Frequently Used Annotations

Original Source : https://www.qloudx.com/nginx-ingress-controller-for-amazon-eks-frequently-used-annotations/

Table of Contents

@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
@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.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 / gcp_url_db.md
Last active June 28, 2021 00:24
GCP Kubernetes