git rebase --onto <base-branch> <last-commit-to-start-from>#Requires AutoHotkey v2.0
SetTitleMatchMode(2)
Run('"' EnvGet("LOCALAPPDATA") '\Microsoft\WindowsApps\AffinityDesigner2.exe"')
if WinWait("Affinity Designer",, 15)
{
WinRestore("Affinity Designer")
WinActivate("Affinity Designer")
}#Requires AutoHotkey v2.0
; First command-line argument = URL
if A_Args.Length < 1
{
MsgBox "Usage:`nOpenUrl.ahk <URL>"
ExitApp
}
url := A_Args[1]
; Open the URL in the default browser
Run(url)
; Open ChatGPT in the default browser
; ** Not in use **
;Run("url)
; Wait for Microsoft Edge (remove this block if you use another browser)
if WinWait("ahk_exe msedge.exe",,10)
{
WinActivate("ahk_exe msedge.exe")
}#Requires AutoHotkey v2.0
; Open ChatGPT in the Edge
Run('"C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --new-tab https://chatgpt.com')
; Open ChatGPT in the default browser
; ** Not in use **
;Run("https://chatgpt.com")
; Wait for browser window to exist
if WinWait("ahk_exe msedge.exe",,10)
{
WinActivate("ahk_exe msedge.exe")
}#Requires AutoHotkey v2.0
Run('explorer.exe "' EnvGet("USERPROFILE") '\Dropbox"')
WinWait("ahk_class CabinetWClass",,2)
WinActivate("ahk_class CabinetWClass")#Requires AutoHotkey v2.0
Run('explorer.exe "' EnvGet("USERPROFILE") '\Dropbox"')
WinWait("ahk_class CabinetWClass",,2)
WinActivate("ahk_class CabinetWClass")#Requires AutoHotkey v2.0
Run("explorer.exe")
WinWait("ahk_class CabinetWClass",,2)
WinActivate("ahk_class CabinetWClass")#Requires AutoHotkey v2.0
CoordMode "Mouse", "Screen"
primary := MonitorGetPrimary()
MonitorGetWorkArea(
primary,
&left,
&top,
&right,
&bottom
)
centerX := left + (right - left) // 2
centerY := top + (bottom - top) // 2
MouseMove centerX, centerY, 0
ExitApp# fzf → macOS (Homebrew + zsh) port kit
Companion to `patch-work-mac-port.md`. Contains: (1) what the Linux fzf notes say,
(2) the macOS/zsh translation and gotchas, (3) a ready-to-paste prompt for Claude Code
on the Mac vault.
---
## 1. What exists on Linux
Two linked notes in `linux-setup/wiki/`, indexed from `linux-setup/context.md`:
- **`fzf-setup.md`** — install, shell integration, `Ctrl+R` tuning, usage.
- **`env-bash-history-cleanup.md`** — the one-time `~/.bash_history` cleanup thatWe’ve all been there – that satisfying click as the last letter turns green, the triumphant feeling of cracking the daily [wordle unlimited](https://wordleunlimitedfree.com/). But what if we looked at this beloved word puzzle not just as a game, but as a miniature business operation? Imagine you’re not just a player, but a savvy store manager, meticulously handling your inventory, fulfilling customer orders, and striving for maximum efficiency. And our bustling establishment today? It’s wordle u# patch-work → macOS (Homebrew) port kit
Everything needed to recreate the Linux `patch-work` command on the Mac tech-vault.
Contains: (1) what the Linux script does, (2) the macOS gotchas, (3) a ready-to-paste
prompt for Claude Code on the Mac.
---
## 1. What the Linux script is
- **File:** `shell-scripts/raw/apt-maintain.sh` in the Linux tech-vault (source of truth;
`~/.local/bin/apt-maintain.sh` is a **symlink** back to it).
- **Invoked as:** `patch-work` — a `~/.bashrc` alias pointing /**
* @param {number[]} nums
* @return {number}
*/
var maximumProduct = function(nums) {
// Track the three largest values
let max1 = -Infinity, max2 = -Infinity, max3 = -Infinity;
// Track the two smallest values (could be negative)
let min1 = Infinity, min2 = Infinity
for (let n of nums) {
// Update the three largest numbers
if (n > max1) {
max3 = max2; // shift down
max2 = max1;
max1 = n;
} else if (n > madd_filter( 'register_block_type_args', function( $args, $block_type ) {
if ( 'core/heading' !== $block_type ) {
return $args;
}
//H2からH5まで
$args['attributes']['levelOptions']['default'] = [ 2, 3, 4, 5 ];
return $args;
}, 10, 2 );Complex, vintage Chicano tattoo-style graphic composition showing a Phoenix summer block party with booming speakers, lowrider bikes, backyard fences, grill smoke, tattooed arms, kids watching from the sidewalk, and a classic lowrider bouncing in the street. Above the block party floats a large skull wearing aviator sunglasses and a cap reading "BLOCK HEAT." Gothic typography reads "PHX BLOCK PARTY," wrapped in ornate ribbons, roses, barbed wire, speaker wires, and desert sun rays. Palm trees, pYou
can you run a deep research task: a mutli part blog post aimed at senior agentic javascript engineers, that talks about building a suspence aware router from scratch that enables react server components, data loading, nesting of routes, re-directs, guareded routes forauth
Parallel
<tdd_planning>
Test-First Analysis
Core User Journeys
A user directly requests a nested URL; the server matches the route branch, authenticates protected segments, runs eligible loaders in parallel, renders the R/**
* @param {number} n
* @return {number}
*/
var maxProduct = function(n) {
// Track the two largest digits found so far.
// 'first' will hold the largest digit,
// 'second' will hold the second-largest digit.
let first = 0;
let second = 0;
// Loop through each digit of n.
// We repeatedly take n % 10 to extract the last digit,
// then divide n by 10 to remove that digit.
while (n > 0) {
let d = n % 10; // Extract last digit
n