Python 2.7.x
A basic knowledge of how to move through folders using the terminal/command prompt
Head to https://app.intercom.io/ember/saved_replies.json?app_id=YOUR_APP_ID to get the json containing all of your apps saved replies
Python 2.7.x
A basic knowledge of how to move through folders using the terminal/command prompt
Head to https://app.intercom.io/ember/saved_replies.json?app_id=YOUR_APP_ID to get the json containing all of your apps saved replies
#!/usr/bin/env bash | |
# | |
# Notes: | |
# | |
# - Homebrew & Git require Xcode Command Line Tools, OS X should prompt you on first install. | |
# | |
echo "Starting Mac OS X Dev Setup..." | |
# Check for Homebrew, install if we don't have it |
#/bin/bash | |
cd _seed | |
FILENAME=$(find . -maxdepth 1 -name [a-zA-Z0-9]*-migrate-[0-9]*.sql.gz) | |
gunzip ${FILENAME} -c > temp.sql | |
read -p "New Domain Name e.g. http://example.com: " replacement | |
cat temp.sql | sed -e "s@##DEV_URL##@${replacement}@g" > temp2.sql | |
cat temp2.sql | sed -e "s@##DEV_PATH##@${replacement}@g" > new_db.sql |
This is a resource list that will help anyone who relies/relied on jQuery to start transitioning (where possible, where appropriate) to vanilla js.
# wordpress-seo provides ability to edit meta information and provides sitemap. | |
# w3-total-cache provides advanced caching no matter the server technology available. | |
# better-wp-security provides brute force protection and a number of WordPress enhancements. | |
# google-analytics-for-wordpress provides robust Google Analytics integration through the Google API. | |
# redirection detects 404s and 301s and allows admins to set up redirects in the WP admin. | |
# ewww-image-optimizer provides automatic optimization of uploaded images with local libraries instead of cloud-based services. | |
# backupwordpress simple backup solution that can store backups above web root. | |
# relevanssi provides better site search using a local index. | |
# cloudflare is the best. Free automatic CDN and security solution. | |
# jarvis is a quick search for the WordPress admin. Indespensible. |
#For files | |
sudo find . -type f -exec chmod 664 {} + | |
#For Directories | |
sudo find . -type d -exec chmod 775 {} + | |
#For the Config File | |
sudo chmod 660 wp-config.php |
This table was created in 2015 so may be quite outdated today.
Feature | Meteor Solution | Alternative Solutions | Description |
---|---|---|---|
Live DB Sync | [livequery][lq] ([mongo-oplog]), [ddp] | RethinkDB, Redis, ShareDB, [npm:mongo-oplog], [firebase], etc. | Push DB updates to client/server. |
Latency Compensation, Optimistic UI | [minimongo][mm] | [RethinkDB][lcr], [mWater/minimongo] (fork, not ws but http, browserify) | Imitate successful db query on client before it is done. |
Isomorphic Code | [isobuild] & isopacks | browserify | Write one code for server/client/mobile. |
Isomorphic Packaging | [isobuild], atmosphere | No more separate packages for server & client. Get bower + npm + mobile. |
add_action('wp_head','pluginname_ajaxurl'); | |
function pluginname_ajaxurl() { | |
?> | |
<script type="text/javascript"> | |
var ajaxurl = '<?php echo admin_url('admin-ajax.php'); ?>'; | |
</script> | |
<?php | |
} | |
//functions.php code |
/********************************** | |
* | |
* Move WooCommerce Price on Single Product Page | |
* | |
* @author AlphaBlossom / Tony Eppright | |
* @link http://www.alphablossom.com | |
* | |
* Reference hook locations using woocommerce_single_product_summary hook | |
* | |
* @hooked woocommerce_template_single_title – 5 |