- $project - Sélectionnez, remodeler - 1:1
- $match - Filtrer - n:1
- $group - Agréger - n:1
- $sort - Trier - 1:1
- $skip - Sauter - n:1
- $limit - Limiter - n:1
- $unwind - Découper un champ (array) - 1:n
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
PHP Version 5.4.30 | |
-------------------------------------------------- | |
Testing 10 item array over 1,000 iterations: | |
serialize 2.1979808807373 ms | |
json_encode 1.3420581817627 ms | |
var_export 1.9409656524658 ms | |
msgpack_pack 1.5850067138672 ms | |
-------------------------------------------------- |
- For your local dev, create a
Dockerfile
that is based on your production image and simply installxdebug
into it. Exemple:
FROM php:5
RUN yes | pecl install xdebug \
&& echo "zend_extension=$(find /usr/local/lib/php/extensions/ -name xdebug.so)" > /usr/local/etc/php/conf.d/xdebug.ini \
Inspired by dannyfritz/commit-message-emoji
See also gitmoji.
Commit type | Emoji |
---|---|
Initial commit | 🎉 :tada: |
Version tag | 🔖 :bookmark: |
New feature | ✨ :sparkles: |
Bugfix | 🐛 :bug: |
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
#!/bin/bash | |
###################################################### | |
### README ########################################### | |
###################################################### | |
### | |
### One-line server install script for Ubuntu. | |
### Installs Nginx + PHP5.6 + MongoDB for PHP driver. | |
### | |
### Removes previous Apache, PHP, nginx installations. |
Troubleshooting videos issues in chromium based browsers
Be aware that this manipulation could cause your browser to not launch anymore or make your pages crash !
So be sure to have a backup of your datas before doing it.
Goto opera://about
or vivaldi://about
,
then Ctrl+F
to find 'Chrome'
in the user-agent,