See https://developers.xola.com/docs/opening-the-xola-checkout-window for latest updates
This file contains 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
// Taken from https://github.com/jdalton/docdown/blob/master/lib/generator.js | |
// See: https://github.com/raycast/extensions/pull/12848#issuecomment-2164948004 | |
'use strict'; | |
const fs = require("fs"); | |
const chalk = require("chalk") | |
const write = (line) => { | |
return process.stdout.write(line) | |
} |
This file contains 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
#!/usr/bin/env bash | |
# Do a git remote prune <remote_name>`. This will delete all stale remote-tracking branches under <remote_name>. These | |
# stale branches have already been removed from the remote repository referenced by <remote_name>, but are still locally | |
# available in remotes/<remote_name> | |
git remote | xargs -n 1 -t git remote prune | |
# Delete branches | |
# git branch -vv | grep ': gone]'| grep -v "\*" | awk '{ print $1; }' | xargs -r git branch -d |
This file contains 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
# Rushi's bash prompt and profile setup script | |
# - Dervied from Ben Alman's bash prompt github.com/cowboy/dotfiles (LICENSE found there) | |
# - extended to add to remote servers, with common aliases | |
# Prompt Example: | |
# [user@hostname:~/.dotfiles] | |
# [11:14:45] $ | |
if [[ ! "${prompt_colors[@]}" ]]; then | |
prompt_colors=( |