Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or 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 | |
| declare(strict_types=1); | |
| namespace App\EventListener; | |
| use Doctrine\Bundle\DoctrineBundle\Attribute\AsDoctrineListener; | |
| use Doctrine\DBAL\Platforms\AbstractMySQLPlatform; | |
| use Doctrine\DBAL\Schema\AbstractSchemaManager; | |
| use Doctrine\DBAL\Schema\Column; | |
| use Doctrine\DBAL\Schema\ComparatorConfig; |
This file contains hidden or 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 | |
| declare(strict_types=1); | |
| class SessionPayload { | |
| public function __construct( | |
| public string $token, | |
| public int $userId, | |
| public int $timestamp, | |
| public int $expiredAt, | |
| public string $random16 // binary string |
This file contains hidden or 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
| { | |
| "BD": { | |
| "code": "BN", | |
| "locale": "bn_BD", | |
| "english": "Bengali", | |
| "original": "বাংলা", | |
| "dir": "ltr" | |
| }, | |
| "BE": { | |
| "code": "NL", |
This file contains hidden or 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
| /** | |
| * REAL HMAC HASHING FUNCTION: | |
| * Relies on the globally loaded CryptoJS library being available. | |
| * Or use another hmacsha256 | |
| */ | |
| const hmacSha256 = (data, key) => { | |
| if (typeof CryptoJS === "undefined") { | |
| // If CryptoJS is missing in CodePen setup | |
| return "ERROR_CRYPTOJS_NOT_READY_".repeat(2).substring(0, HMAC_LENGTH); | |
| } |
This file contains hidden or 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
| type UppercaseAlphabet = | |
| 'A' | |
| | 'B' | |
| | 'C' | |
| | 'D' | |
| | 'E' | |
| | 'F' | |
| | 'G' | |
| | 'H' | |
| | 'I' |
This file contains hidden or 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
| package my.unit.utils; | |
| import android.content.Context; | |
| import android.content.Intent; | |
| import android.os.Bundle; | |
| import android.os.Parcelable; | |
| import androidx.annotation.NonNull; | |
| import androidx.annotation.Nullable; |
This file contains hidden or 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 java.util.Map; | |
| import java.util.Set; | |
| /** | |
| * Represents a cipher suite in SSL/TLS. | |
| * A cipher suite is a combination of cryptographic algorithms used to secure the communication. | |
| * This class aims to provide a comprehensive (though not exhaustive) list of standard | |
| * cipher suites and their support across different SSL/TLS protocol versions. | |
| */ | |
| public class CipherSuite { |
This file contains hidden or 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 React, { ReactNode, useEffect, useRef, useState } from 'react'; | |
| export type PlacementResultProperties = { | |
| valid: boolean; | |
| tolerance: number; | |
| puzzle: { | |
| x: number; | |
| y: number; | |
| }, | |
| piece: { |
NewerOlder