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
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
| <plist version="1.0"> | |
| <!-- | |
| Stata language module for BBEdit | |
| https://files.nyu.edu/jmb736/public/code/text/index.html | |
| jmb736@nyu.edu | |
| Jonathan Marc Bearak, PhD Candidate in Sociology, New York University | |
| - Keyword lists slightly modified from John Gardner's module, https://github.com/jrgcmu |
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
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
| <plist version="1.0"> | |
| <!-- | |
| Wolfram language module for BBEdit | |
| --> | |
| <dict> | |
| <key>BBEditDocumentType</key> | |
| <string>CodelessLanguageModule</string> | |
| <key>BBLMColorsSyntax</key> |
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
| let g:colors_name = 'morequiet' | |
| hi! link @comment.error.comment Todo | |
| hi! link @comment.note.comment Todo | |
| hi! link @comment.warning.comment Todo | |
| hi! link Added Normal | |
| hi! link Boolean Constant | |
| hi! link Changed Normal | |
| hi! link Character Constant | |
| hi! link Conditional Statement |
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 | |
| unset title | |
| if info=$(cmus-remote -Q 2>/dev/null); then | |
| status=$(echo "$info" | grep -v "set " | grep -v "tag " | grep "status " | cut -d ' ' -f 2) | |
| if [ "$status" = "playing" ] || [ "$status" = "paused" ] || [ "$status" = "stopped" ]; then | |
| title=$(echo "$info" | grep -v 'set ' | grep " title " | cut -d ' ' -f 3-) | |
| artist=$(echo "$info" | grep -v 'set ' | grep " artist " | cut -d ' ' -f 3-) | |
| fi | |
| else |
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
| return { | |
| cmd = { "haskell-language-server-wrapper", "--lsp" }, | |
| root_markers = { "hie.yaml", "stack.yaml", "cabal.project", ".git" }, | |
| filetypes = { "haskell", "lhaskell" }, | |
| settings = { | |
| haskell = { | |
| formattingProvider = "ormolu", | |
| -- cabalFormattingProvider = "cabalfmt", | |
| maxCompletions = 40, | |
| checkProject = true, |
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
| set certificate_file = /opt/homebrew/opt/ca-certificates/share/ca-certificates/cacert.pem | |
| set folder = ~/.mail | |
| set header_cache = ~/.cache/neomutt | |
| set mailcap_path = ~/.config/neomutt/mailcap | |
| set message_cachedir = ~/.cache/neomutt | |
| set tmpdir = ~/.cache/neomutt/tmp | |
| set attach_save_dir = ~/tmp | |
| set beep_new = no | |
| set check_new |
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
| set -g default-command "${SHELL}" | |
| if-shell "hash infocmp >/dev/null 2>&1 && \ | |
| infocmp tmux-256color >/dev/null 2>&1" \ | |
| "set -gq default-terminal 'tmux-256color'" \ | |
| "set -gq default-terminal 'screen-256color'" | |
| set -asq terminal-overrides ',*:Smulx=\E[4::%p1%dm' | |
| set -asq terminal-overrides ',*:Setulc=\E[58::2::%p1%{65536}%/%d::%p1%{256}%/%{255}%&%d::%p1%{255}%&%d%;m' |
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
| -- Builtins {{{ | |
| vim.loader.enable() | |
| local disabled_built_ins = { | |
| "gzip", | |
| "zip", | |
| "zipPlugin", | |
| "tar", | |
| "tarPlugin", | |
| "getscript", |
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/zsh | |
| dir1="$1" | |
| dir2="$2" | |
| if [ ! -d "$dir1" ]; then | |
| echo "Directory $dir1 does not exist." | |
| exit 2 | |
| fi | |
| if [ ! -d "$dir2" ]; then |
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
| #!/usr/bin/env bash | |
| if [[ "$1" == "-g" ]]; then | |
| GEOMETRY="$2" | |
| shift 2 | |
| fi | |
| for f in "$@"; do | |
| convert "$f" -geometry ${GEOMETRY:=800x480} sixel:- | |
| done |
NewerOlder