Skip to content

Instantly share code, notes, and snippets.

View arvati's full-sized avatar
💭
Studying online

Ademar Arvati arvati

💭
Studying online
View GitHub Profile
@arvati
arvati / xfce4.ipynb
Last active June 28, 2023 01:43
awesome xfce4 mods
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
sudo apk add --update python3 ffmpeg bash
python3 -m ensurepip --user
python3 -m pip install --upgrade pip setuptools --user

python3 -m pip install --user pipx
python3 -m pipx ensurepath
pipx completions
cat << EOF | sudo tee /etc/profile.d/pipx.sh
eval "\$(register-python-argcomplete pipx)"

Abrir teminal com direitos de administrador
git-bash installed with LxRunOffline
download last version https://github.com/DDoSolitary/LxRunOffline/releases
Alternative Download

cd ~/Downloads
curl -L -O https://github.com/DDoSolitary/LxRunOffline/releases/download/v3.5.0/LxRunOffline-v3.5.0-mingw.zip
ls LxRunOffline-v3.5.0-mingw.zip
unzip -j "LxRunOffline-v3.5.0-mingw.zip" "LxRunOffline.exe" -d "/c/Program Files/Git/usr/bin/"
@arvati
arvati / .pacman_on_gitbash.md
Last active May 8, 2023 16:43
Install pacman into git-bash manually

Instalar 7zip para windows
Abrir teminal com direitos de administrador
lista de pacotes disponiveis

cd ~/Downloads/
curl -O https://repo.msys2.org/msys/x86_64/xz-5.2.5-1-x86_64.pkg.tar.xz
curl -O https://repo.msys2.org/msys/x86_64/xz-5.2.6-1-x86_64.pkg.tar.zst
curl -O https://repo.msys2.org/msys/x86_64/liblzma-5.2.5-1-x86_64.pkg.tar.xz
@arvati
arvati / Docker Compose Service.md
Last active August 7, 2022 03:33
Docker Compose Omada Controller
# /etc/systemd/system/docker-compose-app.service

[Unit]
Description=Docker Compose Application Service
Requires=docker.service
After=docker.service

[Service]
Type=oneshot
did:3:kjzl6cwe1jw14a8uqxtxz01cyhcnx7vl4r5ti0tg68158jnefcxb5qqws872hqw

Install LXC Container with Debian on LXC container in OpenWrt

Config LXC Containers

Config fstab btrfs subvolume /containers to hold all LXC Containers
nano /etc/config/fstab

config mount 'lxc'
        option target '/srv/lxc'
        option uuid '68706ead-a626-4209-b3d0-1187b835f803'
        option fstype 'btrfs'
	option btrfs_raid '1'
@arvati
arvati / Create LXC container with Alpine for sound hacks in Openwrt.md
Last active March 20, 2022 21:53
Create LXC container with Alpine for sound hacks in Openwrt

Create Alpine LXC container in OpenWrt

Config LXC Containers

Config fstab btrfs subvolume /containers to hold all LXC Containers
nano /etc/config/fstab

config mount 'lxc'
        option target '/srv/lxc'
        option uuid '68706ead-a626-4209-b3d0-1187b835f803'
        option fstype 'btrfs'
	option btrfs_raid '1'
wsl ~ -d Alpine
sudo nano /etc/apk/repositories
http://dl-cdn.alpinelinux.org/alpine/edge/main
http://dl-cdn.alpinelinux.org/alpine/edge/community
http://dl-cdn.alpinelinux.org/alpine/edge/testing
@arvati
arvati / .pass_on_gitbash.md
Last active April 16, 2023 11:12
Install pass and rsync into git-bash manually

Instalar 7zip para windows
Abrir teminal com direitos de administrador
lista de pacotes disponiveis

cd ~/Downloads/
curl -O https://repo.msys2.org/msys/x86_64/xz-5.2.5-1-x86_64.pkg.tar.xz
curl -O https://repo.msys2.org/msys/x86_64/liblzma-5.2.5-1-x86_64.pkg.tar.xz
curl -O https://repo.msys2.org/msys/x86_64/zstd-1.4.7-1-x86_64.pkg.tar.xz