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/gcOpenW, lun, 'myfile.txt', /Get_LUN, WIDTH=250 PrintF, lun, mydata, FORMAT='(25(F9.2,x))' Free_LUN, lun
echo -n I | od -to2 | awk '{ print substr($2,6,1); exit}'
or
echo -n I | hexdump -o | awk '{ print substr($2,6,1); exit}'
will give 1 for little endian
http://serverfault.com/questions/163487/linux-how-to-tell-if-system-is-big-endian-or-little-endian
ps2pdf -sPAPERSIZE=a4 -dCompatibilityLevel=1.3 \ -dEmbedAllFonts=true -dSubsetFonts=true -dMaxSubsetPct=100 \ -dAutoFilterColorImages=false -dColorImageFilter=/FlateEncode \ -dAutoFilterGrayImages=false -dGrayImageFilter=/FlateEncode \ -dAutoFilterMonoImages=false -dMonoImageFilter=/CCITTFaxEncode \ document.ps document.pdf