Skip to content

Instantly share code, notes, and snippets.

import jwt
from jwt import PyJWKClient
class AuthError(Exception):
def __init__(self, error, status_code):
self.error = error
self.status_code = status_code
import http.client
conn = http.client.HTTPSConnection("https://YOUR_DOMAIN")
payload = "{ \"roles\": [ \"ROLE_ID\", \"ROLE_ID\" ] }"
headers = {
'authorization': "Bearer MGMT_API_ACCESS_TOKEN",
'cache-control': "no-cache",
'content-type': "application/json"
View gist:c12d60803b5998bc1e6f291dd8342ee4
01/30 09:25 AM (1h)
Downloading (133kB)
01/30 09:25 AM (1h)
Collecting idna<2.9,>=2.5 (from requests)
01/30 09:25 AM (1h)
Downloading (58kB)
01/30 09:25 AM (1h)
Collecting certifi>=2017.4.17 (from requests)
01/30 09:25 AM (1h)
Downloading (154kB)
jpadilla /
Created Nov 6, 2018
Greater Hartford Python Group - Code of Conduct

Greater Hartford Python Group is dedicated to providing a respectful, harassment-free community for everyone. We do not tolerate harassment or bullying of any community member in any form. This does not only extend to members to local Greater Hartford Python Group communities, but to anyone who chooses to become involved in the larger Greater Hartford Python Group community of users, developers and integrators through events or interactions.

Harassment includes offensive verbal/electronic comments related to personal characteristics or choices, sexual images or comments in public or online spaces, deliberate intimidation, bullying, stalking, following, harassing photography or recording, sustained disruption of talks, IRC chats, electronic meetings, physical meetings or other events, inappropriate physical contact, or unwelcome sexual attention. Participants asked to stop any harassing or bullying behavior are expected to comply immediately.

If a participant engages in harassing behavior, representatives of

View controllers.application.js
import Ember from 'ember';
export default Ember.Controller.extend({
appName: 'Ember Twiddle'
View components.amount-input.js
import Ember from 'ember';
import { computed } from '@ember/object';
import { createNumberMask } from 'ember-text-mask-addons';
const numberMask = createNumberMask({
prefix: "$"
export default Ember.Component.extend({
mask: numberMask,

The Ember Data store provides an interface for retrieving records of a single type.

Retrieving a Single Record

Use store.findRecord() to retrieve a record by its type and ID. This will return a promise that fulfills with the requested record:

// GET /blog-posts/1
this.get('store').findRecord('blog-post', 1)
View DeclarationStrings.plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "">
<plist version="1.0">
<string>a á â b c d e é è ê ë f g h i î ï j k l m n o ô ö p q r s t u û v w x y z</string>
<string>a à â ǎ ā b c d e è ê ě ē ɛ ɛ̀ ɛ̂ ɛ̌ ɛ̄ f g h i ì î ǐ ī ɨ ɨ̀ ɨ̂ ɨ̌ ɨ̄ k l m n ŋ o ò ô ǒ ō ɔ ɔ̀ ɔ̂ ɔ̌ ɔ̄ p s t u ù û ǔ ū ʉ ʉ̀ ʉ̂ ʉ̌ ʉ̄ v w y z ʔ</string>
<string>a b d e ɛ f g h i k l m n o ɔ p r s t u w y</string>