Skip to content

Instantly share code, notes, and snippets.

@Th3Whit3Wolf
Th3Whit3Wolf / Arch Secure Laptop Install.md
Last active June 8, 2024 17:13
My install instruction for a secure Arch Linux (sway) laptop workstation

What's Cool

  • Encrypted root partition
    • AES-256 bit cipher
    • Argon2id variant for PBKDF
    • Sha3-512 bit hash
  • rEFInd bootloader
    • With dreary theme
    • Optimal Settings (optimized for aesthetics, and boot time)
  • Boot into backups thanks to refind-btrfs
@mafredri
mafredri / smb.conf
Last active June 7, 2024 14:34
Samba config for Open PS2 Loader (PlayStation 2)
# This setup works pretty well for OPL with a network link that travels through
# two UniFi switches and connects to a Samba server running inside Docker. The
# host OS is Debian with a ZFS filesystem and the container OS is also Debian.
# Latest Samba (4.11+).
[global]
# ======================
# General Samba settings
# ======================
log level = 1
@imba-tjd
imba-tjd / .Cloud.md
Last active July 24, 2024 01:26
☁️ 一些免费的云资源

IaaS指提供系统(可以自己选)或者储存空间之类的硬件,软件要自己手动装;PaaS提供语言环境和框架(可以自己选);SaaS只能使用开发好的软件(卖软件本身);BaaS一般类似于非关系数据库,但各家不通用,有时还有一些其它东西。

其他人的集合

@dzcpy
dzcpy / debian-setup.sh
Last active November 21, 2023 00:47
Debian setup
#!/bin/sh
apt update
apt dist-upgrade -y
apt purge vim-tiny -y
apt install curl build-essential cmake pkg-config git zsh fonts-powerline apt-transport-https dirmngr sudo htop vim xz-utils net-tools socat -y
apt autoclean -y
userdel games
userdel lp
userdel news
userdel irc
@LordH3lmchen
LordH3lmchen / termux-url-opener
Last active May 8, 2024 15:27
termux-url-opener
#!/data/data/com.termux/files/usr/bin/bash
#
# This is a termux-url-opener script to do diffrent tasks on my Android phone
#
#
#
# How to use this script
#############################
#
# Install git
@Neo-Oli
Neo-Oli / lighttpd.conf
Created December 20, 2016 20:43
lighttpd -D -f ~/.lighttpd/lighttpd.con
server.document-root = "/data/data/com.termux/files/home/www"
server.upload-dirs = ("/data/data/com.termux/files/home/.lighttpd/upload")
server.port = 8080
#load modules
server.modules = (
"mod_redirect",
"mod_auth",
#"mod_cgi",
"mod_accesslog",
@manuhabitela
manuhabitela / keymap_leimi.c
Last active September 16, 2020 23:44
Layout GH60 RevCHN - spaceFN, ctrl on capslock, ISO missing key on fn layer
#include "keymap_common.h"
/* following https://gist.github.com/Leimi/bca49d02e48c018ce4c8 to flash firmware on GH60 RevCHN */
const uint8_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
/* layer0: 60% qwerty with custom modifiers
* ESC instead of GRV, FN1 instead of LGUI, LGUI instead of LCTL, LCTL instead of CAPS, SPACEFN instead of SPACE */
KEYMAP_ANSI(
ESC, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, MINS,EQL, BSPC, \
TAB, Q, W, E, R, T, Y, U, I, O, P, LBRC,RBRC,BSLS, \

Experimental attempt at getting organized ...

23/07/2024

FileTrove

FileTrove indexes files and creates metadata from them.