Skip to content

Instantly share code, notes, and snippets.

View SuricateCan's full-sized avatar

Cleverson Nascimento SuricateCan

View GitHub Profile
@SuricateCan
SuricateCan / ConfigureHealthCheckOptions.cs
Last active April 19, 2023 21:42
Microsoft.AspNetCore.Diagnostics.HealthChecks Custom Response Writer
/// <summary>
/// Configures the output writer to allow standard or complete response from the health check endpoint.
/// Standard response is requested using: "/healthcheck/status"
/// Complete response is requested using: "/healthcheck/status?detailed"
/// </summary>
public class ConfigureHealthCheckOptions : IConfigureOptions<HealthCheckOptions>
{
/// <inheritdoc />
public void Configure(HealthCheckOptions options)
{
// ==UserScript==
// @name Authorize all Requests
// @namespace http://suriti.com.br/
// @version 0.1
// @description Authorize all requests
// @author Cleverson Nascimento
// @grant unsafeWindow
// @grant GM_registerMenuCommand
// @grant GM_openInTab
// @grant GM_log
@SuricateCan
SuricateCan / 20190910162357_Initial.Designer.cs
Created September 10, 2019 16:48
EF Core - Lazy Loading Failing to Load
// <auto-generated />
using System;
using ConceptProject;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
namespace ConceptProject.Migrations
{
<!doctype html>
<html>
<head>
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
</head>
<body>
<div aurelia-app="src/configure">
Loading...
<!doctype html>
<html>
<head>
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
</head>
<body>
<div aurelia-app="src/configure">
Loading...
@SuricateCan
SuricateCan / app.html
Created March 22, 2018 13:34
Primary prperty
<template>
<require from="./square"></require>
<div square="#123456"></div>
<div square="https://jsonplaceholder.typicode.com/users"></div>
<div square="color:https://jsonplaceholder.typicode.com/users;"></div>
<div square.bind="input"></div>
</template>