Skip to content

Instantly share code, notes, and snippets.

@rm-rf-etc
rm-rf-etc / candlesticks.py
Created April 10, 2022 08:36
Candlestick Charts With Matplotlib
# https://www.statology.org/matplotlib-python-candlestick-chart/
import matplotlib.pyplot as plt
#create figure
plt.figure()
#define width of candlestick elements
width = .4
width2 = .05
@rm-rf-etc
rm-rf-etc / opencode-fixes.patch
Created April 23, 2026 20:35
Archon OpenCode provider: CodeRabbit review fixes for PR coleam00/Archon#1372
diff --git a/packages/providers/src/community/opencode/config.ts b/packages/providers/src/community/opencode/config.ts
index bd25ede..680dc68 100644
--- a/packages/providers/src/community/opencode/config.ts
+++ b/packages/providers/src/community/opencode/config.ts
@@ -28,7 +28,12 @@ export function parseOpencodeConfig(raw: Record<string, unknown>): OpencodeProvi
result.hostname = raw.hostname;
}
- if (typeof raw.port === 'number') {
+ if (

Hi @choufeng! Great PR — exactly what we need. We tested it in our environment and applied fixes for all the CodeRabbit review items. Here's a patch you can apply directly:

Apply

curl -L https://gist.github.com/rm-rf-etc/fcdb35b3d0fba3a2e126d75b30c07c4c/raw/opencode-fixes.patch | git apply

Or if you prefer, add our branch as a remote and merge: