Comments for Digital Fortress https://digitalfortress.tech/ A coders paradise Thu, 13 Jun 2024 10:15:04 +0000 hourly 1 https://wordpress.org/?v=7.1.3 Comment on All in one smart search with typeahead standalone by Niket Pathak https://digitalfortress.tech/tutorial/all-in-one-smart-search-with-typeahead-standalone/#comment-2265 Thu, 13 Jun 2024 10:15:04 +0000 https://digitalfortress.tech/?p=1798#comment-2265 In reply to C Alonso C Ortega.

you can use the transform function for this purpose.

]]>
Comment on All in one smart search with typeahead standalone by C Alonso C Ortega https://digitalfortress.tech/tutorial/all-in-one-smart-search-with-typeahead-standalone/#comment-2262 Fri, 13 Jan 2023 04:00:22 +0000 https://digitalfortress.tech/?p=1798#comment-2262 how can I search in a nested array like this using this library:

{
“resultados”: [
{
“id”: 1819,
“titulo”: “rnCaja de plástico con tapa de pestillos, 61 litros”,
“slug”: “caja-de-plastico-con-tapa-de-pestillos-61-litros”
},
{
“id”: 1814,
“titulo”: “rnCaja hermética transparente con ruedas y agarradera 113.6 litros”,
“slug”: “caja-hermetica-transparente-con-ruedas-y-agarradera-1136-litros”
},
{
“id”: 1821,
“titulo”: ” rnCaja organizadora con tapa 100 Litros “,
“slug”: “caja-organizadora-con-tapa-100-litros”
},
{
“id”: 5063,
“titulo”: “Accesorios para Freidora”,
“slug”: “accesorios-para-freidora”
},
{
“id”: 1834,
“titulo”: “Anaquel de plástico de 4 repisas rnrn”,
“slug”: “anaquel-de-plastico-de-4-repisas”
},
{
“id”: 5057,
“titulo”: “Batería de cocina de color plateado”,
“slug”: “bateria-de-cocina-de-color-plateado”
},
{
“id”: 14002,
“titulo”: “Bote de basura para oficina”,
“slug”: “bote-de-basura-para-oficina”
},
{
“id”: 1508,
“titulo”: “Bote Sterilite para basura tapa con seguro de 28 litros”,
“slug”: “bote-sterilite-para-basura-tapa-con-seguro-de-28-litros”
},
{
“id”: 1319,
“titulo”: “Botón de Pánico 268”,
“slug”: “boton-de-panico-268”
},
{
“id”: 1322,
“titulo”: “Botón de Pánico PROEMERB”,
“slug”: “boton-de-panico-proemerb”
}
],
“numeroResultados”: 10
}

]]>
Comment on JWT Authentication with Symfony by Niket Pathak https://digitalfortress.tech/php/jwt-authentication-with-symfony/#comment-2266 Thu, 14 Oct 2021 08:23:18 +0000 https://digitalfortress.tech/?p=595#comment-2266 In reply to 3amprogrammer.

The /api/login path is actually authenticated anonymously and is used to only display a user login form. When you submit the form, its target is the path /api/login_check which is used to verify your login and return a JWT if the login was successful. The route “check_path” is similar to /api/login_check excepting that it is specifically used for json_login (i.e. when you want the form data is submitted as json-encoded data)

]]>
Comment on JWT Authentication with Symfony by 3amprogrammer https://digitalfortress.tech/php/jwt-authentication-with-symfony/#comment-2261 Tue, 12 Oct 2021 13:07:31 +0000 https://digitalfortress.tech/?p=595#comment-2261 What is the point of `pattern: /api/login`, why it’s different than `check_path` and not just `/api/login_check`?

]]>
Comment on File Upload with API Platform and Symfony by Building a REST API with Symfony and API platform - Digital Fortress https://digitalfortress.tech/php/file-upload-with-api-platform-and-symfony/#comment-48 Mon, 09 Aug 2021 16:18:08 +0000 https://digitalfortress.tech/?p=2248#comment-48 […] Step-by-Step tutorial to handle File Uploads with API Platform. […]

]]>
Comment on Generate Sitemap in Symfony in 2 simple steps by Niket Pathak https://digitalfortress.tech/tutorial/generate-sitemap-in-symfony-in-2-simple-steps/#comment-59 Mon, 14 Jun 2021 06:04:06 +0000 https://digitalfortress.tech/?p=389#comment-59 In reply to Fernando León.

you’re welcome 🙂

]]>
Comment on Generate Sitemap in Symfony in 2 simple steps by Fernando León https://digitalfortress.tech/tutorial/generate-sitemap-in-symfony-in-2-simple-steps/#comment-49 Sun, 13 Jun 2021 18:21:09 +0000 https://digitalfortress.tech/?p=389#comment-49 Thanks!

]]>
Comment on JWT Authentication with Symfony by Niket Pathak https://digitalfortress.tech/php/jwt-authentication-with-symfony/#comment-56 Tue, 20 Apr 2021 08:45:43 +0000 https://digitalfortress.tech/?p=595#comment-56 In reply to EVS.

You should not commit to GIT because anyone who has access to your repository will also be able to access your public and private keys that are used to generate your secure JWT’s.

]]>
Comment on JWT Authentication with Symfony by EVS https://digitalfortress.tech/php/jwt-authentication-with-symfony/#comment-50 Tue, 20 Apr 2021 08:22:41 +0000 https://digitalfortress.tech/?p=595#comment-50

Once this is done, the config/jwt/* folder can be deleted as its not needed anymore. But if you plan to leave it there, remember to not commit it to GIT.

Why, not commit?

]]>
Comment on Encode Videos with FFmpeg by Niket Pathak https://digitalfortress.tech/tips/encode-videos-with-ffmpeg/#comment-57 Fri, 19 Mar 2021 12:59:39 +0000 https://digitalfortress.tech/?p=617#comment-57 In reply to chaitanya.

well, that’s not uncommon. There are several things to check. Ensure that the original videos do not stutter. Convert each video to a specific format/resolution (maybe you could use the .ts format). Ensure that the converted videos are playing correctly. Then merging them should be a piece of cake. Besides, keep updating ffmpeg and its codecs to be sure to have the latest fixes. Hope that helps!

]]>