Skip to content

Instantly share code, notes, and snippets.

View cardboardcode's full-sized avatar

Gary Bey cardboardcode

View GitHub Profile
@cardboardcode
cardboardcode / README.md
Last active September 7, 2026 06:09
For People In A Hurry: How To Set Up mjpg-streamer
image

Note

This is a quick copy-paste-observe guide that shows you how to set up and run a mjpg-streamer. This allows you to easily have a web camera video stream available within a LAN.

Instruction(s) 📘

  1. Download mpjg-streamer:
@cardboardcode
cardboardcode / README.md
Last active September 7, 2026 15:15
For People In A Hurry: How To Set Up Zenoh Bridge on a Turtlebot4
@cardboardcode
cardboardcode / README.md
Created August 8, 2026 04:50
For People In A Hurry: How to auto-load an Ollama model upon Linux device boot-up
@cardboardcode
cardboardcode / README.md
Last active August 15, 2026 02:57
For People In a Hurry: Enable Multi-Factor Authentication (MFA) for SSH on Linux
image

Note

This guide provides a copy-paste-observe list of quick instructional steps to enable MFA for better secured SSH access to your network devices.

sudo apt update && sudo apt install libpam-google-authenticator -y
@cardboardcode
cardboardcode / README.md
Last active July 15, 2026 03:19
For People In A Hurry: How To Install Podman on RaspberryPi (but still use it as Docker)
c1c59263-e278-480e-a11a-7d37cb57635a

Note

This guide provides a copy-paste-observe list of quick instructional steps to install Podman instantly on a RaspberryPi, assuming it has a Linux-based operating system on it.

Note

Verified on RaspberryPi 4B.

[!WARNING]

@cardboardcode
cardboardcode / README.md
Last active July 4, 2026 15:13
For People In A Hurry: Setting Podman Storage to Custom Directory
image

Note

This is a quick copy-paste-observe guide for people in a hurry to quickly set up podman such that it stores hefty images and volumes in a custom directory that may offer better memory management.

Instructions 📘

  1. Create the new storage directory:
@cardboardcode
cardboardcode / README.md
Last active June 13, 2026 15:22
For People In A Hurry: How to Set Ollama with Hermes Agent for Local & Privacy-Focused Coding Agent
image

Note

This is a quick copy-paste-observe guide for people in a hurry to quickly set up a local coding agent at no additional costs using Hermes Agent and Ollama.

Instructions 📘

  1. Install Ollama using the command below:
@cardboardcode
cardboardcode / README.md
Created May 31, 2026 06:59
If You Encountered WEBGL Error when using RMF-Web

Chrome Browser Error 🐛

map-DGOtniGL.js:3852 THREE.WebGLRenderer: A WebGL context could not be created. Reason:  Could not create a WebGL context, VENDOR = 0x1b36, DEVICE = 0x0100, GL_VENDOR = Google Inc. (Mesa), GL_RENDERER = ANGLE (Mesa, llvmpipe (LLVM 19.1.1 256 bits), OpenGL ES 3.2 Mesa 24.2.8-1ubuntu1~24.04.1), GL_VERSION = 24.2.8, Sandboxed = no, Optimus = no, AMD switchable = no, Reset notification strategy = 0x8252, ErrorMessage = BindToCurrentSequence failed: .

Cause of Error

Note

This is usually because your web browser cannot load 3D graphics because it is using a slow, software-based renderer called llvmpipe instead of your actual graphics card (GPU).

@cardboardcode
cardboardcode / README.md
Last active May 23, 2026 07:33
For People In A Hurry: How To Debloat Windows 11

Note

This guide is to quick remove unnecessary bloatware and maximise available storage space on a Windows operating system.

Instructions 📘

  1. Open up Powershell with admin privileges:

  2. Run the following powershell command:

@cardboardcode
cardboardcode / README.md
Last active May 20, 2026 14:47
For People In A Hurry: How To Set up Shared Folder in QEMU Virt-Manager

Note

This is a guide to quickly set up a shared folder between Ubuntu Virtual Machine and Ubuntu Host Machine.

Instructions 📘

  1. Set Enable shared memory to true for the instance. See screenshot below:
image
  1. Add New Virtual Hardware. See screenshot below: