I hereby claim:
- I am cbigler on github.
- I am biglerc (https://keybase.io/biglerc) on keybase.
- I have a public key ASDN6C249d2xyqPIuQrX6DFYj_QKw9WBXDC5N1Q5hlcp9Ao
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
def diff_dicts(d1, d2, path=None): | |
path = path or "root" | |
for k in d1.keys(): | |
if k not in d2: | |
print(f'{path}: {k} as key not in d2') | |
else: | |
if type(d1[k]) is dict: | |
next_path = k if not path else f'{path}->{k}' | |
diff_dicts(d1[k], d2[k], next_path) | |
else: |
console.table($r.props.history.map(item => {if (item.node_type === 3) {return item.details}})) |
sudo docker exec -it $(sudo docker ps -lq) python manage.py shell_plus |
data = { | |
’communities': { | |
membership.community.id: { | |
'anonPrivateIp': membership.community.anonymize_private_ip, | |
'anonIndustry': membership.community.anonymize_industry, | |
'anonGeolocation': membership.community.anonymize_geolocation, | |
'anonName': membership.community.anonymize_name, | |
'shareSightings': membership.community.share_sightings, | |
}, | |
} for membership in team.community_memberships if team else {}, |
SELECT max(id) FROM table_name; | |
SELECT nextval('table_name_id_seq'); | |
SELECT setval('table_name_id_seq', (SELECT MAX(id) FROM table_name)); |
class MuiColors(object): | |
red50 = '#ffebee' | |
red100 = '#ffcdd2' | |
red200 = '#ef9a9a' | |
red300 = '#e57373' | |
red400 = '#ef5350' | |
red500 = '#f44336' | |
red600 = '#e53935' | |
red700 = '#d32f2f' | |
red800 = '#c62828' |
sudo find . -xdev -type f | cut -d "/" -f 2 | sort | uniq -c | sort -n |