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
@luisadha
luisadha / nix-env-packages.txt
Created May 10, 2025 17:33
cat nix-env-packages.txt #nix-env #-q
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
@luisadha
luisadha / nix-channels.txt
Created May 10, 2025 17:24
cat nix-channels.txt
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
@luisadha
luisadha / default.nix
Created May 10, 2025 17:18
cat ~/.config/nix-on-droid/home-manager/default.nix #cdd #aliases #abbrs
{ pkgs, lib, ... }:
{
imports = [
./fish.nix
# ./starship.nix
./git.nix
./lazygit.nix
./fzf.nix
./vim.nix
./tmux ]; # Import any config
@luisadha
luisadha / nix-on-droid.nix
Last active May 10, 2025 17:19
cat ~/.config/nix-on-droid/nix-on-droid.nix #cnn #aliases #abbrs
{ 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;
#!/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