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
-- | |
-- Kills long running queries | |
-- | |
-- @see https://stackoverflow.com/a/27293134 | |
-- | |
DROP PROCEDURE IF EXISTS `KillLongRunningQueries`; | |
SET GLOBAL event_scheduler = ON; | |
-- |
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
{ | |
"$schemaTransformation" : "http://buzzword.org.uk/2008/jCard/transformation.js" , | |
"id" : "jCard" , | |
"version" : "0.1.0" , | |
"title" : "jCard" , | |
"description" : "This document defines the jCard data format for representing and exchanging a variety of information about an individual (e.g., formatted and structured name and delivery addresses, email address, multiple telephone numbers, photograph, logo, audio clips, etc.)." , | |
"type" : "object" , | |
"seeAlso" : | |
[ | |
"http://microformats.org/wiki/jcard" , |
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
# These are here to help the IDE recognise AWS types. | |
# | |
# Place this file outside the 'schema' directory so are not pushed to AWS, | |
# but are still picked up by PhpStorm's GraphQL plugin to help | |
# validate schemas. | |
# | |
# https://docs.aws.amazon.com/appsync/latest/devguide/scalars.html | |
# | |
scalar AWSDateTime | |
scalar AWSDate |
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
<?php | |
use OpenTelemetry\API\Common\Signal\Signals; | |
use OpenTelemetry\API\Trace\SpanInterface; | |
use OpenTelemetry\API\Trace\SpanKind; | |
use OpenTelemetry\API\Trace\StatusCode; | |
use OpenTelemetry\API\Trace\TracerInterface; | |
use OpenTelemetry\Aws; | |
use OpenTelemetry\Aws\AwsSdkInstrumentation; | |
use OpenTelemetry\Aws\Lambda\Detector; |
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 {KeyValueStorageInterface, CookieStorage} from "aws-amplify/utils"; | |
import {getLogger} from "../../util"; | |
import {IAppInstance} from "../types"; | |
import {SecureStorageEvent, SecureStorageMessage} from "../workers/cognitoSecureStorage"; | |
const logger = getLogger("CognitoSecureStorage"); | |
type SecureStorageCallback = (event: SecureStorageEvent) => void; | |
/** |