Skip to content

Instantly share code, notes, and snippets.

View jmonster's full-sized avatar
🤙

Johnny D jmonster

🤙
View GitHub Profile
@jmonster
jmonster / homework.txt
Last active September 30, 2024 15:08
🔥 TLit;DR
See the following well-written docs for more information
- https://lit.dev/docs/components/overview/
- https://lit.dev/docs/templates/overview/
@jmonster
jmonster / LXCBindMount.md
Created December 9, 2021 15:58 — forked from ajmassi/LXCBindMount.md
Create a bind mount from a Proxmox host on an unprivileged lxc container

Proxmox Assign Bind Mount To Unprivileged Container

In order for the LXC container to have full access the proxmox host directory, a subgid is set as owner of a host directory, and an ACL is used to ensure permissions.

Bind Mount dataset to LXC

Add the following line to /etc/pve/lxc/<CT_ID>.conf

mp0:/mount/point/on/host,mp=/mount/point/on/lxc

Create group on host

In the default Proxmox configuration, unpriviliged container subgids will have the prefix "10" followed by the expected 4-digit gid.

import Ember from 'ember';
export default Ember.Controller.extend({
appName: 'Ember Twiddle'
});
## curl the raw version of this gist like this:
## curl -s -L https://gist.github.com/bixu/5316445/raw/[revision]/ruby-2.0.0-p0+on+smartos | bash
pkgin -y install build-essential libyaml readline libxml2 libxslt postgresql92-client
git clone git://github.com/sstephenson/rbenv.git ~/.rbenv
git clone git://github.com/sstephenson/ruby-build.git ~/.rbenv/plugins/ruby-build
echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bash_profile