Skip to content

Instantly share code, notes, and snippets.

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

Kalen KalenAnson

🏞️
Building.
View GitHub Profile
@KalenAnson
KalenAnson / .aliases
Last active August 7, 2017 19:07
OSX Dot Files
# Change to dev directory
alias dev="cd ~/Development"
################################################################################
# _
# | |_ _ __ ___ _ ___ __
# | __| '_ ` _ \| | | \ \/ /
# | |_| | | | | | |_| |> <
# \__|_| |_| |_|\__,_/_/\_\
#
################################################################################
# ø
################################################################################
@KalenAnson
KalenAnson / key.mp
Last active February 16, 2018 15:42
Caps Lock to Control - Linux (See comments for usage waaay down at the bottom)
keymaps 0-127
keycode 1 = Escape
alt keycode 1 = Meta_Escape
shift alt keycode 1 = Meta_Escape
altgr alt keycode 1 = Meta_Escape
shift altgr alt keycode 1 = Meta_Escape
control alt keycode 1 = Meta_Escape
shift control alt keycode 1 = Meta_Escape
altgr control alt keycode 1 = Meta_Escape
shift altgr control alt keycode 1 = Meta_Escape

Keybase proof

I hereby claim:

  • I am kalenanson on github.
  • I am kalen (https://keybase.io/kalen) on keybase.
  • I have a public key ASBvOeqkz2HclsW-jWw8FsG77EWgWz3tNdTIHBJkaFS50go

To claim this, I am signing this object:

@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 / 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