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: |
| <!-- requirements --> | |
| <script src="https://cdnjs.cloudflare.com/ajax/libs/parsley.js/2.6.2/parsley.min.js"></script> | |
| <script src="https://halt-hammerzeit.github.io/libphonenumber-js/libphonenumber-js.min.js"></script> | |
| <!-- custom validator --> | |
| <script type="text/javascript"> | |
| $(document).ready(function() { | |
| window.Parsley.addValidator('ustel', { | |
| requirementType: 'string', | |
| validateString: function(value) { |
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 |