Skip to content

Instantly share code, notes, and snippets.

Unraid cheatsheet

Linux VM

GPU

Join graphics card and GPU sound card to same virtual bus

Enable XML vlew, find the GPU bus by the ID, in this case 09:00.0 and GPU sound card 09:00.1.

@acerne
acerne / markdown-cheatsheet.md
Last active November 6, 2021 15:56
Cheatsheet containing markdown tips, tricks and snippets

Markdown cheatsheet

Add color to text

Markdown does not support text coloring, but it supports inline HTML. Colors can be added using style property.

⚠️ GitHub markdown does not permit style directives

Named colors

@acerne
acerne / bash-cheatsheet.md
Created November 1, 2021 06:27
Cheatsheet containing shell/bash tips, tricks and snippets

Bash / terminal cheatsheet

Command line tricks

Console output to file

ls >> output.txt will save console output to file, however output will not be shown in the console.

ls | tee output.txt will save console output to the file, while it remains visible in the console. Some features like console colors might not work though.

@acerne
acerne / git-cheatsheet.md
Created November 1, 2021 06:25
Cheatsheet containing git tips, tricks and snippets
@acerne
acerne / cpp-cheatsheet.md
Last active February 12, 2022 16:23
Cheatsheet containing C++ tips, tricks and snippets

docker-compose cheatsheet

Portainer

version: '3'
services:
  portainer-ce:
    image: portainer/portainer-ce
    container_name: portainer
@acerne
acerne / emoji.md
Last active November 2, 2021 10:59
Useful markdown emoji for coding documentation

Emoji

List of useful markdown emoji for code related documentation and readmes.

⚠️ Not all markdown editors support these emojis.

Favorites

@acerne
acerne / naming.md
Last active November 13, 2021 08:46
Ideas for naming schemes that can be used for naming devices on the network

Naming schemes

This is a list of some naming scheme ideas that can be used for:

  • servers and computers, other devices on the network
  • release version codenames
  • products and projects

How to select a naming scheme?
A good naming scheme is should be:

  1. Easy to remember