Consider supporting my work by purchasing the course this tutorial is a part of i.e. VSCode Power User →
- Make sure your
Local by FlyWheelWordPress install is a custom install
| # ----------------------------------------------------------------- | |
| # .gitignore for WordPress @salcode | |
| # ver 20180808 | |
| # | |
| # From the root of your project run | |
| # curl -O https://gist.githubusercontent.com/salcode/b515f520d3f8207ecd04/raw/.gitignore | |
| # to download this file | |
| # | |
| # By default all files are ignored. You'll need to whitelist | |
| # any mu-plugins, plugins, or themes you want to include in the repo. |
Consider supporting my work by purchasing the course this tutorial is a part of i.e. VSCode Power User →
Local by FlyWheel WordPress install is a custom install| @font-face { | |
| font-family: "Fura Code Mono"; | |
| font-style: normal; | |
| font-weight: normal; | |
| src: url(data:font/otf;charset-utf-8;base64,T1RUTwAOAIAAAwBgQ0ZGIEH7pBwAABm8ADSGxUZGVE2DQUEOADWmHAAAABxHREVGp7+8WQA0oIQAAADER1BPU4YJDFMANWjkAAA9OEdTVUINia0zADShSAAAx5xPUy8ylzH3mwAAAVAAAABgUGZFZOQaPKkANaY4AAACSGNtYXC969zCAAAJIAAAEHpoZWFkCziRigAAAOwAAAA2aGhlYf+oFiMAAAEkAAAAJGhtdHggJik7ADWogAAAUxxtYXhwFMdQAAAAAUgAAAAGbmFtZWEcGdUAAAGwAAAHbnBvc3T/hgAyAAAZnAAAACAAAQAAAAE0esRdQMJfDzz1AosD6AAAAADWuzlrAAAAANbh4Jr5D/4MAu8EGgAAAAgAAAAAAAAAAAABAAADp/73AAAC8PkP/3QC7wABAAAAAAAAAAAAAAAAAAAUxwAAUAAUxwAAAAQCYAGQAAUAAAKKAlgAAABLAooCWAAAAV4AMgE8AAACCwUJBQAAAgAEQAAChwIAOAEAAAAAAAAAAENUREIAwAAN//8Dp/73AAADpwEJYAAAnwAAAAACDwKxACAAIAAFAAAAIAGGAAEAAAAAAAAAIwBIAAEAAAAAAAEAFwCcAAEAAAAAAAIABwDEAAEAAAAAAAMAGwEEAAEAAAAAAAQAKQF0AAEAAAAAAAUAPAIYAAEAAAAAAAYAIQKZAAEAAAAAAAcANAMlAAEAAAAAAAgADwN6AAEAAAAAAAkADwOqAAEAAAAAAAsAEAPcAAEAAAAAAAwAEAQPAAEAAAAAAA0AOgSWAAEAAAAAAA4AGgUHAAEAAAAAABAAFwVSAAEAAAAAABIAKQW+AAMAAQQJAAAARgAAAAMAAQQJAAEALgBsAAMAAQQJAAIADgC0AAMAAQQ |
| on run {input, parameters} | |
| -- If run without input, open random file at $HOME | |
| try | |
| set filename to POSIX path of input | |
| on error | |
| set filename to "nvim-" & (do shell script "date +%F") & "__" & (random number from 1000 to 9999) & ".txt" | |
| end try | |
| -- Set your editor here | |
| set myEditor to "/usr/local/bin/nvim" | |
| -- Open the file and auto exit after done |
| <?php | |
| /** | |
| * Merge Tags as Dynamic Population Parameters | |
| * http://gravitywiz.com/dynamic-products-via-post-meta/ | |
| */ | |
| add_filter('gform_pre_render', 'gw_prepopluate_merge_tags'); | |
| function gw_prepopluate_merge_tags($form) { | |
| $filter_names = array(); | |
| wp theme install astra --activate | |
| wp plugin install pods --activate | |
| wp plugin install $HOME/stage/wp/plugs/licensed/elementor/elementor-pro-*.zip --activate | |
| wp plugin install $HOME/stage/wp/plugs/licensed/astra-addon-plugin-*.zip --activate | |
| wp brainstormforce license activate astra-addon <<repace-with-your-astra-pro-reg-code>> | |
| wp plugin install widget-importer-exporter --activate | |
| wp plugin install customizer-export-import --activate | |
| wp plugin update --all |
| @font-face { | |
| font-family: "Fura Code Nerd Font Complete Mono"; | |
| font-style: normal; | |
| font-weight: normal; | |
| src: url(data:font/truetype;charset-utf-8;base64,AAEAAAATAQAABAAwRkZUTYNA2CsAD4MoAAAAHEdERUan4Lx6AA59kAAAAMRHUE9TiYYKWgAPRfAAAD04R1NVQitLy00ADn5UAADHnE9TLzKXY/d8AAABuAAAAGBQZkVk5Bo8qQAPg0QAAAJIY21hcL643kIAAEEAAAAQemN2dCBP3AygAABfUAAAAPBmcGdtdmSBfgAAUXwAAA0WZ2FzcAAAABAADn2IAAAACGdseWYRUPzhAACzZAAMxLxoZWFkC0coqAAAATwAAAA2aGhlYf+jDA8AAAF0AAAAJGhtdHjw2oDxAAACGAAAPuhsb2NhiUgCjAAAYEAAAFMkbWF4cBcXCp0AAAGYAAAAIG5hbWUXBsLOAA14IAAABwJwb3N0+KMe4AANfyQAAP5jcHJlcL+6GZUAAF6UAAAAvAABAAAAATR63DE7h18PPPUCnwPoAAAAANa61FIAAAAA1uHc0PkL/gwC7gQaAAAACAAAAAEAAAAAAAEAAAOn/vcAAALu+Qv/fQLuAAEAAAAAAAAAAAAAAAAAAAqsAAEAABTICDwAXABkAAoAAgB2AIcAiwAAAOQBcwADAAEABAJhAcIABQAAAooCWAAAAEsCigJYAAABXgAyATwAAAILBQkFAAACAARAAAKHAgA4AQAAAAAAAAAAQ1REQgDAAA3//wOn/vcAAAOnAQlgAACfAAAAAAIPArEAAAAgAAUCYQBaAAAAAAJhAAACYQAAAmEA5QJhAJ4CYQAyAmEAQQJhABACYQAzAmEA9AJhAHkCYQCqAmEALQJhADwCYQDKAmEAYQJhANACYQAxAmEARwJhAFkCYQA4AmEALgJhAEQCYQBHAmEASgJhAFwCYQA+AmEAPwJ |