From adc57c95403f4fd9fed8f821b7f615c434cdc6a9 Mon Sep 17 00:00:00 2001 From: Jun-te Kim Date: Sun, 7 Dec 2025 09:29:27 +0000 Subject: [PATCH] save --- .vscode/settings.json | 33 ++++++++++++++------ github_runner/install/install_arc.sh | 1 + traefik/edge-router/middleware.yaml | 4 ++- traefik/edge-router/traefik-ingressroute.yml | 2 +- 4 files changed, 28 insertions(+), 12 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index 27782c1..64a6d67 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,19 +1,32 @@ { - "jupyter.interactiveWindow.textEditor.executeSelection": true, - "python.REPL.sendToNativeREPL": true, - "notebook.output.scrolling": true, - "terminal.integrated.defaultProfile.linux": "bash", - "editor.rulers": [67], - "terminal.integrated.profiles.linux": { - "bash": { - "path": "/bin/bash" - } - }, // Hot reload setting that needs to be in user settings // "jupyter.runStartupCommands": [ // "%load_ext autoreload", "%autoreload 2" // ] + // --- VIM SETTINGS --- + "vim.useSystemClipboard": true, + "vim.enableNeovim": false, + + // Allow VSCode native keybindings to override Vim when needed + "vim.handleKeys": { + "": false, + "": false, + "": false, + "": false, + "": false, + "": false, + "": false + }, + + // Make Y, y, p always sync with the system clipboard + + // Terminal copy/paste via Ctrl+Shift+C / Ctrl+Shift+V + "terminal.integrated.copyOnSelection": false, + "terminal.integrated.commandsToSkipShell": [ + "workbench.action.terminal.copySelection", + "workbench.action.terminal.paste" + ], } \ No newline at end of file diff --git a/github_runner/install/install_arc.sh b/github_runner/install/install_arc.sh index 2b960d4..0ec4373 100644 --- a/github_runner/install/install_arc.sh +++ b/github_runner/install/install_arc.sh @@ -8,6 +8,7 @@ set -ex # sudo snap remove microk8s # sudo snap install microk8s --classic # sudo microk8s enable dns rbac hostpath-storage host-access metrics-server ingress +# sudo microk8s enable metallb:192.168.0.200-192.168.0.220 # # # Rebuild kubeconfig for your local user (optional) # microk8s kubectl config view --raw > ~/.kube/config diff --git a/traefik/edge-router/middleware.yaml b/traefik/edge-router/middleware.yaml index 9cf5963..29b771c 100644 --- a/traefik/edge-router/middleware.yaml +++ b/traefik/edge-router/middleware.yaml @@ -5,4 +5,6 @@ metadata: name: test-auth spec: basicAuth: - secret: authsecret \ No newline at end of file + secret: authsecret + + diff --git a/traefik/edge-router/traefik-ingressroute.yml b/traefik/edge-router/traefik-ingressroute.yml index 88f1772..c9f961e 100644 --- a/traefik/edge-router/traefik-ingressroute.yml +++ b/traefik/edge-router/traefik-ingressroute.yml @@ -7,7 +7,7 @@ spec: entryPoints: - websecure routes: - - match: Host(`www.traefik.mealcraft.com`, `traefik.mealcraft.com`) && PathPrefix(`/api`, `/dashboard`) + - match: (Host(`traefik.mealcraft.com`) || Host(`www.traefik.mealcraft.com`)) && (PathPrefix(`/api`) || PathPrefix(`/dashboard`)) kind: Rule middlewares: - name: test-auth