Skip to content

Instantly share code, notes, and snippets.

View nckroy's full-sized avatar

Nicole Roy nckroy

View GitHub Profile
@outro56
outro56 / git lol.md
Last active August 30, 2024 22:43
git lol
git log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
git config --global alias.lol "log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit"
swagger: '2.0'
schemes:
- https
host: tier.api.edu
basePath: /tier/v2
info:
contact:
email: tier-api@internet2.edu
name: TIER API Working Group
url: 'https://spaces.internet2.edu/display/DSAWG'
swagger: '2.0'
schemes:
- https
host: tier.api.edu
basePath: /tier/v2
info:
contact:
email: tier-api@internet2.edu
name: TIER API Working Group
url: 'https://spaces.internet2.edu/display/DSAWG'
{
"swagger": "2.0",
"schemes": [
"https"
],
"host": "tier.api.edu",
"basePath": "/tier/v2",
"info": {
"contact": {
"email": "tier-api@internet2.edu",
@zamzterz
zamzterz / oidc-fed.md
Last active November 8, 2018 04:11
Description of model for federations built using OpenID Connect.

OpenID Connect federation model

All JWS's passed between entities MUST contain the "kid" header parameter to allow explicitly signaling a key change to the recipient. Furthermore, all key id's used by an entity MUST be scoped (to avoid name conflicts) by a unique URI managed by the organization owning the entity. In the same way, all JWK's passed between entities must have a scoped key id.

JWS's in the model:

  • Software statements issued by a federation.
@bsavage
bsavage / voot2swagger2.json
Last active May 4, 2016 20:10
VOOT2 protocol expressed as swagger2 json
{
"swagger": "2.0",
"info": {
"version": "2.0.0",
"title": "VOOT version 2"
},
"host": "voot-provider.example.org",
"basePath": "/v2",
"schemes": [
"http",
swagger: '2.0'
info:
# Based on http://openvoot.org/protocol/
version: 2.0.0
title: VOOT version 2
host: voot-provider.example.org
basePath: /v2
schemes:
- http
- https
@trscavo
trscavo / probe_shib_idps.sh
Last active January 10, 2016 18:54
A bash script that probes a sequence of Shibboleth IdPs to determine which are based on the Shibboleth IdP V2 software
#!/bin/bash
#######################################################################
# Copyright 2015--2016 InCommon, LLC.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
@trscavo
trscavo / cget.sh
Last active January 6, 2020 22:54
Shell script to retrieve a web resource via HTTP Conditional GET
#!/bin/bash
#####################################################################
# Retrieve a web resource via HTTP Conditional GET [RFC 7232] and
# output the resource on stdout. Cache the web resource and consult
# the cache on subsequent requests for the same resource. By default,
# return the cached resource (if it exists) if and only if the web
# server responds with 304 Not Modified.
#
# Usage: cget.sh [-vfcH] URL
@iay
iay / Aggregator Specification.md
Last active May 4, 2016 23:24
Aggregator Specification

Aggregator Specification

This is a simplified specification for a metadata aggregator with the general capabilities of the eduGAIN service. The specification attempts to make mandatory those aspects of operation which are necessary for the integrity of the service without unnecessarily constraining the metadata which is exchanged through the service.

Upstream Metadata

Upstream Configuration

Information required to configure an upstream channel: