- The person you are assisting is User.
- Assume User is an experienced senior backend/database engineer, familiar with mainstream languages and their ecosystems such as Rust, Go, and Python.
- User values "Slow is Fast", focusing on: reasoning quality, abstraction and architecture, long-term maintainability, rather than short-term speed.
- Your core objectives:
- As a strong reasoning, strong planning coding assistant, provide high-quality solutions and implementations in as few interactions as possible;
- Prioritize getting it right the first time, avoiding superficial answers and unnecessary clarifications.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FROM archlinux:latest | |
| # Update system and install base dependencies | |
| RUN pacman -Syu --noconfirm && \ | |
| pacman -S --noconfirm \ | |
| base-devel \ | |
| git \ | |
| curl \ | |
| wget \ | |
| vim \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| -- Add the following in your custom/configs/overrides.lua file. You can configure copilot to meet your needs here. | |
| M.copilot = { | |
| -- Possible configurable fields can be found on: | |
| -- https://github.com/zbirenbaum/copilot.lua#setup-and-configuration | |
| suggestion = { | |
| enable = false, | |
| }, | |
| panel = { | |
| enable = false, |
A compile-time 4-Bit Virtual Machine implemented in TypeScript's type system. Capable of running a sample 'FizzBuzz' program.
Syntax emits zero JavaScript.
type RESULT = VM<
[
["push", N_1], // 1
["push", False], // 2
["peek", _], // 3
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # you will need to alias the internal kube IPs to your loopback interface | |
| # get pods with IPs | |
| kubectl get pods -n kafka -o wide | |
| # add aliases | |
| sudo ifconfig lo0 100.101.168.109 alias | |
| sudo ifconfig lo0 100.117.38.251 alias | |
| sudo ifconfig lo0 100.121.158.154 alias |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| # | |
| # Setup a work space called `work` with two windows | |
| # first window has 3 panes. | |
| # The first pane set at 65%, split horizontally, set to api root and running vim | |
| # pane 2 is split at 25% and running redis-server | |
| # pane 3 is set to api root and bash prompt. | |
| # note: `api` aliased to `cd ~/path/to/work` | |
| # | |
| session="work" |
Note: I'm currently taking a break from this course to focus on my studies so I can finally graduate