Skip to content

Instantly share code, notes, and snippets.

@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 \
@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 / 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 / 2024-02-16.md
Last active February 16, 2024 14:44
2024-02-16.md
@f4bio
f4bio / 2024-02-16 SmartPhone Empfehlung.md
Last active February 16, 2024 14:51
2024-02-16 SmartPhone Empfehlung.md