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
get_beat_time() { | |
local epoch=$(date +%s) | |
# Offset to BMT (UTC+1) | |
local bmt=$((epoch + 3600)) | |
# Took secs since midnight (BMT) | |
local sec_since_midnight=$(( bmt % 86400 )) | |
local beat=$(( sec_since_midnight * 1000 / 86400 )) | |
printf "%03d\n" "$beat" | |
} | |
cigarettesAfterSex() { |
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
{ | |
"categories": [ | |
{ | |
"id": "013d3b3d-b8bf-402e-bee8-022c6a925983", | |
"layoutType": "wide_grid", | |
"name": "API", | |
"sections": [ | |
{ | |
"id": "adcdd760-09a4-4331-bb75-5ba3c8aefec9", | |
"name": "Developer \u003e API \u003e Services" |
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
age-1.0.0 alsa-lib-1.2.6.1 alsa-utils-1.2.6 angband-4.2.4 bastet-0.43.2 bc-1.07.1 boxes-1.3 busybox-1.35.0 cmake-3.22.3 coreutils-9.0 crunch-3.6 curl-7.83.1 curseofwar-1.3.0 dialog-1.3-20211214 direnv-2.31.0 expect-5.45.4 fff-2.2 findutils-4.9.0 fira-code-6.2 fishplugin-pure-4.1.1 fortune-mod-3.14.0 gawk-5.1.1 gdb-12.1 getconf-glibc-2.34-210 gh-2.10.1 |
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
home-manager https://github.com/rycee/home-manager/archive/release-22.05.tar.gz | |
nix-on-droid https://github.com/t184256/nix-on-droid/archive/testing.tar.gz | |
nixpkgs https://nixos.org/channels/nixos-22.05 |
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
{ pkgs, lib, ... }: | |
{ | |
imports = [ | |
./fish.nix | |
# ./starship.nix | |
./git.nix | |
./lazygit.nix | |
./fzf.nix | |
./vim.nix | |
./tmux ]; # Import any config |
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
{ config, lib, pkgs, ... }: | |
{ | |
# termux integration | |
android-integration = { | |
am.enable = true; # termux-am | |
termux-open.enable = true; | |
termux-open-url.enable = true; | |
termux-reload-settings.enable = true; | |
termux-setup-storage.enable = true; |
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
#!/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}}); |
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
# .bashrc -*- mode: sh -*- | |
pthon3 - <<EOF | |
# Kode Python di sini | |
print("Halo dari Python!") | |
EOF | |
expect - <<EOF | |
spawn brandomusic | |
expect { |
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
# 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" |
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
Konfigurasi sederhana untuk termux. | |
Rekomendasi dari saya |
NewerOlder