From 5fd49dfb1e099210055f43d9a0dd7823b27c1a33 Mon Sep 17 00:00:00 2001 From: Barrett Ruth Date: Sat, 30 Nov 2024 14:38:57 -0600 Subject: [PATCH] feat: move circular buffer to trading --- .../extrema-circular-buffer.html | 0 .../extrema-circular-buffer/map.cpp | 0 .../extrema-circular-buffer/monotonic.cpp | 0 .../extrema-circular-buffer/naive.cpp | 0 scripts/index.js | 10 ++++------ 5 files changed, 4 insertions(+), 6 deletions(-) rename posts/{algorithms => trading}/extrema-circular-buffer.html (100%) rename public/code/{algorithms => trading}/extrema-circular-buffer/map.cpp (100%) rename public/code/{algorithms => trading}/extrema-circular-buffer/monotonic.cpp (100%) rename public/code/{algorithms => trading}/extrema-circular-buffer/naive.cpp (100%) diff --git a/posts/algorithms/extrema-circular-buffer.html b/posts/trading/extrema-circular-buffer.html similarity index 100% rename from posts/algorithms/extrema-circular-buffer.html rename to posts/trading/extrema-circular-buffer.html diff --git a/public/code/algorithms/extrema-circular-buffer/map.cpp b/public/code/trading/extrema-circular-buffer/map.cpp similarity index 100% rename from public/code/algorithms/extrema-circular-buffer/map.cpp rename to public/code/trading/extrema-circular-buffer/map.cpp diff --git a/public/code/algorithms/extrema-circular-buffer/monotonic.cpp b/public/code/trading/extrema-circular-buffer/monotonic.cpp similarity index 100% rename from public/code/algorithms/extrema-circular-buffer/monotonic.cpp rename to public/code/trading/extrema-circular-buffer/monotonic.cpp diff --git a/public/code/algorithms/extrema-circular-buffer/naive.cpp b/public/code/trading/extrema-circular-buffer/naive.cpp similarity index 100% rename from public/code/algorithms/extrema-circular-buffer/naive.cpp rename to public/code/trading/extrema-circular-buffer/naive.cpp diff --git a/scripts/index.js b/scripts/index.js index ba762f7..9e6590d 100644 --- a/scripts/index.js +++ b/scripts/index.js @@ -15,14 +15,12 @@ const postMapping = new Map([ // { name: "in the aggregate" }, ], ], - ["Trading", [{ name: "InteractiveBrokers TWS" }, { name: "valuation" }]], [ - "Algorithms", - [ - { name: "leetcode daily", link: "leetcode-daily" }, - { name: "extrema circular buffer", link: "extrema-circular-buffer" }, - ], + "Trading", + [{ name: "extrema circular buffer", link: "extrema-circular-buffer" }], + // { name: "InteractiveBrokers TWS" }, { name: "valuation" }]], ], + ["Algorithms", [{ name: "leetcode daily", link: "leetcode-daily" }]], ]); function refresh(e) {