copy snippets from mac

This commit is contained in:
Willem van den Ende
2025-10-10 10:21:45 +01:00
parent 934d5ecd36
commit 2bd933dced
19 changed files with 417 additions and 0 deletions
@@ -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