Skip to content

Instantly share code, notes, and snippets.

View HoffmannP's full-sized avatar

Peter Hoffmann HoffmannP

View GitHub Profile
@HoffmannP
HoffmannP / checkEmojis.html
Last active December 21, 2020 09:30
Test to check which emoji shortcodes can't be found
<!DOCTYPE html>
<html>
<head>
<title>Test</title>
<script type="module">
const ALL_SOURCES = {
'joypixels': 'https://cdn.jsdelivr.net/npm/[email protected]/en/joypixels/data.json',
'iamcal': 'https://cdn.jsdelivr.net/npm/[email protected]/en/iamcal/data.json',
'github': 'https://cdn.jsdelivr.net/npm/[email protected]/en/github/data.json',
'emojibase-legacy': 'https://cdn.jsdelivr.net/npm/[email protected]/en/emojibase-legacy/data.json',
#!/usr/bin/env python
import glob
import pathlib
import os
import os.path
import shutil
import sys
MCA_PATERN = 'r.*.*.mca'
#!/usr/bin/env python
import re
IGNORE_BEGINNING = True
allUppercase = re.compile(r'[A-ZÄÜÖ][A-ZÄÜÖ]+')
matchLetters = re.compile(r'[a-zäüößA-ZÄÜÖ]')
matchUCLetters = re.compile(r'[A-ZÄÜÖ]')
[2024-06-04T11:21:39.048] [INFO] Transport.Transport - Transport initialized
RequestError: error.platform.unexpected (403): 'Received invalid error content from platform. Contact the platform team.' for POST /api/v1/Challenges at 2024-06-04T11:21:39.160Z
at RequestError.fromAxiosError (/usr/app/node_modules/@nmshd/transport/dist/core/backbone/RequestError.js:92:20)
at ChallengeClient.post (/usr/app/node_modules/@nmshd/transport/dist/core/backbone/RESTClient.js:256:53)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async ChallengeClient.createChallenge (/usr/app/node_modules/@nmshd/transport/dist/modules/challenges/backbone/ChallengeClient.js:7:16)
at async ChallengeController.createAccountCreationChallenge (/usr/app/node_modules/@nmshd/transport/dist/modules/challenges/ChallengeController.js:72:35)
at async AccountController.createIdentityAndDevice (/usr/app/node_modules/@nmshd/transport/dist/modules/accounts/AccountController.js:209:33)
at async A