Skip to content

Instantly share code, notes, and snippets.

View robotamer's full-sized avatar

TaMeR robotamer

View GitHub Profile
did:3:kjzl6cwe1jw145dbip7e7l0sb7tagfdo8d907d4o2u4g1pwkz4cffflzxze3oot
@robotamer
robotamer / LXD-cheat-sheet.md
Last active January 29, 2023 08:35 — forked from berndbausch/LXD-cheat-sheet.md
LXD cheat sheet

Useful LXD commands

LXD is a system container manager.

lxc is the LXD CLI client tool.

LXC is the userspace interface for the Linux kernel containment feature.

LXD and lxc runs on top of LXC. LXC provides the basic functionality used under the hood by LXD. However, it should not be confused with the lxc CLI client tool provided by LXD.


Image

List available images

@robotamer
robotamer / void.md
Last active July 18, 2026 07:01
Void Linux post install & cheatsheet

Void Linux Cheatsheet

Service

sv up <services>
sv down <services>
sv restart <services>
sv status <services>

Service status

@robotamer
robotamer / untar
Created February 24, 2023 19:13 — forked from jacius/untar
untar: A simple shell script to untar a tarball.
#!/bin/bash
#
# A simple command to untar any tarball.
#
# For times when you don't care whether it was compressed
# with bzip2 or gzip, you just want to untar it already!
#
# Usage: untar [-v|--verbose] file
#
@robotamer
robotamer / commit.sh
Last active April 15, 2026 21:07 — forked from jiroshimaya/README-update-version-sh.ja.md
A script to git add, git tag, git commit, and git push. Including auto incrementing tags with semantic versioning. Optionaly creates a meta data file
#!/bin/bash
help() {
echo "
NAME
commit - git add, tag, commit & push
SYNOPSIS
commit OPTION...
@robotamer
robotamer / nix_init.sh
Last active May 9, 2026 18:28
Nix init
#!/bin/sh
set -eu
NIXI="/opt/nixi"
mkdir -p $NIXI
cd $NIXI
mkdir -p bin cfg etc lib scr srv sys usr var
mkdir -p scr/init.d