This document outlines the design and specifications for a home NAS (Network Attached Storage) system using the Seagate Business Storage 2-Bay NAS, focusing on RAID configurations, potential use of hybrid setups, and the consideration of ZFS file systems.
#!/bin/zsh | |
# Help message function | |
function show_help() { | |
cat <<- EOF | |
Usage: ${0} [OPTIONS] -e EXTENSIONS | |
Concatenates the contents of specified file types into a single file, with headers indicating the source files. | |
OPTIONS: |
This guide provides an overview of the setup process for an Ubuntu home server, including steps for setting up various services and tools to maximize functionality and ease of use.
Before starting, ensure you have the following:
- A server with Ubuntu installed.
WSL2, or Windows Subsystem for Linux 2, allows you to run a full Linux kernel directly on Windows. This powerful feature unlocks a wide range of possibilities, making it possible to run a full-fledged Linux environment on your Windows machine without the need for a dual-boot or virtual machine setup.
Before you can use WSL2, you'll need to install it and configure your system:
Action | Command |
---|---|
Enable WSL (from PowerShell as Admin) | dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart |
Enable Virtual Machine Platform (from PowerShell as Admin) | dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart |
This cheat sheet provides a quick overview of tmux
commands, enabling you to manage terminal sessions effectively and boost your productivity. tmux
, short for terminal multiplexer, is a valuable tool for running and managing multiple terminal sessions within a single terminal window or remote shell. This guide covers session management, window management, pane management, and other miscellaneous commands to aid in effective tmux
utilization.
A tmux
session is an independent workspace that houses one or multiple windows. Users or shell scripts create sessions, and each session maintains its state independently. They are useful for organizing terminal activities, especially in remote shell scenarios where a dropped connection can disrupt your work. In such a case, tmux
sessions remain alive, and you can reattach to them later.
Action | Command |
---|
.modal-dialog { | |
width: 100% !important; | |
} |
(() => { | |
window.injected = true; | |
console.log('injected'); | |
setTimeout(() => alert("hello"), 1000); | |
})(); |