Skip to content

Instantly share code, notes, and snippets.

View Sacro's full-sized avatar
🏠
Working from home

Ben Woodward Sacro

🏠
Working from home
View GitHub Profile
@plentz
plentz / nginx.conf
Last active November 1, 2024 06:31
Best nginx configuration for improved security(and performance)
# to generate your dhparam.pem file, run in the terminal
openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048
@mikroskeem
mikroskeem / Arch Linux btrfs install.md
Last active October 18, 2024 19:52 — forked from artizirk/Arch Linux btrfs install.md
Arch Linux installation on btrfs subvolumes

Arch Linux btrfs install

NOTE: Last update to this gist was on Jun 2, 2018. Most of the things here are out of date (e.g consider using zstd for transparent compression instead of lzo), so do your own research as well. Take care!

0. Prerequisites

  • Plenty of storage - snapshots will take (sort of) a lot of space
  • Latest Arch Linux install iso because those have newer kernels and more bugfixes in btrfs.
  • Have previous experience with installing Arch (like you can install arch with a blind fold).
  • Read everything through
@maratori
maratori / .golangci.yml
Last active October 28, 2024 14:34
Golden config for golangci-lint
# This code is licensed under the terms of the MIT license https://opensource.org/license/mit
# Copyright (c) 2021 Marat Reymers
## Golden config for golangci-lint v1.61.0
#
# This is the best config for golangci-lint based on my experience and opinion.
# It is very strict, but not extremely strict.
# Feel free to adapt and change it for your needs.
run:
@cjxe
cjxe / 1.md
Last active September 26, 2024 21:00
🍎 MacOS apps that I use regularly

⚠️ DISCLAIMER

My rule of thumb to download a new tool is to wait until I Google a tool to solve one of my problems, and then integrate it into my workflow. So, I would treat this list as an "exploration" step, and download the tools which you think are useful to your workflow.

Productivity