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 | |
/** | |
* Plugin Name: Custom API | |
* Plugin URI: http://chrushingit.com | |
* Description: Crushing it! | |
* Version: 1.0 | |
* Author: Art Vandelay | |
* Author URI: http://watch-learn.com | |
*/ |
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
/* | |
If saving AWS creds locally they need to be in ~/.aws/credentials | |
[default] | |
aws_access_key_id = foo | |
aws_secret_access_key = bar | |
*/ | |
const puppeteer = require('puppeteer'); | |
const AWS = require('aws-sdk'); |
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
a2ensite subdomain.me.com.conf | |
a2ensite subdomain.me.com.ssl.conf | |
service apache2 reload |
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
/** | |
* List of countries, with country code (ISO 3166-1), separated by whether | |
* they're inside or outside the EU. This list has been updated as of | |
* 2014-12-04, per the list of deleted countries | |
* at <http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2>. | |
*/ | |
var listAllCountries = { | |
'insideEU': { | |
'AT': 'Austria', |