Automatically fork your current Claude Code session into a new Ghostty split pane with a single command.
Two Raycast commands:
- Fork Claude Right - Split horizontally (right)
- Fork Claude Down - Split vertically (down)
| #!/bin/bash | |
| read -r input | |
| message=$(echo "$input" | jq -r '.message') | |
| terminal-notifier -title "Claude Code" -message "$message" -sound Tink |
| Recreate Spacewar! as it was developed for the PDP-1 in 1962. Ensure that the design, effects, and features remain true to the original in every detail. Remember, every detail needs to be very identical as the original, including monitor, visual, look and feel, everything. The goal is to replicate so real Spacewar! that every developer believe it "original code running on PDP-1 emulator". Make it functional in a web browser. |
| use scripting additions | |
| on run | |
| set maxAttempts to 5 | |
| set attemptCount to 0 | |
| repeat | |
| set attemptCount to attemptCount + 1 | |
| try |
| Menu/Topping | Energy (kcal) | Protein (g) | Fat (g) | Carbohydrates (g) | Salt Equivalent (g) | Price (JPY) | |
|---|---|---|---|---|---|---|---|
| グランド・マザー・カレー | 895 | 15.8 | 34.1 | 135.3 | 4.0 | N/A | |
| ローストチキンスープカレー | 848 | 28.4 | 37.4 | 99.8 | 4.1 | N/A | |
| 骨付きチキンスープカレー | 800 | 26.9 | 32.8 | 102.4 | 4.5 | N/A | |
| ベジタブルスープカレー | 768 | 13.7 | 28.8 | 117.7 | 3.5 | N/A | |
| ベーススープカレー | 537 | 8.5 | 14.8 | 95.8 | 2.9 | N/A | |
| ローストチキン4個 | 311 | 19.9 | 22.6 | 4.0 | 1.2 | N/A | |
| かぼちゃと冬野菜カレー | 778 | 13.8 | 19.8 | 141.4 | 3.3 | N/A | |
| 手仕込チーズメンチカツカレー | 1079 | 24.2 | 44.6 | 148.7 | 4.7 | N/A | |
| カキフライカレー | 1033 | 20.1 | 39.8 | 153.3 | 4.5 | N/A |
I liked the way Grokking the coding interview organized problems into learnable patterns. However, the course is expensive and the majority of the time the problems are copy-pasted from leetcode. As the explanations on leetcode are usually just as good, the course really boils down to being a glorified curated list of leetcode problems.
So below I made a list of leetcode problems that are as close to grokking problems as possible.
| name: complex DAG3 | |
| steps: | |
| - name: "Initialize" | |
| command: "sleep 1" | |
| - name: "Copy TAB_1" | |
| description: "Extract data from TAB_1 to TAB_2" | |
| command: "sleep 1" | |
| depends: | |
| - "Initialize" | |
| - name: "Update TAB_2" |
| using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Text; | |
| using Microsoft.Xna.Framework; | |
| //Faster linq-style convenience functions https://github.com/jackmott/LinqFaster | |
| using JM.LinqFaster; | |
| namespace DrawAndDrive | |
| { |
| [ | |
| { | |
| "key": "ctrl+e", | |
| "command": "cursorLineEnd", | |
| "when": "terminalFocus" | |
| } | |
| ] |
| type Len<T extends any[]> = T["length"] | |
| type _Add< | |
| T, | |
| N1 extends Number, | |
| N2 extends Number, | |
| Curr1 extends any[], | |
| Curr2 extends any[] | |
| > = Len<Curr1> extends N1 | |
| ? Len<Curr2> extends N2 |