- Open the folder containing the copilot-chat extension:
~/.vscode-server/extensions/github.copilot-chat-0.15.2 - Beautify the
dist/extension.jswith this tool: https://beautifier.io/ - Beautify the
package.nls.jsonwith this tool:python3 -m json.tool - Apply patch
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
| " ~/.config/nvim/init.vim | |
| " copy to clipboard in WSL | |
| let g:clipboard = { | |
| \ 'name': 'win32-clipboard', | |
| \ 'copy': { | |
| \ '+': 'clip.exe', | |
| \ }, | |
| \ 'paste': { | |
| \ '+': '/home/CHANGEME/.config/nvim/paste.sh', | |
| \ }, |
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
| _git_diff_author() { | |
| # Toggle the comments if you use diff-so-fancy | |
| #view_diff='git diff $(git my-last-commit) --color=always -- $(echo {}) | diff-so-fancy | less -R' | |
| view_diff='git diff $(git my-last-commit) --color=always -- $(echo {}) | less -R' | |
| git my-diff-since-last-commit --name-status | cut -f2- | tr \\t ' ' |\ | |
| fzf --preview="$view_diff" \ | |
| --cycle --ansi --no-multi \ | |
| --header="ENTER fullscreen, C-F toggle view, C-Y copy filename, C-O open" \ | |
| --bind "enter:execute:$view_diff" \ | |
| --bind "ctrl-f:change-preview-window(up,80%|default)" \ |
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
| bXNjaAF4nNWcCTjb2f7/GW212jIznVaVotVWja32xtqVLjRttdSaKrEnqRBLkHSZoZsqWluQltIqoRQRJGmr9qKoNSTUViJBIiIRyc/M//7uNnfutNr7/8193o/z/ZzX+Xw+5+Q4y/fxeCK2RmyDhNgqqBsELCbndMFF2cYN6gH2vwSHBSnv36+89xLCx99DTWy9BzjQHe5zOcgHBhUTE1vj73YJ7B8o9o2TyxoxSQg4MNDNCyy2JjDEJ8jdW0zGO+wyGK55GQ5zX26BwcVkID7ucNjfgfUQMAQGD9O85Ab1E9vo7xOA8PHQDIQh4O7g5ewbl3/EJFaJi9mchi/7K/uDPYOULyGCgmBQ5SCYcmCQG/yX+vLAfKBeWlLHPZXhPl7ef3NBwKGByjBPT2WfINVAZU8fqE+gN9hDS+KXtFLLaeGWPvDAIGVwKNgdEQRWDvIGKy8PzQvuBlF2C/q1egm2nAmiJSV1zhsMVXbzDALD/9rhrw6B7t5giFuQj/ty5C9DDPL2CfzNECF/nUotCXExcTEJKbHl5zd/fUotP8WWn+uXx3TkLNjNX/kwGLrclbGy5j4tA6njEDevv5J9UsdgcB8kDBq07HbEZ/nX9SvWk7JxC1U+/qutY7ica5WYuLSYmHFJaBqxvzcQY3/JyDuuR5a5KA2Nd7ZN+bDz7NlWmz0phe2BOkYN9iBOehNEHXK+KjI+vSwQIBrp6dJiKq+9JiZ+aUe9uOKx4iPX4pH9BrmNQBux6VcA8niV9oHvg+pK/UQUEYsRkttKWtjJ4XjRIgKm8ywsFuYX31ughAwZWgR6+qAvQDjZYoSv4inl5c1Gc0nASD7FDWtezl0KoVkcKxUGTMNChEMyIg55mfXa52YbhvSL+C/IJYRhFIZiLprHTE+j2dXE91wZVHnIBBWG9kYtDT/hyusFjYPIVaJOIlAJJeq9Pm1BDFxkston+xrbG9Od8FSNx4TXhUyziAUaWTCFeY9GzQ/iozUHHB0q92HxZCTbtFl8Gx60P5TT |
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 | |
| # License: | |
| # https://www.gnu.org/licenses/gpl-3.0.en.html | |
| # requirements: | |
| # - [python-telegram-bot](https://github.com/python-telegram-bot/python-telegram-bot/) | |
| # - `pip3 install python-telegram-bot` | |
| from telegram.ext import CommandHandler, MessageHandler, Filters, Updater | |
| from telegram import Message, Update, Bot | |
| from telegram.ext import BaseFilter |
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 | |
| # requirements: | |
| # - [python-telegram-bot](https://github.com/python-telegram-bot/python-telegram-bot/) | |
| # - `pip3 install python-telegram-bot` | |
| from telegram.ext import CommandHandler, MessageHandler, Filters, Updater | |
| from telegram import Message, Update, Bot | |
| from telegram.ext import BaseFilter | |
| import logging |
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
| import sys | |
| decode_matrix = { | |
| 'A': 'Α', | |
| 'a': 'α', | |
| 'B': 'Β', | |
| 'b': 'β', | |
| 'C': 'Χ', | |
| 'c': 'χ', | |
| 'D': 'Δ', |