Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 React from 'react' | |
import styled from 'styled-components' | |
import { version } from '../../../../package.json' | |
import { FlexContainerPositionable } from '../../../components/common/Layout' | |
import { SmallLightBoldText } from '../../../components/common/Text' | |
import * as Mixins from '../../../styles/Mixins' | |
const VersionContainer = styled(FlexContainerPositionable)` | |
${Mixins.Shadow} | |
${Mixins.BackgroundColor} |
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 React from 'react' | |
import { withRouter } from 'next/router' | |
export const AuthContext = React.createContext({ | |
isAuthenticated: false, | |
token: null, | |
user: null, | |
}) | |
/** |
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 | |
$account = $this->client->accounts->create( | |
[ | |
'type' => 'express', | |
'email' => $user->email, | |
'business_profile' => [ | |
'mcc' => '7392', | |
'url' => 'happyconsults.com' | |
], |
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
# If you come from bash you might have to change your $PATH. | |
export PATH="/usr/local/bin:$PATH" | |
export PATH="/usr/local/sbin:$PATH" | |
export PATH="/opt/homebrew/opt/mysql-client/bin:$PATH" | |
export PATH="/opt/homebrew/opt/openssl@3/bin:$PATH" | |
# You may need to manually set your language environment | |
export LANG=en_US.UTF-8 | |
export LC_CTYPE=en_US.UTF-8 |
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
const CryptoJS = await altair.importModule('crypto-js'); | |
const b64Decode = await altair.importModule('atob'); | |
const collectEnvironmentVariables = () => { | |
const clientId = altair.helpers.getEnvironment('AwsCognitoClientId') | |
const clientSecret = altair.helpers.getEnvironment('AwsCognitoClientSecret') | |
const region = altair.helpers.getEnvironment('AwsCognitoRegion') | |
const username = altair.helpers.getEnvironment('AwsCognitoUsername') | |
const password = altair.helpers.getEnvironment('AwsCognitoPassword') |
OlderNewer