Skip to content

Instantly share code, notes, and snippets.

@ventz
ventz / vim_syntaxchecker.md
Created February 27, 2023 04:47 — forked from thikade/vim_syntaxchecker.md
vim syntax checker / syntastic yamllint

Getting vim yaml linter to work:

  1. Install syntastic vim plugin (as of vim 7.4.x no plugin manager is required anymore!)
    mkdir -p ~/.vim/pack/$USER/start/
    cd ~/.vim/pack/$USER/start/
    git clone https://github.com/vim-syntastic/syntastic.git
    
  2. Install yamllint: pip3 install yamllint
  3. Configure yamllint:
@ventz
ventz / gist:bf613a8b5f51244252f7d5c77f4ba7dd
Created October 26, 2018 18:34 — forked from yoitsro/gist:8693021
Node + Restify + Passport + Sessions + WebSockets
var restify = require('restify');
// Authentication
var passport = require('passport');
var LocalStrategy = require('passport-local').Strategy;
var sessions = require("client-sessions");
var server = restify.createServer();
server.use(restify.queryParser());
server.use(restify.bodyParser());
### Keybase proof
I hereby claim:
* I am ventz on github.
* I am ventz (https://keybase.io/ventz) on keybase.
* I have a public key whose fingerprint is 23F8 D5B5 2737 34F9 01A5 8CEC E5F9 6B50 6910 ECAE
To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am ventz on github.
  • I am ventz (https://keybase.io/ventz) on keybase.
  • I have a public key whose fingerprint is 748A 8144 972C 1C44 9A8B DEF7 27F4 3D97 C44D AF6D

To claim this, I am signing this object: