<Additional information about your API call. Try to use verbs that match both request type (fetching vs modifying) and plurality (one vs multiple).>
-
URL
<The URL Structure (path only, no root url)>
-
Method:
(defn md5-sum | |
"Compute the hex MD5 sum of a string." | |
[#^String input] | |
(let [alg (doto (MessageDigest/getInstance "MD5") | |
(.update (.getBytes input))) | |
hash (.toString (new BigInteger 1 (.digest alg)) 16) | |
length (.length hash)] | |
(if (> 32 length) | |
;; 0x065 => 65, leading zero is dropped by BigInteger | |
(apply str (concat (repeat (- 32 length) \0) hash)) |
#!/bin/bash | |
# Sync Homebrew installations between Macs via Dropbox | |
# | |
BREW="/usr/local/bin/brew" | |
# first get local settings | |
echo "Reading local settings ..." | |
rm -f /tmp/brew-sync.* |
sudo apt-get install ghostscript
iapi.h
etc) which are required but don't come with the default Ghostscript package: sudo apt-get install libgs-dev
sudo apt-get install gs-esp
sudo apt-get --purge remove imagemagick
cd ImageMagick-xx
./configure --with-gslib=yes
[and what else you need]gslib yes yes
and not gslib yes no
make
make install
convert -list configure | grep DELEGATES
=> DELEGATES bzlib djvu freetype gs jpeg jng jp2 lcms png tiff x11 xml zlib