Skip to content

Instantly share code, notes, and snippets.

const webhookURL = "[...]";
const groupName = "my-group";
export default {
async email(message, env, ctx) {
let convert = new Response(message.raw);
let text = await convert.text();
const boundary = message.headers.get("Content-Type").
split("boundary=")[1].replaceAll(/"/g, "");
#!/usr/bin/env python3
# SPDX-License-Identifier: MIT
"""A helper script for opening profiler traces in speedscope."""
import contextlib
import socket
import webbrowser
from http.server import SimpleHTTPRequestHandler, ThreadingHTTPServer
DIRECTORY = ".profiles/"
* Copyright (c) 2018-2019, Arm Limited and affiliates.
* SPDX-License-Identifier: Apache-2.0
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at