Skip to content

Instantly share code, notes, and snippets.

View cetinajero's full-sized avatar

Edgar T cetinajero

  • México
View GitHub Profile
@cetinajero
cetinajero / chrome-os.md
Last active July 19, 2023 22:25
Get Jekyll to work on Chrome OS using Termux

Steps:

pkg install proot
termux-chroot
pkg install openssh
ssh-keygen -t rsa -b 4096 -C "[email protected]"
cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys
sshd
whoami
ifconfig arc0 | awk '/inet/{print $2}' | sed -e 's/^.*://g'

has:attachment filename:(-pdf -zip) older_than:3y larger:10m

@cetinajero
cetinajero / ffmpeg.md
Last active August 26, 2025 18:35
Usefull ffmpeg commands

Usefull ffmpeg commands

General options

List codecs

ffmpeg -codecs | grep -i sub

Quiet output:

@cetinajero
cetinajero / .bash_profile
Last active April 11, 2023 01:39
.bash_profile
alias ll='ls -lahG'
alias lowercase='for f in *; do mv "$f" "$f.tmp"; mv "$f.tmp" "`echo $f | tr "[:upper:]" "[:lower:]"`"; done'
alias apple-wireless-mouse='mouseid=$(xinput --list | perl -n -e 's@.*Edgar Tinajero.*Mouse.*id=([0-9]+).*@$1@ and print') && xinput --set-prop $mouseid 'libinput Natural Scrolling Enabled' 1 && xinput set-button-map $mouseid 1 1 3'
function rdpclient { cat ~/.bash_secrets | grep $1 | awk '{print $NF}' | rdesktop -f -N -x m -u Administrator -p - -r disk:share=$HOME/sap $1 & }