This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/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"} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| -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; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #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 |
OlderNewer