Auto-approves read-only MCP tools to eliminate constant permission dialogs.
This hook is now officially integrated into the MCP Memory Service project as of v8.73.0!
Auto-approves read-only MCP tools to eliminate constant permission dialogs.
This hook is now officially integrated into the MCP Memory Service project as of v8.73.0!
Based on this blogpost.
To sign Git commits, you need a gpg key. GPG stands for GNU Privacy Guard and is the de facto implementation of the OpenPGP message format. PGP stands for ‘Pretty Good Privacy’ and is a standard to sign and encrypt messages.
Install with Homebrew:
$ brew install gpg| #include <SDL2/SDL.h> | |
| #include <SDL2/SDL_syswm.h> | |
| #include <Windows.h> | |
| typedef void (*ModalLoopCallback)(void*); | |
| typedef void (*ModalLoopResizeCallback)(SDL_Window*, int, int, void*); | |
| ModalLoopCallback g_modal_loop_callback = NULL; | |
| void* g_modal_loop_userdata = NULL; | |
| ModalLoopResizeCallback g_modal_loop_resize_callback = NULL; |
All packages, except for Tini have been added to termux-root. To install them, simply pkg install root-repo && pkg install docker. This will install the whole docker suite, left only Tini to be compiled manually.
| // | |
| // Swift UnsafePointer converter | |
| // Kaz Yoshikawa | |
| // | |
| // These code demonstrates how to convert swift pointers to the other forms of pointers. | |
| // | |
| // Source: | |
| // Swift の Array やら ArraySlice やらポインタの変換まとめ | |
| // https://qiita.com/Satachito/items/4c39c9b06304e4d86660 | |
| // |
| ##[ | |
| Fixed point arithmetic | |
| A fixed point number is an alternative representation for a real number. | |
| IEEE floats, `f32` and `f64`, being the standard format in processors with | |
| Floating Point Units (FPU). You should consider using fixed numbers on | |
| systems where there's no FPU and performance is critical as fixed point | |
| arithmetic is faster than software emulated IEEE float arithmetic. Do note | |
| that fixed point numbers tend to be more prone to overflows as they operate | |
| in ranges much smaller than floats. |
| extension Collection { | |
| public subscript(inplace_slice bounds: Range<Index>) -> Slice<Self> { | |
| get { fatalError() } | |
| _modify { | |
| var slice = Slice(base: self, bounds: bounds) | |
| yield &slice | |
| } | |
| } | |
| } |
Note: This gist may be outdated, thanks to all contributors in comments.
adb is the Android CLI tool with which you can interact with your android device, from your PC
You must enable developer mode (tap 7 times on the build version in parameters) and install adb on your PC.
Don't hesitate to read comments, there is useful tips, thanks guys for this !
⚠️ Note 2023-01-21
Some things have changed since I originally wrote this in 2016. I have updated a few minor details, and the advice is still broadly the same, but there are some new Cloudflare features you can (and should) take advantage of. In particular, pay attention to Trevor Stevens' comment here from 22 January 2022, and Matt Stenson's useful caching advice. In addition, Backblaze, with whom Cloudflare are a Bandwidth Alliance partner, have published their own guide detailing how to use Cloudflare's Web Workers to cache content from B2 private buckets. That is worth reading,