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
/* | |
Author: Jonathan Lurie - http://me.jonathanlurie.fr | |
License: MIT | |
The point of this little gist is to fix the issue of losing | |
typed arrays when calling the default JSON serilization. | |
The default mode has for effect to convert typed arrays into | |
object like that: {0: 0.1, 1: 0.2, 2: 0.3} what used to be | |
Float32Array([0.1, 0.2, 0.3]) and once it takes the shape of an | |
object, there is no way to get it back in an automated way! |
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
Laravel 8 Redis setup on Windows with xampp | |
Note: test done using windows 7 | |
1. Install predis on your project | |
https://laravel.com/docs/8.x/redis#introduction | |
composer require predis/predis | |
- un-comment 'Redis' => Illuminate\Support\Facades\Redis::class, in your config/app.php | |
- on your .env make sure you have the following variables: |
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
Rails 6.0.3.2 on Termux | |
pkg upgrade | |
pkg install ruby vim git nodejs | |
nokogiri will build natively and would need the ff packages and will need pkg-config to find them: | |
libxml-2 | |
libxslt | |
libexslt |
OlderNewer