Skip to content

Instantly share code, notes, and snippets.

View Krisztiaan's full-sized avatar
🐢

Krisztiaan Krisztiaan

🐢
View GitHub Profile
/* ./strings.js */
/* @flow */
'use strict'
import English from './translations/en'
import Hungarian from './translations/hu'
export const Languages = {
EN: 'en',
public class Vector {
public final double x;
public final double y;
public Vector() {
this(0, 0);
}
public Vector(double x) {
this(x, 0);
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++;
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);
}
```````#@@@#+,` `````````````````````````@@@@@@@@@@@@@@@@@@@..```````..`
```````#@@@@@@@@@@@@@@@@@@@#;,`````````;@@@@@@@@@@@@@@@@@@@@@#+`````````
```````#@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@#@@@@@@@@@@@@@@@@@@@@@@#@#```````
```````+@@@@@@@@@@@@@@@@@@@@::+@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@:`,`````
````````:;.,+#@@@@@@@@@@@@@@###@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@.``````
````````,....``````````````..;+@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@``````
```` ,``````````````````````````.+@@@@@@@@@@@@@@@@@@@@@@@@@@@@+``````
`,``````````````````.```````,@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@,`````
,`````````, ```````````````:@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@'`````
.`````.````,`.``````:`.,,.`+@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@#`````
/*!
* Datetimepicker for Bootstrap 3
* version : 4.17.37
* https://github.com/Eonasdan/bootstrap-datetimepicker/
*/
.bootstrap-datetimepicker-widget {
list-style: none;
Kód: BMEVIAUA035
01E19t
01L19t
Kód: BMEGEMMBXM2
M1
E
Kód: BMEVIAUA036
01L19t
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);
@Krisztiaan
Krisztiaan / extraTypes.d.ts
Last active February 12, 2020 14:56
Extra Typescript Types
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>>
diff --git a/node_modules/@react-navigation/core/.vscode/settings.json b/node_modules/@react-navigation/core/.vscode/settings.json
new file mode 100644
index 0000000..81a8778
--- /dev/null
+++ b/node_modules/@react-navigation/core/.vscode/settings.json
@@ -0,0 +1,3 @@
+{
+ "deno.enable": false
+}
\ No newline at end of file