mac and macos¶
set a mac mini to turn on after a power failure without macos¶
if using linux on a mac mini hardware, search for a LPC controller
set the auto start flag on this controller
if needed, search for the right flag on this datasheet.
resizing an sparseimage¶
first, unmount the image if in use.
to increase the image size to 50Gb:
to shrink the image size:
reference: Sparse image Wikipedia article
find a file encoding¶
convert file to another encoding¶
remove windows line breaks¶
install homebrew. follow the instructions on https://brew.sh
after that, use homebrew to install dos2unix
and use it
rebuild the spotlight index¶
-E option does?
remove duplicated entries in the
open with list¶
add a directory to the
on mac os there's a directory called
/etc/paths.d. inside that, the
path_helper utility add the reference to all directories used on
to add any directory to
pay attention: the files inside
/etc/pths.d can't have empty line endings.
reference: Mac OS X: Set / Change $PATH Variable