Skip to content

Instantly share code, notes, and snippets.

@agoose77
agoose77 / flake.nix
Last active September 16, 2024 03:06
Python virtualenvironment flake
{
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
flake-utils.url = "github:numtide/flake-utils";
};
outputs = inputs @ {
self,
nixpkgs,
flake-utils,
...
@OdinsPlasmaRifle
OdinsPlasmaRifle / arch_linux_installation.md
Last active September 4, 2024 19:49
LVM on LUKS Arch installation with systemd-boot
@heppu
heppu / ARCH_INSTALL.MD
Last active August 22, 2024 16:25
Installing Arch with GPT, dm-crypt, LUKS, LVM and systemd-boot

Create bootable USB

dd bs=4M if=/path/to/archlinux.iso of=/dev/sdx status=progress oflag=sync

Boot from USB and set prepare system

loadkeys <your-keymap>
@paitonic
paitonic / arch-install-script
Created February 6, 2016 09:28
Arch installation script
#################################################################
############################## DRAFT ############################
#################################################################
# arch linux - stage_install
# update system clock
$ timedatectl set-ntp true
# PARTITIONING (EFI)
-s -- never prompt the user
#!/usr/bin/php
<?php
/* Transmission to Deluge export script
*
* Transmission - transmission-gtk 2.77 (14031)
* Deluge - deluge: 1.3.6
* Script - PHP 5.4.14 (cli)
*
* How to use this script;
* 1) Run `php trans_to_deluge.php` and make sure there aren't any errors.
@KartikTalwar
KartikTalwar / Documentation.md
Last active August 11, 2024 01:52
Rsync over SSH - (40MB/s over 1GB NICs)

The fastest remote directory rsync over ssh archival I can muster (40MB/s over 1gb NICs)

This creates an archive that does the following:

rsync (Everyone seems to like -z, but it is much slower for me)

  • a: archive mode - rescursive, preserves owner, preserves permissions, preserves modification times, preserves group, copies symlinks as symlinks, preserves device files.
  • H: preserves hard-links
  • A: preserves ACLs