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
| " vim-bootstrap 2025-08-21 18:46:22 | |
| "***************************************************************************** | |
| "" Vim-Plug core | |
| "***************************************************************************** | |
| let vimplug_exists=expand('~/.vim/autoload/plug.vim') | |
| if has('win32')&&!has('win64') | |
| let curl_exists=expand('C:\Windows\Sysnative\curl.exe') | |
| else | |
| let curl_exists=expand('curl') |
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
| PUPPETEER_EXECUTABLE_PATH="/Applications/Google Chrome.app/Contents/MacOS/Google Chrome" npx --package=@mermaid-js/mermaid-cli@latest mmdc -t neutral -i "./ux_flows.mmd" -o "./export.png" -b white -s 10 |
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
| # Layout | |
| yabai -m config layout bsp | |
| # Mouse modifier | |
| yabai -m config mouse_modifier cmd | |
| # Set all padding and gaps to 20pt (default: 0) | |
| yabai -m config top_padding 20 | |
| yabai -m config bottom_padding 20 | |
| yabai -m config left_padding 20 |
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
| { | |
| "description": "Change Caps Lock to Escape", | |
| "manipulators": [ | |
| { | |
| "from": { | |
| "key_code": "caps_lock", | |
| "modifiers": { "optional": ["any"] } | |
| }, | |
| "to": [{ "key_code": "escape" }], | |
| "type": "basic" |
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
| # window management | |
| ctrl + alt + cmd - b : yabai -m space --balance | |
| ctrl + alt + cmd - e : yabai -m space --equalize | |
| ctrl + alt + cmd - t : yabai -m window --toggle float | |
| ctrl + alt + cmd - s : yabai -m window --toggle split | |
| ctrl + alt + cmd - r : yabai -m space --rotate 90 | |
| ctrl + alt + cmd - y : yabai -m window --toggle zoom-parent | |
| ctrl + alt + cmd - f : yabai -m window --stack sibling; yabai -m window --toggle float; yabai -m window --toggle float | |
| # moving windows |
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
| chrome_mem=$(ps aux | grep -i "chrome" | grep -v "grep" | awk '{sum += $6} END {print sum/1024}'); total_mem=$(sysctl hw.memsize | awk '{print $2/1024/1024}'); percentage=$(echo "scale=2; ($chrome_mem / $total_mem) * 100" | bc); echo "Chrome Memory: $chrome_mem MB, Percentage of Total: $percentage%" |