asdf
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
""" | |
See: | |
https://aws.amazon.com/premiumsupport/knowledge-center/decode-verify-cognito-json-token/ | |
https://medium.com/datadriveninvestor/jwt-authentication-with-fastapi-and-aws-cognito-1333f7f2729e | |
""" | |
from datetime import datetime | |
import logging | |
from os import environ | |
import re | |
from typing import Any, Dict, List, Optional |
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
\set QUIET 1 | |
-- Don't page output that's bigger than screen, | |
-- because scrolling is a thing that works | |
\pset pager off | |
-- Auto-expand when too much data for table view | |
\x auto | |
-- Make null pretty |
There is an excellent example of transitioning data in D3, but this only works in version 3.
D3 version 4 requires a slightly different approach,
namely that the enter
ed selections need to be merge
d prior to transition.
Added transition on exit
. Also did a little code cleanup, especially given that eval
is pretty gross.
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 Ember from 'ember'; | |
export default Ember.Controller.extend({ | |
appName: 'Ember Twiddle' | |
}); |
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 Ember from 'ember'; | |
export default Ember.Controller.extend({ | |
appName: 'Ember Twiddle' | |
}); |
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
class Apartment < Dwelling | |
include Holder | |
attr_accessor :rent | |
def initialize(address, rent, roommate_capacity) | |
super(address) | |
@rent = rent | |
set_capacity(roommate_capacity) | |
end |