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
| # detect the public html directory of your WP repo | |
| wp-html-dir() { | |
| root=$(git rev-parse --show-toplevel) | |
| if [[ -d $root/html/wp ]] ; then | |
| html=$root/html/wp | |
| elif [[ -d $root/html ]] ; then | |
| html=$root/html | |
| elif [[ -d $root/wp ]] ; then | |
| html=$root/wp | |
| fi |
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
| # .grab/config | |
| GRAB_USER='user' | |
| GRAB_HOST='hostname' | |
| GRAB_REMOTE_ROOT='/var/www/html/some/path' |
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
| <style> | |
| body { | |
| -webkit-touch-callout: none; | |
| -webkit-user-select: none; | |
| -khtml-user-select: none; | |
| -moz-user-select: none; | |
| -ms-user-select: none; | |
| user-select: none; | |
| } | |
| </style> |
NewerOlder