Skip to content

Instantly share code, notes, and snippets.

@Kater-auf-Dach
Kater-auf-Dach / proxmox-cifs-lxc.md
Created November 16, 2023 10:24 — forked from zaki-hanafiah/proxmox-cifs-lxc.md
Proxmox: Create CIFS shared storage between host and LXCs (Linux Containers)

In the LXC (run commands as root user)

  1. Create the group "lxc_shares" with GID=10000 in the LXC which will match the GID=110000 on the PVE host.

   groupadd -g 10000 lxc_shares

  1. Add the user(s) that need access to the CIFS share to the group "lxc_shares". f.e.: jellyfin, plex, ... (the username depends on the application)

   usermod -aG lxc_shares USERNAME

Proxmox

So if you're using Proxmox you need to open up ssh and run the following commands:

  1. Setup a root password
sudo passwd root
const routes = [
{
name: "auth.login",
path: "/login",
component: LoginPage,
guards: [checkAuthn({ auth: false, redirectTo: "home" })],
},
{
name: "transactions.list",
path: "/transactions",
(function() {
var CSSCriticalPath = function(w, d, opts) {
var opt = opts || {};
var css = {};
var pushCSS = function(r) {
if(!!css[r.selectorText] === false) css[r.selectorText] = {};
var styles = r.style.cssText.split(/;(?![A-Za-z0-9])/);
for(var i = 0; i < styles.length; i++) {
if(!!styles[i] === false) continue;
var pair = styles[i].split(": ");

VIM shortcuts

In Vim there is the leader key, which is by default __ , but you can change it in any time.

Action Hotkey
▶ File operations
Recent Files List leader m
FuzzyFinder fo files leader ;
Ack/Grep leader /
Show current file in NERDtree in a split leader f
@Kater-auf-Dach
Kater-auf-Dach / tmux-cheatsheet.markdown
Created October 1, 2015 12:43 — forked from MohamedAlaa/tmux-cheatsheet.markdown
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Изменение регистра текста</title>
<style media="screen">
* {box-sizing: border-box;}