- https://github.com/3v0k4/exit.nvim
- https://github.com/Aaronik/GPTModels.nvim
- https://github.com/AdiY00/copy-tree.nvim - Technically an AI prompting plugin
- https://github.com/Bryley/neoai.nvim
- https://github.com/CamdenClark/flyboy
- https://github.com/CoderCookE/vim-chatgpt
- https://github.com/CopilotC-Nvim/CopilotChat.nvim
- https://github.com/Dan7h3x/chatter.nvim
- https://github.com/David-Kunz/gen.nvim
- https://github.com/ErikBjare/gptme/tree/master/scripts/vim
Functions that allow you to call a function not more than once in a given timeframe.
This can be illustrated with timing diagrams. In the following diagrams, f
designates call to the throttled function, t
is the period where the timer is running, and x
shows you the actual execution point of the throttled function.
f 1 2 3 4 5 6
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
#usda 1.0 | |
( | |
doc = """This is a docstring""" | |
subLayers = [ # This is an in-line comment | |
@./external_path.usda@, | |
@/absolute/path.usda@, | |
@uri:blah?extension=.usda:.usd:.usdc&meta=data@ | |
] | |
) |
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
/** | |
* For Boost.Python | |
* | |
* Automatically convert between Python list, dict, tuple and C++ STL std::vector, std::map, std::tuple, respectively. | |
* -------------------------------------- | |
* 自动转换 Python 和 STL 的几个常用数据类型。 | |
* | |
* I am familiar with neither metaprogramming nor Boost.Python. This header works but I believe | |
* there are better ways (or even existing libraries) to do these conversions. Please comment at | |
* this page to help me improve it. |
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
#pragma once | |
/// Reference: https://github.com/snoyer/tictactoebot/blob/64b1e06937147e3e54ce4dcc465b7f76e1889ec6/opencv/pythonhelpers.h | |
#include <boost/python.hpp> | |
namespace py = boost::python; | |
template<typename T1, typename T2> |
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
" Copied from thesaurus_query.vim. Otherwise, the `thesaurus_query` module may not be directly importable. | |
" | |
" Reference: https://github.com/Ron89/thesaurus_query.vim/blob/master/autoload/thesaurus_query.vim#L205-L214 | |
" | |
pythonx << EOF | |
# IMPORT STANDARD LIBRARIES | |
import sys | |
import os | |
# IMPORT THIRD-PARTY LIBRARIES |