PHP 8.2 and my libraries https://sandfox.me/php/php-82-my-libs.html
PHP 8.2 Released https://sandfox.me/php/php-82-released.html
Unsigned https://sandfox.me/php/unsigned.html
Polyfill for Random Extension https://sandfox.me/php/random-polyfill.html
Python Type Hints https://sandfox.me/misc/python-type-hints.html
Early Look at PHP 8.2 https://sandfox.me/php/php-82-early-look.html
License Manager for Composer https://sandfox.me/php/composer-license-manager.html
No Discrimination https://sandfox.me/misc/no-discrimination.html
PHP 5: if (\false) https://sandfox.me/php/php-5-false.html
PHP 8.1 Syntax Showcase https://sandfox.me/php/php-81-showcase.html
Torrent File 2.2 https://sandfox.me/php/torrent-file-22.html
CVE-2021-41106 https://sandfox.me/php/jwt-cve.html
IsResource https://sandfox.me/php/is-resource.html
TOML vs YAML https://sandfox.me/drafts/toml-yaml.html
RT @Xabber_XMPP
The cowards from @torproject have limited replies to their pathetic call to cancel rms. Despicable leadership figures who are in charge of this important project should be removed from their positions. https://twitter.com/torproject/status/1374754834050654212
Open Letter in Support of Richard Stallman https://sandfox.me/misc/support-stallman.html
Open Letter in Support of Richard Stallman
https://sandfox.me/misc/support-stallman.html #rms #sjw #fsf
Pseudolocale Lib for PHP
I haven't found a good standalone pseudolocalization library for PHP so I wrote my own.
https://sandfox.dev/php/pseudolocale.html
Or if you're using Symfony Components or you don't mind using huge libraries for simple tasks, there is one good alternative: PseudoLocalizationTranslator in the Symfony Translation Component since version 5.2.
----------------------------------------------------------------------
https://sandfox.me/php/pseudolocale.html
https://en.wikipedia.org/wiki/Pseudolocalization
https://symfony.com/doc/current/translation.html https://nerdica.net/objects/a85d7459595acee2f287ad859eaac817dbb536eb
Trash Directory for Partition
If you have a separate user writable drive mounted, you may have encountered the same problem I had. If your DE cannot create .Trash-$uid, most DEs will not delete files to the trash at all and KDE will copy deleted files to your home partition. I find both behaviors frustrating.
The solution is rather simple: look at the spec and create the trash directory manually.
# for example, your drive is mounted to /media/external
# go to the drive root
cd /media/external
# create root owned .Trash
sudo mkdir .Trash
# make it world writable with a sticky bit
sudo chmod 1777 .Trash
Note
Sticky bit is used for retaining control over your files in a publicly writable directory. Only the owner of the file can delete or rename it even if other users have write permission in the parent directory. This is a typical permission for /tmp. Read more
https://specifications.freedesktop.org/trash-spec/trashspec-1.0.html
https://en.wikipedia.org/wiki/Sticky_bit https://nerdica.net/objects/a85d745963bd06c5a4cfb1619b09a12c0430fa23