description: Efficient building system that efficiently makes changes to the code temperature: 0.2 permission: bash: allow edit: allow write: allow read: allow grep: allow glob: allow
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 | |
| # replaces what was originally in /usr/bin/subl | |
| # change GDK_DPI_SCALE=0.9 based on how you want to scale. 1 is 100% | |
| # you can then use a Linux preferences to change the "ui_scale" up to say 1.1 to even it out | |
| exec env GDK_SCALE=1 GDK_DPI_SCALE=0.9 /opt/sublime_text/sublime_text "$@" |
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
| [ | |
| { | |
| "input_combination": [ | |
| {"type": 1, "code": 125, "origin_hash": "4790f6e20b87c369dcfe985187897b13"}, | |
| {"type": 1, "code": 105, "origin_hash": "4790f6e20b87c369dcfe985187897b13"} | |
| ], | |
| "target_uinput": "keyboard", | |
| "output_symbol": "KEY_HOME", | |
| "name": "Ctrl+Left (start of line)", | |
| "mapping_type": "key_macro" |
description: Efficient planning system that gathers details and outlines technical design temperature: 0.2 permission: bash: ask edit: deny write: deny read: allow grep: allow glob: allow
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
| # Build the image with: docker build -t super-opencode . | |
| # Run the container with: docker run -it --volume="$PWD:/app" --workdir="/app" super-opencode | |
| # Use the official Node.js image based on Debian Bullseye (slim version for smaller size) | |
| FROM node:24.13.1-bullseye-slim | |
| # Set the working directory inside the container to /app | |
| WORKDIR /app | |
| # Install system dependencies required for building and running various tools |
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
| /** | |
| * Alpine.js magic property to confirm a change. | |
| * | |
| * Usage: @click="$confirm('Are you sure?').then(copied = true)" | |
| * | |
| * @returns {(message: string) => Promise<void>} - A function that takes the text to display as an argument. | |
| */ | |
| Alpine.magic('confirm', () => { | |
| return (message) => { | |
| return new Promise((resolve, reject) => { |
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
| { | |
| "info": { | |
| "_postman_id": "b3e3e3e3-3e3e-3e3e-3e3e-3e3e3e3e3e3e", | |
| "name": "Sanity HTTP API (Complete + Patches)", | |
| "description": "Full collection for Sanity.io HTTP API including Query, Assets, and comprehensive Mutation/Patch examples.", | |
| "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" | |
| }, | |
| "item": [ | |
| { | |
| "name": "Query", |
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
| // since the argument variable can only be referenced once, we need this function repeated | |
| fn ex::p($p) = $p->{"c":url.current}; | |
| fn ex::pp($p) = $p->{"c": ex::p(parentPage).c}; | |
| fn ex::ppp($p) = $p->{"c": ex::pp(parentPage).c}; | |
| // will output `level-4/level-3/level-2/level-1` | |
| // usage: { "href": ex::slug(@) } | |
| fn ex::slug($d) = $d{"slug":array::join( | |
| array::compact([ | |
| ex::ppp(parentPage).c, | |
| ex::pp(parentPage).c, |
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
| /* @see https://thecascade.dev/article/least-amount-of-css/ */ | |
| html { | |
| color-scheme: light dark; | |
| } | |
| body { | |
| font-family: system-ui; | |
| font-size: 1.25rem; | |
| line-height: 1.5; | |
| } |
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
| /path/to/chrome --headless \ | |
| --disable-gpu \ | |
| --no-pdf-header-footer \ | |
| --hide-scrollbars \ | |
| --print-to-pdf-margins="0,0,0,0" \ | |
| --print-to-pdf \ | |
| --window-size=1280,720 \ | |
| https://example.com |
NewerOlder