Skip to content

Instantly share code, notes, and snippets.

View f4bio's full-sized avatar

Fabio Tea f4bio

View GitHub Profile
@f4bio
f4bio / 2024-02-16 SmartPhone Empfehlung.md
Last active February 16, 2024 14:51
2024-02-16 SmartPhone Empfehlung.md
@f4bio
f4bio / 2024-02-16.md
Last active February 16, 2024 14:44
2024-02-16.md
@f4bio
f4bio / casaos_alpha_upgrade.sh
Last active June 26, 2023 16:03
casaos_alpha_upgrade.sh
#!/usr/bin/bash
#
# CasaOS Update Script v0.4.3#
# GitHub: https://github.com/IceWhaleTech/CasaOS
# Issues: https://github.com/IceWhaleTech/CasaOS/issues
# Requires: bash, mv, rm, tr, grep, sed, curl/wget, tar, smartmontools, parted, ntfs-3g, net-tools
#
# This script update your CasaOS.
# Usage:
#
@f4bio
f4bio / fix_perms.sh
Last active October 12, 2022 01:12
fix linux file/folder permissions
#!/bin/sh
findCmd=${FIND_EXECUTABLE_PATH:-$(which find)}
targetGroup=${TARGET_GROUP_NAME:-$(id -ng)}
targetUser=${TARGET_USER_NAME:-$(id -nu)}
$findCmd $1 -type f -exec chmod 664 {} \;
$findCmd $1 -type d -exec chmod 775 {} \;
$findCmd $1 -exec chown $targetUser:$targetGroup {} \;
@f4bio
f4bio / gist:380d696f6a560020ea96f4a7ba071c97
Created August 29, 2022 12:30
php-build install fedora deps
sudo dnf install \
plocate \
autoconf \
bison \
re2c \
libxml2-devel \
sqlite-devel \
libcurl-devel \
gd-devel \
gcc \
sudo apt install \
libxslt1-dev \
libcurl4-openssl-dev \
libmcrypt-dev \
libjpeg-dev \
libreadline-dev \
libonig-dev \
libtidy-dev \
libxml2-dev \
libzip-dev \
BEGIN MESSAGE.
gcsgXr77sf3pt8z yEtwcVFPnPetS5I VwUW1oK0vfzjSJd FAT5f0vdgFhdrEz
qRPi67EQtgcbor6 W4E15UprMsHTCKq 6Xr2MZHgg6ei33r KqwKzuC8bSm61aF
q3mCtH4seCbymoE 8BlMNOvV8WwhRAI VP6mWBvsvfVZ1Gs JnIKJBUSytZ4ExC
2z9z1nM1jZ5oVQl ygibBxOH7PBtrK2 BJpHx.
END MESSAGE.

Keybase proof

I hereby claim:

  • I am f4bio on github.
  • I am f4bio (https://keybase.io/f4bio) on keybase.
  • I have a public key ASCc3F_Ih1DnPDrKfRtAm6KBDyfFE5n4Ff45F40C-_JgXwo

To claim this, I am signing this object:

@f4bio
f4bio / RPi-aria2-with-webui.sh
Last active August 9, 2018 12:37 — forked from akaxxi/RPi-aria2-with-webui.sh
Install Aria2 and webui on Raspberry Pi with one simple script.
#!/bin/sh
DOWNLOAD_DIR="${HOME}/MiniDLNA"
CONFIG_DIR="${HOME}/.aria2"
RPC_TOKEN="changeIt"
RPC_PORT="6800"
change_apt_source(){
if [ -f /etc/apt/sources.list ]; then
sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak
#!/bin/bash
echo "better use: https://github.com/f4bio/linux-rescuemode.git"
#mount /dev/sda3 /mnt/custom
#mount --bind /dev /mnt/custom/dev
#mount --bind /proc /mnt/custom/proc
#mount --bind /sys /mnt/custom/sys