Skip to content

Instantly share code, notes, and snippets.

View marktran's full-sized avatar

Mark Tran marktran

  • WorkOS
  • New York, New York
View GitHub Profile

Keybase proof

I hereby claim:

  • I am marktran on github.
  • I am marktran (https://keybase.io/marktran) on keybase.
  • I have a public key ASAvnurjQUvCityGLnqkEHZ0xF55-UIxMdm-K0LPAAJE6Ao

To claim this, I am signing this object:

(defun growl-chat (title message)
(interactive "sTitle: \nsMessage: ")
(shell-command-to-string
(format "/opt/local/bin/growlnotify --appIcon 'Emacs' -t $'%s' -m $'%s'"
(replace-regexp-in-string "'" "\\\\'" title)
(replace-regexp-in-string "'" "\\\\'" message))))
(when (eq system-type 'darwin)
(add-hook 'erc-text-matched-hook
(lambda (match-type nickuserhost message)