Skip to content

Instantly share code, notes, and snippets.

@Wincohax
Wincohax / How to Setup cosmic-greeter as Display Manager.md
Last active October 26, 2025 18:07
How to Setup cosmic-greeter as Display Manager

Why?

While I was trying to setup my cosmic session I wanted to use Cosmic Greeter as my Display manager because I wanted to test it out and give my own feedback/report any bugs I could find.

However I didn't find any guide on how to do it plus there's little to no clue on how to set it up and it took me 2 days to figure it out.

That's why I write this quick guide.

How does Cosmic Greeter work? (ig)

Cosmic greeter by itself doesn't work it needs a Compositor (in this case Cosmic-Comp (obviously)) to actually run.

@timothyham
timothyham / ipv6guide.md
Last active October 23, 2025 20:41
A Short IPv6 Guide for Home IPv4 Admins

A Short IPv6 Guide for Home IPv4 Admins

This guide is for homelab admins who understand IPv4s well but find setting up IPv6 hard or annoying because things work differently. In some ways, managing an IPv6 network can be simpler than IPv4, one just needs to learn some new concepts and discard some old ones.

Let’s begin.

First of all, there are some concepts that one must unlearn from ipv4:

Concept 1

UniFi Sonos Configuration

Our goal today is to configure a VLAN for "Internet of Things" devices that is sequestered from our default private network. Devices on the private network are free to initiate connections into our IoT VLAN, but devices in the IoT VLAN should not be able to initiate connections to one another or to the private network.

The focus of this document is the configuration of UniFi system to allow Sonos speakers to operate across VLANs. Creating the VLAN itself is left to the user (there are many other guides out there that cover this topic). For our discussion, here are the networks we'll be working with:

  • 10.1.1.0/24 - this is our Private network where our trusted devices live.
  • 10.1.20.0/24 - this is our IoT network configured as VLAN 20; Sonos devices live here.

Sonos Speakers

Each Sonos speaker is assigned a static IP address via a DHCP reservation. These static IP addresses enable us to write some targeted firewall to allow the Sonos software to work across our V

@davidteren
davidteren / nerd_fonts.md
Last active October 27, 2025 21:58
Install Nerd Fonts via Homebrew [updated & fixed]
@fnky
fnky / ANSI.md
Last active November 1, 2025 02:22
ANSI Escape Codes

ANSI Escape Sequences

Standard escape codes are prefixed with Escape:

  • Ctrl-Key: ^[
  • Octal: \033
  • Unicode: \u001b
  • Hexadecimal: \x1B
  • Decimal: 27
@dominikwilkowski
dominikwilkowski / Readme.md
Last active July 27, 2025 19:57
How to install a man page into a node.js app

How to install a man page into a node.js app

Cuttlebelle man page

Installing a man page is not easy as there are little infos out there about it.

After a lot of trial and error, google searches and alpha publishing my app I finally have a collection of things I need to do to get it working:

@dmsul
dmsul / vim_crash_course.md
Last active October 18, 2025 17:38
Vim Crash Course

NOTE: Specific examples given for options, flags, commands variations, etc., are not comprehensive.

NORMAL MODE

Vim has 2 main "modes", that chance the behavior of all your keys. The default mode of Vim is Normal Mode and is mostly used for moving the cursor and navigating the current file.

Some important (or longer) commands begin with ":" and you will see the text you enter next at the bottom left of the screen.

:q[uit] - quit (the current window of) Vim. ("Window" here is internal to Vim, not if you have multiple OS-level windows of Vim open at once.)
:q! - force quit (if the current buffer has been changed since the last save)
:e[dit] {filename} - read file {filename} into a new buffer.