Skip to content

Instantly share code, notes, and snippets.

View sandermvanvliet's full-sized avatar

Sander van Vliet sandermvanvliet

View GitHub Profile
Attempt %d of %d 0 5
>> 81 13 F7 81 0C
<< 81 13 F7 81 0C 03 C1 57 8F AA
>> 02 10 A0 B2
<< 02 10 A0 B2 01 50 51
>> 02 27 01 2A
<< 02 27 01 2A 04 67 01 34 06 A6
>> 04 27 02 1A 03 4A
<< 04 27 02 1A 03 4A 02 67 02 6B
connected!
{
"info": {
"_postman_id": "16236cd9-63ed-4d5e-805b-5d25781090b0",
"name": "Audi Authentication",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
},
"item": [
{
"name": "Auth - 1 - Get OpenID configuration",
"protocolProfileBehavior": {
import javax.crypto.BadPaddingException;
import javax.crypto.Cipher;
import javax.crypto.IllegalBlockSizeException;
import javax.crypto.NoSuchPaddingException;
import javax.crypto.spec.GCMParameterSpec;
import javax.crypto.spec.SecretKeySpec;
import java.security.InvalidAlgorithmParameterException;
import java.security.InvalidKeyException;
import java.security.NoSuchAlgorithmException;
import java.util.Base64;
using System;
using System.Threading;
using System.Threading.Tasks;
namespace Jedlix.Assets.Application.API
{
public class Demo
{
public void Foo()
{
#!/usr/bin/env bash
# Define directories.
SCRIPT_DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
TOOLS_DIR=$SCRIPT_DIR/tools
CAKE_VERSION=0.31.0
CAKE_DLL=$TOOLS_DIR/Cake.CoreCLR.$CAKE_VERSION/Cake.dll
# Disable dotnet sdk telemetry
export DOTNET_CLI_TELEMETRY_OPTOUT=1
{
"environment": {
"ConnectionString": "$(connectionString)"
},
"displayName": "Run database migrations",
"alwaysRun": false,
"continueOnError": false,
"condition": "succeeded()",
"enabled": true,
"timeoutInMinutes": 0,
@sandermvanvliet
sandermvanvliet / AssertionOptions.cs
Last active October 13, 2018 16:57
Assertion options
public class Tests
{
public void Option_One()
{
_sink
.Should()
.HaveMessage("Hello world")
.AppearsOnce()
.WithLevel(LogEventLevel.Warning);
}