Skip to content

Instantly share code, notes, and snippets.

Avatar

Derick Rethans derickr

View GitHub Profile
View MANIFEST-7.4.4RC1
php-7.4.4RC1.tar.gz
SHA256 hash: 4d12b054a0d740d1554028c6c18c1042515c834ab751a38e5645ea8582608167
PGP signature:
-----BEGIN PGP SIGNATURE-----
iQIzBAABCAAdFiEEWlKIB4H3VWCL+BX8kQ3rRvU+oxIFAl5ePt0ACgkQkQ3rRvU+
oxIAqg/9HmgwWtFgUO6lp55ezEUiMVDGap4kgwyrcyEF+w1JvrGO9gDaN5mMc/kb
mhzciz8HALeYQfSWpTntJdmt72qS1APRbAxtuyAsZYaff7D8oxPnxyznibkL/svt
z1Yh0WUTDdSy0QCnT3EpJ44Av4rsOkCdLontyQf1VgG1MNTzsyAdIBwUNHafEr5j
Bppc6xhyz/9UK4UwKXpkX9vBWNB35eBvR7FvVSiIe+qV9JN0NK+m9VeF8ITqTygD
@derickr
derickr / .bashrc-section.sh
Last active Apr 20, 2020
Colourful bashrc PHP and Xdebug prompt
View .bashrc-section.sh
function _php_prompt() {
local php_v="`php -n -v 2>&1`"
local php_status="`echo "${php_v}" | head -n 1 | cut -d " " -f 2`"
local php_zts="`echo "${php_v}" | head -n 1 | grep ZTS`"
local php_debug="`echo "${php_v}" | head -n 1 | grep DEBUG`"
local php_64="`php -n -r 'echo PHP_INT_SIZE == 4 ? "32" : "64";' 2>&1`"
local flag1="`set | egrep '^(USE_ZEND_ALLOC=0)'`"
local flag2="`set | egrep '^(ZEND_DONT_UNLOAD_MODULES=1)'`"
flags=" "
View MANIFEST-7.4.4
php-7.4.4.tar.gz
SHA256 hash: 1581b3e10c7854597e1086937d5753cdf92d132865c06a50aed4f4f407138616
PGP signature:
-----BEGIN PGP SIGNATURE-----
iQIzBAABCAAdFiEEWlKIB4H3VWCL+BX8kQ3rRvU+oxIFAl5wqzcACgkQkQ3rRvU+
oxIwFg/9HozJQf5kjn4CaXa7rzltZ2ZC7Ml5+tGourb0djKQQt73ZeZuMOwzxFw4
fGuEHroCTsDE8ThdE7GjBhLF7fSKwzk6TPZcNV4bjAHjxcSjwQCCmGXWMG2yIy4w
VOLsj+J2wmKP6W08VHz2GMLOoZaYxTRcg61w6pcpQdihXYXPcvkMjf2jCXBMfPfL
Iw901iUAC9MUG/uQ43/zYzASLWSr01jOt4AFAg/YBuDyrfd9FDCFdWn9kqHFwNaH
View MANIFEST-7.4.5RC1
php-7.4.5RC1.tar.gz
SHA256 hash: 86e4b0124fc05bedba0b9b40dadb605875066f09eac759e59922bf39f9290fae
PGP signature:
-----BEGIN PGP SIGNATURE-----
iQIzBAABCAAdFiEEWlKIB4H3VWCL+BX8kQ3rRvU+oxIFAl6DS8IACgkQkQ3rRvU+
oxKOzhAAyb9ZRa1GsRRWO3jxJpcRdeNW/SO5Z+jDRX3YuwPn3WM6mQJFwNLfNFjc
GMvqvSAsxuQSl9PZvv7fJgZjzw1rZUAVYYCeecUXfuSh3jHENjRDC84cq0wkKhv6
SAf0VVBBuIOvBEln/1mQqaqQpUD5lHInR1Xpgx97kEUMq+nVBN17PTn/PYfo+w0E
HI0Hwh6wBZfQOlkvtOraK+i1v9MzgoL1/KFOv72iEnyzKkXP24aUk4GhEhtgJAX3
View MANIFEST-7.4.5
php-7.4.5.tar.gz
SHA256 hash: 1ef619411b0bd68c0fbfd2a6c622ad6bc524d0bceb8476fb9807a23a0fe9a343
PGP signature:
-----BEGIN PGP SIGNATURE-----
iQIzBAABCAAdFiEEWlKIB4H3VWCL+BX8kQ3rRvU+oxIFAl6VtKEACgkQkQ3rRvU+
oxI/eg/+NoXzDASt8I8DiUd194m7ludO4K7uJR4rTO6GdAQG64K2G1N96cSTuwk8
nDQG1omuyu8QUmCWFfH677sPdH+W/iastTCCT0DBdCG8AuaAIygdR7tvvE8hVKn5
lXgzj7gudnHg2xUJxOGs7LidY9fsKTGTIz8TNREl8q2te2BcnzYAQIgSVOglZeU6
pxDdNYUnwy8QKyqNBypKsA0uizlZTb1ggTzeTEsIUuN805DU9HaQVNLCwJiK8qf6
View MANIFEST-7.4.6RC1
php-7.4.6RC1.tar.gz
SHA256 hash: 6137a335c38ae6b6213823b8c61838e1ca631b52821d9a27899c70aa343829a4
PGP signature:
-----BEGIN PGP SIGNATURE-----
iQIzBAABCAAdFiEEWlKIB4H3VWCL+BX8kQ3rRvU+oxIFAl6obLAACgkQkQ3rRvU+
oxKDMQ//dgXb8PWY4ETykkxGzGvkrZneNlyFz5HrwcxmfJrZLqurmLuiSkeHarPP
feCQpq0qaLG1wJWvXPl0B76CWV24dJS3U/1E0547HE8wuV4DXq+TU55kbcIYBgM1
vq+JrtvXjugpuSGzOducLpluiZ/uvaa2ZvZPMsaIYE8FU9F7sgPSi8lQWVu64o/t
nz1A2WDqHWYwE//HNRK5AL72ycaUoOxwXKE+w+8jbBItR++SzIF3tjR70gCLkdRz
@derickr
derickr / equinox.php
Created Apr 29, 2020
PHP script to calculate the times of solstices and equinoxes
View equinox.php
<?php
/* Algorithms taken from Meeus Astronomical Algorithms, 2nd edition */
/* Run the php script on the command line:
* php equinox.php <year> <what>
* with <what> being MAR, JUN, SEP, or DEC
*
* For the the Summer Solstice of 2020:
* php equinox.php 2020 JUN
*/
View gist:7f01319600e13390f6fcfb29f1172fcd
[PHP Modules]
Core
date
hash
mysqlnd
pcre
PDO
pdo_mysql
Reflection
SPL
View MANIFEST-7.4.6
php-7.4.6.tar.gz
SHA256 hash: 2a37bab4e308c4e3867083137b7cce4a3f1d996ae231b383c1a83609cec3fed0
PGP signature:
-----BEGIN PGP SIGNATURE-----
iQIzBAABCAAdFiEEWlKIB4H3VWCL+BX8kQ3rRvU+oxIFAl66Wf4ACgkQkQ3rRvU+
oxId8w//efveYkf806hAp6vwlBlIzo7vzsIM8Mt/LIHSrkTnj79ovlkkunEJCcrH
WIEX66Rsb0jjmen0ppUpI1graTDK0gnJ8yYeoD94uzvcw7/XJuXl6LfuxZuNOwsi
4XcHYXV6ZDPH2Lee5EWe2crw4wRIpTWmzqb+AGvgrxtrtltt/N+xr834KNbV/Klc
iNagDniBYZMEkpGZC1+1YmLQ7kwkyerjTutJHHpXMdH7lS79h8sFVCoTxNrO0ZIU
View MANIFEST-7.4.7RC1
php-7.4.7RC1.tar.gz
SHA256 hash: da2c30c4542d123122d5c99e5e51e47a195fff0499caf8d4e87dc3047a07de58
PGP signature:
-----BEGIN PGP SIGNATURE-----
iQIzBAABCAAdFiEEWlKIB4H3VWCL+BX8kQ3rRvU+oxIFAl7M9UsACgkQkQ3rRvU+
oxI4uBAAjs6PlaC+6RIc3+W6guE6wIcvxKzQBilVf7+gUFzhD8U5giHZwbgARYPl
67ka891pqUXX3RWI7xyMp4SYLH1UgyPWP7SANwSAHzA/HxsT7qI0qq9p5Wi1+XRm
sB22k6umR8YYd1NU9jHj6jcYOc5gxzjHKwXbyn3D/crqxC2RcS3VjW0LNmWqDe2M
fxYYI0qLBSWbH/16UbN2baKgjR3CU/XRcykZH/BCNxu9r8ADsVCH4rxwDU8wBam6