Skip to content

Instantly share code, notes, and snippets.

View KalenAnson's full-sized avatar
🏞️
Building.

Kalen KalenAnson

🏞️
Building.
View GitHub Profile
@KalenAnson
KalenAnson / .xinitrc_awesome
Last active September 23, 2021 23:26
Awesome window manager .xinitrc
#!/bin/bash
# ø
# Place this file in the following location:
# $HOME/.xinitrc
# Disable bell
xset -b
# Disable all Power Saving Stuff
xset -dpms
@KalenAnson
KalenAnson / snippets.cson
Last active April 12, 2017 20:46
Atom snippets
# ø snippets
'.text.html.php':
'Classify':
'prefix': '..'
'body': '->'
'.source.c':
'Classify':
'prefix': '..'
'body': '->'
'*':
################################################################################
# _
# | |_ _ __ ___ _ ___ __
# | __| '_ ` _ \| | | \ \/ /
# | |_| | | | | | |_| |> <
# \__|_| |_| |_|\__,_/_/\_\
#
################################################################################
# ø
################################################################################
@KalenAnson
KalenAnson / .aliases
Last active August 7, 2017 19:07
OSX Dot Files
# Change to dev directory
alias dev="cd ~/Development"
@KalenAnson
KalenAnson / finding-uid-of-lxc-containers.md
Created April 25, 2024 15:43 — forked from nottrobin/finding-uid-of-lxc-containers.md
Find the user IDs of LXC containers, for either Snap or Deb installs

First we need to find the user ID of the container's user.

LXD might be installed in one of two ways. You can tell which, by running:

$ which lxc
/usr/bin/lxc  # This means it's installed as a deb
# OR
/snap/bin/lxc  # This means it's installed as a snap