Default android keystore password is android
.
keytool -exportcert -alias androiddebugkey -keystore "C:\Path\To\Keystore.keystore" | openssl sha1 -binary | openssl base64
Google:
gradlew signinReport
import {FC} from "react"; | |
import styled from "styled-components"; | |
/** | |
* Creates a function component and wraps it in styled-component to enable styling | |
* and generates a new displayName for returned component if provided component has one. | |
* Usage: | |
* ``` | |
* const MyComponent = createStyledFC<MyProps>((props) => {})` |
import {render} from "@testing-library/react"; | |
import {MultiProvider, Provider} from "./multi-provider"; | |
import {FC} from "react"; | |
describe("<MultiProvider />", () => { | |
it("should render children with empty list of providers", () => { | |
const wrapper = render(<MultiProvider providers={[]}> | |
<h1>Child</h1> | |
</MultiProvider>); |
Default android keystore password is android
.
keytool -exportcert -alias androiddebugkey -keystore "C:\Path\To\Keystore.keystore" | openssl sha1 -binary | openssl base64
Google:
gradlew signinReport
const WINDOW_HEIGHT = 1080; | |
const WINDOW_WIDTH = 1920; | |
/** | |
* Comparators check against WINDOW_WIDTH and WINDOW_HEIGHT vars, but can be any check you want. | |
* v refers to the value of the condition | |
**/ | |
const comparators = { | |
width: (v) => WINDOW_WIDTH === v, | |
height: (v) => WINDOW_HEIGHT === v, |
/** | |
* @param string $path The path of keys to access | |
* @param array $array The array to read from | |
* @param string $seperator The seperator to split the string by | |
* @return array|mixed|null The requested value or null | |
*/ | |
function array_path(string $path, array $array, string $seperator = ".") { | |
$parts = explode($seperator, $path); | |
$current = $array; |