Compare commits
3 Commits
58da56006c
...
7dad64f80f
Author | SHA1 | Date | |
---|---|---|---|
7dad64f80f | |||
5f94f08c32 | |||
ec46d4dc77 |
8
emacs/.emacs.d/config/init-plantuml.el
Normal file
8
emacs/.emacs.d/config/init-plantuml.el
Normal 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)
|
@ -1,8 +1,11 @@
|
||||
;; -*- lexical-binding: t; -*-
|
||||
(defun unix-time-to-string (epoch-seconds &optional format-string)
|
||||
"Converts an epoch timestamp into a human-readable string."
|
||||
(interactive "sUnix timestamp: ")
|
||||
(let ((format-string (or format-string "%FT%T%z")))
|
||||
(format-time-string format-string epoch-seconds)))
|
||||
(interactive "nUnix timestamp: ")
|
||||
(let* ((format-string (or format-string "%FT%T%z"))
|
||||
(formatted (format-time-string format-string epoch-seconds)))
|
||||
(if (called-interactively-p)
|
||||
(message formatted)
|
||||
formatted)))
|
||||
|
||||
(provide 'init-utils)
|
||||
|
@ -112,6 +112,7 @@
|
||||
(require 'init-elfeed)
|
||||
(require 'init-1pass)
|
||||
(require 'init-wallabag)
|
||||
(require 'init-plantuml)
|
||||
(require 'init-lola)
|
||||
(require 'handwriting)
|
||||
(when (string-equal system-type "darwin")
|
||||
|
@ -1,8 +1,10 @@
|
||||
tap "clojure/tools"
|
||||
tap "homebrew/bundle"
|
||||
tap "homebrew/cask"
|
||||
tap "homebrew/cask-versions"
|
||||
tap "homebrew/core"
|
||||
tap "railwaycat/emacsmacport"
|
||||
brew "clojure/tools/clojure"
|
||||
brew "cmake"
|
||||
brew "direnv"
|
||||
brew "ffmpeg"
|
||||
@ -21,6 +23,7 @@ brew "node"
|
||||
brew "pandoc"
|
||||
brew "pass"
|
||||
brew "pinentry-mac"
|
||||
brew "plantuml"
|
||||
brew "pyenv"
|
||||
brew "python@3.9"
|
||||
brew "restic"
|
||||
|
Loading…
Reference in New Issue
Block a user