Skip to content

Instantly share code, notes, and snippets.

Tuan Nguyen tuannguyenssu

Block or report user

Report or block tuannguyenssu

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View prometheus.yml
global:
scrape_interval: 5s # Set the scrape interval to every 15 seconds. Default is every 1 minute.
evaluation_interval: 5s # Evaluate rules every 15 seconds. The default is every 1 minute.
scrape_configs:
- job_name: 'prometheus'
static_configs:
- targets: ['prometheus:9090']
- job_name: 'kong'
static_configs:
View docker-compose-kong.yml
version: "3.7"
#######################################
# Network: local-docker-net
#######################################
networks:
local-docker-net:
driver: bridge
services:
View cloudSettings
{"lastUpload":"2019-09-23T10:30:07.358Z","extensionVersion":"v3.4.2"}
@tuannguyenssu
tuannguyenssu / BlazorCounter.razor
Last active Jul 8, 2019
Blazor counter example
View BlazorCounter.razor
@page "/counter"
<h1>Counter</h1>
<p>Current count: @currentCount</p>
<button class="btn btn-primary" onclick="@IncrementCount">Click me</button>
@code {
private int currentCount = 0;
You can’t perform that action at this time.