Links

Command Line

Snippets

Make sounds in Mac terminal
afplay /System/Library/Sounds/Funk.aiff
say "Focus is starting"
Create a symbolic link in Terminal (source):
ln -s /path/to/original /path/to/symlink
Open long output for easier reading (q to exit; source):
my_command | less
Filter for lines matching (source):
my_command | grep search_term
Show a notification in Mac Terminal:
osascript -e 'display notification "Get to work!" with title "Focusing"'
Column 80 - StackExchange network optimized for text-only browsers
Cronitor - "Instant alerts when your critical background jobs, websites or APIs fail."
Ctrl+L in terminal #article - “ctrl + L just clear the terminal screen.”
Docopt - “Command-line interface description language”
How can I increase the cursor speed in terminal? #article - I found that the standard preferences panel gave me plenty of speed, but it's neat to know you can do this.
Everybody knows that you can get a pretty fast keyboard repeat rate by changing a slider on the Keyboard tab of the Keyboard & Mouse System Preferences panel. But you can make it even faster! In Terminal, run this command:
defaults write NSGlobalDomain KeyRepeat -int 0
Then log out and log in again. The fastest setting obtainable via System Preferences is 2 (lower numbers are faster), so you may also want to try a value of 1 if 0 seems too fast. You can always visit the Keyboard & Mouse System Preferences panel to undo your changes.
You may find that a few applications don't handle extremely fast keyboard input very well, but most will do just fine with it.”
jq #software - "jq is like sed for JSON data - you can use it to slice and filter and map and transform structured data with the same ease that sed, awk, grep and friends let you play with text."
Mac OS X: Set / Change $PATH Variable #article - “$PATH is nothing but an environment variable on Linux, OS X, Unix-like operating systems, and Microsoft Windows. You can specify a set of directories where executable programs are located using $PATH. The $PATH variable is specified as a list of directory names separated by colon (:) characters.”
Victory CLI - terminal graphing library
Last modified 2yr ago