Skip to content

Instantly share code, notes, and snippets.

View mmoreram's full-sized avatar
🎯
Focusing

Marc Morera mmoreram

🎯
Focusing
View GitHub Profile
Nestor – Política de privacidad
Nestor es un asistente personal de uso exclusivamente privado, que solo usa su propietario.
Accede a Gmail (lectura y creación de borradores) y a Google Calendar (lectura y gestión de eventos)
únicamente para atender las peticiones del propietario.
Los datos se procesan en un servidor propio, no se comparten con terceros ni se usan para publicidad.
Los tokens de acceso se guardan cifrados o con permisos restringidos y pueden revocarse en cualquier momento
desde https://myaccount.google.com/permissions.
Contacto: el propietario de la cuenta que autoriza la aplicación.
@mmoreram
mmoreram / item-was-clicked-event.md
Last active May 19, 2026 14:51
Apisearch - Popular products by query

Documentación del Evento: apisearch_item_was_clicked

Este evento se dispara a nivel de ventana (window) mediante postMessage cada vez que un usuario hace clic en un elemento de los resultados de búsqueda de APIsearch.

A continuación se detalla la estructura del evento y cómo suscribirse a él desde cualquier parte de la aplicación.


Estructura del Mensaje (payload)

Privacy Policy for Ding!

Last updated: April 15, 2026

1. Introduction

Ding! ("we", "our", or "us") is committed to protecting your privacy. This Privacy Policy explains how we handle information when you use our mobile application. Our core philosophy is to minimize data collection and ensure that your personal information remains on your device whenever possible.

2. Information Collection and Use

Phone Authentication (SMS)

To ensure secure access and verify your identity, we use Firebase Phone Authentication.

@mmoreram
mmoreram / StreamedFile.php
Last active April 27, 2023 16:07
First view on local storage middleware based ReactPHP stream download
<?php
namespace App;
use Psr\Http\Message\ResponseInterface;
use React\EventLoop\Loop;
use React\EventLoop\TimerInterface;
use React\Filesystem\AdapterInterface;
use React\Http\Browser;
use React\Stream\ReadableStreamInterface;
This file has been truncated, but you can view the full file.
{"uuid":{"id":"46","type":"product"},"metadata":{"name":"Zapatos Profesional Luisetti 0101 Negro","reference":"LVC-0101NEGRO","ean":"1296549","upc":"","show_price":true,"link":"https:\/\/lavalencianacalzados.com\/zapatos-camarero\/luisetti-0101.html","url":"https:\/\/lavalencianacalzados.com\/zapatos-camarero\/luisetti-0101.html","img":"https:\/\/lavalencianacalzados.com\/42053-home_default\/luisetti-0101.jpg","old_price":59.95},"indexed_metadata":{"as_version":9031649815,"price":59.95,"categories":["Luisetti","Zapatos trabajo hombre","Zapatos con cord\u00f3n","Zapatos Camarero","Zapatos de Trabajo","Zapatos Hosteler\u00eda"],"available":true,"with_discount":false,"with_variants":true,"brand":"Luisetti","talla":["40","41","42","43","44","45","46","39"],"color":["Negro"],"quantity_sold":12,"sales":12},"searchable_metadata":{"name":"Zapatos Profesional Luisetti 0101 Negro","categories":["Luisetti","Zapatos trabajo hombre","Zapatos con cord\u00f3n","Zapatos Camarero","Zapatos de Trabajo","Zapatos Hosteler\u00eda
This file has been truncated, but you can view the full file.
{"uuid":{"id":"47","type":"product"},"metadata":{"name":"Zapatos Profesional Luisetti 0104 Negro","reference":"LVC-0104NEGRO","ean":"1297065","upc":"","show_price":true,"link":"https:\/\/lavalencianacalzados.com\/zapatos-hombre-sin-cordon\/luisetti-0104.html","url":"https:\/\/lavalencianacalzados.com\/zapatos-hombre-sin-cordon\/luisetti-0104.html","img":"https:\/\/lavalencianacalzados.com\/5-home_default\/luisetti-0104.jpg","old_price":59.95},"indexed_metadata":{"as_version":9031649815,"price":59.95,"categories":["Luisetti","Zapatos trabajo hombre","Zapatos sin cord\u00f3n","Zapatos Camarero","Zapatos de Trabajo","Zapatos Hosteler\u00eda"],"available":true,"with_discount":false,"with_variants":true,"brand":"Luisetti","talla":["40","41","42","43","44","45","46","39"],"color":["Negro"],"quantity_sold":36,"sales":36},"searchable_metadata":{"name":"Zapatos Profesional Luisetti 0104 Negro","categories":["Luisetti","Zapatos trabajo hombre","Zapatos sin cord\u00f3n","Zapatos Camarero","Zapatos de Trabajo","Zapatos
<?php
class X {
private int $a = 0;
public function incr() {
$this->a++;
}
public function a() {
[{
"id": "4",
"ti": "Curso de Escaparatismo y Decoración de Espacios Comerciales",
"b": "Implika",
"p": "3041",
"op": "3041",
"p_c": "3041€",
"op_c": "3041€",
"sku": "Sku",
"u": "https://implika.elabsconsulting.com/escaparatismo-y-decoracion-de-espacios-comerciales.html",

This is the Apisearch item structure.

{
    "id": "ID",
    "ti": "Title",
    "d": "Description",
    "b": "Brand",
    "p": "Price, 9.34 (float)",
 "op": "Old price, 13.47 (float)",
This file has been truncated, but you can view the full file.
{"id":"3","languages":{"es":{"c0":"Perros","c1":"Snacks","c2":"Juguetes y deporte","c3":"De inteligencia e interactivos","c4":"Semi-h\u00famedos","ti":"Relleno Liver Easy Treat","u":"perros\/kong\/stuffn-liver-higado","c":"Semi-h\u00famedos","an":"Perros"},"de":{"c0":"Hunde","c1":"Snacks","c2":"Spielzeug und Sport","c3":"Intelligenzspielzeug","c4":"Halbfeucht","ti":"Liver Easy Treat","u":"hunde\/kong\/stuffn-liver-leber","c":"Halbfeucht","an":"Hunde"},"en":{"c0":"Dogs","c1":"Treats","c2":"Toys & Sport","c3":"Intelligence & Interactive Toys","c4":"Chewy and Softer Treats","ti":"Liver Easy Treat","u":"dogs\/kong\/stuffn","c":"Chewy and Softer Treats","an":"Dogs"},"fr":{"c0":"Chiens","c1":"Snacks et friandises","c2":"Jouets et sport","c3":"Intelligents","c4":"Semi-humides","ti":"Liver Easy Treat","u":"chiens\/kong\/stuffn-liver-foie","c":"Semi-humides","an":"Chiens"},"nl":{"c0":"Honden","c1":"Snacks","c2":"Speelgoed en sport","c3":"Intelligent speelgoed","c4":"Semi-zacht","ti":"Hondensnacks Stuff'N Liver Easy Tr