Skip to content

Instantly share code, notes, and snippets.

@matthewpi
matthewpi / README.md
Last active April 8, 2026 03:53
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

@joshbuchea
joshbuchea / semantic-commit-messages.md
Last active May 5, 2026 08:44
Semantic Commit Messages

Semantic Commit Messages

See how a minor change to your commit message style can make you a better programmer.

Format: <type>(<scope>): <subject>

<scope> is optional

Example

@idelsink
idelsink / .clang-format
Last active February 6, 2026 13:29
Clang format file.
# clang-format
# Made by: Ingmar Delsink
# https://ingmar.dels.ink
# See http://clang.llvm.org/docs/ClangFormatStyleOptions.html
# Tested with: clang-format version 3.7.1
# General
#########
# The style used for all options not specifically set in the configuration.
@Integralist
Integralist / 1. (new) via docker.Dockerfile
Last active March 12, 2023 16:57
[Manually compile Vim] #tags: vim, compile
FROM golang:1.8
RUN apt-get update -y
RUN apt-get install -y wget git ncurses-dev
WORKDIR /tmp
RUN git clone https://github.com/vim/vim.git
RUN cd vim && make && make install
@h0tw1r3
h0tw1r3 / aria2.daemon
Last active February 27, 2025 10:16
Aria2c systemd service
continue
dir=/var/www/downloads
file-allocation=falloc
max-connection-per-server=4
max-concurrent-downloads=2
max-overall-download-limit=0
min-split-size=25M
rpc-allow-origin-all=true
rpc-secret=YouShouldChangeThis
input-file=/var/tmp/aria2c.session