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
#!/usr/bin/env bash | |
# Create the public_html folder and switch to it | |
mkdir public_html | |
cd public_html | |
# Download the WP core | |
wp core download | |
# Configure database settings | |
wp config create --dbname=example_website_dev --dbuser=root --dbpass=root |
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 | |
// Pulled from http://api.worldbank.org/countries?format=json&page=1&per_page=500 | |
const CI_COUNTRIES_ARRAY = array ( | |
'AW' => 'Aruba', | |
'AF' => 'Afghanistan', | |
'AO' => 'Angola', | |
'AL' => 'Albania', | |
'AD' => 'Andorra', | |
'AE' => 'United Arab Emirates', | |
'AR' => 'Argentina', |