doom upgrade, and plantuml snippets, class diagram

and handwritten mini snippet
This commit is contained in:
Willem van den Ende
2021-03-22 13:43:10 +00:00
parent 1d73a0fffa
commit 62fa7b54ac
3 changed files with 50 additions and 3 deletions
+4 -3
View File
@@ -135,9 +135,9 @@
;;(haskell +dante) ; a language that's lazier than I am ;;(haskell +dante) ; a language that's lazier than I am
;;hy ; readability of scheme w/ speed of python ;;hy ; readability of scheme w/ speed of python
;;idris ; a language you can depend on ;;idris ; a language you can depend on
;;json ; At least it ain't XML json ; At least it ain't XML
;;(java +meghanada) ; the poster child for carpal tunnel syndrome ;;(java +meghanada) ; the poster child for carpal tunnel syndrome
;;javascript ; all(hope(abandon(ye(who(enter(here)))))) javascript ; all(hope(abandon(ye(who(enter(here))))))
;;julia ; a better, faster MATLAB ;;julia ; a better, faster MATLAB
;;kotlin ; a better, slicker Java(Script) ;;kotlin ; a better, slicker Java(Script)
;;latex ; writing papers in Emacs has never been so fun ;;latex ; writing papers in Emacs has never been so fun
@@ -152,7 +152,7 @@
(org +roam +download-dnd) ; organize your plain life in plain text (org +roam +download-dnd) ; organize your plain life in plain text
;;php ; perl's insecure younger brother ;;php ; perl's insecure younger brother
plantuml ; diagrams for confusing people more plantuml ; diagrams for confusing people more
;;purescript ; javascript, but functional purescript ; javascript, but functional
;;python ; beautiful is better than ugly ;;python ; beautiful is better than ugly
;;qt ; the 'cutest' gui framework ever ;;qt ; the 'cutest' gui framework ever
;;racket ; a DSL for DSLs ;;racket ; a DSL for DSLs
@@ -163,6 +163,7 @@
;;rust ; Fe2O3.unwrap().unwrap().unwrap().unwrap() ;;rust ; Fe2O3.unwrap().unwrap().unwrap().unwrap()
;;scala ; java, but good ;;scala ; java, but good
;;scheme ; a fully conniving family of lisps ;;scheme ; a fully conniving family of lisps
typescript
sh ; she sells {ba,z,fi}sh shells on the C xor sh ; she sells {ba,z,fi}sh shells on the C xor
;;sml ;;sml
;;solidity ; do you need a blockchain? No. ;;solidity ; do you need a blockchain? No.
@@ -0,0 +1,38 @@
# -*- mode: snippet -*-
# name: plantuml class and package diagram
# key: plantuml-package
# --
#+begin_src plantuml :file vending-domain-package.png
@startuml embedded-machine
skinparam {
handwritten true
monochrome true
}
package $0 {
together {
class $1 {
$2($3: $4)
}
class Display {
show_message(message: str)
}
}
class Drawer {
deliver()
}
class Button {
push()
}
class CashRegister {
insert(coins: int)
checkout(price: int)
}
Button -> Drawer
Drawer --> CashRegister
Drawer --> Bin
CashRegister --> Display
Bin --> Display
}
@enduml
#+end_src
+8
View File
@@ -0,0 +1,8 @@
# -*- mode: snippet -*-
# name: plantuml handwritten
# key: handwritten_plantuml
# --
skinparam {
handwritten true
monochrome true
}