This guide provides step-by-step instructions for manually deploying a WordPress site using a Trellis-inspired symlink-based deployment strategy, which enables zero-downtime deployments and easy rollbacks onto shared hosting such as site ground or other hosts that provide composer and ssh access to your website.
This file contains hidden or 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
| inf = 1e309 | |
| ---==[ MINE ]==--- | |
| -- LOCATION OF THE CENTER OF THE MINE | |
| -- the y value should be set to the height | |
| -- 1 above the surface: | |
| -- | |
| -- Y |
This file contains hidden or 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
| args = { ... } | |
| X = 0 | |
| Y = 0 | |
| Z = 0 | |
| R = 0 | |
| R = tonumber(args[1]) | |
| Fx = 1 |
This file contains hidden or 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
| args = { ... } | |
| D = true | |
| if (args[2] == "--up") then | |
| D = false | |
| end | |
| X = 1 |
This file contains hidden or 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
| <?php | |
| /** | |
| * Child Theme or plugin | |
| * @since 1.0.0 | |
| */ | |
| // include the post not found class. | |
| require get_stylesheet_directory() . '/post_not_found_content.php'; | |
| // ... other function code ... |
This file contains hidden or 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
| <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-sheetrock/1.1.4/dist/sheetrock.min.js"></script> | |
| <script> | |
| var ssDate = 'https://docs.google.com/spreadsheets/d/1WadaxMr90B4LKoLGdS2tupf_ScKWq6VqvcZTfBygUnE/edit#gid=0'; | |
| var useEventData = function(err, opt, res) { | |
| if (!err) { | |
| var reEvent = res.rows[1].cellsArray[0]; | |
| $('#headline-26391 div')[0].innerHTML = reEvent; | |
| $('#button-25965 span.elButtonSub')[0].innerHTML = reEvent; | |
| } | |
| } |
This file contains hidden or 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
| #!/bin/bash | |
| #this script should help me provision my new vagrant box with nodejs and some other dependancies. | |
This file contains hidden or 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
| Thread [AWT-EventQueue-0] (Suspended) | |
| owns: WeakHashMap<K,V> (id=55) | |
| NoSuchMethodException(Throwable).<init>(String) line: 264 | |
| NoSuchMethodException(Exception).<init>(String) line: not available | |
| NoSuchMethodException(ReflectiveOperationException).<init>(String) line: not available | |
| NoSuchMethodException.<init>(String) line: not available | |
| Class<T>.getDeclaredMethod(String, Class<?>...) line: not available | |
| Component.isCoalesceEventsOverriden(Class<?>) line: not available | |
| Component.access$500(Class) line: not available | |
| Component$3.run() line: not available |
This file contains hidden or 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
| #!/bin/bash | |
| # Description: Using Docker (requires docker to be installed http://www.docker.io/gettingstarted/ ), spawn a postgresql instance and a dynamically configured treeio instance | |
| # Author: Adam Awan | |
| # Email: [email protected] | |
| # Create a PostgreSQL Instance | |
| echo "Retrieving jpetazzo/pglite PostgreSQL Container..." | |
| docker pull jpetazzo/pglite | |
| echo "Running jpetazzo/pglite PostgreSQL Container..." | |
| PGID=$(docker run -d jpetazzo/pglite) |