#Bash
5 notas · última:
Ctrl+R Autocomplete with Bash is a Life Saver
The text argues that Ctrl+R, as reverse-i-search in Bash, speeds up terminal use by searching commands in history and reducing repeated up-arrow presses.
Building a Smart Session Tracker for Your Mac's Menu Bar
A bash script that lives in the macOS menu bar via xbar, tracking work sessions, detecting sleep and reboot gaps, and nudging a break after an hour of continuous work.
Emojifying my Bash Prompt (and why you should too)
The post shows how the author replaces parts of a Bash prompt with emoji, then extends the prompt to surface outdated packages from brew, npm, pip2, and pip3 using files updated by cron jobs.
Bringing the best of Bash scripting to Ruby (by @radekpazdera)
The post argues for keeping Ruby scripts as quick to start as Bash, while gaining flexibility and reuse. It recommends docopt for CLI parsing and Scriptster for running commands and logging.
Convert Video to HTML5 in Ubuntu
The post shows how to install ffmpeg and related tools on Ubuntu, then run a bash script that converts a video to ogv, webm, and mp4, creates a poster image, and writes the HTML5 video markup.
