Links
Repositório do projeto: https://github.com/fdaciuk/conduit-api
Especificação da API: https://gothinkster.github.io/realworld/docs/specs/backend-specs/introduction
Talks
[PRÉ-WORK] Bootcamp React.js
Referências da semana de pré-work do Bootcamp em React.js
Sobre o pré-work
A semana de pré-work acontecerá nos dias 16/08/2021 à 20/08/2021 na Twitch do Daciuk.
Nessa semana, as lives acontecerão excepcionalmente à partir das 15h. Todas as informações sobre o Bootcamp você encontra em: https://b-academy.brainn.co/
Export Gnome Terminal Profile
List profiles
dconf dump /org/gnome/terminal/legacy/profiles:/
Determine the terminal profile string for the profile you will need. This is the terminal profile that I will export:
Github Two-Factor Authentication (2FA) for Brazil via SMS
The Github doesn't provide country code for Brazil (+55). To add this option, just run the code below in your console. The option Brazil +55
will be the first on the list, already selected:
Autenticação em dois fatores (2FA) do GitHub para o Brasil via SMS
Masks in Vanilla JS
YouTube video: https://www.youtube.com/watch?v=r-8isv_TnVA
Stackblitz: https://stackblitz.com/edit/js-mbehz9?file=index.js
Configuration to use TailwindCSS colors in a Styled Components theme with CRA + TypeScript.
Tailwind colors list: https://tailwindcss.com/docs/customizing-colors#generating-colors
Create files src/@types/styled.d.ts
and src/resources/theme.ts
with content below. Then add the theme on your project:
import { ThemeProvider } from 'styled-components'
import { theme } from 'resources/theme'
'use strict' | |
import React, { Component } from 'react' | |
import PropTypes from 'prop-types' | |
class LazyImg extends Component { | |
constructor () { | |
super() | |
this.state = { loaded: false } | |
this.img = {} |
/* jslint browser: true, jquery: true, devel: true*/ | |
/* | |
Dependencies: Tumblr.Flags | |
Tumblr.Utils.exceptions will automatically log window.onerror. | |
DO NOT write code like this. This is written to handle weird cases | |
where normal code should probably just fail. | |
*/ |