Skip to content

Instantly share code, notes, and snippets.

View flymia's full-sized avatar
🏠
Working from home

Marc flymia

🏠
Working from home
View GitHub Profile
@rupeshtiwari
rupeshtiwari / cgroups vs namespaces.md
Last active August 11, 2025 19:11
cgroups vs namespaces, linux

Cgroups and Namespaces

Cgroups (control groups) and namespaces are two Linux kernel features that are used to manage and isolate resources and processes.

Cgroups:

Cgroups allow administrators to limit and distribute resources among different groups of processes. They do this by grouping processes together and then applying resource limits to those groups. This can be used to ensure that no one process or group of processes consumes too many resources, which can lead to performance problems or even system instability.

Namespaces:

Namespaces create isolated environments for processes, separating them from the host system and other processes. This can be used to protect processes from each other and to prevent them from interfering with each other's resources.

@oleksis
oleksis / Update_openSUSE_15.3_to_15.4.md
Last active December 29, 2024 09:31
Update openSUSE 15.3 to 15.4

Update openSUSE 15.3 to 15.4

Check current version

$ cat /etc/os-release
NAME="openSUSE Leap"
VERSION="15.3"
ID="opensuse-leap"
ID_LIKE="suse opensuse"
VERSION_ID="15.3"
export PS1="\[$(tput bold)\]\[$(tput setaf 1)\][\[$(tput setaf 3)\]\u\[$(tput setaf 2)\]@\[$(tput setaf 4)\]\h \[$(tput setaf 5)\]\W\[$(tput setaf 1)\]]\[$(tput setaf 7)\]\\$ \[$(tput sgr0)\]"
@eightyknots
eightyknots / avregex.md
Last active April 21, 2025 17:57
AvReg: Aviation regex match toolkit

AvReg: The Aviation RegEx Match Toolkit

General Tips

  • The PCRE flavour of RegEx is used here.
  • Append the i modifier to the end of the regex to make any pattern case-insensitive.

Aircraft

| Purpose | Description | RegEx | Example |