type below:
brew update
brew install redis
To have launchd start redis now and restart at login:
brew services start redis
type below:
brew update
brew install redis
To have launchd start redis now and restart at login:
brew services start redis
WP-CLI, the command-line interface for WordPress, is one of the most popular tools among WordPress developers. However, it can be extremely helpful for anyone managing a WordPress site. In this webinar, the main person behind WP-CLI project: Alain Schlesser will show us the ins and outs of the tool. He will give us great examples on how it can be used to improve your workflow, for beginners to experienced developers and for projects big and small. We will give you invaluable examples on how to perform different tasks with WP-CLI automatically, saving you time and preventing you from making manual errors, like:
wp core download | |
wp core config --dbname=sample --dbuser=root --dbpass=root | |
wp core install --url=http://example.dev --title="WordPress Sample Site" --admin_user=nishikawa --admin_password=pass --admin_email=example@example.com | |
wp plugin install show-current-template wp-basic-auth theme-check plugin-check wp-multibyte-patch --activate | |
wp plugin install wordpress-beta-tester jetpack contact-form-7 vk-all-in-one-expansion-unit | |
wp plugin delete hello | |
wp option update blogdescription "This is a new project!!" | |
wp option update posts_per_page 5 | |
wp option update thread_comments 1 | |
wp option update thread_comments_depth 3 |
This tutorial walks through setting up AWS infrastructure for WordPress, starting at creating an AWS account. We'll manually provision a single EC2 instance (i.e an AWS virtual machine) to run WordPress using Nginx, PHP-FPM, and MySQL.
This tutorial assumes you're relatively comfortable on the command line and editing system configuration files. It is intended for folks who want a high-level of control and understanding of their infrastructure. It will take about half an hour if you don't Google away at some point.
If you experience any difficulties or have any feedback, leave a comment. 🐬
Coming soon: I'll write another tutorial on a high availability setup for WordPress on AWS, including load-balancing multiple application servers in an auto-scaling group and utilizing RDS.
First let's make sure HB is updated. Open up terminal for the following steps.
$ brew update
<?php | |
/** | |
* Enqueue scripts and styles. | |
* | |
* @since 1.0.0 | |
*/ | |
function ja_global_enqueues() { | |
wp_enqueue_style( | |
'jquery-auto-complete', |
Extending Gutenberg With SlotFill and Filters | |
https://10up.com/blog/2019/extending-gutenberg-with-slotfill/ | |
Block Comments swaps out the comment form for a block editor based input | |
https://tomjn.com/2019/07/20/gutenberg-comments/ | |
How To Remove wp-block-library | |
https://wpza.net/how-to-remove-wp-block-library-gutenberg/ | |
Add a custom sidebar panel to Gutenberg |
<?php | |
/** | |
* Insert an attachment from an URL address. | |
* | |
* @param String $url | |
* @param Int $parent_post_id | |
* @return Int Attachment ID | |
*/ | |
function crb_insert_attachment_from_url($url, $parent_post_id = null) { |
No, seriously, don't. You're probably reading this because you've asked what VPN service to use, and this is the answer.
Note: The content in this post does not apply to using VPN for their intended purpose; that is, as a virtual private (internal) network. It only applies to using it as a glorified proxy, which is what every third-party "VPN provider" does.
A Russian translation of this article can be found here, contributed by Timur Demin. There's also this article about VPN services, which is honestly better written (and has more cat pictures!) than my article.