Use <br>
instead of \n
to ensure proper line breaking.
Make the default export of any .ts file in diagrams a UML string
*update: TBC, but this new might affect how easy it is to use this technique past August 2024: Authy is shutting down its desktop app | The 2FA app Authy will only be available on Android and iOS starting in August
This gist, based in part on a gist by Brian Hartvigsen, allows you to export from Authy your TOTP tokens you have stored there.
Those can be "standard" 6-digits / 30 secs tokens, or Authy's own version, the 7-digits / 10 secs tokens.
export const mapStateToProps = { | |
Component: state => ({ | |
}), | |
}; | |
export const mapDispatchToProps = { | |
Component: dispatch => ({ | |
}), |
/* eslint import/no-named-as-default: 0 */ | |
import { propTypes, defaultProps } from './PropTypes'; | |
import { mapStateToProps, mapDispatchToProps } from './Selector'; | |
import { lazy } from '@/core/scaffolding/feature'; | |
const ImageDropHolder = lazy({ namespace: 'ImagesManager', exportName: 'ImageDropHolder' }); |
css-box-model | |
is-plain-object | |
lodash | |
package-json | |
text-table | |
#react | |
React-Move | |
classnames | |
react-virtualized |
import browser from "exp-react-test"; | |
import mountTestApp from "./helpers/mountTestApp"; | |
When("The application mounts", () => { | |
mountTestApp(); | |
}); |
// disable warning | |
console.disableYellowBox = true; | |
//eslint | |
npx install-peerdeps --dev eslint-config-airbnb | |
//shoutem | |
yarn add @shoutem/ui | |
//configuration |
https://www.sitespeed.io |
import app from '../../../app'; | |
import apiHelpers from '@/server/api/tests/apiHelpers'; | |
const request = require('supertest'); | |
const tokenValue = apiHelpers.createToken('anotheruser@expressen.se'); | |
export const httpRequest = type => (endpoint, includeAuthenCookie = true) => argsObj => { | |
const req = request(app)[type](endpoint); | |
if (includeAuthenCookie) { |
export const CANCEL_REJECTION = 'CANCEL_REJECTION'; | |
export default function createPromiseCanceller() { | |
let racesInProgress; | |
let promiseRejector; | |
let racePromise; | |
function resetCanceller() { | |
racesInProgress = 0; |