I hereby claim:
- I am spenserhale on github.
- I am spenserhale (https://keybase.io/spenserhale) on keybase.
- I have a public key ASBk6vHu6G-HbBUhey9uB5X-f5Hje-GWDiW6UBcvnkHQIAo
To claim this, I am signing this object:
| javascript:(function(){const rows=Array.from(document.querySelectorAll('tbody tr')).filter(row=>row.querySelector('td'));if(rows.length===0){console.error("No employee rows found. Make sure you're on the directory page.");return;}const csvData=[];csvData.push('"Name","Title","Department","Manager","Start Date"');rows.forEach(row=>{const cells=Array.from(row.querySelectorAll('td'));const nameCell=cells[0];const nameSpan=nameCell.querySelector('span.chakra-text[title]');const titleSpan=nameCell.querySelectorAll('span.chakra-text')[1];const name=nameSpan?nameSpan.textContent.trim():'';const title=titleSpan?titleSpan.textContent.trim():'';const deptCell=cells[1];const department=deptCell?deptCell.textContent.trim():'';const managerCell=cells[2];const manager=managerCell?managerCell.textContent.trim():'';const startDateCell=cells[3];const startDate=startDateCell?startDateCell.textContent.trim():'';const escapeCsv=str=>`"${str.replace(/"/g,'""')}"`;csvData.push([escapeCsv(name),escapeCsv(title),escapeCsv(department |
| /** | |
| * Deletes all current site transients. (Blog not Network) | |
| * | |
| * @return array{ deleted: string[], errored: string[] } An array of successfully and failed to delete transients. | |
| */ | |
| function delete_transients(): array | |
| { | |
| if (wp_using_ext_object_cache()) { | |
| global $wp_object_cache; |
| # Adjust the following variables as necessary | |
| REMOTE=origin | |
| BRANCH=$(git rev-parse --abbrev-ref HEAD) | |
| BATCH_SIZE=250 | |
| # check if the branch exists on the remote | |
| if git show-ref --quiet --verify refs/remotes/$REMOTE/$BRANCH; then | |
| # if so, only push the commits that are not on the remote already | |
| range=$REMOTE/$BRANCH..HEAD | |
| else |
| /** | |
| * Triggers browser to download a file with content. | |
| * | |
| * Accomplishes by creating a temporary a tag that we encode filename and data to and then click on behalf of user. | |
| * | |
| * @example | |
| * browserFileDownload("results.txt","Success Example!"); | |
| * @example | |
| * browserFileDownload("example.xml", "<?xml version=\"1.0\" encoding=\"UTF-8\"?><collection><item>1</item></collection>", "application/xml"); | |
| * |
I hereby claim:
To claim this, I am signing this object:
| <?php | |
| // file: wp-content/plugins/gravityformsauthorizenet/api/lib/net/authorize/util/HttpClient.php | |
| namespace net\authorize\util; | |
| /** | |
| * A class to send a request to the XML API. | |
| * | |
| * @package AuthorizeNet | |
| * @subpackage net\authorize\util |