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
## Configuration with additional popup keys (swipe up from an extra key) | |
extra-keys = [ \ | |
[ \ | |
{key: ESC, display: ""}, \ | |
{key: ESC, popup: {macro: "CTRL f d", display: "tmux exit"}}, \ | |
{key: CTRL, popup: {macro: "CTRL f BKSP", display: "tmux ←"}}, \ | |
{macro: "ESC :q ENTER", display: ":q", popup: {macro: "ALT g", display: A-g}}, \ | |
{macro: ",t", display: "tree", popup: {macro: ", n", display: "focus"}}, \ | |
{macro: 'y :%s/ CTRL r " //gic LEFT LEFT LEFT LEFT', display: ":%s"}, \ | |
{macro: "exa SPACE --long SPACE --tree ENTER", display: "exa", popup: {macro: "lsd SPACE --long SPACE --tree ENTER", display: "lsd"}}, \ |
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
## Configuration with additional popup keys (swipe up from an extra key) | |
extra-keys = [ \ | |
[ \ | |
{key: ESC, display: ""}, \ | |
{key: ESC, popup: {macro: "CTRL f d", display: "tmux exit"}}, \ | |
{key: CTRL, popup: {macro: "CTRL f BKSP", display: "tmux ←"}}, \ | |
{macro: "ESC :q ENTER", display: ":q", popup: {macro: "ALT g", display: A-g}}, \ | |
{macro: 'y :%s/ CTRL r " //gic LEFT LEFT LEFT LEFT', display: ":%s"}, \ | |
{macro: "cd SPACE TAB", display: "cd", popup: {macro: "ALT g", display: A-g}}, \ | |
{macro: 'CTRL r', display: "<C-r>"}, \ |
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 python | |
import sys | |
# DOT = '.' | |
DOT = '·' | |
args = sys.argv[1:] | |
dotted = [DOT.join(arg).upper() for arg in args] |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 zsh | |
# This script prints a bell character when a command finishes | |
# if it has been running for longer than $zbell_duration seconds. | |
# If there are programs that you know run long that you don't | |
# want to bell after, then add them to $zbell_ignore. | |
# | |
# This script uses only zsh builtins so its fast, there's no needless | |
# forking, and its only dependency is zsh and its standard modules | |
# |
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
## Configuration with additional popup keys (swipe up from an extra key) | |
extra-keys = [[ \ | |
{key: KEYBOARD, popup: {macro: "CTRL d", display: exit}}, \ | |
{key: ESC, popup: {macro: "CTRL f d", display: "tmux exit"}}, \ | |
{key: CTRL, popup: {macro: "CTRL f BKSP", display: "tmux ←"}}, \ | |
{key: ALT, popup: {macro: "CTRL f TAB", display: "tmux →"}}, \ | |
{macro: "ALT c", display: "cd", popup: {macro: "ALT g", display: A-g}}, \ | |
{macro: "vim SPACE $(fzf) ENTER", display: "vim", popup: {macro: "ALT g", display: A-g}}, \ | |
{macro: "ESC :w ENTER", display: ":w", popup: {macro: "ALT g", display: A-g}}, \ | |
{macro: "ESC :q ENTER", display: ":q", popup: {macro: "ALT g", display: A-g}}, \ |
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
# https://wiki.archlinux.org/title/android | |
# Command-Line Tools - https://developer.android.com/studio/releases/cmdline-tools | |
export PATH="~/Android/Sdk/tools/bin/:$PATH" | |
# SDK Build-Tools - https://developer.android.com/studio/releases/build-tools | |
export PATH="~/Sdk/build-tools/30.0.3/:$PATH" | |
# SDK Platform-Tools - https://developer.android.com/studio/releases/platform-tools | |
export PATH="~/Sdk/platform-tools/:$PATH" |
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
# you don't need to change anything in the default `vite.config.js`, only proxy / for the web and for the websockets. | |
<VirtualHost *:80> | |
ServerName my.site.org | |
ServerAdmin webmaster@localhost | |
RewriteEngine on | |
RewriteCond %{SERVER_NAME} =my.site.org | |
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent] |
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 zsh | |
# USAGE: | |
# $ chmod + x run-toggle.sh | |
# ./run-toggle.sh <program binary path> | |
export FULL_COMMAND=${@:1} | |
export PROGRAM_NAME=$1 | |
export PROGRAM_PID=$(pgrep -u $USER -x $PROGRAM_NAME) |
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 python3 | |
# USING | |
# | |
# This script is an example; for more information, inspect the classes | |
# translate.storage.xliff.xlifffilename and | |
# translate.storage.xliff.xliffunit from the lib Translate Toolkit: | |
# | |
# https://docs.translatehouse.org/_/downloads/translate-toolkit/en/stable-1.12.0/pdf/ | |
# |
NewerOlder