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
| @ExperimentalUnsignedTypes | |
| fun main() { | |
| val aes = AES() | |
| val bondingKey = "83 69 6c e4 44 fa b0 f1 0b f6 17 af 58 2e 3f e4 54 34 16 36 4c 76 de e7 2c 43 dd 8a 63 ac 0f 49".decodeHex() | |
| println("Bonding key: ${bondingKey.contentToString()}") | |
| val bondingKeyIv = "16 64 ef 48 03 58 ca 84 3c 82 e2 54 6f ff 49 28".decodeHex() | |
| val secretKey = DeviceKey().create("B8:8E:82:3A:17:CB") | |
| println("Secret key (${secretKey.size}): ${secretKey.contentToString()}") |
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
| // | |
| // PlantMorphology | |
| // | |
| // Created by Jelle Maas on 05/12/2022. | |
| // | |
| import Foundation | |
| import simd | |
| // Extension functions for vDSP implementing the hadamard product operation for matrices |
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
| // This script configures the .env.development.local file with additional environment variables to configure HTTPS using the ASP.NET Core | |
| // development certificate in the webpack development proxy. | |
| import fs from "fs"; | |
| import path from "path"; | |
| const baseFolder = | |
| process.env.APPDATA !== undefined && process.env.APPDATA !== '' | |
| ? `${process.env.APPDATA}/ASP.NET/https` | |
| : `${process.env.HOME}/.aspnet/https`; |
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
| /* Example usage | |
| const [rotationMatrix, setRotationMatrix] = useState<number[]>(new Array(16).fill(0)); | |
| <OrientationCube | |
| sizeInPixels={64} | |
| rotationMatrix={rotationMatrix} | |
| /> | |
| setRotationMatrix(camera.matrixWorldInverse.clone().elements); | |
| */ |
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
| (?P<time>\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}\.\d{3})\s*\|\s*(?P<level>\w+)\s*\|\s*(?P<service>[\w\.]+):\w+:\d+ - .* |
OlderNewer