Skip to content

Instantly share code, notes, and snippets.

View riskyprsty's full-sized avatar
:electron:
This world is a cruel place

Riski Gana Prasetya riskyprsty

:electron:
This world is a cruel place
  • Indonesia
View GitHub Profile
@siddolo
siddolo / bettercap.md
Last active September 5, 2024 22:21
bettercap webui from docker

bettercap webui from docker

create volume

docker volume create bettercap

bootstrap/update

Only run caplets.update the first time as every time the entire system caplets folder is replaced with the downloaded contents from github, overwriting your changes, such as the credentials, with default values. You can either backup your changes and restore them later in the system folder, or simply copy the changed caplet files in bettercap’s working directory, in which case they’ll be loaded before the ones installed system wide. https://www.bettercap.org/usage/

@renich
renich / 00-gentoo-installation-partitioning.bash
Last active April 2, 2026 04:32
Install Gentoo on BtrFS subvolumes + UEFI
#!/usr/bin/env bash
# WARNING!!
# This will obliterate all the data in your partition!! (not actually true, but act as if it was)
# Do NOT execute this script if you don't fully understand it!
# a few vars
amount_of_swap=$( free --si -g | grep Mem: | gawk '{ print $2 + 1}' )
# create directories