diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2022-06-22 15:19:24 +0200 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2022-06-22 15:19:24 +0200 |
commit | f4a0bb7dc43ee70e02a66475d3f6c5c52f436262 (patch) | |
tree | 6b02d13b1ab68989df6fd350eed7dfd3266bc68f | |
parent | ons 15 jun 2022 03:28:03 CEST (diff) | |
download | wiki-public-f4a0bb7dc43ee70e02a66475d3f6c5c52f436262.tar.gz wiki-public-f4a0bb7dc43ee70e02a66475d3f6c5c52f436262.tar.xz |
ons 22 jun 2022 15:19:24 CEST
-rw-r--r-- | Common lisp.wiki | 16 | ||||
-rw-r--r-- | Python.wiki | 30 | ||||
-rw-r--r-- | index.wiki | 8 | ||||
-rw-r--r-- | rv290/ritning-trimmed.pdf | bin | 0 -> 1455326 bytes | |||
-rw-r--r-- | rv290/ritning.pdf | bin | 0 -> 6169 bytes |
5 files changed, 54 insertions, 0 deletions
diff --git a/Common lisp.wiki b/Common lisp.wiki new file mode 100644 index 0000000..989669c --- /dev/null +++ b/Common lisp.wiki @@ -0,0 +1,16 @@ +https://stackoverflow.com/questions/11171558/how-to-use-packages-installed-by-quicklisp +- A *package* is what most people call a module +- A *system* is what most people call a package + += Quicklisp = +System management + +https://stackoverflow.com/questions/40571533/how-to-install-a-package-with-quicklisp + +{{{lisp +;; Search for packages matching clsql +(ql:system-apropos "clsql") + +;; +(ql:quickload "clsql") +}}} diff --git a/Python.wiki b/Python.wiki new file mode 100644 index 0000000..e221599 --- /dev/null +++ b/Python.wiki @@ -0,0 +1,30 @@ + +== Imports are lazy == + +=== main.py === +{{{python +import sys + +match sys.argv: + case [prgr]: + print('Please give a sub-option') + case [prgr, 'a', *args]: + from a import x + print(f'x = {x}') + case [prgr, 'b', *args]: + from b import x + print(f'x = {x}') +}}} + + +=== a.py === +{{{python +print('Importing a') +x = 10 +}}} + +=== b.py === +{{{python +print('Importing b') +x = 20 +}}} @@ -24,6 +24,8 @@ - [[lvm]] - [[php]] - [[framebuffer]] +- [[Common lisp]] +- [[Python]] == Projekt == - [[GitServer]] @@ -106,6 +108,12 @@ - [ ] https://www.offismart.se/product/kaffemjolk-arla-15-2cl-100-fp = Generated Tags = +== tidle == + - [[Media#tidle]] + +== tilde == + - [[Media#tilde]] + == todo == - [[Västgöta/webbsida#Kalender]] - [[Västgöta/webbsida#Veckbrev mailproxy]] diff --git a/rv290/ritning-trimmed.pdf b/rv290/ritning-trimmed.pdf Binary files differnew file mode 100644 index 0000000..fd8fb3d --- /dev/null +++ b/rv290/ritning-trimmed.pdf diff --git a/rv290/ritning.pdf b/rv290/ritning.pdf Binary files differnew file mode 100644 index 0000000..7ac13f9 --- /dev/null +++ b/rv290/ritning.pdf |