-
OAuth 2.0 debugger - https://oauthdebugger.com/
-
OpenID Connect debugger - https://oidcdebugger.com/
| OpenID Connect |
|---|
OAuth 2.0 debugger - https://oauthdebugger.com/
OpenID Connect debugger - https://oidcdebugger.com/
| OpenID Connect |
|---|
// .NET Core 2.2
.AddJwtBearer(options =>
{
var vp = options.TokenValidationParameters;vp is:
| # Launch VS Code with 'code' or 'code <path>' from Fish Shell | |
| function code | |
| set location "$PWD/$argv" | |
| open -n -b "com.microsoft.VSCode" --args $location | |
| end |
| [package] | |
| name = "iron" | |
| version = "0.1.0" | |
| authors = ["snobu <foo@snobu.org>"] | |
| edition = "2018" | |
| [dependencies] | |
| iron = "*" | |
| rustc-serialize = "*" | |
| chrono = "*" |
| $ openssl s_time -connect amisecure.azurewebsites.net:443 -www / -cipher 'RSA' -new | |
| Collecting connection statistics for 30 seconds | |
| ***************************************************************************************************************************** | |
| 125 connections in 0.29s; 431.03 connections/user sec, bytes read 366875 | |
| 125 connections in 31 real seconds, 2935 bytes read per connection |
| helm ls | grep FAILED | awk '{print $1}' | xargs helm delete --purge --debug |
| #!/bin/bash | |
| # Usage ./cleanup-k8s-terminating-namespace.sh <namespace> | |
| NAMESPACE=$1 | |
| echo Cleaning up namespace $1 | |
| kubectl proxy & | |
| kubectl get namespace $NAMESPACE -o json |jq '.spec = {"finalizers":[]}' > /tmp/temp.json |
| # Error: release prometheus-operator failed: customresourcedefinitions.apiextensions.k8s.io | |
| # "alertmanagers.monitoring.coreos.com" already exists | |
| # https://github.com/coreos/prometheus-operator/issues/2229 | |
| kubectl delete crd prometheusrules.monitoring.coreos.com | |
| kubectl delete crd servicemonitors.monitoring.coreos.com | |
| kubectl delete crd alertmanagers.monitoring.coreos.com |
| { | |
| "SchemaVersion": 1, | |
| "Name" : "SeeedOLED_I2C", | |
| "ComponentId" : "4595840c-94e8-48ea-9bd2-1b8167015973", | |
| "EntryPoint": "/bin/app", | |
| "CmdArgs": [], | |
| "Capabilities": { | |
| "AllowedConnections": [], | |
| "AllowedTcpServerPorts": [], | |
| "AllowedUdpServerPorts": [], |
| let Client = require('azure-iothub').Client; | |
| let Message = require('azure-iot-common').Message; | |
| let names = require('docker-names'); | |
| let IOTHUB_CONNSTR_SERVICE = process.env.IOTHUB_CONNSTR_SERVICE; | |
| let serviceClient = Client.fromConnectionString(IOTHUB_CONNSTR_SERVICE); | |
| module.exports = function(context, req) { | |
| context.log('JavaScript HTTP trigger function processed a request.'); | |
| let intent = req.body.request.intent.name; |