Compare commits

...

3 Commits

4 changed files with 18 additions and 3 deletions

View File

@ -0,0 +1,8 @@
;; -*- lexical-binding: t; -*-
(use-package plantuml-mode
:mode (("\\.uml\\'" . plantuml-mode)
("\\.plantuml\\'" . plantuml-mode))
:custom
(plantuml-default-exec-mode 'executable))
(provide 'init-plantuml)

View File

@ -1,8 +1,11 @@
;; -*- lexical-binding: t; -*- ;; -*- lexical-binding: t; -*-
(defun unix-time-to-string (epoch-seconds &optional format-string) (defun unix-time-to-string (epoch-seconds &optional format-string)
"Converts an epoch timestamp into a human-readable string." "Converts an epoch timestamp into a human-readable string."
(interactive "sUnix timestamp: ") (interactive "nUnix timestamp: ")
(let ((format-string (or format-string "%FT%T%z"))) (let* ((format-string (or format-string "%FT%T%z"))
(format-time-string format-string epoch-seconds))) (formatted (format-time-string format-string epoch-seconds)))
(if (called-interactively-p)
(message formatted)
formatted)))
(provide 'init-utils) (provide 'init-utils)

View File

@ -112,6 +112,7 @@
(require 'init-elfeed) (require 'init-elfeed)
(require 'init-1pass) (require 'init-1pass)
(require 'init-wallabag) (require 'init-wallabag)
(require 'init-plantuml)
(require 'init-lola) (require 'init-lola)
(require 'handwriting) (require 'handwriting)
(when (string-equal system-type "darwin") (when (string-equal system-type "darwin")

View File

@ -1,8 +1,10 @@
tap "clojure/tools"
tap "homebrew/bundle" tap "homebrew/bundle"
tap "homebrew/cask" tap "homebrew/cask"
tap "homebrew/cask-versions" tap "homebrew/cask-versions"
tap "homebrew/core" tap "homebrew/core"
tap "railwaycat/emacsmacport" tap "railwaycat/emacsmacport"
brew "clojure/tools/clojure"
brew "cmake" brew "cmake"
brew "direnv" brew "direnv"
brew "ffmpeg" brew "ffmpeg"
@ -21,6 +23,7 @@ brew "node"
brew "pandoc" brew "pandoc"
brew "pass" brew "pass"
brew "pinentry-mac" brew "pinentry-mac"
brew "plantuml"
brew "pyenv" brew "pyenv"
brew "python@3.9" brew "python@3.9"
brew "restic" brew "restic"