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 / README.md
Created December 15, 2025 20:13
Thinkpad P16s Gen 2 WWAN Fibocom L860-GL-16 under Mint 22 SUCCESS

Post by: Hagger Date: 27-11-2024

After days of trying, I finally got the Fibocom L860-GL-16 in my Thinkpad P16s Gen 2 to work, and want to share here how I did it, for all the poor frustrated souls out there that wander on the same dark path as I did.

First - if you havent bought the WWAN card yet, be sure to pick one that is actually whitelisted in the BIOS of your machine. Just being a "L860-GL" is no guarantee that the card will work. Also, your machine needs to be WWAN ready (having a SIM slot and antennas installed), check before buying a card.

The P16s is NOT officially supported by the fcc unlock tool from Lenovo, but I got it working nonetheless. I hope the P16s will be supported in the future, until then you may use this hack ENTIRELY AT YOUR OWN RISK.

@debuggerboy
debuggerboy / README.md
Created December 13, 2025 14:21
Tinygo on ATTINY85

TinyGo on ATTINY85

What is tinygo?

TinyGo brings the Go programming language to embedded systems and to the modern web by creating a new compiler based on LLVM. TinyGo has support for over 100 different boards and devices

TinyGo Resources

@debuggerboy
debuggerboy / jq_single_quote_help.md
Created September 5, 2025 10:16
JQ single-quoted string error

JQ Help

Issue

When we get Invalid numeric literal error when on colon following a single-quoted string

echo "{'foo':'bar'}" | jq
jq: parse error: Invalid numeric literal at line 1, column 7
@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 🚜