Inspired by dannyfritz/commit-message-emoji
See also gitmoji.
| Commit type | Emoji |
|---|---|
| Initial commit | 🎉 :tada: |
| Version tag | 🔖 :bookmark: |
| New feature | ✨ :sparkles: |
| Bugfix | 🐛 :bug: |
Inspired by dannyfritz/commit-message-emoji
See also gitmoji.
| Commit type | Emoji |
|---|---|
| Initial commit | 🎉 :tada: |
| Version tag | 🔖 :bookmark: |
| New feature | ✨ :sparkles: |
| Bugfix | 🐛 :bug: |
| " Add this to your vimrc to get a minimalist autocomplete pop | |
| " Or use as a plugin : https://github.com/maxboisvert/vim-simple-complete | |
| " Minimalist-TabComplete-Plugin | |
| inoremap <expr> <Tab> TabComplete() | |
| fun! TabComplete() | |
| if getline('.')[col('.') - 2] =~ '\K' || pumvisible() | |
| return "\<C-P>" | |
| else |
| FROM php:7.1.2-apache | |
| RUN docker-php-ext-install mysqli |
I used to use NERD tree for quite a while, then switched to CtrlP for something a little more lightweight. My setup now includes zero file browser or tree view, and instead uses native Vim fuzzy search and auto-directory switching.
There is a super sweet feature in Vim whereby you can fuzzy find your files using **/*, e.g.:
:vs **/*<partial file name><Tab>| <?php | |
| function validaCPF($cpf) { | |
| // Extrai somente os números | |
| $cpf = preg_replace( '/[^0-9]/is', '', $cpf ); | |
| // Verifica se foi informado todos os digitos corretamente | |
| if (strlen($cpf) != 11) { | |
| return false; |
| Rodar Queues do Laravel em Hospedagem compartilhada | |
| //É necessário criar uma método em um controller para executar a queue | |
| //Estou chamando a tarefa e dizendo para ser executada somente uma vez | |
| public function queue() | |
| { | |
| Artisan::call('queue:restart', []); | |
| Artisan::call('queue:work', [ | |
| '--timeout' => 60, | |
| '--memory' => 150, |
| " https://asciinema.org/a/kE1398clJWRPPhk3lWbtvbanF | |
| " Presentation mode | |
| " | |
| " use <left> and <right> to navigate the slides | |
| " | |
| " https://github.com/plasticboy/vim-markdown Makes folds by sections (among many other things) | |
| " https://github.com/junegunn/goyo.vim Distraction-free writing (and reading) in Vim | |
| function! s:enter_presentation() |
Type go in terminal, to verify the installation.
| /* eslint-disable */ | |
| // For more infos, see: https://github.com/jquense/yup/blob/master/src/locale.js | |
| import { setLocale } from 'yup' | |
| const translation = { | |
| mixed: { | |
| default: '${path} é inválido', | |
| required: '${path} é um campo obrigatório', | |
| oneOf: '${path} deve ser um dos seguintes valores: ${values}', | |
| notOneOf: '${path} não pode ser um dos seguintes valores: ${values}', |