dk.salza.liq.tools.util

browser

(browser url)

clipboard-content

(clipboard-content)

cmd

(cmd & args)
Execute a native command.
Adding :timeout 60 or similar as last command will
add a timeout to the process.

generateid

(generateid seed existing)
Generates a new id not in the existing
list using parts of seed.

localclipboard

now

(now)
Current time in milliseconds

pretty-exception

(pretty-exception e)

read-lines-from-file

(read-lines-from-file filepath)

save-lines-to-file

(save-lines-to-file filepath lines)

set-clipboard-content

(set-clipboard-content text)

update-map

(update-map m & kv)
Updates a map using update-in if the
second arguments in pairs is a function
and assoc-in if not.