Skip to content

Instantly share code, notes, and snippets.

View JucaRei's full-sized avatar
:electron:
Focusing

JucaRei

:electron:
Focusing
View GitHub Profile
@matthewpi
matthewpi / README.md
Last active June 28, 2025 10:08
Nix on Fedora

NixOS on Fedora

Please note that these instructions are not offically supported or condoned by Nix and are not guaranteed to always work, but from my testing everything seems to work perfectly fine.

These steps may not be required if NixOS/nix#2374 is resolved.

SELinux

These commands are required for both Fedora Workstation and Fedora Silverblue

@raphendyr
raphendyr / 0-about.md
Last active May 13, 2025 19:21
Instructions on installing Debian manually with full control. Desktop, laptop or VM.

Installing Linux

This gist is my notebook about how to setup Linux machine to my liking. The setup assumes full disk encryption.

Due to partitioning and encryption, I have come to conclude I need to do this manually. However, I'm happy to remove parts of the this page, as long as there is better way to do it.

Please note that Debian and Arch Linux have more comprehensive guides.

@olegshtch
olegshtch / Dockerfile
Last active February 20, 2023 02:18
Docker container for building iso
FROM dyne/devuan:chimaera
ARG SUITENAME=chimaera
ARG architecture=amd64
RUN apt update -y
RUN apt list --upgradable
@scyto
scyto / docker-swarm-architecture.md
Last active June 23, 2025 00:20
My Docker Swarm Architecture

This (and related gists) captures how i created my docker swarm architecture. This is intended mostly for my own notes incase i need to re-creeate anything later! As such expect some typos and possibly even an error...

Installation Step-by-Step

Each major task has its own gist, this is to help with maitainability long term.

  1. Install Debian VM for each docker host
  2. install Docker
  3. Configure Docker Swarm
  4. Install Portainer
  5. Install KeepaliveD
  6. Using VirtioFS backed by CephFS for bind mounts (migrating from glsuterFS - WIP)
@fufexan
fufexan / cpp-dev-env-flake.nix
Last active July 1, 2025 16:59
C/C++ dev environment in Nix, using Clang
{
description = "C/C++ environment";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
utils.url = "github:numtide/flake-utils";
};
outputs = { self, nixpkgs, utils, ... }@inputs:
utils.lib.eachDefaultSystem (
@Noxturnix
Noxturnix / fingertip-on-android.md
Created January 30, 2022 02:27
Fingertip on Android

Fingertip on Android

So, I just managed to install [Fingertip] on my Android device and I want to share how I did it

Note

I have written this from my experiments. It might not work on your device, or in worst case, you might lose your data. Feel free to follow what I did, but make sure you understand what you are doing. I'm not responsible on what is happening to your device c:

Note 2

@tdamsma
tdamsma / migrating-away-from-docker-desktop.md
Last active July 4, 2025 14:37
Running VSCode remote containers on windows without docker desktop

Running VSCode remote containers on windows without docker desktop

Due to the license issues with docker desktop and the fact that you don't really need this buggy bit of software, this guide will walk you through the steps to use VSCode+remote-containers in combination with WSL2 without using docker desktop.

Get rid of docker desktop

Only if you have docker desktop currently installed of course

Uninstall docker desktop application

@JSinghDev
JSinghDev / LXCBindMount.md
Last active June 18, 2025 08:11 — 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

OR

pct set 100 -mp0 /mnt/bindmounts/shared,mp=/shared

@kmatt
kmatt / void-wsl.txt
Last active June 30, 2025 23:27
Install Void Linux on WSL2
# Based on https://gist.github.com/kmatt/71603170556ef8ffd14984af77ff10c5
# prompt ">" indicates Powershell commands
# prompt "$" are Linux shell commands
# https://docs.microsoft.com/en-us/windows/wsl/install-win10
> dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
> dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
# install https://wslstorestorage.blob.core.windows.net/wslblob/wsl_update_x64.msi