From f43b72cb7206ed770ce6605daedeb0c86ce30097 Mon Sep 17 00:00:00 2001 From: Zef Hemel Date: Sun, 24 Jul 2022 22:35:54 +0200 Subject: [PATCH 1/4] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 03f39a7..029f62c 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ # Silver Bullet -Silver Bullet (SB) is an extensible, open source **personal knowledge playground**. At its core it’s a clean markdown-based writing/note taking application that stores your _pages_ (notes) as plain markdown files in a folder referred to as a _space_. Pages can be cross-linked using the `[[link to other page]]` syntax. This makes it a simple tool for [Personal Knowledge Management](https://en.wikipedia.org/wiki/Personal_knowledge_management). However, once you leverage its various extensions (called _plugs_) it can feel more like a _knowledge playground_, allowing you to annotate, combine and query your accumulated knowledge in creative ways specific to you. +Silver Bullet (SB) is an extensible, open source **personal knowledge platform**. At its core it’s a clean markdown-based writing/note taking application that stores your _pages_ (notes) as plain markdown files in a folder referred to as a _space_. Pages can be cross-linked using the `[[link to other page]]` syntax. This makes it a simple tool for [Personal Knowledge Management](https://en.wikipedia.org/wiki/Personal_knowledge_management). However, once you leverage its various extensions (called _plugs_) it can feel more like a _knowledge playground_, allowing you to annotate, combine and query your accumulated knowledge in creative ways specific to you. For more in-depth information, an interactive demo, and links to more background, check out the [Silver Bullet website](https://silverbullet.md) (published from this repo’s `website/` folder). From 6f9773bcc393ed74643b4d0b84ec5ca1d5039ab8 Mon Sep 17 00:00:00 2001 From: Zef Hemel Date: Sun, 24 Jul 2022 22:36:26 +0200 Subject: [PATCH 2/4] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 029f62c..5b26fd8 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ # Silver Bullet -Silver Bullet (SB) is an extensible, open source **personal knowledge platform**. At its core it’s a clean markdown-based writing/note taking application that stores your _pages_ (notes) as plain markdown files in a folder referred to as a _space_. Pages can be cross-linked using the `[[link to other page]]` syntax. This makes it a simple tool for [Personal Knowledge Management](https://en.wikipedia.org/wiki/Personal_knowledge_management). However, once you leverage its various extensions (called _plugs_) it can feel more like a _knowledge playground_, allowing you to annotate, combine and query your accumulated knowledge in creative ways specific to you. +Silver Bullet (SB) is an extensible, open source **personal knowledge platform**. At its core it’s a clean markdown-based writing/note taking application that stores your _pages_ (notes) as plain markdown files in a folder referred to as a _space_. Pages can be cross-linked using the `[[link to other page]]` syntax. This makes it a simple tool for [Personal Knowledge Management](https://en.wikipedia.org/wiki/Personal_knowledge_management). However, once you leverage its various extensions (called _plugs_) it can feel more like a _knowledge platform_, allowing you to annotate, combine and query your accumulated knowledge in creative ways specific to you. For more in-depth information, an interactive demo, and links to more background, check out the [Silver Bullet website](https://silverbullet.md) (published from this repo’s `website/` folder). From 155a75609b82633106e2fe3232e6a87bf8450a4c Mon Sep 17 00:00:00 2001 From: Zef Hemel Date: Mon, 25 Jul 2022 14:11:06 +0200 Subject: [PATCH 3/4] Avoid infinite look finding a node_modules directory --- packages/plugos/environments/node_sandbox.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/plugos/environments/node_sandbox.ts b/packages/plugos/environments/node_sandbox.ts index e71cceb..fe5f2bf 100644 --- a/packages/plugos/environments/node_sandbox.ts +++ b/packages/plugos/environments/node_sandbox.ts @@ -37,7 +37,11 @@ class NodeWorkerWrapper implements WorkerLike { // Look for the node_modules directory, to be passed to the worker to find e.g. the vm2 module export let nodeModulesDir = __dirname; -while (!fs.existsSync(nodeModulesDir + "/node_modules/vm2")) { + +while ( + !fs.existsSync(nodeModulesDir + "/node_modules/vm2") && + nodeModulesDir !== "/" +) { nodeModulesDir = path.dirname(nodeModulesDir); } From fec6cf4852133805b94cd929e9c40df185243938 Mon Sep 17 00:00:00 2001 From: Zef Hemel Date: Mon, 25 Jul 2022 14:11:35 +0200 Subject: [PATCH 4/4] Minor styling tweak --- packages/web/styles/filter_box.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/web/styles/filter_box.scss b/packages/web/styles/filter_box.scss index 250da4e..afd30c9 100644 --- a/packages/web/styles/filter_box.scss +++ b/packages/web/styles/filter_box.scss @@ -12,7 +12,7 @@ top: 0; bottom: 0; max-height: 290px; - overflow: auto; + overflow: hide; z-index: 100; border: rgb(103, 103, 103) 1px solid; border-radius: 8px;