Skip to content

Instantly share code, notes, and snippets.

View dev1lsconf's full-sized avatar
😈

dev1ls dev1lsconf

😈
View GitHub Profile
@dev1lsconf
dev1lsconf / aria2c-webui-termux.md
Created March 24, 2023 17:30 — forked from T4P4N/aria2c-webui-termux.md
Setup aria2c WebUI in Termux

Installation & Configuration

  • Install necessary pkgs
pkg install aria2c wget python git
  • Download webui for aria2c
@dev1lsconf
dev1lsconf / my-nixos-installation.md
Created November 24, 2022 00:14
NixOS installation guide, tailored to my needs

Preface

This manual describes how to install, use and extend NixOS, a Linux distribution based on the purely functional package management system Nix, that is composed using modules and packages defined in the Nixpkgs project.

Installation

This section describes how to obtain, install, and configure NixOS for first-time use.

Obtaining NixOS

NixOS ISO images can be downloaded from the NixOS download page. There are a number of installation options. In this manual we will assume that the chosen option is Minimal ISO image (64bit). You can burn it on a USB stick with:

@dev1lsconf
dev1lsconf / screen.sh
Created October 31, 2022 04:24 — forked from wolph/screen.sh
Screen reattach script for bash/zsh/etc..
# If we're not in screen, resume the existing session
if [[ "$TERM" != screen* ]]; then
# Clean up old sessions
screen -wipe > /dev/null
# See if there are sessions available
screen -q -ls
if [[ "$?" -ge "10" ]]; then
# Reconnect if there are
exec screen -x
@dev1lsconf
dev1lsconf / home-media-docker-compose.yml
Created October 24, 2022 09:15 — forked from gwynp/home-media-docker-compose.yml
Home Media Docker Compose File
version: "2"
services:
sabnzbd:
environment:
- PGID=1000
- PUID=1000
image: linuxserver/sabnzbd
container_name: sabnzbd
# keeps servers up and running and starts on boot
@dev1lsconf
dev1lsconf / vmm_howto.md
Created September 10, 2022 02:35 — forked from tvlooy/vmm_howto.md
OpenBSD VMM howto

OpenBSD VMM howto

Setup

/etc/rc.conf.local

apmd_flags="-A"
dhcpd_flags=vether0
vmd_flags=
ntpd_flags="-s"
@dev1lsconf
dev1lsconf / arch-secure-install.md
Created August 31, 2022 16:43 — forked from umbernhard/arch-secure-install.md
Building a Secure Arch Linux Device

Building a Secure Arch Linux Device

Locking down a linux machine is getting easier by the day. Recent advancements in systemd-boot have enabled a host of features to help users ensure that their machines have not been tampered with. This guide provides a walkthrough of how to turn on many of these features during installation, as well as reasoning for why certain features help improve security.

The steps laid out below draw on a wide variety of existing resources, and in places I'll point to them rather than attempt to regurgitate full explanations of the various security components. The most significant one, which I highly encourage everyone to read, is Rod Smith's site about secure boot, which is the most comprehensive and cogent explanation of UEFI, boot managers and boot loaders, and secure boot. Another incredibly useful resources is Safeboot, which encapsulates many of the setup steps below in a Debian application.

@dev1lsconf
dev1lsconf / .tmux.conf
Created August 21, 2022 07:08 — forked from gblmarquez/.tmux.conf
.tmux.conf with fish as default shell
# Default termtype. If the rcfile sets $TERM, that overrides this value.
set -g default-terminal screen-256color
# support logging out and back in
set -g update-environment "SSH_ASKPASS SSH_AUTH_SOCK SSH_AGENT_PID SSH_CONNECTION"
# pbcopy support
set-option -g default-command "reattach-to-user-namespace -l bash"
# vi mode
@dev1lsconf
dev1lsconf / 30-touchpad.conf
Created August 10, 2022 07:05 — forked from miguelmota/30-touchpad.conf
Arch linux enable tap to click on touchpad
Section "InputClass"
Identifier "touchpad"
Driver "libinput"
MatchIsTouchpad "on"
Option "Tapping" "on"
Option "TappingButtonMap" "lmr"
EndSection
@dev1lsconf
dev1lsconf / -setup-linux-devenv.md
Created May 17, 2022 23:05 — forked from leodutra/-setup-linux-devenv.md
Install and Setup Ubuntu Linux dev env with Terminator, ZSH (+ .zshrc) + Oh My Zsh + Powerlevel9k + plugins, Rust, FNM + VSCode (+ext) and Nerd Font

Setup Ubuntu Linux Dev Environment

Terminator, ZSH (+ .zshrc) + Oh My Zsh + Powerlevel9k + plugins, Rust, FNM + VSCode (+ext) and Nerd Font

To setup Linux for WSL2, see this gist

Preview

Requirements