Skip to content

Instantly share code, notes, and snippets.

View luisadha's full-sized avatar
🇵🇸
Free Palestine

Luis Adha luisadha

🇵🇸
Free Palestine
View GitHub Profile
#!/data/data/com.termux/files/usr/bin/bash
# Created @luisadha
set +o noclobber;
format='audio/mp3';
format2='audio';
file="${1:+"${1}/*.mp3"}";
file2="${1:-"${HOME}/downloads/*.mp3"}";
files=$(busybox ls ${file:-${file2}});
@luisadha
luisadha / gist:dacbaa30a7c8f10f7f68476e56241efd
Created September 7, 2024 17:31
Embed any code for rcfile
# .bashrc -*- mode: sh -*-
pthon3 - <<EOF
# Kode Python di sini
print("Halo dari Python!")
EOF
expect - <<EOF
spawn brandomusic
expect {
@luisadha
luisadha / live-bashrc
Last active May 27, 2024 17:39
MY SIMPLE CONFIGURATION OF BASHRC
# Update 28, Mei 2024 by @luisadha
# Enable the subsequent settings only in interactive sessions
case $- in
*i*) ;;
*) return;;
esac
: "My Custom Path"
export PATH="$PATH:~/.local/bin:/system/bin:$HOME/.cargo/bin"
: "My Habbit Aliases"
@luisadha
luisadha / dotfiles
Last active March 12, 2024 11:01
Konfigurasi sederhana untuk termux
Konfigurasi sederhana untuk termux.
Rekomendasi dari saya
@luisadha
luisadha / dependfiles
Created March 2, 2024 18:10
File file
Dummy files see next file
@luisadha
luisadha / getting-started-of-termux.txt
Last active February 16, 2024 06:05
Memulai menggunakan termux pertama kali
https://wiki.termux.com/wiki/Getting_started
@luisadha
luisadha / AndroidManifest.xml.ms
Last active February 13, 2024 09:08
cat AndroidManifest.xml | YOUR_APP_NAME="com.google.adharudin14.aplikasisaya" mush -o AndroidManifest.xml.update
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="{{YOUR_APP_NAME}}">
<uses-sdk android:targetSdkVersion="17" android:minSdkVersion="17" />
<application>
<service
android:name=".{{YOUR_DAYDREAM_CLASS}}"
@
BashProtector
KotlinKt.class
META-INF
__pycache__
adbfiles
adbkey
adbkey.pub
android_as_server.js
apkeep_downloads
@luisadha
luisadha / pkglist
Last active February 7, 2024 01:12
Listing...
0verkill/stable 0.16-git-3 aarch64
1oom/stable 1.0 aarch64
2048-c/stable 2022.10.23 aarch64
2048-cli/termux 0.9.1 aarch64
2bwm/x11 0.3-1 aarch64
2ping/stable 4.5.1-3 all
64tass/tur-packages 1.59.3120 aarch64
6tunnel/stable 0.13 aarch64
7zip/stable 23.01 aarch64
@luisadha
luisadha / aphroditeascii_tasker.sh
Last active January 25, 2024 09:40
convert image to ascii on background
#!/data/data/com.termux/files/usr/bin/env zsh
# by luisadha
#
( while true; do
cols=$(tput cols)
if [ "$cols" == "141" ]; then
jp2a ~/downloads/aphrodite_by_juni_anker.jpg
sleep 1
break