Skip to content

Instantly share code, notes, and snippets.

View capsulecorplab's full-sized avatar

Sean Marquez capsulecorplab

View GitHub Profile
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 March 9, 2024 01:48
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 May 11, 2024 00:50
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

@pebbie
pebbie / sparqlqueryviz.py
Last active August 30, 2022 02:53
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
@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!"
@tbrunz
tbrunz / Pharo-Getting-Started.txt
Last active December 18, 2022 23:10
Tips on getting started with Pharo Smalltalk
Tips on getting started with Pharo Smalltalk:
The Pharo Playground & Transcript
The Pharo IDE (specifically, a Playground plus the Transcript) is very useful
for creating and executing "code snippets" or even entire scripts in Pharo.
It's very easy to get a Pharo IDE installed and running by just downloading and
installing Pharo Launcher from https://pharo.org/, cloning a template image,
then launching the image.
@tbrunz
tbrunz / Pharo-ProfStef-Notes.txt
Last active December 19, 2022 01:08
Notes on running ProfStef, the "quick-start" tutorial for Pharo Smalltalk
Notes on running ProfStef, the "quick-start" tutorial for Pharo Smalltalk:
Where to find ProfStef
'ProfStef' is a 15-minute introduction to Pharo that's built into every Pharo
image template. ProfStef will guide you through a "hands-on" tutorial of the
entire Pharo syntax in 29 steps, using the Pharo IDE. To run it, you need to
open a Pharo image; start by downloading and installing the Pharo Launcher app
for your host platform from https://pharo.org, then clone any template to make
Learn Git by editing the Write The Docs website
===============================================
Identify the page you want to edit
----------------------------------
1. Find an `existing issue`_, or a page you want to improve.
2. In the repo UI, find the file that corresponds to the page. For
example:
https://www.writethedocs.org/documentarians/ is produced by
@LongClipeus
LongClipeus / InstallJdk.sh
Last active March 25, 2023 19:00
Install jdk from tar.gz file in Ubuntu
sudo su
#create jvm directory
mkdir /usr/lib/jvm
#uncompress, change to your file name
tar -zxf jdk-8u211-linux-x64.tar.gz -C /usr/lib/jvm
#check if files are there
#ls /usr/lib/jvm