Skip to content

Instantly share code, notes, and snippets.

View rem1niscence's full-sized avatar

Roniel Valdez rem1niscence

  • Madrid, Spain
  • 16:56 (UTC +02:00)
View GitHub Profile
@alexedwards
alexedwards / Makefile
Last active August 8, 2025 02:59
Boilerplate Makefile for Go projects
# Change these variables as necessary.
main_package_path = ./cmd/example
binary_name = example
# ==================================================================================== #
# HELPERS
# ==================================================================================== #
## help: print this help message
.PHONY: help
@gangefors
gangefors / Install FreeNAS SCALE on a partition and create a mirror.md
Last active July 22, 2025 21:09
How to install TrueNAS SCALE on a partition instead of the full disk

Install TrueNAS SCALE on a partition instead of the full disk

The TrueNAS installer doesn't have a way to use anything less than the full device. This is usually a waste of resources when installing to a modern NVMe which is usually several hundred of GB. TrueNAS SCALE will use only a few GB for its system files so installing to a 16GB partition would be helpful.

The easiest way to solve this is to modify the installer script before starting the installation process.

@vasanthk
vasanthk / System Design.md
Last active August 11, 2025 23:07
System Design Cheatsheet

System Design Cheatsheet

Picking the right architecture = Picking the right battles + Managing trade-offs

Basic Steps

  1. Clarify and agree on the scope of the system
  • User cases (description of sequences of events that, taken together, lead to a system doing something useful)
    • Who is going to use it?
    • How are they going to use it?