Skip to content

Instantly share code, notes, and snippets.

View michaldudek's full-sized avatar

Michał Pałys-Dudek michaldudek

View GitHub Profile
@michaldudek
michaldudek / constants.js
Created November 7, 2017 10:27
iPhone X
/*
* Various constants used throughout the app.
*/
import {
Dimensions,
Platform
} from 'react-native'
const {
dWZyAaGAPiA9Qa7cIQxdbvZecnxvqZgs3uOYPv13ecUmQDkj7LSBe7xs1pPO6VIYVLQHjugkvPgSk0WLWbPQCEQQoMu6CqqwisQLIKSyKy5u5HqKEQYYKuEUGXjenvknzvA6Glcr5QuL8mHuxhQnkKCyr2mf2Uk6XIQVkfHpJuFxi0iHatJImAQIXlfoPuu3sOQRrr5EsrALqq52s02GiwTYQLKvGwqRgYRH8wKBMwP2v7kRwdZnmcmOOmlgsqIzTMvRwBmZI2KPyYiEtiKMJP)oX6VG1ODDCHwkh(t26EAA2fx)YQk(2yACJIe5YxrT2F18Yf651p6HrlyNwGrn8U)eqJAZTwZJdrKfLvlDVp8DscndCpnn7cYkqJGlTUNMMDbv1QD)qtIj5WFYAjuun0E6kRgKqzciRwjgfEzfiq7(ggFogf8lRwjgfEzfiqZ1rzz1kXOWlRabAgPC47ez1kXOWlRabAfNfqcLjGSALyu4LvGanxkNLvReJcVSceOHdCwoAkeefbA(n3WiWGIk(i0gHiGKOJo6iJHqMfzTyMKr8MIGaTCzvvRSAgDcS)awvMmPD)qbAYVLBaAwFEvzRJW0s5WFYw3ttZU46xwvX3gt7jpKL3llqzGVQQvlLdFNeKvlajhiR2TNvYHqIMffTqhtUAnta2zKY5d9DVMtch2eCcH7d7sHdJJVF6W1XKB4qQ7nEcTphtsRJjxK3PP1U9SqhtUIAbc0AyUHrGbvfps08BUHrGbv1gnYJflwntMAnfdj1mt7VAg9CCO(X26h7rS(X4JV(XsU(XyAjYxMGVtKvRm9ez1a)fSwHJdmOv44adAj0cpjVXObwGanW900StwTltbByy9xWAiWhvXfLxiQL3XeW8c2LGUtRPnvdh4SqbN)gFEgM8GOOHdms7yciQ1Y7ycO1QrsLCqwv1Qz(j7IOhgTuGgM8GMrphh0YXbOxM55VSg8L8vGw6EF47KeAg4EAA2fKvvTYQbUNMMDYQb(lyTe2L0cyk8jtGHnm(gA
@michaldudek
michaldudek / anon.php
Last active December 20, 2015 06:48
Anonymous function test
$function = function($n) {
return function($i) use ($n) {
return $i + $n;
};
};
echo gettype($function);
echo gettype($function(1));