To setup your computer to work with *.test domains, e.g. project.test, awesome.test and so on, without having to add to your hosts file each time.
- Homebrew
- Mountain Lion -> High Sierra
To setup your computer to work with *.test domains, e.g. project.test, awesome.test and so on, without having to add to your hosts file each time.
| description | argument-hint | allowed-tools |
|---|---|---|
Move this session's conversation history to a new working directory path |
<new-path> [--all] [--copy] |
Bash(pwd:*), Bash(realpath:*), Bash(echo:*), Bash(ls:*), Bash(find:*), Bash(mkdir:*), Bash(mv:*), Bash(cp:*) |
Relocate Claude Code session history to a new working directory.
Arguments: "$ARGUMENTS"
| gopass show -o [MY_SECRET] | tr -d '\n' |
| git config --global alias.fuckoff '!git status -s | awk "{printf \$2\"\\n\"}" >> .git/info/exclude' |
| return { | |
| { | |
| "stevearc/conform.nvim", | |
| opts = { | |
| formatters_by_ft = { | |
| ["_"] = { "caddy_fmt" }, | |
| }, | |
| formatters = { | |
| caddy_fmt = { |
| #! /usr/bin/env bash | |
| # if you have gh and jq installed | |
| gh api \ | |
| -H "Accept: application/vnd.github+json" \ | |
| -H "X-GitHub-Api-Version: 2022-11-28" \ | |
| /repos/OWNER/REPO/topics \ | |
| | jq -r '.names[]' |
| /* | |
| * ------------------------------------------------------------ | |
| * "THE COFFEEWARE LICENSE" (Revision 03): | |
| * <author> wrote this code. As long as you retain this | |
| * notice, you can do whatever you want with this stuff. If we | |
| * meet someday, and you think this stuff is worth it, you can | |
| * buy me a coffee in return. | |
| * ------------------------------------------------------------ | |
| */ |
| curl -s https://api.waifu.pics/sfw/waifu \ | |
| | jq '.url' \ | |
| | xargs wget -nv 2>&1 \ | |
| | perl -npe 's/.*"([^"]+)".*/$1/' \ | |
| | xargs wezterm imgcat |
| # Removes all lines containing `string` from input.txt and prints the result to STDIN | |
| sed '/string/d' input.txt | |
| # Overwrites the file with the modification | |
| sed '/string/d' input.txt > input.txt | |
| # Overrite inplace (Doens't work wth GNU sed, only MacOS & BSD sed) | |
| sed -i '' '/string/d' input.txt | |
| # GNU sed version | |
| sed -i '/string/d' input.txt |
| from graphviz import Digraph | |
| import argparse | |
| class TreeNode: | |
| def __init__(self): | |
| self.children = {} | |
| self.indexes = [] |