How to have a simple debian repository to offer your packages.
You probably have them already installed
- Python (I used 2.7).
- dpkg-scanpackages:
sudo apt-get install dpkg-dev - gzip:
sudo apt-get install gzip
| ### WARNING: READ CAREFULLY BEFORE ATTEMPTING ### | |
| # | |
| # Officially, this is not recommended. YMMV | |
| # https://www.raspberrypi.com/news/bookworm-the-new-version-of-raspberry-pi-os/ | |
| # | |
| # This mostly works if you are on 64bit. You are on your own if you are on 32bit or mixed 64/32bit | |
| # | |
| # Credit to anfractuosity and fgimenezm for figuring out additional details for kernels | |
| # |
| #!/bin/bash | |
| JWT_TOKEN="" | |
| THINGSBOARD_URL="" | |
| DEVICEID="" | |
| KEYS="" | |
| ENDTS="" | |
| OUTFILE="tb-data.json" | |
| curl -X GET \ |
| Original: http://ii-net.tk/ii/ii-web.php?msgid=dv3z3xUssnrCkrxJSXY3 | |
| Quick installation of SBCL on Termux and some other Android systems | |
| Does not require root access on your phone (only on PC) | |
| Part 1 (desktop system) | |
| ==== | |
| # You can find these packages easily for your own distribution | |
| sudo pacman -S qemu-static qemu-arch-extra-static binfmt-qemu-static |
| 1. The texture target needs to be GLES20.GL_TEXTURE_EXTERNAL_OES instead of GL_TEXTURE_2D, e.g. in the glBindTexture calls and glTexParameteri calls. | |
| 2. In the fragment shader define a requirement to use the extension: | |
| #extension GL_OES_EGL_image_external : require | |
| 3. For the texture sampler used in the fragment shader, use samplerExternalOES instead of sampler2D. | |
| Everything below here is all in the C code, no more Java. | |
| 4. In the C code, use glEGLImageTargetTexture2DOES(GL_TEXTURE_EXTERNAL_OES, eglImage) to specify where the data is, instead of using glTexImage2D family of functions. |