Go through this amazon link http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/install-LAMP.html
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
/** | |
* Event Tickets Plus - Disable Taxes for Ticket Products | |
*/ | |
add_action( 'wootickets_after_save_ticket', 'tribe_disable_taxes_ticket_product' ); | |
function tribe_disable_taxes_ticket_product( $ticket_id ) { | |
update_post_meta( $ticket_id, '_tax_status', 'none' ); | |
update_post_meta( $ticket_id, '_tax_class', 'zero-rate' ); | |
} |
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
# Elastic Beanstalk Managed | |
# Elastic Beanstalk managed configuration file | |
# Some configuration of nginx can be by placing files in /etc/nginx/conf.d | |
# using Configuration Files. | |
# http://docs.amazonwebservices.com/elasticbeanstalk/latest/dg/customize-containers.html | |
# | |
# Modifications of nginx.conf can be performed using container_commands to modify the staged version | |
# located in /tmp/deployment/config/etc#nginx#nginx.conf |
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
# | |
sudo su - | |
cd /usr/local/bin | |
mkdir ffmpeg | |
cd ffmpeg | |
wget https://johnvansickle.com/ffmpeg/releases/ffmpeg-release-64bit-static.tar.xz | |
tar xvf ffmpeg-release-64bit-static.tar.xz |
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
function checkEmail(email) { | |
var reg = /^([A-Za-z0-9_\-\.])+\@([A-Za-z0-9_\-\.])+\.([A-Za-z]{2,4})$/; | |
if (!reg.test(email)) return false; | |
return true; | |
} |
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
1. Highlight a recommended option, | |
2. Allow users to switch currency (€/$/£) | |
3. Allow users to switch pricing monthly/yearly | |
4. Keep the entire pricing plan area clickable | |
5. Use slider to calculate how much a user would save | |
6. Provide free first month for good engagement | |
7. Prominently highlight testimonials prominently | |
8. Repeating call to action on top and bottom | |
9. Sell benefits instead of features | |
10. Indicate that users can cancel any time |
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
/** | |
* @author Eric Tucker <[email protected]> | |
* Written for nodejs | |
* requires phantomjs and nightmarejs | |
* | |
* Accessible through command line as: | |
* node seo-scraper.js www.YOUR-WEBSITE.com | |
* | |
*/ |
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
# Also refer to https://gist.github.com/stevewithington/5060602 if you wish to allow for mixed siteIDs in URLs | |
# Apache mod_rewrite Docs: http://httpd.apache.org/docs/current/rewrite/ | |
# Intro: http://httpd.apache.org/docs/current/rewrite/intro.html | |
# Flags: http://httpd.apache.org/docs/current/rewrite/flags.html | |
Options All -Indexes | |
Options +FollowSymLinks | |
# ------------------------------------------------------------------------------- | |
# MURA REWRITE OPTIONS |