This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| c = !git add --all && git commit -m | |
| s = !git status -s | |
| l = !git log --pretty=format:'%C(blue)%h%C(red)%d %C(white)%s - %C(cyan)%cn, %C(green)%cr' | |
| amend = !git add --all && git commit --amend --no-edit | |
| count = !git shortlog -s --grep |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <%= content_for :recaptcha_js do %> | |
| <%= include_recaptcha_js %> | |
| <% end %> | |
| <div class="col s12 landing-section pr-0 pl-0"> | |
| <img class="landing-bg" src="/images/coronavirus.jpg"> | |
| <%#img class="brasao" src="/images/brasao_branco_texto.png"%> | |
| <div class="landing-body"> | |
| <h1>Voluntários contra o COVID-19</h1> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import 'dart:html'; | |
| import 'dart:convert'; | |
| class Evento { | |
| int id; | |
| String titulo; | |
| String descricao; | |
| String inicio; | |
| String fim; | |
| String dataFimInscricao; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import 'dart:html'; | |
| import 'dart:convert'; | |
| class Evento { | |
| int id; | |
| String titulo; | |
| String descricao; | |
| String inicio; | |
| String fim; | |
| String dataFimInscricao; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import React, { useState, useRef, useEffect } from 'react' | |
| import ReactDOM from 'react-dom' | |
| import { useForm } from "react-hook-form"; | |
| import M from 'materialize-css' | |
| import * as yup from "yup"; | |
| import EstimateDetail from '../EstimateDetail' | |
| import Swal from 'sweetalert2' | |
| const schema = { | |
| requiredDecimal: { required: true, pattern: /^\d+(\.\d{1,2})?$/ } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Common configuration. | |
| AllCops: | |
| RubyInterpreters: | |
| - ruby | |
| - macruby | |
| - rake | |
| - jruby | |
| - rbx | |
| # Include common Ruby source files. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| HTTP status code symbols for Rails | |
| Thanks to Cody Fauser for this list of HTTP responce codes and their Ruby on Rails symbol mappings. | |
| Status Code Symbol | |
| 1xx Informational | |
| 100 :continue | |
| 101 :switching_protocols | |
| 102 :processing |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| // Define o tema do VSCode | |
| "workbench.colorTheme": "Dracula", | |
| // Configura tamanho e família da fonte | |
| "editor.fontSize": 14, | |
| "editor.lineHeight": 20, | |
| "editor.fontFamily": "Fira Code", | |
| "editor.fontLigatures": true, | |
| // Aplica linhas verticais para lembrar de quebrar linha em códigos muito grandes | |
| "editor.rulers": [ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
| { | |
| "env": { | |
| "browser": true, | |
| "jest": true, | |
| "es6": true | |
| }, | |
| "extends": ["react-app", "airbnb"], | |
| "plugins": ["import","jsx-a11y","react"], | |
| "rules": { | |
| "react/jsx-filename-extension": [ |