- Add this line in deno.json
{
"nodeModulesDir": "auto",
}
| ############ If you are using DOCKER all-in-one image, create Dockerfile like: ################ | |
| ############ FROM openproject/openproject:16 ################ | |
| ############ COPY ./enterprise_token.rb app/models/enterprise_token.rb ################ | |
| ############ If you are runing a manual installation: ################ | |
| ############ REPLACE app/models/enterprise_token.rb in the source code with this file! ################ | |
| ############ also be sure to RESTART OpenProject after replacing the file. ################ | |
| ############ If using some other set up (eg docker-compose), read the comments on ################ | |
| ############ https://gist.github.com/markasoftware/f5b2e55a2c2e3abb1f9eefcdf0bfff45 ################ |
| rm -rfv .git | |
| git init -b main | |
| git add . | |
| git commit -m "First commit" | |
| git remote add origin https://github.com/REPO.git | |
| gh auth login | |
| git push origin main |
Download Android SDK and put it under a known location. Get the
appropriate commandlinetools package from this page. Then, extract
it under ~/Android/.
mkdir -p ~/Android/Sdk
cd ~/Android
cp ~/Downloads/commandlinetools-linux-6858069_latest.zip .
unzip commandlinetools-linux-6858069_latest.zip
| python.org | |
| kivy.org | |
| https://kivymd.readthedocs.io Material Design (Android style UI) | |
| https://kivy-cupertino.readthedocs.io Cupertino (iOS style UI) | |
| https://buildozer.readthedocs.io (APK compile) | |
| logcat *:S python:D | |
| .buildozer/android/platform/python-for-android/pythonforandroid/bootstraps/common/build/templates/gradle.tmpl.properties | |
| Android API SDK NDK | |
| https://developer.android.com/studio/releases/platforms |
| Build Image: | |
| git clone https://github.com/libretro/Lakka-LibreELEC | |
| cd Lakka-LibreELEC | |
| DISTRO=Lakka PROJECT=RPi DEVICE=RPi2 ARCH=arm make image | |
| Upgrade Image: | |
| cd Lakka-LibreELEC | |
| git pull | |
| rm -rf target | |
| DISTRO=Lakka PROJECT=RPi DEVICE=RPi2 ARCH=arm make image |
| sudo nano /etc/nginx/nginx.conf | |
| load_module /usr/lib/nginx/modules/ngx_stream_module.so; | |
| events {} | |
| stream { | |
| upstream k3s_servers { | |
| server 192.168.0.10:6443; | |
| server 192.168.0.11:6443; |
| sudo netstat -ltpn |
| #Prep | |
| touch ~/.bashrc | |
| echo 'export PATH=$HOME/.local/bin:$PATH' >> ~/.bashrc | |
| ln -s ~/.bashrc -> ~/.bash_profile | |
| ln -s ~/.bashrc -> ~/.profile | |
| mkdir ~/.local | |
| mkdir ~/.tmp | |
| echo prefix = ~/.local >> ~/.npmrc | |
| echo prefix = ~/.local >> ~/.yarnrc | |
| . ~/.bashrc |
| Compress | |
| xz -zk9evv -T 0 <input file> | |
| Decompress | |
| xz -dkvv -T 0 <input file> |