View: https://www.youtube.com/watch?v=t-hZa1mPPN0
map: any;
directionsService = new google.maps.DirectionsService();| function extractTextOnOpen() { | |
| //ADD YOUR VALUES BELOW | |
| var folderName = "[YOUR PROJECT FOLDER]"; | |
| var sheetId = "[YOUR SHEET ID]"; | |
| //Define folder | |
| var folder = DriveApp.getFoldersByName(folderName).next(); | |
| var folderId = folder.getId(); |
| <?php | |
| //increase max execution time of this script to 150 min: | |
| ini_set('max_execution_time', 9000); | |
| //increase Allowed Memory Size of this script: | |
| ini_set('memory_limit','960M'); | |
| // Copies woocommerce orders and users over from source to target. | |
| // I use this on my local machine - loading both db's up there side by side | |
| // could easily adjust the connect strings to connect elsewhere if needed. |
| #!/bin/bash | |
| docker run \ | |
| --interactive \ | |
| --rm \ | |
| --user $(id -u):$(id -g) \ | |
| --volume ~/.composer:/tmp \ | |
| --volume /etc/passwd:/etc/passwd:ro \ | |
| --volume /etc/group:/etc/group:ro \ | |
| --volume $(pwd):/app \ | |
| composer "$@" |
| #!/bin/bash | |
| # Improved as per feedback from @pascal - https://gist.github.com/julianxhokaxhiu/c0a8e813eabf9d6d9873#gistcomment-3086462 | |
| find . -type f -iname "*.png" -exec optipng -nb -nc {} \; | |
| find . -type f -iname "*.png" -exec advpng -z4 {} \; | |
| find . -type f -iname "*.png" -exec pngcrush -rem gAMA -rem alla -rem cHRM -rem iCCP -rem sRGB -rem time -ow {} \; | |
| find . -type f \( -iname "*.jpg" -o -iname "*.jpeg" \) -exec jpegoptim -f --strip-all {} \; |
View: https://www.youtube.com/watch?v=t-hZa1mPPN0
map: any;
directionsService = new google.maps.DirectionsService();| <?php | |
| // Author: Gonçalo Baltazar <[email protected]> | |
| // I place this code in the public domain. | |
| /** | |
| * Output an ICO image to either the standard output or a file. | |
| * | |
| * It takes the same arguments as 'imagepng' from the GD library. Works by | |
| * creating a ICO container with a single PNG image. | |
| * This type of ICO image is supported since Windows Vista and by all major |
| .env settings | |
| ---------------------------------------------- | |
| MAIL_DRIVER=mail | |
| MAIL_HOST=localhost | |
| MAIL_PORT=25 | |
| MAIL_USERNAME= | |
| MAIL_PASSWORD= | |
| MAIL_ENCRYPTION=null | |
| Other info |
| Get the information of PHP | |
| ========================== | |
| $ sudo apt show php | |
| OR | |
| $ sudo apt show php -a | |
| $ sudo apt install php // this will install default php version ( may be 7.2 ) | |
| T0 Install Different Versions Of PHP |
sentrySENTRY_SECRET_KEY to random 32 char stringdocker-compose up -ddocker-compose exec sentry sentry upgrade to setup database and create admin userdocker-compose exec sentry pip install sentry-slack if you want slack plugin, it can be done laterdocker-compose restart sentry9000| sass/ | |
| | | |
| |– base/ | |
| | |– _reset.scss # Reset/normalize | |
| | |– _typography.scss # Typography rules | |
| | ... # Etc… | |
| | | |
| |– components/ | |
| | |– _buttons.scss # Buttons | |
| | |– _carousel.scss # Carousel |