Skip to content

Instantly share code, notes, and snippets.

View danilosilvadev's full-sized avatar
🎯
Focusing

Danilo Silva danilosilvadev

🎯
Focusing
View GitHub Profile
function decode(arr) {
const singleStrArr = arr.join('').split('')
return singleStrArr
.filter((i, j) =>
!Number(i)
&& Number(singleStrArr[j + 1]))
.join('')
}
1. Look who helped the enemy jg to know his position and where he will gank
2. To know if he is early or midgame to know when he will gank
3. smiterino to train smite
4. A video for minimap awareness https://www.youtube.com/watch?v=lYmgW4UkyZU
5. Gank only the winners teammates/lanes
6. At beginning be carefull with the minion wave
7. Mute all at start
8. If the enemy JG is dead still his camps, priorize his camps
9. If you see him in the oposite site of the map, still the most you can advantage(gank, camps or objectives)
10. The mirror rule

Advanced Interview questions

Axios interceptor, fetchAPI

Lazyload, suspense, placeholder component

Errorbondarie

Webworker

LocalStorage, sessionStorage, indexDb

Auth token?, refreshToken, access token

Devtools profileID, audits, reduxtools, profiler

PWA Service worker

const cnpj = (value) => {
console.log(value, 'o valor q entrou')
var cnpj = value.replace(/[^\d]+/g,'');
// cnpjs inválidos conhecidos
const numbers = ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9']
for(i of numbers) {
if (i.repeat(14) === cnpj) { return false}
}

Rules:

  1. Ser DESCRITIVO, nada de links apenas, tem que ter resumo das tasks e serem numeradas. Links são info adicionais não o escopo da task.

  2. Export do requestly anexado se tiver que usá-lo.

  3. Link de onde testar SEMPRE, e se em mais de um lugar. Link completo de tds eles.

  4. Info adicional em casos diferentes que necessitem de algo a mais.

  5. Quaisquer mudanças ou alterações discutidas em comentários DEVEM SER ACRESCENTADAS na descrição do PR, não é bom gastarmos tempo lendo tds os comentários em tds os sites q a pessoa discutiu o PR.

{
"name": "@bluefoot/mirch",
"version": "0.1.0",
"private": true,
"dependencies": {
"@babel/preset-env": "^7.0.0",
"@bluefoot/ymir": "^0.3.8",
"axios": "^0.18.0",
"html-react-parser": "^0.6.1",
"husky": "^1.3.1",
@danilosilvadev
danilosilvadev / email-validation.js
Last active August 16, 2018 17:46
# Settle of things to use in an utils folder + a form validated
const emailValidation = email => /\S+@\S+\.\S+/.test(email) ? true : false;
export default emailValidation
@danilosilvadev
danilosilvadev / VSCODE.md
Last active November 15, 2024 14:52
deuMerda é um gist para caso eu precise reinstalar o ubuntu e suas dependências.

Plugins

  • eslint
  • tslint
  • prettier
  • spotify
  • zen tabs
  • string manipulation
  • jupyter notebook
  • python
@danilosilvadev
danilosilvadev / index.html
Last active January 17, 2018 16:24
Responsive
<header class="header">
<button class="open_menu">Open</button>
<div class="logo">Logo</div>
<nav class="nav">
<ul class="main_menu">
<a href="#">
<li>Option1</li>
</a>
<a href="#">
<li>Option2</li>
@danilosilvadev
danilosilvadev / .babelrc
Created October 16, 2017 17:03
Webpack config 2017
{
"presets": ["es2015", "react"],
"plugins": [
["transform-class-properties", { "spec": true }]
]
}