Nvim recognizes the following events. Names are case-insensitive.
BufAdd
Just after creating a new buffer which is
added to the buffer list, or adding a buffer
/!\ Be very carrefull in your setup : any misconfiguration make all the git config to fail silently ! Go trought this guide step by step and it should be fine 😉
~/.ssh/config, set each ssh key for each repository as in this exemple:If you want to publish packages to your private registry, e.g. to jfrog.io/Verdaccio/... you should note some important things:
To authenticate against the private repository, you've to use the npm cli tool. But first you should get your API access token. That's safer than using your password.
npm adduser --registry https://<registry_url>/<api_path>/ --always-auth
| "use strict"; | |
| /** | |
| * Hypertext Transfer Protocol (HTTP) response status codes. | |
| * @see {@link https://en.wikipedia.org/wiki/List_of_HTTP_status_codes} | |
| */ | |
| enum HttpStatusCode { | |
| /** | |
| * The server has received the request headers and the client should proceed to send the request body |
| #!/bin/bash | |
| modprobe -r ec_sys | |
| modprobe ec_sys write_support=1 | |
| on="\x8a" | |
| off="\x0a" | |
| led(){ | |
| echo -n -e $1 | dd of="/sys/kernel/debug/ec/ec0/io" bs=1 seek=12 count=1 conv=notrunc 2> /dev/null |
Inspired by dannyfritz/commit-message-emoji
See also gitmoji.
| Commit type | Emoji |
|---|---|
| Initial commit | 🎉 :tada: |
| Version tag | 🔖 :bookmark: |
| New feature | ✨ :sparkles: |
| Bugfix | 🐛 :bug: |
| #include <TimerOne.h> | |
| const byte PWMDAC1pin = 9; // PWM DAC, only pins 9 and 10 are allowed | |
| const byte PWMDAC2pin = 10; // example using second DAC | |
| const byte period = 32; // for 8 bit DAC | |
| byte commandByte; | |
| byte noteByte; |
| { | |
| "USD": { | |
| "symbol": "$", | |
| "name": "US Dollar", | |
| "symbol_native": "$", | |
| "decimal_digits": 2, | |
| "rounding": 0, | |
| "code": "USD", | |
| "name_plural": "US dollars" | |
| }, |
Sometimes you want to have a subdirectory on the master branch be the root directory of a repository’s gh-pages branch. This is useful for things like sites developed with Yeoman, or if you have a Jekyll site contained in the master branch alongside the rest of your code.
For the sake of this example, let’s pretend the subfolder containing your site is named dist.
Remove the dist directory from the project’s .gitignore file (it’s ignored by default by Yeoman).