Skip to content

Instantly share code, notes, and snippets.

#include <Arduino.h>
#include <ESP8266WiFi.h>
#include <ESP8266WiFiMulti.h>
#include <Wire.h>
#include "SSD1306Wire.h"
#include <ESP8266HTTPClient.h>
#include <WiFiClientSecureBearSSL.h>
unsigned long myTime;
<!DOCTYPE html>
<html>
<head>
<title></title>
</head>
<body>
<div id="g_id_onload"
data-client_id="390285071447-nulpiuehvrjqg91cnah18sj52mlt9c2b.apps.googleusercontent.com"
data-callback="handleCredentialResponse">
#include <Keyboard.h>
void setup() {
// Serial.begin(9600);
pinMode(2, INPUT);
pinMode(3, INPUT);
pinMode(4, INPUT);
pinMode(5, INPUT);
pinMode(6, INPUT);
pinMode(7, INPUT);
@rodolfofadino
rodolfofadino / DbConnectionHealthCheck.cs
Created January 6, 2019 19:43
DbConnectionHealthCheck.cs
using Microsoft.Extensions.Diagnostics.HealthChecks;
using System;
using System.Collections.Generic;
using System.Data.Common;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
namespace WebApplication19.Checks
{
@rodolfofadino
rodolfofadino / GCInfoHealthCheck.cs
Last active January 6, 2019 18:58
GCInfoHealthCheck
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Diagnostics.HealthChecks;
using Microsoft.Extensions.Options;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
namespace WebApplication19.Checks

Aula 5

passo 1

   https://www.microsoft.com/net/download/thank-you/dotnet-sdk-2.1.403-windows-x64-installer

Bindler Minifier

https://marketplace.visualstudio.com/items?itemName=MadsKristensen.BundlerMinifier

Aula 2

Middleware

if (env.IsDevelopment())
{
    app.UseDeveloperExceptionPage();
}

Aula 1

Instalando o Package

Install-package Microsoft.ASPNETCore.All

ou

dotnet add package Microsoft.ASPNETCore.All

@rodolfofadino
rodolfofadino / Push-Packages.txt
Created August 17, 2018 20:38
Sync Packages Nuget
get-childitem c:\packages -filter *.nupkg -recurse | copy-item -Destination c:\packages-end
nuget.exe push *.nupkg {apikey} -source https://www.myget.org/F/{fee-url}/api/v2/package
@rodolfofadino
rodolfofadino / FindMostExecutedStoredProcedures.sql
Created October 9, 2017 18:38
Find Most Executed Stored Procedures
SELECT
DatabaseName = DB_NAME(st.dbid)
,SchemaName = OBJECT_SCHEMA_NAME(st.objectid,dbid)
,StoredProcedure = OBJECT_NAME(st.objectid,dbid)
,ExecutionCount = MAX(cp.usecounts)
FROM sys.dm_exec_cached_plans cp
CROSS APPLY sys.dm_exec_sql_text(cp.plan_handle) st
WHERE DB_NAME(st.dbid) IS NOT NULL
AND cp.objtype = 'proc'
GROUP BY