aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--content/notes/catv-weechat-config.md1
-rw-r--r--content/notes/convert-mkv.md1
-rw-r--r--content/notes/download-youtube-videos.md1
-rw-r--r--content/notes/fix-plan9-bootloader.md1
-rw-r--r--content/notes/git-push-multiple-origins.md1
-rw-r--r--content/notes/install-plan9port-linux.md1
-rw-r--r--content/notes/mass-set-permission.md1
-rw-r--r--content/notes/mount-plan9-over-network.md1
-rw-r--r--content/notes/non-blocking-shell-exec-csharp.md43
-rw-r--r--content/notes/plan9-screenshot.md1
-rw-r--r--content/notes/preview-troff-man-pages.md1
-rw-r--r--content/notes/run-9front-in-qemu.md1
-rw-r--r--content/notes/write-iso-usb.md1
-rw-r--r--static/general/index.css2
-rw-r--r--themes/simple/layouts/_default/notes.html17
-rw-r--r--themes/simple/static/css/tailwind.css8
16 files changed, 78 insertions, 4 deletions
diff --git a/content/notes/catv-weechat-config.md b/content/notes/catv-weechat-config.md
index 8d85d22..3e6e612 100644
--- a/content/notes/catv-weechat-config.md
+++ b/content/notes/catv-weechat-config.md
@@ -4,6 +4,7 @@ url: catv-weechat-config.html
4date: 2023-05-09 4date: 2023-05-09
5type: notes 5type: notes
6draft: false 6draft: false
7tags: [irc, weechat, cat-v]
7--- 8---
8 9
9Set up weechat to connect to #cat-v on oftc. This applies to [weechat](https://weechat.org/) 10Set up weechat to connect to #cat-v on oftc. This applies to [weechat](https://weechat.org/)
diff --git a/content/notes/convert-mkv.md b/content/notes/convert-mkv.md
index cca08d7..bafdfb3 100644
--- a/content/notes/convert-mkv.md
+++ b/content/notes/convert-mkv.md
@@ -4,6 +4,7 @@ url: convert-mkv.html
4date: 2023-05-14 4date: 2023-05-14
5type: notes 5type: notes
6draft: false 6draft: false
7tags: [ffmpeg, mkv, webm, mp4]
7--- 8---
8 9
9You will need `ffmpeg` installed on your system. This will convert all MKV files 10You will need `ffmpeg` installed on your system. This will convert all MKV files
diff --git a/content/notes/download-youtube-videos.md b/content/notes/download-youtube-videos.md
index dd3363d..455c550 100644
--- a/content/notes/download-youtube-videos.md
+++ b/content/notes/download-youtube-videos.md
@@ -4,6 +4,7 @@ url: download-youtube-videos.html
4date: 2023-05-13 4date: 2023-05-13
5type: notes 5type: notes
6draft: false 6draft: false
7tags: [youtube, yt-dlp, ffmpeg, webm, mp4]
7--- 8---
8 9
9If you need to download a list of YouTube videos and don't want to download the 10If you need to download a list of YouTube videos and don't want to download the
diff --git a/content/notes/fix-plan9-bootloader.md b/content/notes/fix-plan9-bootloader.md
index f37ff0e..675eabc 100644
--- a/content/notes/fix-plan9-bootloader.md
+++ b/content/notes/fix-plan9-bootloader.md
@@ -4,6 +4,7 @@ url: fix-plan9-bootloader.html
4date: 2023-05-11 4date: 2023-05-11
5type: notes 5type: notes
6draft: false 6draft: false
7tags: [plan9, bootloader]
7--- 8---
8 9
9If the bootloader is not being written to a disk when installing 9front on real 10If the bootloader is not being written to a disk when installing 9front on real
diff --git a/content/notes/git-push-multiple-origins.md b/content/notes/git-push-multiple-origins.md
index 228f857..14b6ed0 100644
--- a/content/notes/git-push-multiple-origins.md
+++ b/content/notes/git-push-multiple-origins.md
@@ -4,6 +4,7 @@ url: git-push-multiple-origins.html
4date: 2023-05-06 4date: 2023-05-06
5type: notes 5type: notes
6draft: false 6draft: false
7tags: [git]
7--- 8---
8 9
9Sometimes you want to push to multiple origins at once. This is useful if you 10Sometimes you want to push to multiple origins at once. This is useful if you
diff --git a/content/notes/install-plan9port-linux.md b/content/notes/install-plan9port-linux.md
index 6355287..7e8994d 100644
--- a/content/notes/install-plan9port-linux.md
+++ b/content/notes/install-plan9port-linux.md
@@ -4,6 +4,7 @@ url: install-plan9port-linux.html
4date: 2023-05-12 4date: 2023-05-12
5type: notes 5type: notes
6draft: false 6draft: false
7tags: [plan9, plan9port, linux]
7--- 8---
8 9
9Install Plan9port on Linux. This applies to [Plan9port](https://9fans.github.io/plan9port/). 10Install Plan9port on Linux. This applies to [Plan9port](https://9fans.github.io/plan9port/).
diff --git a/content/notes/mass-set-permission.md b/content/notes/mass-set-permission.md
index 20a4fab..84ec97a 100644
--- a/content/notes/mass-set-permission.md
+++ b/content/notes/mass-set-permission.md
@@ -4,6 +4,7 @@ url: mass-set-permission.html
4date: 2023-05-16 4date: 2023-05-16
5type: notes 5type: notes
6draft: false 6draft: false
7tags: [linux, find, chmod]
7--- 8---
8 9
9Replace `*.xml` with your pattern. This will remove executable bit from all 10Replace `*.xml` with your pattern. This will remove executable bit from all
diff --git a/content/notes/mount-plan9-over-network.md b/content/notes/mount-plan9-over-network.md
index 3572b99..9e9875e 100644
--- a/content/notes/mount-plan9-over-network.md
+++ b/content/notes/mount-plan9-over-network.md
@@ -4,6 +4,7 @@ url: mount-plan9-over-network.html
4date: 2023-05-07 4date: 2023-05-07
5type: notes 5type: notes
6draft: false 6draft: false
7tags: [plan9, linux, 9pfs]
7--- 8---
8 9
9- First install libfuse with sudo apt install libfuse-dev. 10- First install libfuse with sudo apt install libfuse-dev.
diff --git a/content/notes/non-blocking-shell-exec-csharp.md b/content/notes/non-blocking-shell-exec-csharp.md
new file mode 100644
index 0000000..4ac3904
--- /dev/null
+++ b/content/notes/non-blocking-shell-exec-csharp.md
@@ -0,0 +1,43 @@
1---
2title: Execute not blocking async shell command in C#
3url: non-blocking-shell-exec-csharp.html
4date: 2023-05-24
5type: notes
6draft: false
7tags: [csharp, async, shell]
8---
9
10Execute a shell command in async in C# while not blocking the UI thread.
11
12```c#
13private async Task executeCopyCommand()
14{
15 await Task.Run(() =>
16 {
17 var processStartInfo = new ProcessStartInfo("cmd", "/c dir")
18 {
19 RedirectStandardOutput = true,
20 UseShellExecute = false,
21 CreateNoWindow = true
22 };
23
24 var process = new Process
25 {
26 StartInfo = processStartInfo
27 };
28
29 process.Start();
30 process.WaitForExit();
31 });
32}
33```
34
35Make sure that `async` is present in the function definition and `await` is
36used in the method that calls `executeCopyCommand()`.
37
38```c#
39private async void button_Click(object sender, EventArgs e)
40{
41 await executeCopyCommand();
42}
43```
diff --git a/content/notes/plan9-screenshot.md b/content/notes/plan9-screenshot.md
index 88b7bd9..fe21ee4 100644
--- a/content/notes/plan9-screenshot.md
+++ b/content/notes/plan9-screenshot.md
@@ -4,6 +4,7 @@ url: plan9-screenshot.html
4date: 2023-05-10 4date: 2023-05-10
5type: notes 5type: notes
6draft: false 6draft: false
7tags: [plan9, screenshot]
7--- 8---
8 9
9Take a screenshot in Plan9. This applies to [Plan9](https://9p.io/plan9/) and 10Take a screenshot in Plan9. This applies to [Plan9](https://9p.io/plan9/) and
diff --git a/content/notes/preview-troff-man-pages.md b/content/notes/preview-troff-man-pages.md
index 6ff1124..acda0d6 100644
--- a/content/notes/preview-troff-man-pages.md
+++ b/content/notes/preview-troff-man-pages.md
@@ -4,6 +4,7 @@ url: preview-troff-man-pages.html
4date: 2023-05-15 4date: 2023-05-15
5type: notes 5type: notes
6draft: false 6draft: false
7tags: [troff, man]
7--- 8---
8 9
9Troff is used to write man pages and it is difficult to read it so this will 10Troff is used to write man pages and it is difficult to read it so this will
diff --git a/content/notes/run-9front-in-qemu.md b/content/notes/run-9front-in-qemu.md
index 1e6820d..0001162 100644
--- a/content/notes/run-9front-in-qemu.md
+++ b/content/notes/run-9front-in-qemu.md
@@ -4,6 +4,7 @@ url: run-9front-in-qemu.html
4date: 2023-05-05 4date: 2023-05-05
5type: notes 5type: notes
6draft: false 6draft: false
7tags: [plan9, qemu]
7--- 8---
8 9
9Run 9front in Qemu. This applies to [Plan9](https://9p.io/plan9/) and 10Run 9front in Qemu. This applies to [Plan9](https://9p.io/plan9/) and
diff --git a/content/notes/write-iso-usb.md b/content/notes/write-iso-usb.md
index 04b0c81..860e6a7 100644
--- a/content/notes/write-iso-usb.md
+++ b/content/notes/write-iso-usb.md
@@ -4,6 +4,7 @@ url: write-iso-usb.html
4date: 2023-05-08 4date: 2023-05-08
5type: notes 5type: notes
6draft: false 6draft: false
7tags: [linux, iso, usb]
7--- 8---
8 9
9Write ISO to USB key. Nothing fancy here. 10Write ISO to USB key. Nothing fancy here.
diff --git a/static/general/index.css b/static/general/index.css
index 3101661..ab6f233 100644
--- a/static/general/index.css
+++ b/static/general/index.css
@@ -1 +1 @@
/*! tailwindcss v3.3.2 | MIT License | https://tailwindcss.com*/*,:after,:before{box-sizing:border-box;border:0 solid #e5e7eb}:after,:before{--tw-content:""}html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-feature-settings:normal;font-variation-settings:normal}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:initial}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button;background-color:initial;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:initial}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}*,::backdrop,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#3b82f680;--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.mx-auto{margin-left:auto;margin-right:auto}.my-12{margin-top:3rem;margin-bottom:3rem}.mb-1{margin-bottom:.25rem}.mb-10{margin-bottom:2.5rem}.mb-12{margin-bottom:3rem}.mb-2{margin-bottom:.5rem}.mb-4{margin-bottom:1rem}.mb-5{margin-bottom:1.25rem}.mb-6{margin-bottom:1.5rem}.mb-8{margin-bottom:2rem}.ml-6{margin-left:1.5rem}.mt-4{margin-top:1rem}.block{display:block}.flex{display:flex}.contents{display:contents}.hidden{display:none}.h-full{height:100%}.w-full{width:100%}.flex-grow{flex-grow:1}.list-disc{list-style-type:disc}.flex-col{flex-direction:column}.items-center{align-items:center}.gap-1{gap:.25rem}.rounded{border-radius:.25rem}.border-0{border-width:0}.border-2{border-width:2px}.border-gray-100{--tw-border-opacity:1;border-color:rgb(243 244 246/var(--tw-border-opacity))}.bg-orange-600{--tw-bg-opacity:1;background-color:rgb(234 88 12/var(--tw-bg-opacity))}.px-1{padding-left:.25rem;padding-right:.25rem}.px-1\.5{padding-left:.375rem;padding-right:.375rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.py-4{padding-top:1rem;padding-bottom:1rem}.pb-16{padding-bottom:4rem}.text-2xl{font-size:1.5rem;line-height:2rem}.text-4xl{font-size:2.25rem;line-height:2.5rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-semibold{font-weight:600}.italic{font-style:italic}.leading-relaxed{line-height:1.625}.text-gray-400{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.text-gray-600{--tw-text-opacity:1;color:rgb(75 85 99/var(--tw-text-opacity))}.text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.underline{text-decoration-line:underline}.no-underline{text-decoration-line:none}.decoration-wavy{text-decoration-style:wavy}.decoration-1{text-decoration-thickness:1px}.underline-offset-2{text-underline-offset:2px}*{cursor:url(/general/9front-cursor.png),auto}.container-blog{max-width:700px}::selection{--tw-bg-opacity:1;background-color:rgb(254 249 195/var(--tw-bg-opacity));--tw-text-opacity:1;color:rgb(0 0 0/var(--tw-text-opacity))}::-moz-selection{--tw-bg-opacity:1;background-color:rgb(254 249 195/var(--tw-bg-opacity));--tw-text-opacity:1;color:rgb(0 0 0/var(--tw-text-opacity))}a:hover{color:blue}article.single h2{margin-bottom:2rem}article.single h2,article.single h2.notes-heading{margin-top:2rem;font-size:1.5rem;line-height:2rem;font-weight:700;line-height:1.25}article.single h2.notes-heading{margin-bottom:1rem}article.single h3{font-size:1.25rem}article.single h3,article.single h4{margin-bottom:1rem;margin-top:2rem;line-height:1.75rem;font-weight:700;line-height:1.25}article.single h4{font-size:1.125rem}article.single p{margin-bottom:1.25rem}article.single a{text-decoration-line:underline;text-decoration-style:wavy;text-decoration-thickness:1px;text-underline-offset:2px}article.single a:hover{--tw-bg-opacity:1;background-color:rgb(254 249 195/var(--tw-bg-opacity))}article.single .content blockquote{background-image:url(/general/alert-light.svg);background-size:30px 30px;background-repeat:no-repeat;background-position:0 5px;margin-top:2rem;margin-bottom:2rem;padding-left:3rem}article.single .content blockquote p{margin-bottom:.5rem}article.single img{margin-top:2rem;margin-bottom:2rem;image-rendering:crisp-edges;image-rendering:-webkit-optimize-contrast}article.single img,article.single video{width:100%;border-radius:.25rem;--tw-bg-opacity:1!important;background-color:rgb(249 250 251/var(--tw-bg-opacity))!important}article.single audio{margin-bottom:1.5rem;width:100%}article.single code{--tw-bg-opacity:1;background-color:rgb(254 249 195/var(--tw-bg-opacity));padding:.25rem .5rem;font-weight:500}article.single code,article.single pre{border-radius:.25rem;font-size:.75rem;line-height:1rem}article.single pre{margin-bottom:1.5rem;overflow-x:auto;--tw-bg-opacity:1!important;background-color:rgb(249 250 251/var(--tw-bg-opacity))!important;padding:1rem}article.single pre code{background:unset;padding:unset;line-height:1.625}article.single table{margin-bottom:1rem;width:100%;border-collapse:collapse;border-width:1px;--tw-border-opacity:1;border-color:rgb(0 0 0/var(--tw-border-opacity))}article.single table td,article.single table th,article.single table tr{border-width:1px;padding:.5rem 1rem;text-align:left}article.single .content ul{margin-bottom:1.5rem;list-style-type:disc;padding-left:1.5rem}@media (min-width:768px){article.single .content ul{padding-left:2.5rem}}article.single .content ol{margin-bottom:1.5rem;list-style-type:decimal;padding-left:2rem}@media (min-width:768px){article.single .content ol{padding-left:2.5rem}}article.single #TableOfContents{margin-bottom:2.5rem;margin-left:1rem;line-height:1.625}article.single #TableOfContents ul{list-style-type:decimal;padding-left:1rem}@media (min-width:768px){article.single #TableOfContents ul{padding-left:1.5rem}}article.single .katex-display{margin-top:2.5rem;margin-bottom:2.5rem}article.single .ll-iframe{border-radius:.25rem;--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}article.single .ll-iframe:before{display:flex;height:100%}@keyframes pulse{50%{opacity:.5}}article.single .ll-iframe:before{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite;cursor:pointer;align-items:center;justify-content:center;border-radius:.25rem;border-width:2px;--tw-border-opacity:1;border-color:rgb(209 213 219/var(--tw-border-opacity));font-size:.875rem;line-height:1.25rem;font-weight:500;content:"Click here to load resource…"}article.single .ll-iframe.empty:before{content:none}.hover\:bg-yellow-100:hover{--tw-bg-opacity:1;background-color:rgb(254 249 195/var(--tw-bg-opacity))}.hover\:text-gray-800:hover{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.hover\:underline:hover{text-decoration-line:underline}@media (min-width:768px){.md\:mb-0{margin-bottom:0}.md\:block{display:block}.md\:flex-row{flex-direction:row}.md\:p-0{padding:0}} \ No newline at end of file /*! tailwindcss v3.3.2 | MIT License | https://tailwindcss.com*/*,:after,:before{box-sizing:border-box;border:0 solid #e5e7eb}:after,:before{--tw-content:""}html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-feature-settings:normal;font-variation-settings:normal}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:initial}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button;background-color:initial;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:initial}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}*,::backdrop,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#3b82f680;--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.mx-auto{margin-left:auto;margin-right:auto}.my-12{margin-top:3rem;margin-bottom:3rem}.mb-1{margin-bottom:.25rem}.mb-10{margin-bottom:2.5rem}.mb-12{margin-bottom:3rem}.mb-2{margin-bottom:.5rem}.mb-4{margin-bottom:1rem}.mb-5{margin-bottom:1.25rem}.mb-6{margin-bottom:1.5rem}.mb-8{margin-bottom:2rem}.ml-6{margin-left:1.5rem}.mt-4{margin-top:1rem}.block{display:block}.flex{display:flex}.inline-flex{display:inline-flex}.contents{display:contents}.hidden{display:none}.h-full{height:100%}.w-full{width:100%}.flex-grow{flex-grow:1}.list-disc{list-style-type:disc}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.items-center{align-items:center}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-0{gap:0}.gap-0\.5{gap:.125rem}.rounded{border-radius:.25rem}.border-0{border-width:0}.border-2{border-width:2px}.border-gray-100{--tw-border-opacity:1;border-color:rgb(243 244 246/var(--tw-border-opacity))}.bg-orange-600{--tw-bg-opacity:1;background-color:rgb(234 88 12/var(--tw-bg-opacity))}.px-1{padding-left:.25rem;padding-right:.25rem}.px-1\.5{padding-left:.375rem;padding-right:.375rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.py-4{padding-top:1rem;padding-bottom:1rem}.pb-16{padding-bottom:4rem}.text-2xl{font-size:1.5rem;line-height:2rem}.text-4xl{font-size:2.25rem;line-height:2.5rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-semibold{font-weight:600}.italic{font-style:italic}.leading-relaxed{line-height:1.625}.text-gray-400{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.text-gray-600{--tw-text-opacity:1;color:rgb(75 85 99/var(--tw-text-opacity))}.text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.underline{text-decoration-line:underline}.no-underline{text-decoration-line:none}.decoration-wavy{text-decoration-style:wavy}.decoration-1{text-decoration-thickness:1px}.underline-offset-2{text-underline-offset:2px}*{cursor:url(/general/9front-cursor.png),auto}.container-blog{max-width:700px}::selection{--tw-bg-opacity:1;background-color:rgb(254 249 195/var(--tw-bg-opacity));--tw-text-opacity:1;color:rgb(0 0 0/var(--tw-text-opacity))}::-moz-selection{--tw-bg-opacity:1;background-color:rgb(254 249 195/var(--tw-bg-opacity));--tw-text-opacity:1;color:rgb(0 0 0/var(--tw-text-opacity))}a:hover{color:blue}article.single h2{margin-bottom:2rem}article.single h2,article.single.note h2{margin-top:2rem;font-size:1.5rem;line-height:2rem;font-weight:700;line-height:1.25}article.single.note h2{margin-bottom:.25rem}article.single h3{font-size:1.25rem}article.single h3,article.single h4{margin-bottom:1rem;margin-top:2rem;line-height:1.75rem;font-weight:700;line-height:1.25}article.single h4{font-size:1.125rem}article.single p{margin-bottom:1.25rem}article.single a{text-decoration-line:underline;text-decoration-style:wavy;text-decoration-thickness:1px;text-underline-offset:2px}article.single a:hover{--tw-bg-opacity:1;background-color:rgb(254 249 195/var(--tw-bg-opacity))}article.single .content blockquote{background-image:url(/general/alert-light.svg);background-size:30px 30px;background-repeat:no-repeat;background-position:0 5px;margin-top:2rem;margin-bottom:2rem;padding-left:3rem}article.single .content blockquote p{margin-bottom:.5rem}article.single img{margin-top:2rem;margin-bottom:2rem;image-rendering:crisp-edges;image-rendering:-webkit-optimize-contrast}article.single img,article.single video{width:100%;border-radius:.25rem;--tw-bg-opacity:1!important;background-color:rgb(249 250 251/var(--tw-bg-opacity))!important}article.single audio{margin-bottom:1.5rem;width:100%}article.single code{background-color:rgb(254 249 195/var(--tw-bg-opacity))}article.single code,article.single.note code{border-radius:.25rem;--tw-bg-opacity:1;padding:.25rem .5rem;font-size:.75rem;line-height:1rem;font-weight:500}article.single.note code{background-color:rgb(243 244 246/var(--tw-bg-opacity))}article.single pre{margin-bottom:1.5rem;overflow-x:auto;border-radius:.25rem;--tw-bg-opacity:1!important;background-color:rgb(249 250 251/var(--tw-bg-opacity))!important;padding:1rem;font-size:.75rem;line-height:1rem}article.single pre code{background:unset;padding:unset;line-height:1.625}article.single table{margin-bottom:1rem;width:100%;border-collapse:collapse;border-width:1px;--tw-border-opacity:1;border-color:rgb(0 0 0/var(--tw-border-opacity))}article.single table td,article.single table th,article.single table tr{border-width:1px;padding:.5rem 1rem;text-align:left}article.single .content ul{margin-bottom:1.5rem;list-style-type:disc;padding-left:1.5rem}@media (min-width:768px){article.single .content ul{padding-left:2.5rem}}article.single .content ol{margin-bottom:1.5rem;list-style-type:decimal;padding-left:2rem}@media (min-width:768px){article.single .content ol{padding-left:2.5rem}}article.single #TableOfContents{margin-bottom:2.5rem;margin-left:1rem;line-height:1.625}article.single #TableOfContents ul{list-style-type:decimal;padding-left:1rem}@media (min-width:768px){article.single #TableOfContents ul{padding-left:1.5rem}}article.single .katex-display{margin-top:2.5rem;margin-bottom:2.5rem}article.single .ll-iframe{border-radius:.25rem;--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}article.single .ll-iframe:before{display:flex;height:100%}@keyframes pulse{50%{opacity:.5}}article.single .ll-iframe:before{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite;cursor:pointer;align-items:center;justify-content:center;border-radius:.25rem;border-width:2px;--tw-border-opacity:1;border-color:rgb(209 213 219/var(--tw-border-opacity));font-size:.875rem;line-height:1.25rem;font-weight:500;content:"Click here to load resource…"}article.single .ll-iframe.empty:before{content:none}.hover\:bg-yellow-100:hover{--tw-bg-opacity:1;background-color:rgb(254 249 195/var(--tw-bg-opacity))}.hover\:text-gray-800:hover{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.hover\:underline:hover{text-decoration-line:underline}@media (min-width:768px){.md\:mb-0{margin-bottom:0}.md\:block{display:block}.md\:flex-row{flex-direction:row}.md\:p-0{padding:0}} \ No newline at end of file
diff --git a/themes/simple/layouts/_default/notes.html b/themes/simple/layouts/_default/notes.html
index 1685542..268a1ce 100644
--- a/themes/simple/layouts/_default/notes.html
+++ b/themes/simple/layouts/_default/notes.html
@@ -19,8 +19,23 @@
19 <section> 19 <section>
20 {{ range (where .Site.RegularPages "Section" "notes") }} 20 {{ range (where .Site.RegularPages "Section" "notes") }}
21 <div class="mb-10"> 21 <div class="mb-10">
22 <article class="mb-5 single" itemscope itemtype="http://schema.org/Article"> 22 <article class="mb-5 single note" itemscope itemtype="http://schema.org/Article">
23 <h2 class="text-xl font-medium notes-heading">{{.Title}}</h2> 23 <h2 class="text-xl font-medium notes-heading">{{.Title}}</h2>
24 <p class="text-gray-600 _italic text-sm">
25 <time datetime="{{ .Date.Format "2006-01-02" }}" itemprop="datePublished">
26 {{ .Date.Format "Monday Jan 2, 2006" }}
27 </time>
28
29 {{ if .Params.tags }}
30 <span>with tags</span>
31 <span class="inline-flex flex-row gap-1">
32 <span>(</span>
33 {{ range .Params.tags }}
34 <span>{{ . }}</span>
35 {{ end }}
36 <span>)</span>
37 </span>
38 {{ end }}
24 <div class="content"> 39 <div class="content">
25 {{ .Content | safeHTML }} 40 {{ .Content | safeHTML }}
26 </div> 41 </div>
diff --git a/themes/simple/static/css/tailwind.css b/themes/simple/static/css/tailwind.css
index 0753513..2b4b779 100644
--- a/themes/simple/static/css/tailwind.css
+++ b/themes/simple/static/css/tailwind.css
@@ -27,8 +27,8 @@ article.single h2 {
27 @apply text-2xl font-bold mb-8 mt-8 leading-tight; 27 @apply text-2xl font-bold mb-8 mt-8 leading-tight;
28} 28}
29 29
30article.single h2.notes-heading { 30article.single.note h2 {
31 @apply text-2xl font-bold mb-4 mt-8 leading-tight; 31 @apply text-2xl font-bold mb-1 mt-8 leading-tight;
32} 32}
33 33
34article.single h3 { 34article.single h3 {
@@ -83,6 +83,10 @@ article.single code {
83 @apply bg-yellow-100 rounded px-2 py-1 text-xs font-medium; 83 @apply bg-yellow-100 rounded px-2 py-1 text-xs font-medium;
84} 84}
85 85
86article.single.note code {
87 @apply bg-gray-100 rounded px-2 py-1 text-xs font-medium;
88}
89
86article.single pre { 90article.single pre {
87 @apply !bg-gray-50 rounded text-xs p-4 mb-6 overflow-x-auto; 91 @apply !bg-gray-50 rounded text-xs p-4 mb-6 overflow-x-auto;
88} 92}