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
/* ./strings.js */ | |
/* @flow */ | |
'use strict' | |
import English from './translations/en' | |
import Hungarian from './translations/hu' | |
export const Languages = { | |
EN: 'en', |
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
public class Vector { | |
public final double x; | |
public final double y; | |
public Vector() { | |
this(0, 0); | |
} | |
public Vector(double x) { | |
this(x, 0); |
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
public class CounterClass { | |
private static counter = 0; | |
public static int getInstanceCount() { | |
return CounterClass.counter; | |
} | |
// final, ha leszármazunk belöle, akkor is muszáj legyen számolnia | |
public final CounterClass() { | |
CounterClass.counter++; |
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
public class Rectangle { | |
public static final DEFAULT_EDGE_LENGTH = 1; | |
public final double a; | |
public final double b; | |
public final double c; | |
public Rectangle() { | |
this(DEFAULT_EDGE_LENGTH, DEFAULT_EDGE_LENGTH, DEFAULT_EDGE_LENGTH); | |
} |
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
```````#@@@#+,` `````````````````````````@@@@@@@@@@@@@@@@@@@..```````..` | |
```````#@@@@@@@@@@@@@@@@@@@#;,`````````;@@@@@@@@@@@@@@@@@@@@@#+````````` | |
```````#@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@#@@@@@@@@@@@@@@@@@@@@@@#@#``````` | |
```````+@@@@@@@@@@@@@@@@@@@@::+@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@:`,````` | |
````````:;.,+#@@@@@@@@@@@@@@###@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@.`````` | |
````````,....``````````````..;+@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@`````` | |
```` ,``````````````````````````.+@@@@@@@@@@@@@@@@@@@@@@@@@@@@+`````` | |
`,``````````````````.```````,@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@,````` | |
,`````````, ```````````````:@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@'````` | |
.`````.````,`.``````:`.,,.`+@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@#````` |
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
/*! | |
* Datetimepicker for Bootstrap 3 | |
* version : 4.17.37 | |
* https://github.com/Eonasdan/bootstrap-datetimepicker/ | |
*/ | |
.bootstrap-datetimepicker-widget { | |
list-style: none; |
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
Kód: BMEVIAUA035 | |
01E19t | |
01L19t | |
Kód: BMEGEMMBXM2 | |
M1 | |
E | |
Kód: BMEVIAUA036 | |
01L19t |
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 useDebounce from "react-use/lib/useDebounce"; | |
import { useMemo, useState, Dispatch, SetStateAction } from "react"; | |
import Fuse, { FuseOptions } from "fuse.js"; | |
export default <T>( | |
data: ReadonlyArray<T>, | |
fuseOptions: FuseOptions<T>, | |
debounce: number = 500 | |
): [ReadonlyArray<T>, string, Dispatch<SetStateAction<string>>] => { | |
const [filteredData, setFilteredData] = useState(data); |
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
type ValuesOf<T> = T extends { [key: string]: infer T } ? T : never | |
// type Parameters<T> = T extends (...args: infer T) => any ? T : never | |
type FirstParameter<T> = T extends (first: infer T, ...args: any) => any ? T : never | |
type SecondParameter<T> = T extends (first: any, second: infer T, ...args: any) => any ? T : never | |
type PromiseValue<T> = T extends Promise<infer U> | |
? U | |
: T extends (...args: any[]) => Promise<infer U> | |
? U | |
: T | |
type Require<T, P extends keyof T> = T & Required<Pick<T, P>> |
OlderNewer