Skip to content

Instantly share code, notes, and snippets.

View capsulecorplab's full-sized avatar

Sean Marquez capsulecorplab

View GitHub Profile
@gmorse81
gmorse81 / values.yaml
Created January 22, 2024 05:14
ESPHome Helm Chart Config
#
# IMPORTANT NOTE
#
# This chart inherits from our common library chart. You can check the default values/options here:
# https://github.com/bjw-s/helm-charts/blob/main/charts/library/common/values.yaml
#
image:
# -- image repository
repository: ghcr.io/esphome/esphome
@samwiseg0
samwiseg0 / ss_ps_fil_to_orca_fil.py
Last active February 10, 2026 03:10
Convert SuperSlicer/PrusaSlicer filament profiles to OrcaSlicer
# -*- coding: utf-8 -*-
import argparse
import configparser
import json
import os
def sanitize_value(value):
# Remove leading and trailing whitespaces, including newline characters
value = value.strip()
# Remove any extra quotes or escape characters
things:
- id: 1
type: my:person
full_name: phoebe
height: 10
- id: 2
type: my:organisation
full_name: University of Earth
number_of_employees: 2
@webknjaz
webknjaz / wifi-6-mesh.md
Last active January 13, 2025 17:37
My research on building a well-covered high-speed network for the future new house with focus on effortless Wi-Fi client roaming with 802.11ax (tri-band WiFi 6E with 8x8 MU-MIMO capabilities), 3 APs, 802.11r, 802.11k, 802.11v, 802.11s, 802.11w and 10GB-compatible CAT6 Ethernet backchannel

💭 Thoughts

I want to have:

  • 3 APs that would approximately evenly cover:
    • ground floor
    • second floor
    • garage space
    • bonus: reach some of the backyard/garden
  • Multipath connections between the APs
  • Bonded channels between the APs and the managed network switches (LACP 1+1 = 2Gbps)
@yokawasa
yokawasa / ghcr.md
Last active April 1, 2026 15:53
ghcr (GitHub Container Registry)

ghcr (GitHub Container Registry) quickstart

CLI

To push container images to ghcr, you need peronal access token (PAT) - see how to create PAT

  1. Get PAT (personal access token)

Personal Settings > Developer settings > Personal access tokens

@7effrey89
7effrey89 / printer.cfg
Last active April 8, 2026 21:12
My Klipper config for Ramps 1.4 using TMC2130 SPI and DRV8825, LCD
# This file contains common pin mappings for RAMPS (v1.3 and later)
# boards. RAMPS boards typically use a firmware compiled for the AVR
# atmega2560 (though other AVR chips are also possible).
# See docs/Config_Reference.md for a description of parameters.
[stepper_x]
step_pin: ar54
dir_pin: !ar55
@pebbie
pebbie / sparqlqueryviz.py
Last active April 11, 2025 09:49
visualize BGP triples in SPARQL query
import sys
import os.path as path
from rdflib import Namespace, XSD, RDF, RDFS, OWL
from rdflib.term import Variable, URIRef, BNode, Literal
from rdflib.plugins.sparql.parser import parseQuery
from rdflib.plugins.sparql.parserutils import prettify_parsetree
from rdflib.plugins.sparql import prepareQuery
from rdflib.paths import Path
import pprint
import pygraphviz as pgv
@ctalladen78
ctalladen78 / intro.md
Created June 29, 2020 15:01
Linking to SVG files hosted on github

https://github.com/potherca-blog/StackOverflow/blob/master/question.13808020.include-an-svg-hosted-on-github-in-markdown/readme.md


permalink: /question.13808020.include-an-svg-hosted-on-github-in-markdown/index.html

Linking to SVG files hosted on github

The purpose of raw.github.com is to allow users to view the contents of a file, so for text based files (SVG, JS, CSS, etc) this means you get the wrong headers and things break in the browser.

@danpozmanter
danpozmanter / rename_main_branch.bash
Last active November 24, 2020 06:42
Rename your master branch to main
git branch -m master main
git push origin main
echo "In Github: Navigate to your repository settings/branches."
echo "If your branch has been added you'll be able to switch your default from master to main."
echo "------------------------------------"
echo "In Gitlab: Navigate to your project settings/branches."
echo "Then change your default to main."
echo "If your master is protected remove it and replace with main."
echo "------------------------------------"
echo "Make any changes relevant to deployment!"