yarn add --dev \
@babel/core \
@babel/cli \
@babel/preset-env \
@babel/preset-typescript \
typescript
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
Baixar openjdk11 com chocolatey choco install openjdk11 | |
Baixar command line tools | |
Baixar plataform tools | |
Criar uma pasta C:\Android\android-sdk e dentro dela criar outra pasta chamada cmdline-tools\tools | |
Descompactar tudo que esta dentro do commandline.zip\cmdline-tools dentro da pasta C:\Android\android-sdk\cmdline-tools\tools | |
Descomptar tudo que esta da platform-tools.zip dentro de C:\Android\android-sdk\platform-tools |
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
docker exec -it container-name redis-cli FLUSHALL |
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
@authenticate |
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
public interface IDatabase<TEntity> | |
{ | |
Task SaveAsync(TEntity entity); | |
Task<TEntity> Get(Guid id); | |
Task<ICollection<TEntity>> GetAll(); | |
Task Delete(Guid id); | |
Task<TEntity> Update(TEntity entity); | |
} |
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, { Component } from 'react'; | |
import MatchList from './MatchList.js'; | |
import SearchMatch from './SearchMatch.js' | |
const Matchs = [{ | |
key: 1, | |
home: 'Cruzeiro', | |
away: 'Palmeiras', | |
home_score: '3', | |
away_score: '0' |
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
int h(int matriz **g,int matriz **f, int n, int m) | |
{ | |
int max=0, i, j,soma; | |
for(i=-1;i<=1;i++) | |
for(j=-1;j<=1;j++){ | |
soma=g[i][j]*f[n+i][m+j]; | |
if(soma > max) | |
max=soma; | |
} | |
return max; |
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
template<class T> | |
void insertion(T *data, int n) | |
{ | |
T temp; int j=0; | |
for(int i=1;i<n;i++) | |
{ | |
temp=data[i]; | |
for(j=i;j>0&&temp<data[j-1];j--) | |
data[j]=data[j-1]; | |
data[j]=temp; |