Baixar o script do git-prompt e colocar na raiz ~/
Copiar e colar o trecho do meu-estilo depois da ultima linha do seu arquivo de configuração do bash (~/bashrc|~/.bash_profile)
package br.com.logann.sgbe.util; | |
import java.util.Collection; | |
import java.util.HashSet; | |
import java.util.Set; | |
import java.util.function.Function; | |
/** | |
* Example: | |
* |
import { Pipe, PipeTransform } from "@angular/core"; | |
@Pipe({ | |
name: "fileDisplay", | |
pure: true, | |
}) | |
export class FileDisplayPipe implements PipeTransform { | |
transform(value: File): Promise<any> { | |
return new Promise((resolve, reject) => { | |
const reader = new FileReader(); |
function onChange(event: any) { | |
if (!event.target.files[0] || event.target.files[0].length === 0) { | |
alert("Nenhum arquivo selecionado"); | |
return; | |
} | |
const mimeType = event.target.files[0].type; | |
if (mimeType.match(/image\/*/) == null) { | |
alert('Apenas imagens são suportados'); |
package com.maykonoliveira.examechunindevdojo.config; | |
import org.springframework.http.HttpMethod; | |
import org.springframework.security.web.server.util.matcher.ServerWebExchangeMatcher; | |
import org.springframework.web.server.ServerWebExchange; | |
import reactor.core.publisher.Mono; | |
import java.util.regex.Pattern; | |
/** @author maykon-oliveira */ |
Baixar o script do git-prompt e colocar na raiz ~/
Copiar e colar o trecho do meu-estilo depois da ultima linha do seu arquivo de configuração do bash (~/bashrc|~/.bash_profile)
Passo a passo ensinando como configurar um servidor web para fazer deploy de uma aplicação construida com o framework Spring Boot.
sudo apt-get update
sudo add-apt-repository ppa:webupd8team/java