I hereby claim:
- I am DamianSam on github.
- I am damiansam (https://keybase.io/damiansam) on keybase.
- I have a public key whose fingerprint is 4CBA 1FA8 CB18 091F 319D D79C 7EA8 8381 9E7B 8916
To claim this, I am signing this object:
# RECOMMENDED BY WPENGINE | |
*~ | |
.DS_Store | |
.svn | |
.cvs | |
*.bak | |
*.swp | |
Thumbs.db | |
# large/disallowed file types |
# Installation --- | |
# 1. In Bitbucket, add $FTP_USERNAME $FTP_PASSWORD and $FTP_HOST as environment variables. | |
# 2. Commit this file to your repo | |
# 3. From Bitbucket Cloud > Commits > Commit Number > Run Pipeline > Custom:Init (this will | |
# push everything and initial GitFTP) | |
# | |
# Usage --- | |
# - On each commit to master branch, it'll push all files to the $FTP_HOST | |
# - You also have the option to 'init' (from Bitbucket Cloud) - pushes everything and initialises | |
# - Finally you can also 'deploy-all' (from Bitbucket Cloud) - if multiple deploys fail, you |
I hereby claim:
To claim this, I am signing this object:
<?php | |
function _foo_handle_ajax_request_for_db_data() { | |
$path = parse_url (site_url()); | |
if ( parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH) === $path['path'] . '/sth' ) { | |
status_header(200); | |
// do sth | |
exit ; |