Link1:
https://amytabb.com/til/photography/2021/01/23/image-magick-watermark/
Link2:
https://www.the-art-of-web.com/system/imagemagick-watermark/
Link1:
https://amytabb.com/til/photography/2021/01/23/image-magick-watermark/
Link2:
https://www.the-art-of-web.com/system/imagemagick-watermark/
$ open -e .bash_profile
$ export PS1="\u$ "
\d – Current date\t – Current time\h – Host name\# – Command number\u – User name\W – Current working directory (ie: Desktop/)\w – Current working directory with full path (ie: /Users/Admin/Desktop/)01 so you need to add 01; before each color specification:$'string' are treated specially. The word expands to string, with backslash-escaped characters replaced as specified by the ANSI C standard.if [ ! -d "$DIRECTORY" ]; then
# Control will enter here if $DIRECTORY doesn't exist.
fi
if [ -d "$LINK_OR_DIR" ]; then
if [ -L "$LINK_OR_DIR" ]; then
# It is a symlink!
# Symbolic link specific commands go here.
rm "$LINK_OR_DIR"
else
# It's a directory!
# Directory command goes here.
rmdir "$LINK_OR_DIR"
fi
fi
a@A:~> ssh-keygen -t rsa
a@A:~> cat .ssh/id_rsa.pub | ssh b@B 'cat >> .ssh/authorized_keys' b@B's password:
:set guifont=Menlo:h12
s/foo/bar/g:%s/foo/bar/gc