Run:
npm i react-navigation-shared-element@next react-native-shared-element
npm i @react-navigation/native@^5.0.9 @react-navigation/stack@^5.1.1| // Remove init rest routes | |
| remove_action( 'rest_api_init', 'create_initial_rest_routes', 0 ); | |
| // Remove oembed rest routes | |
| function remove_json_api () { | |
| // Remove the REST API lines from the HTML Header | |
| remove_action( 'wp_head', 'rest_output_link_wp_head', 10 ); | |
| remove_action( 'wp_head', 'wp_oembed_add_discovery_links', 10 ); |
| <?php | |
| // Init | |
| // ----------------------------------------------------------------------- | |
| define('DOING_AJAX', true); | |
| define('SHORTINIT', true); | |
| // WP Load | |
| // ----------------------------------------------------------------------- | |
| require('wp-load.php'); |
Here are the simple steps needed to create a deployment from your local GIT repository to a server based on this in-depth tutorial.
You are developing in a working-copy on your local machine, lets say on the master branch. Most of the time, people would push code to a remote server like github.com or gitlab.com and pull or export it to a production server. Or you use a service like deepl.io to act upon a Web-Hook that's triggered that service.
| #!/bin/bash | |
| ### USAGE | |
| ### | |
| ### ./ElasticSearch.sh 1.7 will install Elasticsearch 1.7 | |
| ### ./ElasticSearch.sh will fail because no version was specified (exit code 1) | |
| ### | |
| ### CLI options Contributed by @janpieper | |
| ### Check http://www.elasticsearch.org/download/ for latest version of ElasticSearch |
| #!/bin/sh | |
| # | |
| # Upload image(s) to imgur.com | |
| # Copyright (C) 2014 Vivien Didelot <[email protected]> | |
| # Licensed under GPL version 3, see http://www.gnu.org/licenses/gpl.txt | |
| # | |
| # Requires "jshon": | |
| # http://kmkeen.com/jshon/ | |
| # | |
| # Alternatives, which suck: |
| git branch -m old_branch new_branch # Rename branch locally | |
| git push origin :old_branch # Delete the old branch | |
| git push --set-upstream origin new_branch # Push the new branch, set local branch to track the new remote |