Skip to content

Instantly share code, notes, and snippets.

View didierofrivia's full-sized avatar
🇵🇸

dd di cesare didierofrivia

🇵🇸
  • Red Hat
  • Barcelona
View GitHub Profile
{
"type": "object",
"definitions": {
"schema": {
"$id": "#/definitions/schema",
"$ref": "http://json-schema.org/draft-07/schema#",
"default": {}
},
"version": {
"$id": "#/definitions/version",
{
"$id": "https://gist.githubusercontent.com/didierofrivia/46b5af82fdc951a05e3ae67c0d2ccd2c/raw/915f4c0651aabcfa9daca4118451943d8fb4c101/schema.json#",
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"definitions": {
"schema": {
"$id": "#/definitions/schema",
"$ref": "http://json-schema.org/draft-07/schema#",
"default": {}
},
{"policies":{"tls_validation":[{"$schema":"http://apicast.io/policy-v1/schema#manifest#","name":"TLS validation","summary":"Validate client TLS certificates","description":["Validate client certificates against individual certificates and CA certificates."],"version":"builtin","configuration":{"type":"object","definitions":{"certificate":{"$id":"#/definitions/certificate","type":"object","properties":{"pem_certificate":{"type":"string","title":"PEM formatted certificate","description":"Certificate including the -----BEGIN CERTIFICATE----- and -----END CERTIFICATE-----"}}},"store":{"$id":"#/definitions/store","type":"array","items":{"$ref":"#/definitions/certificate"}}},"properties":{"whitelist":{"$ref":"#/definitions/store","title":"Certificate Whitelist","description":"Individual certificates and CA certificates to be whitelisted."}}}}],"keycloak_role_check":[{"summary":"Adds role check with Keycloak.","description":["This policy adds role check with Keycloak.\n","This policy verifies realm roles and client
@didierofrivia
didierofrivia / apicast.json
Created December 19, 2018 04:10
apicast standalone config
{
"global": {
"log_level": "debug",
"error_log": "stderr",
"access_log": "stdout",
"opentracing_tracer": "jaeger",
"upstream": {
"load_balancer": "least_conn",
"retry": "5xx",
"retry_times": 3

Keybase proof

I hereby claim:

  • I am didierofrivia on github.
  • I am reidid (https://keybase.io/reidid) on keybase.
  • I have a public key ASAe6hhWgjd_RgKWMOsaGFSY13L-rIxeJilsg2KY4DCboAo

To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am ddcesare on github.
  • I am reidid (https://keybase.io/reidid) on keybase.
  • I have a public key ASAe6hhWgjd_RgKWMOsaGFSY13L-rIxeJilsg2KY4DCboAo

To claim this, I am signing this object:

<!DOCTYPE html>
<!-- BEGIN html -->
<!--[if IE 7]> <html class="ie7 oldie" lang="en-US"> <![endif]-->
<!--[if IE 8]> <html class="ie8 oldie" lang="en-US"> <![endif]-->
<!--[if IE 9]> <html class="ie9 oldie" lang="en-US"> <![endif]-->
<!--[if gt IE 9]><!--> <html lang="en-US"> <!--<![endif]-->
<!-- BEGIN head -->
<head>
@didierofrivia
didierofrivia / index.html
Last active August 29, 2015 14:16
test signup js
<!DOCTYPE html>
<!-- BEGIN html -->
<!--[if IE 7]> <html class="ie7 oldie" lang="en-US"> <![endif]-->
<!--[if IE 8]> <html class="ie8 oldie" lang="en-US"> <![endif]-->
<!--[if IE 9]> <html class="ie9 oldie" lang="en-US"> <![endif]-->
<!--[if gt IE 9]><!--> <html lang="en-US"> <!--<![endif]-->
<!-- BEGIN head -->
<head>
return function (request, next_middleware)
-- initialize cache store
local threshold = 86400 -- 1 day
local key = 'cache=' .. request.uri_full
-- flush cache
if request.method == "DELETE" then
bucket.middleware.delete(key)
"Error: [$rootScope:infdig] 10 $digest() iterations reached. Aborting!
Watchers fired in the last 5 iterations: [["
fn: function () {
use strict;
var oldUrl = $browser.url(),
currentReplace = $location.$$replace;
return changeCounter && oldUrl == $location.absUrl() || (changeCounter++, $rootScope.$evalAsync(function () {
$rootScope.$broadcast($locationChangeStart, $location.absUrl(), oldUrl).defaultPrevented ? $location.$$parse(oldUrl) : ($browser.url($location.absUrl(), currentReplace), afterLocationChange(oldUrl))
})), $location.$$replace = !1, changeCounter
};