]> git.ale.wales Git - dotAle.git/commitdiff
226CG.49887-Vanessa master
authorTu Puta Madre <tu@puta.madre>
Mon, 16 Mar 2026 17:58:23 +0000 (11:58 -0600)
committerTu Puta Madre <tu@puta.madre>
Mon, 16 Mar 2026 17:58:23 +0000 (11:58 -0600)
aliases.zsh [new file with mode: 0644]
b.sh [new file with mode: 0755]
demo.md [new file with mode: 0644]
deps [new file with mode: 0644]
h-hbk_anime.md [new file with mode: 0644]
img.png [new file with mode: 0644]

diff --git a/aliases.zsh b/aliases.zsh
new file mode 100644 (file)
index 0000000..16dc791
--- /dev/null
@@ -0,0 +1,19 @@
+alias ls='ls --color -lh'
+alias la='ls --color -lah'
+alias rm='sudo rm -rf'
+alias ip='ip -br -c a'
+alias clear='clear && ufetch'
+alias xev="xev | grep -A2 --line-buffered '^KeyRelease' | sed -n '/keycode /s/^.*keycode \([0-9]*\).* (.*, \(.*\)).*$/\1 \2/p'"
+alias m="sudo mount"
+alias um="sudo umount"
+alias mi="mediainfo"
+alias ska="sudo kak"
+alias patch="sudo patch"
+alias xbps-install="sudo xbps-install"
+alias xbps-remove="sudo xbps-remove"
+alias adoc2pdf="/home/ale/.local/share/gem/ruby/3.3.0/bin/asciidoctor-pdf"
+alias hbk="flatpak run --command=HandBrakeCLI fr.handbrake.ghb"
+alias czawk="czkawka_cli"
+#alias vilma="mpv .opus/vilma.opus & xfreerdp /u:grbl /p:3018 /h:720 /w:1280 /v:192.168.1.6:3389"
+#alias cuando="cuando.sh"
+#alias vv="vimv"
diff --git a/b.sh b/b.sh
new file mode 100755 (executable)
index 0000000..42e1a8f
--- /dev/null
+++ b/b.sh
@@ -0,0 +1,80 @@
+#!/bin/bash
+
+# Verifica que se ejecute como ROOT
+if [ "$EUID" -ne 0 ]; then
+    echo "ERROR: Se debe ejecutar como ROOT.\n\tdeberías ejecutar sudo ./b.sh"
+    exit
+elif [ "$PWD" != "/git/dotAle" ]; then
+    echo "ERROR: Debes ubicarte en /git/dotAle para ejecutar el script.\n\tahora te encuentras en $PWD"
+    exit
+fi
+
+# Aplica las funciones tanto para archivos visibles como ocultos (solo funciona con bash)
+shopt -s dotglob
+
+# Buscar carpetas y subcarptas de git y recrearlas en la raíz, NO SIRVE si las carpetas tienen espacio... fallará
+for fol in $(find . -type d); do
+    if [[ $fol != ./.gi* && $fol == ./* ]]; then
+        mkdir -p $HOME/$fol
+    fi
+done
+
+# Hace un link entre los archivos del dirctorio git a la raíz, exceptuando el script mismo que se ejecuta. NO ES RECLUSIVO.
+for file in *; do
+    if [[ -f $HOME/$file ]]; then
+        rm $HOME/$file
+        ln $file $HOME/$file
+        echo $file" : fue reemplazado"
+    else
+        if [[ "$file" != "b.sh" ]] && [[ -f $file ]]; then
+            ln $file $HOME/$file
+            echo $file" : fue creado"
+        fi
+    fi
+done
+
+# Ahora hay que copiar los archivos dentro de las subcarpetas (aplicar mi propia reclusividad con juegos de azar y mujersuelas)
+for dir in $(find . -type d); do
+    if [[ "$dir" != ./.gi* && $dir == ./* ]]; then
+        cd $dir
+        n=$(( ${#HOME} + 7 ))
+        path=${PWD:$n}
+        if [[ -n $path ]];then
+            for file in *; do
+                if [[ -f $HOME/$path/$file ]]; then
+                    rm $HOME/$path/$file
+                    ln $file $HOME/$path/$file 2>/dev/null
+                    echo $path/$file" : fue reemplazado"
+                else
+                    ln $file $HOME/$path/$file 2>/dev/null
+                    echo $path/$file" : fue creado"
+                fi
+            done
+            cd /git/dotAle
+        fi
+    fi
+done
+
+# Crear historial para zsh
+if [[ -e $HOME/.cache/zsh/history ]]; then
+    echo "Ya existe historial de zsh"
+else
+    mkdir -p $HOME/.cache/zsh
+    touch $HOME/.cache/zsh/hist
+fi
+
+# Cambiar ubicación de .zcompdump (funciones de autocompletado de zsh)
+if [[ -e $HOME/.zcompdump ]]; then
+    rm $HOME/.zcompdump
+fi
+touch $HOME/.cache/zsh/.zcompdump
+compinit -d $HOME/.cache/zsh/.zcompdump
+
+# Asegurarse de que ZSH sea el shell por defecto
+chsh -s $(which zsh)
+
+# Mover los scripts a ubicación PATH (es necesario root access)
+if [[ -e /mbin ]]; then
+       rm -rf /mbin
+fi
+mv $HOME/mbin/ /
diff --git a/demo.md b/demo.md
new file mode 100644 (file)
index 0000000..621d416
--- /dev/null
+++ b/demo.md
@@ -0,0 +1,235 @@
+---
+
+# h1 Heading 8-)
+## h2 Heading
+### h3 Heading
+#### h4 Heading
+##### h5 Heading
+###### h6 Heading
+
+
+## Horizontal Rules
+
+___
+
+---
+
+***
+
+
+## Typographic replacements
+
+Enable typographer option to see result.
+
+(c) (C) (r) (R) (tm) (TM) (p) (P) +-
+
+test.. test... test..... test?..... test!....
+
+!!!!!! ???? ,,  -- ---
+
+"Smartypants, double quotes" and 'single quotes'
+
+
+## Emphasis
+
+**This is bold text**
+
+__This is bold text__
+
+*This is italic text*
+
+_This is italic text_
+
+~~Strikethrough~~
+
+
+## Blockquotes
+
+
+> Blockquotes can also be nested...
+>> ...by using additional greater-than signs right next to each other...
+> > > ...or with spaces between arrows.
+
+
+## Lists
+
+Unordered
+
++ Create a list by starting a line with `+`, `-`, or `*`
++ Sub-lists are made by indenting 2 spaces:
+  - Marker character change forces new list start:
+    * Ac tristique libero volutpat at
+    + Facilisis in pretium nisl aliquet
+    - Nulla volutpat aliquam velit
++ Very easy!
+
+Ordered
+
+1. Lorem ipsum dolor sit amet
+2. Consectetur adipiscing elit
+3. Integer molestie lorem at massa
+
+
+1. You can use sequential numbers...
+1. ...or keep all the numbers as `1.`
+
+Start numbering with offset:
+
+57. foo
+1. bar
+
+
+## Code
+
+Inline `code`
+
+Indented code
+
+    // Some comments
+    line 1 of code
+    line 2 of code
+    line 3 of code
+
+
+Block code "fences"
+
+```
+Sample text here...
+```
+
+Syntax highlighting
+
+``` js
+var foo = function (bar) {
+  return bar++;
+};
+
+console.log(foo(5));
+```
+
+## Tables
+
+| Option | Description |
+| ------ | ----------- |
+| data   | path to data files to supply the data that will be passed into templates. |
+| engine | engine to be used for processing templates. Handlebars is the default. |
+| ext    | extension to be used for dest files. |
+
+Right aligned columns
+
+| Option | Description |
+| ------:| -----------:|
+| data   | path to data files to supply the data that will be passed into templates. |
+| engine | engine to be used for processing templates. Handlebars is the default. |
+| ext    | extension to be used for dest files. |
+
+
+## Links
+
+[link text](http://dev.nodeca.com)
+
+[link with title](http://nodeca.github.io/pica/demo/ "title text!")
+
+Autoconverted link https://github.com/nodeca/pica (enable linkify to see)
+
+
+## Images
+
+![Minion](https://octodex.github.com/images/minion.png)
+![Stormtroopocat](https://octodex.github.com/images/stormtroopocat.jpg "The Stormtroopocat")
+
+Like links, Images also have a footnote style syntax
+
+![Alt text][id]
+
+With a reference later in the document defining the URL location:
+
+[id]: https://octodex.github.com/images/dojocat.jpg  "The Dojocat"
+
+
+## Plugins
+
+The killer feature of `markdown-it` is very effective support of
+[syntax plugins](https://www.npmjs.org/browse/keyword/markdown-it-plugin).
+
+
+### [Emojies](https://github.com/markdown-it/markdown-it-emoji)
+
+> Classic markup: :wink: :crush: :cry: :tear: :laughing: :yum:
+>
+> Shortcuts (emoticons): :-) :-( 8-) ;)
+
+see [how to change output](https://github.com/markdown-it/markdown-it-emoji#change-output) with twemoji.
+
+
+### [Subscript](https://github.com/markdown-it/markdown-it-sub) / [Superscript](https://github.com/markdown-it/markdown-it-sup)
+
+- 19^th^
+- H~2~O
+
+
+### [\<ins>](https://github.com/markdown-it/markdown-it-ins)
+
+++Inserted text++
+
+
+### [\<mark>](https://github.com/markdown-it/markdown-it-mark)
+
+==Marked text==
+
+
+### [Footnotes](https://github.com/markdown-it/markdown-it-footnote)
+
+Footnote 1 link[^first].
+
+Footnote 2 link[^second].
+
+Inline footnote^[Text of inline footnote] definition.
+
+Duplicated footnote reference[^second].
+
+[^first]: Footnote **can have markup**
+
+    and multiple paragraphs.
+
+[^second]: Footnote text.
+
+
+### [Definition lists](https://github.com/markdown-it/markdown-it-deflist)
+
+Term 1
+
+:   Definition 1
+with lazy continuation.
+
+Term 2 with *inlie markup*
+
+:   Definition 2
+
+        { some code, part of Definition 2 }
+
+    Third paragraph of definition 2.
+
+_Compact style:_
+
+Term 1
+  ~ Definition 1
+
+Term 2
+  ~ Definition 2a
+  ~ Definition 2b
+
+
+### [Abbreviations](https://github.com/markdown-it/markdown-it-abbr)
+
+This is HTML abbreviation example.
+
+It converts "HTML", but keep intact partial entries like "xxxHTMLyyy" and so on.
+
+*[HTML]: Hyper Text Markup Language
+
+### [Custom containers](https://github.com/markdown-it/markdown-it-container)
+
+::: warning
+*here be dragons*
+:::
diff --git a/deps b/deps
new file mode 100644 (file)
index 0000000..f14963a
--- /dev/null
+++ b/deps
@@ -0,0 +1 @@
+ufetch neovim zsh btop git make clang cmake pqiv ImageMagick ffmpeg yt-dlp handbrake-cli mediainfo mdBook mdcat mdr mdp pandoc freerdp cdparanoia
diff --git a/h-hbk_anime.md b/h-hbk_anime.md
new file mode 100644 (file)
index 0000000..ba63c92
--- /dev/null
@@ -0,0 +1,28 @@
+---
+
+hh      bb      kk                             iii
+hh      bb      kk  kk           aa aa nn nnn      mm mm mmmm    eee
+hhhhhh  bbbbbb  kkkkk           aa aaa nnn  nn iii mmm  mm  mm ee   e
+hh   hh bb   bb kk kk          aa  aaa nn   nn iii mmm  mm  mm eeeee
+hh   hh bbbbbb  kk  kk _______  aaa aa nn   nn iii mmm  mm  mm  eeeee
+
+---
+
+La función se emplea así
+``` zsh
+    $ hbk_anime input.vid ø output.vid
+```
+
+donde
+> ***input.vid***: 
+>> *archivo de video para transformar.*
+
+> ***ø:*** 
+>> *un número* ***INT*** *que represente cuál es el subtítulo a trabajar. se puede obtener la información con* `mediainfo input.vid` 
+
+> ***output.m4v***: (opt) 
+>> *definir la ubicación y/o nombre del archivo de salida (es necesario añadir la extension .m4v al final). De no establecerse, por defecto la salida tendrá el mismo nombre y ubicación que el archivo de entrada, pero con extención m4v.*
+
+222AV Alessandro  di  Alcano
+
+---
diff --git a/img.png b/img.png
new file mode 100644 (file)
index 0000000..e8656f7
Binary files /dev/null and b/img.png differ