Skip to content

Instantly share code, notes, and snippets.

@misu200
misu200 / gist:ccdc8abb32f0de8f68d00986b6228836
Created December 9, 2025 02:35
order 21341 pe sk ( ce s-a trimis la smartbill )
{
"1765245449": {
"companyVatCode": "RO44332877",
"client": {
"name": "Andrei TEST TEST",
"vatCode": "0000000000000",
"address": "Sebechleby 1 ",
"isTaxPayer": false,
"city": "Sebechleby",
"county": "",
@misu200
misu200 / gist:70c0f4cc1eac7f8b2937fb4252466b02
Created June 9, 2025 20:00
fire-and-forget curl working
<?php
// Usage: wp eval-file test-curl-post.php [blog_id]
require_once( dirname( __FILE__ ) . '/wp-load.php' );
$blog_id = 7; // HU
$output = '';
if ( is_multisite() ) {
switch_to_blog( $blog_id );
$output = "Testing on Blog ID: " . get_current_blog_id() . PHP_EOL;
$output .= "Site URL: " . site_url() . PHP_EOL;
@misu200
misu200 / gist:7bc269af5dbf8b755059ad5822a7a970
Created June 8, 2025 18:59
wp_remote_post speed test
<?php
// Usage: wp eval-file test-wp-remote-post.php [blog_id]
// Get the blog ID from command line arguments (default to 1 if not provided)
require_once( dirname( __FILE__ ) . '/wp-load.php' );
//$url = site_url('wp-admin/admin-ajax.php?action=task_runner_preload-urls');
$url = "https://ipify.org";
@misu200
misu200 / gist:45fb3d152a25988e6cd341845b59a206
Created June 3, 2025 09:32
actual prompt for a product
I have som concatenated product descriptions from different competitors about a Korean cosmetics product named "Propolis Vitamin Synergy Serum" and I would like to get exactly one completly new product description in english around 324 words long. If information available the new product description should have one or more of the following sections (in this order):
1. a "Benefits" section that lists the benefits using an unordered HTML list.
2. a couple of popular ingredients (with their role) that are used using an unordered HTML list. Do not list 'water'.
3. a "How to use" section using an ordered HTML list
The description must be 100 % unique, Human-Written and remove plagiarism.Do not include any customer testimonials.I insist the new description must not plagiarize the inputed concatenated descriptions. The main keyword should be the product name and you should use it more often in your article so that the article becomes SEO friendly. Format the description with HTML tags (like H2 and H3 h
@misu200
misu200 / machine.js
Last active May 15, 2021 11:40
Generated by XState Viz: https://xstate.js.org/viz
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions
@misu200
misu200 / machine.js
Last active May 13, 2021 15:43
Generated by XState Viz: https://xstate.js.org/viz
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions