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
# generate private key | |
openssl genrsa -out private.pem 2048 | |
# extatract public key from it | |
openssl rsa -in private.pem -pubout > public.pem |
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
/* eslint-disable @typescript-eslint/no-explicit-any */ | |
import { | |
ComponentType, | |
createElement, | |
ElementType, | |
isValidElement, | |
ReactElement, | |
ReactNode, | |
} from 'react'; | |
import { i18n } from '@lingui/core'; |
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
#!/usr/bin/env node | |
/* eslint-disable no-console */ | |
/** | |
* Copyright (c) HashiCorp, Inc. | |
* SPDX-License-Identifier: MPL-2.0 | |
*/ | |
// edited to work with the appdir by @raphaelbadia | |
const path = require('path'); |
OlderNewer