doom upgrade, and plantuml snippets, class diagram
and handwritten mini snippet
This commit is contained in:
@@ -135,9 +135,9 @@
|
||||
;;(haskell +dante) ; a language that's lazier than I am
|
||||
;;hy ; readability of scheme w/ speed of python
|
||||
;;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
|
||||
;;javascript ; all(hope(abandon(ye(who(enter(here))))))
|
||||
javascript ; all(hope(abandon(ye(who(enter(here))))))
|
||||
;;julia ; a better, faster MATLAB
|
||||
;;kotlin ; a better, slicker Java(Script)
|
||||
;;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
|
||||
;;php ; perl's insecure younger brother
|
||||
plantuml ; diagrams for confusing people more
|
||||
;;purescript ; javascript, but functional
|
||||
purescript ; javascript, but functional
|
||||
;;python ; beautiful is better than ugly
|
||||
;;qt ; the 'cutest' gui framework ever
|
||||
;;racket ; a DSL for DSLs
|
||||
@@ -163,6 +163,7 @@
|
||||
;;rust ; Fe2O3.unwrap().unwrap().unwrap().unwrap()
|
||||
;;scala ; java, but good
|
||||
;;scheme ; a fully conniving family of lisps
|
||||
typescript
|
||||
sh ; she sells {ba,z,fi}sh shells on the C xor
|
||||
;;sml
|
||||
;;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
|
||||
@@ -0,0 +1,8 @@
|
||||
# -*- mode: snippet -*-
|
||||
# name: plantuml handwritten
|
||||
# key: handwritten_plantuml
|
||||
# --
|
||||
skinparam {
|
||||
handwritten true
|
||||
monochrome true
|
||||
}
|
||||
Reference in New Issue
Block a user