Based on this awesome gist
This is a simple way to backup your MySQL tables to Amazon S3 for a nightly backup - this is all to be done on your server :-) ** Using the AWS CLI (aws command) **
Based on this awesome gist
This is a simple way to backup your MySQL tables to Amazon S3 for a nightly backup - this is all to be done on your server :-) ** Using the AWS CLI (aws command) **
1) Get the latest available packages | |
sudo apt-get update | |
2) Install PHP7 and relevant extensions | |
Core PHP: | |
sudo apt-get install php7.0-fpm php7.0-cli php7.0-common php7.0-curl | |
Extensions needed for Craft: |
I freaking love working with technologies like Gulp, and wanted to share how to get my current Craft front-end workflow set up. With a few tweaks, this can also be used with virtually any other sites (I've used it with Laravel, static sites, ExpressionEngine, etc).
##Windows users:
cmder will be refered as console
##Mac Os, Ubuntu and windows users continue here:
homestead
utf8_general_ci/********************************************************************************************************************** | |
* Amazon Autocomplete Tool | |
* Leverage the Amazon Autocomplete feature to find highly commercial keyword opportunities. | |
* Export the results for efficient importing into Google Adwords | |
* Version 1.0 | |
* Created By: Derek Martin | |
* DerekMartinLA.com or MixedMarketingArtist.com | |
**********************************************************************************************************************/ | |
var hashMapResults = {}; |
using System; | |
namespace FortyOneShades | |
{ | |
class Program | |
{ | |
static int[] values = new int[]{ | |
0x276AD9, | |
0x3E6FD9, | |
0x3A6FDE, |
# | |
# CORS header support | |
# | |
# One way to use this is by placing it into a file called "cors_support" | |
# under your Nginx configuration directory and placing the following | |
# statement inside your **location** block(s): | |
# | |
# include cors_support; | |
# | |
# As of Nginx 1.7.5, add_header supports an "always" parameter which |
import logging | |
import zerigodns | |
import boto | |
from boto.route53.record import ResourceRecordSets | |
from boto.s3.website import RedirectLocation | |
# There is no API for these so we have to embed and lookup | |
# https://forums.aws.amazon.com/thread.jspa?threadID=116724 | |
# http://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region |