Skip to content

Instantly share code, notes, and snippets.

View nelsonaloysio's full-sized avatar
🐧

nelsonaloysio

🐧
View GitHub Profile
#!/bin/sh
# SPDX-License-Identifier: GPL-3.0-only
#
# This file is part of the distrobox project:
# https://github.com/89luca89/distrobox
#
# Just modified to work with toolbox:
# https://github.com/containers/toolbox
#
# Copyright (C) 2021 distrobox contributors
#!/usr/bin/env bash
# Downloads and extracts Microsoft core fonts.
# To make it available, move the output files to:
#
# User-wide: ~/.local/share/fonts [or] ~/.fonts
# System-wide: /usr/share/fonts
#
# Requires `cabextract`.
#
#!/usr/bin/env bash
#
# A simple Bash CLI tool aimed at unlocking
# BitLocker-encrypted devices with <dislocker>.
USAGE="""usage: bitlocker /dev/sdX "my_password" [--relock]
"""
USER_ID="1000"
ROOT_DIR="/dev/dislocker"
TARGET_DIR="/media/dislocker"
#!/usr/bin/env bash
#
# A simple script in bash to list Arch
# packages with some nifty improvements.
#
# usage: packages {option}
# options:
# installed lists user installed packages
# dependencies lists dependency packages
# history lists install history