This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
openapi: 3.0.2 | |
info: | |
title: Keycloak Account API | |
version: 20.0.3 | |
description: | | |
Derived from the code at https://github.com/keycloak/keycloak/blob/main/services/src/main/java/org/keycloak/services/resources/account/AccountRestService.java | |
components: | |
securitySchemes: | |
access_token: | |
type: http |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"attributes": [ | |
{ | |
"name": "username", | |
"displayName": "${username}", | |
"validations": { | |
"length": { | |
"min": 3, | |
"max": 255 | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"clientId": "mitxonline-client-id", | |
"name": "MITxOnline", | |
"description": "Client configured for use with a locally running instance of mitxonline", | |
"rootUrl": "http://mitxonline.odl.local:8013", | |
"adminUrl": "", | |
"baseUrl": "http://mitxonline.odl.local:8013", | |
"surrogateAuthRequired": false, | |
"enabled": true, | |
"alwaysDisplayInConsole": false, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"id": "740fba76-3960-4984-b9b0-56679013ff85", | |
"realm": "local-development", | |
"displayName": "MIT Open Learning", | |
"displayNameHtml": "MIT Open Learning", | |
"notBefore": 0, | |
"defaultSignatureAlgorithm": "RS256", | |
"revokeRefreshToken": false, | |
"refreshTokenMaxReuse": 0, | |
"accessTokenLifespan": 300, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import serial | |
ser = serial.Serial("/dev/tty.usbserial-A50285BI", baudrate=230400) | |
def grab_data(): | |
try: | |
unique_values = 0 | |
distance_list = [None] * 360 | |
while unique_values < 360: |