Setup termux for ssh, scripts, tasker/macrodroid integration
Note If secure Google accounts are active on the device, it is not possible to install apps from Fdroid Store
- Termux
- Termux:API
- Termux:Widget
Script started on 2021-08-21 22:12:23+09:00 [TERM="xterm-256color" TTY="/dev/pts/0" COLUMNS="93" LINES="17"] | |
[?2004h[0;32m~[0m [0;97m$[0m pkg update | |
[?2004l Testing the available mirrors: | |
[*] https://packages.termux.org/apt/termux-main: ok | |
[*] https://deb.kcubeterm.me/termux-main: ok | |
[*] https://termux.mentality.rip/termux-main: ok | |
[*] https://grimler.se/termux-packages-24: ok | |
[*] https://termux.librehat.com/apt/termux-main: ok | |
Picking mirror: https://grimler.se/termux-packages-24 | |
[33m 0% [Working][0m[33m 0% [Connected to grimler.se (185.224.83.107)] [Connected to packages.termux.org (147.75.35.2[0m[33m 0% [Waiting for headers] [Waiting for headers][0m Get:1 https://grimler.se/termux-packages-24 stable InRelease [16.8 kB] |
import android.animation.TypeEvaluator; | |
import android.graphics.Matrix; | |
public class MatrixEvaluator implements TypeEvaluator<Matrix> { | |
private Matrix evaluated = new Matrix(); | |
private float[] values = new float[9]; | |
private float[] startValues = new float[9]; | |
private float[] endValues = new float[9]; | |
@Override |
Do you find Arch Linux in Termux PRoot and Termux on device inspiring? These images were raytraced on a smartphone in Termux in Android, January 2018. They were created with Povray in Arch Linux Termux PRoot. This website is about Povray in Arch Linux in Termux PRoot and is being built around Package Request: Povray and Povray Termux Package Request. More information at https://sdrausty.github.io/TermuxPovray/docs. The files are amazing
Termux Bash script for monitoring internet connection by periodically checking (pinging some host) and showing notifications with LED and vibration when connection is lost or established using termux-notification API
termux-pinger.sh
into the home directory with the proper permissions (get the link to the raw termux-pinger.sh below):curl -o ~/termux-pinger.sh https://gist.githubusercontent.com/gpchelkin/b18916c56ff7c759860725a28a747242/raw/b8aa96bb2c7e1dac84f854980eaeb6cd194dde4f/termux-pinger.sh
chmod +x ~/termux-pinger.sh
{% macro outputTiles(tileList) %} | |
{# use macro to keep it DRY #} | |
<div class="tiles"> | |
{% for tile in tileList %} | |
<div class="tile">{{ tile.tileTitle }}</div> | |
{% endfor %} | |
</div> | |
{% endmacro %} |
bundle exec ruby bot.rb | |
bot created | |
(JSON::ParserError)bies/ruby-2.3.0/lib/ruby/2.3.0/json/common.rb:156:in `parse': 784: unexpected token at '<html> | |
<head><title>302 Found</title></head> | |
<body bgcolor="white"> | |
<center><h1>302 Found</h1></center> | |
<hr><center>nginx/1.9.1</center> | |
</body> | |
</html> | |
' |