I hereby claim:
- I am ilshidur on github.
- I am ilshidur (https://keybase.io/ilshidur) on keybase.
- I have a public key ASDtEl8gUoHhKOQvAs0T3_8Vhje5ehHFBxVXo1Gn0Mr6nwo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
<?php | |
/* | |
* Rounds the given values and add them up in order to fix in the total value. | |
* It prevents differences of total values caused by the default rounding method. | |
* Do not use more than 2 decimals for accuracy purposes. | |
* | |
* Inspired of : http://stackoverflow.com/a/13483710/4022804 | |
* This function adjusts the rounded values by adding up the ones that have the highest decimals. | |
*/ |
#!/bin/bash | |
# | |
# Usage : | |
# bash install_prestashop.sh dirname location [-v | --version version] [--github | --web] (--manual | -- (PrestaShop params)) | |
# e.g. | |
# bash install_prestashop.sh test . --web -- --domain=prestashop.ps -db_server=localhost --db_name=prestashop2 --db_user=root --db_password="root" | |
# or | |
# bash install_prestashop.sh test . -v 1.6.1.9 --manual | |
# |