KoblentsBlog Photography
Contact About
Published Sep 30, 2016
Great one-liner for a script to get the directory it resides in -
1
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
Linked from the stackoverflow page where I found this.
 
Published Sep 2, 2016
Had a problem recently: on a mac,
pbcopy
and
pbpaste
weren't transferring data to/from the GUI Command-C and Command-P (copy and paste).
After much consternation, the correct solution ended up being a system reboot. Problem solved. No, killing pboard didn't help.
 
 
« October 2016 July 2016 »
© Copyright Koblents.com, 2012-2025