(In)coherent grumbles.

NICE

Last update:
Reading time: less than a minute

NICE

Things that made me say... ^^


Super long pipe command


crontab -l | grep -v '^#' | sort -k2g | grep -Eo '/home/<user>/.*\.sh' | awk '{print $1}' | tr -d '"' | uniq | xargs tail -n +1 | grep -Eo '\s([A-Za-z]\.*){2,}\s[$]' | tr -d '$' | sort -t '.' -k1g | uniq

It's non-optimal, I'm sure. But it works enough for what I'm looking for! Bonus points if you can figure out what it does.

Standouts from above


Alter Touchpad scrolling sensitivity for Firefox on Gnome

From: YoyoEyes You have to got to about:config. From there, search for mousewheel.default.delta_multiplier_y and adjust to your preference. I have it set to 25.

I've found 30 to work better for me.

Personal post command

This is the current incarnation of a tool I've written to make it easier to get up and going with a new blog post

post(){
 postpath="$HOME/dev/website/drafts/$1.md"
 currDate=`date -I`
 
 sed "s/splog/$1/" "$HOME/dev/website/templates/skeleton-post.md" | sed "s/dte/$currDate/" >> "$postpath"

 nvim "$postpath"
}