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 | |
echo "# begin build properties" | |
echo "# autogenerated by buildinfo.sh" | |
echo "ro.build.id=$BUILD_ID" | |
echo "ro.build.display.id=$BUILD_DISPLAY_ID" | |
echo "ro.build.version.incremental=$BUILD_NUMBER" | |
echo "ro.build.version.sdk=$PLATFORM_SDK_VERSION" | |
echo "ro.build.version.preview_sdk=$PLATFORM_PREVIEW_SDK_VERSION" | |
echo "ro.build.version.preview_sdk_fingerprint=$PLATFORM_PREVIEW_SDK_FINGERPRINT" |
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 | |
# Usage : cd /some/dir/containing/mediafiles | |
# bash playx | |
# Dec: playing random media files on working directory | |
# dependencies : | |
# - memerlukan mpv untuk membuat subproses agar berjalan mengikuti proses java dan mengumpulkan informasi file yang diperlukan | |
# - bc package untuk menghitung agar subproses berjalan dengan baik |
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 | |
OUTFD='/sdcard/Download/dircontent_sdcard.txt' | |
export OUTFD | |
cd /sdcard | |
clear | |
ls -ap --color | grep '/' > $OUTFD | |
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
echo "Clean up the file termux downloaded?" | |
echo $(pwd) | |
read REPLY | |
rm -rf $(pwd)/* |
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
local CHECK_GPU=$(su -c dumpsys SurfaceFlinger | awk '/GLES: / { print $3 $4}' ) | |
CHECK_GPU=${CHECK_GPU-'FAIL'} | |
local CHECK_CPU=$(if [ "$(getprop|grep ro.product.board)" != "$(cat /proc/cpuinfo|grep Hardware)" ]; then echo $(getprop ro.product.board); else echo $(cat /proc/cpuinfo|grep Hardware); fi) | |
local CHECK_MEM=$(echo "$(free -m | xargs | awk '{print "" $17 "/" $8 " MB"}') ") | |
echo "" | |
echo -e "${G} %=,_ _,=%${D}" | |
echo -e "${G} ,\*?&&&&&&&&&&?*/, \tTERM: $TERM" | |
echo -e "${G} &&&&&${R}*${G}&&&&&&&${R}*${G}&&&& ${D}\tSHELL: $SHELL" | |
echo -e "${G} &&&&&&&&&&&&&&&&&&&&${D} \tCPU: $CHECK_CPU " | |
echo -e "${G} &&&&&&&&&&&&&&&&&&&&${D} \tGPU: $CHECK_GPU " |
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
getprop ro.build.ab_update |
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
#!/system/bin/sh | |
# date Thu May 9 19:00:28 WIB 2019 | |
# Script untuk secara acak memilih gambar lalu mengaturnya menjadi wallpaper dari file dalam directory | |
# (28.05.2019)Teu | |
# Honeycoffe | |
# Requipment | |
# - Directory Containing Pictures | |
# - Busybox installed in your device |
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
# Copy pasta ke initial langsung | |
: ' exit | |
echo -e " | |
| Command line: $0 | |
| Terminal type: ${TERM} | |
| HOME folder: ${HOME} | |
| Initial command: | |
0\texit"; history | |
' |
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 | |
# heavily inspired by http://fitnr.com/showing-file-download-progress-using-wget.html | |
URL=$1 | |
wget --progress=dot "$URL" 2>&1 |\ | |
grep "%" |\ | |
sed -u -e "s,\.,,g" | awk '{print $2}' | sed -u -e "s,\%,,g" | dialog --gauge "Download $(basename $URL) " 10 100 | |
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
#!/system/bin/sh | |
# | |
# FT stands for (force true) to use Disableprecmd in prompt | |
# MIT License, Copyleft (c) 2021 Luis Adha. | |
# This is asset of kalip.sh | |
# Usage: ft [command] | |
# or: ft ./file |