diff options
author | Anton Luka Šijanec <anton@sijanec.eu> | 2023-08-31 00:57:10 +0200 |
---|---|---|
committer | Anton Luka Šijanec <anton@sijanec.eu> | 2023-08-31 00:57:10 +0200 |
commit | 58bd5d67fa829dda4abe012092db02ece9dc2dfd (patch) | |
tree | 6b9c7cdf1445e99fde3a0b80119316d33bb450fd /root | |
parent | b (diff) | |
parent | c (diff) | |
download | n-58bd5d67fa829dda4abe012092db02ece9dc2dfd.tar n-58bd5d67fa829dda4abe012092db02ece9dc2dfd.tar.gz n-58bd5d67fa829dda4abe012092db02ece9dc2dfd.tar.bz2 n-58bd5d67fa829dda4abe012092db02ece9dc2dfd.tar.lz n-58bd5d67fa829dda4abe012092db02ece9dc2dfd.tar.xz n-58bd5d67fa829dda4abe012092db02ece9dc2dfd.tar.zst n-58bd5d67fa829dda4abe012092db02ece9dc2dfd.zip |
Diffstat (limited to '')
-rw-r--r-- | root/.bash_aliases | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/root/.bash_aliases b/root/.bash_aliases index 9d1b336..07114ac 100644 --- a/root/.bash_aliases +++ b/root/.bash_aliases @@ -1,3 +1,12 @@ +function fancyindex_files () { + for i in `curl -k $1 | grep link | grep -v '<td class="size">-</td>' | cut -d\" -f 4 ` + do + echo $2$i + done +} +function fancyindex_play () { + mpv `fancyindex_files $1 $1/` +} export CT_ALLOW_BUILD_AS_ROOT_SURE=1 function register () { n=`curl -s https://www.register.si | grep nonce | head -n 1 | cut -d\" -f8` |