Concordo totalmente! 👍 Essa é uma excelente prática e você está seguindo o padrão correto de versionamento semântico.
-alfa
indica que é uma versão em desenvolvimento/teste
Concordo totalmente! 👍 Essa é uma excelente prática e você está seguindo o padrão correto de versionamento semântico.
-alfa
indica que é uma versão em desenvolvimento/testegit credential-cache exit # Limpa as credenciais em cache (se estiver usando) | |
git config --global --unset credential.helper # Desabilita qualquer helper configurado | |
git pull # Força a solicitação de novas credenciais | |
git config --global credential.helper wincred # Configura para salvar as credenciais no Windows |
# You need to add %JAVA_HOME%bin to the beginning of your Path variable | |
$version = $args[0].trim() | |
$helpText = "To change to the latest OpenJDK version enter 'latest', otherwise enter the version you want to use." + [Environment]::NewLine + "Usage: Change-Java-JDK (latest|\d|-{0,2}help)" | |
if ($version -eq "latest") { | |
$version = "" | |
} elseif ($version -match "^\s*-{0,2}help\s*$") { | |
Write-Host $helpText | |
return | |
} elseif (!($version -match "^\d+$")) { |
package com.github.igorferreira.api.config; | |
import org.springframework.beans.factory.InitializingBean; | |
import org.springframework.context.annotation.Bean; | |
import org.springframework.context.annotation.Configuration; | |
import org.springframework.web.servlet.mvc.method.RequestMappingInfo; | |
import org.springframework.web.servlet.mvc.method.RequestMappingInfoHandlerMapping; | |
import springfox.documentation.spi.service.RequestHandlerProvider; | |
import springfox.documentation.spring.web.WebMvcRequestHandler; | |
import springfox.documentation.spring.web.plugins.DocumentationPluginsBootstrapper; |
Markdown Preview Enhanced supports rendering flow charts
, sequence diagrams
, mermaid
, PlantUML
, WaveDrom
, GraphViz
, Vega & Vega-lite
, Ditaa
diagrams.
You can also render TikZ
, Python Matplotlib
, Plotly
and all sorts of other graphs and diagrams by using Code Chunk.
Please note that some diagrams don't work well with file exports such as PDF, pandoc, etc.
This feature is powered by flowchart.js.
private HttpEntity buildHttpEntity(List<DataPowerRequest> request){ | |
HttpHeaders requestHeaders = new HttpHeaders(); | |
requestHeaders.setContentType(MediaType.APPLICATION_JSON); | |
HttpEntity<List<DataPowerRequest>> entity = new HttpEntity<List<DataPowerRequest>>(request | |
, requestHeaders); | |
return entity; | |
} | |
private void setHttpMessageConverter(RestTemplate restTemplate) { |
Git freak como sou, precisava compartilhar algo útil sobre ele, claro. E, já que não vejo muito por aí o pessoal usando, resolvi falar dos alias do git! É um recurso que eu uso muito, e nunca entendi porque muitas pessoas não são adeptas. 😕
Pelo nome você já deve perceber que os alias no git são atalhos. Atalhos pro quê? São atalhos para comandos do git e até comandos shell se você quiser. E é bem fácil cadastrar um alias:
$ git config --global alias.st status
version: '3.8' | |
services: | |
prometheus: | |
image: prom/prometheus | |
volumes: | |
- ./prometheus.yml:/etc/prometheus/prometheus.yml | |
ports: | |
- "9090:9090" | |
grafana: |
version: '3.8' | |
services: | |
prometheus: | |
image: prom/prometheus | |
volumes: | |
- ./prometheus.yml:/etc/prometheus/prometheus.yml | |
ports: | |
- "9090:9090" | |
grafana: |
package dev.igorferreira.prometheusspringboot.security; | |
import static javax.servlet.http.HttpServletResponse.SC_UNAUTHORIZED; | |
import static org.springframework.http.MediaType.APPLICATION_JSON_VALUE; | |
import java.io.IOException; | |
import java.nio.charset.StandardCharsets; | |
import javax.servlet.http.HttpServletRequest; | |
import javax.servlet.http.HttpServletResponse; |