Skip to content

Instantly share code, notes, and snippets.

@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}}"
@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
#!/bin/bash
#https://review.potatoproject.co/plugins/gitiles/PotatoProject/build_make/+/3caec84292975e33a82a3491ecd4d63461d9402b/tools/buildinfo.sh
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"
@luisadha
luisadha / playx.sh
Last active February 2, 2023 11:27
#
#!/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
@luisadha
luisadha / ranpper.sh
Created November 14, 2022 00:01
Install wallpaper randomly in the selected directory
#!/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