Skip to content

Instantly share code, notes, and snippets.

View BenjaminWegener's full-sized avatar
🙃
I may be slow to respond.

@BenjaminWegener BenjaminWegener

🙃
I may be slow to respond.
View GitHub Profile
@BenjaminWegener
BenjaminWegener / RPi-install-wifi.sh
Last active May 25, 2025 10:29 — forked from kmonsoor/RPi-install-wifi.sh
install wifi adapter drivers on Raspberry Pi; origin: http://www.fars-robotics.net/install-wifi
#!/bin/bash
#set -e
# install-wifi - 03/05/2021 - by MrEngman.
UPDATE_SELF=${UPDATE_SELF:-1}
UPDATE_URI="http://downloads.fars-robotics.net/wifi-drivers/install-wifi"
ROOT_PATH=${ROOT_PATH:-"/"}
WORK_PATH=${WORK_PATH:-"${ROOT_PATH}/root"}
@BenjaminWegener
BenjaminWegener / Install.txt
Created February 19, 2022 19:40
Nextcloud on android userland
-install userland from fdroid
-setup debian with ssh
-get wlan ip from android
-connect to ssh via putty/connectbot etc - port is 2022
sudo apt update -y
sudo apt install -y wget unzip mariadb-server mariadb-client php php-{cli,xml,zip,curl,gd,cgi,mysql,mbstring} apache2 libapache2-mod-php
sudo mysql
CREATE DATABASE nextcloud;
CREATE USER admin@localhost IDENTIFIED BY 'password';
GRANT ALL PRIVILEGES ON nextcloud.* TO admin@localhost;
@BenjaminWegener
BenjaminWegener / CAS.glsl
Created July 25, 2022 19:37 — forked from kevinlekiller/CAS.glsl
AMD's Contrast Adaptive Sharpening filter ported to mpv along with ReShade modifications
// LICENSE
// =======
// Copyright (c) 2017-2019 Advanced Micro Devices, Inc. All rights reserved.
// -------
// Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation
// files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy,
// modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the
// Software is furnished to do so, subject to the following conditions:
// -------
// The above copyright notice and this permission notice shall be included in all copies or substantial portions of the
@BenjaminWegener
BenjaminWegener / gist:94c3a293994b3050cff880c4f802fd62
Last active December 8, 2025 19:56
install alpaca (chatGPT) on android
#install termux from f-droid
#copy commands or just use the command:
# pkg install curl -y && curl -s https://gist.githubusercontent.com/BenjaminWegener/94c3a293994b3050cff880c4f802fd62/raw/92b1c7056764af7e8548f66b4412c0615da46175/gistfile1.txt | bash
termux-setup-storage
pkg update -y
pkg upgrade -y
pkg install wget build-essential cmake git -y
git clone https://github.com/antimatter15/alpaca.cpp
cd alpaca.cpp