Skip to content

Instantly share code, notes, and snippets.

View jeancabral's full-sized avatar
🏠
Working from home

Jean Cabral jeancabral

🏠
Working from home
View GitHub Profile
@jeancabral
jeancabral / gist:6d7768299d0d079b60849b98f8cffc2d
Created August 3, 2020 20:39
Batch process .png to .webp
for file in *.png ; do cwebp -q 50 "$file" -o "${file%.png}.webp"; done
@jeancabral
jeancabral / init.vim
Created March 24, 2020 22:48 — forked from prkstaff/init.vim
My NeoVim config + Dracula theme + NerdTree
"*****************************************************************************
"" Vim-PLug core
"*****************************************************************************
if has('vim_starting')
set nocompatible " Be iMproved
endif
let vimplug_exists=expand('~/.config/nvim/autoload/plug.vim')
let g:vim_bootstrap_langs = "javascript,php,python,ruby"
@jeancabral
jeancabral / .vimrc
Last active March 22, 2020 00:21
Vim for Javascript, React and TypeScript
"" Author: @jeancabral - https://twitter.com/jeancabral
"" init vim-plug
call plug#begin('~/.vim/plugged')
"
"" plugin section
"
" javascript support
Plug 'pangloss/vim-javascript'
" typescipt supoort
Plug 'leafgarland/typescript-vim'
@jeancabral
jeancabral / .eslintrc.js
Created February 14, 2020 18:39
Configuração do .eslintrc.js para projetos utilizando GatsbyJS
/**
* GatsbyJS: Configurando Eslint e Prettier no Visual Studio Code
* https://dev.to/jeancabral/gatsbyjs-configurando-eslint-e-prettier-no-visual-studio-code-5ab8
*/
module.exports = {
env: {
browser: true,
es6: true,
},