SketchyBar widget for Github Copilot AI credits budget usage. Requires uses level budget to be set.
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
| # /etc/wmbusmeters.d/ColdWater | |
| name=ColdWater | |
| # the id printed on the meter | |
| id=030xxxxx | |
| key=NOKEY | |
| driver=hydrodigit |
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
| type NotNill<T> = T extends null | undefined ? never : T; | |
| type Primitive = undefined | null | boolean | string | number | Function; | |
| type DeepRequired<T> = T extends Primitive | |
| ? NotNill<T> | |
| : { | |
| [P in keyof T]-?: T[P] extends Array<infer U> | |
| ? Array<DeepRequired<U>> | |
| : T[P] extends ReadonlyArray<infer U2> |
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 node:14-slim | |
| ENV NODE_ENV=production | |
| COPY pnpm-deploy-output /app | |
| WORKDIR /app | |
| ENTRYPOINT ["/app/entrypoint.sh"] |
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
| { | |
| "version": "0.2.0", | |
| "configurations": [ | |
| { | |
| "type": "node", | |
| "request": "launch", | |
| "name": "Jest Current File", | |
| "runtimeExecutable": "sh", // <-- The important bit! | |
| "program": "node_modules/.bin/jest", | |
| "args": ["${relativeFile}"], |
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
| # ----------------------------------------------------------------- | |
| # .gitignore for WordPress | |
| # Bare Minimum Git | |
| # http://ironco.de/bare-minimum-git/ | |
| # ver 20150227 | |
| # | |
| # This file is tailored for a WordPress project | |
| # using the default directory structure | |
| # | |
| # This file specifies intentionally untracked files to ignore |
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
| /** | |
| * @template {keyof HTMLElementTagNameMap} T | |
| * @param {any} el | |
| * @param {T} elName | |
| * @returns {el is HTMLElementTagNameMap[T]} | |
| */ | |
| function isElement(el, elName) { | |
| return el?.constructor?.name === elName; | |
| } |
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
| <?php | |
| /** | |
| * WordPress does automatic HTML entity encoding but so does React which | |
| * results in double encoding. This reverts the one from WordPress when | |
| * the content is requested using wp-graphql making your life as a React | |
| * dev easier. | |
| * | |
| */ | |
| class HTMLEntities |
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
| -- usage: osascript type.scpt <file> | |
| on run {filePath} | |
| set posixFilePath to filePath | |
| set fileContent to do shell script "cat " & quoted form of posixFilePath | |
| log "Will start typing in 3 seconds..." | |
| delay 3 | |
| tell application "System Events" | |
| set initialAppName to name of first application process whose frontmost is true | |
| beep 1 | |
| log "Typing into: " & initialAppName |
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
| $ cat Cargo.toml | |
| [package] | |
| name = "rustdepstest" | |
| version = "0.1.0" | |
| edition = "2021" | |
| [dependencies] | |
| swc = "0.264.38" | |
| $ cargo tree |
NewerOlder