This file contains hidden or 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 | |
| $countries = array | |
| ( | |
| 'AF' => 'Afghanistan', | |
| 'AX' => 'Aland Islands', | |
| 'AL' => 'Albania', | |
| 'DZ' => 'Algeria', | |
| 'AS' => 'American Samoa', | |
| 'AD' => 'Andorra', |
This file contains hidden or 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 | |
| <<<CONFIG | |
| packages: | |
| - "symfony/dom-crawler: ~2.3" | |
| - "symfony/css-selector: ~2.3" | |
| CONFIG; | |
| use Symfony\Component\DomCrawler\Crawler; | |
| $html = <<<HTML |
This file contains hidden or 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 | |
| #build php project with composer | |
| APP_ROOT=$(pwd); | |
| SRC='';#put source here | |
| DST='';#put destination here | |
| DIRS=();#put directories here | |
| FILES=();#put files here | |
| START=`date +%s`; |