Start in shell WebSocket server:
php -q websockets.php
Start in shell WebSocket client:
php -S 0.0.0.0:8000 websockets.html please use separated tab in terminal.
| for %F in (*.mp4) do @(md "%~nF" 2>nul && move "%F" "%~nF\") |
| <?php | |
| /* | |
| Plugin Name: WC Category Image Fallback | |
| Description: WooCommerce Product Image Fallback for Categories. | |
| Version: 1.0 | |
| Author: Andy Gee | |
| */ | |
| { | |
| "adr": [ | |
| { | |
| "meta": { | |
| "TYPE": "INTL", | |
| "TYPE1": "PARCEL", | |
| "TYPE2": "WORK" | |
| }, | |
| "value": [ | |
| "", |
| <?php | |
| if (isset($_GET['host'])) { | |
| define('WEBSITE_URL', 'https://' . $_GET['host']); | |
| } else { | |
| echo 'usage: get_pages.php?host=www.domain.com'; | |
| exit; | |
| } | |
| <div class="container"> | |
| <video class="input_video"></video> | |
| <div class="canvas-container"> | |
| <canvas class="output_canvas" width="1280px" height="720px"> | |
| </canvas> | |
| </div> | |
| <div class="loading"> | |
| <div class="spinner"></div> | |
| <div class="message"> | |
| Loading |
| #!/bin/bash | |
| # Usage: ./wfscan.sh /home/username/web/domain.com/public_html/wp-content/plugins | |
| # Output (Clean) | |
| # >>> Scanning /home/username/web/domain.com/public_html/wp-content/plugins | |
| # >>> Nothing found. | |
| # Output (Suspect) | |
| # >>> Scanning /home/username/web/domain.com/public_html/wp-content/plugins |
| #!/bin/bash | |
| if [ "$#" -ne 1 ]; then | |
| echo "Usage: $0 <directory>" | |
| exit 1 | |
| fi | |
| directory="$1" |
| <?php | |
| /* | |
| * Plugin Name: Limit Sold Products | |
| * Description: Limits the number of sold out products that show up on the front end of your WooCommerce store | |
| * Author: Andy Gee | |
| * Author URI: https://dgte.pro | |
| * Version: 1.0 | |
| * Plugin Slug: dgtepro-limit-sold-products | |
| */ |
| javascript: (function () { | |
| var text = document.body.innerText; | |
| var spl = text.split(" "); | |
| if (spl.length > 3000) { | |
| text = spl.slice(0, 3000).join(" "); | |
| } | |
| fetch('https://api.openai.com/v1/completions', { | |
| method: 'POST', | |
| headers: { |