Skip to content

Instantly share code, notes, and snippets.

@jamesflorentino
jamesflorentino / GIF-Screencast-OSX.md
Created July 14, 2016 21:17 — forked from dergachev/GIF-Screencast-OSX.md
OS X Screencast to animated GIF

OS X Screencast to animated GIF

This gist shows how to create a GIF screencast using only free OS X tools: QuickTime, ffmpeg, and gifsicle.

Screencapture GIF

Instructions

To capture the video (filesize: 19MB), using the free "QuickTime Player" application:

function ESLintFix()
silent execute "!./node_modules/.bin/eslint --fix %"
edit! %
Neomake
endfunction
nnoremap <leader><leader> :call ESLintFix()<CR>
@jamesflorentino
jamesflorentino / .eslintrc.json
Created December 10, 2016 06:16
My current ESLint configuration file for backend Node.js projects
{
"extends": "eslint:recommended",
"env": {
"node": true,
"browser": true,
"es6": true
},
"parserOptions": {
"ecmaVersion": 2017,
"sourceType": "module"
import * as bip32 from 'bip32';
import * as BufferLayout from 'buffer-layout';
import _ from 'lodash';
import nacl from 'tweetnacl';
import { Service } from 'typedi';
import {
Account, Connection, PublicKey, SystemProgram, SYSVAR_RENT_PUBKEY, Transaction,
TransactionInstruction
} from '@solana/web3.js';