Skip to content

Instantly share code, notes, and snippets.

View Xiradorn's full-sized avatar
πŸ‘Ή
Working on something

Tony Frost Xiradorn

πŸ‘Ή
Working on something
View GitHub Profile
@Xiradorn
Xiradorn / leggimi.md
Last active November 6, 2025 09:36
Nuxt Favicon procedure ( tnks to Favicon.im - https://favicon.im/it/blog/add-favicon-to-nuxt3-project )

How to Add Favicons to Your Nuxt 3 Project: Complete Implementation Guide January 8, 2025 Favicon.im

Favicons are essential for professional web applicationsβ€”they appear in browser tabs, bookmarks, and mobile home screens, reinforcing your brand identity. While adding a basic favicon to Nuxt 3 is straightforward, implementing a comprehensive favicon system that works across all devices and scenarios requires more planning.

This guide covers everything from basic implementation to advanced features like dynamic favicon switching and PWA optimization. Whether you're building a simple website or a complex application, you'll find the right approach for your Nuxt 3 project. Quick Start: Basic Favicon Setup

For those who want to get started immediately, here's the minimal setup:

@Xiradorn
Xiradorn / gulp-cjs-to-esm.md
Created February 9, 2024 09:01 — forked from noraj/gulp-cjs-to-esm.md
Moving gulpfile from CommonJS (CJS) to ECMAScript Modules (ESM)

Moving gulpfile from CommonJS (CJS) to ECMAScript Modules (ESM)

Context

del v7.0.0 moved to pure ESM (no dual support), which forced me to move my gulpfile to ESM to be able to continue to use del.

The author sindresorhus maintains a lot of npm packages and does not want to provides an upgrade guide for each package so he provided a generic guide. But this guide is a bit vague because it's generic and not helping for gulp, hence this guide.

Guide

@Xiradorn
Xiradorn / index.html
Last active October 6, 2022 23:59
Semplistic Image Zoom Efx /w One Image - Vanilla JS
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<style type="text/css">
:root {
--x-pos: 0px;
@Xiradorn
Xiradorn / divi.css
Last active March 2, 2022 22:55
Columns for DIvi Gallery
.xgallery-1 .et_pb_gallery_item {
width: 100% !important;
clear: none !important;
margin: 0 !important;
}
@media (min-width: 981px) {
.xgallery-1 .et_pb_gallery_item {
width: 100% !important;
clear: none !important;
margin: 0 !important;
@Xiradorn
Xiradorn / wc_varb_price_range.php
Created January 6, 2022 19:47
Function for display ogni min (or max) price inside woo shop page / product page
<?php
/**
* Function for display ogni min (or max) price inside woo shop page / product page
*/
function wc_varb_price_range( $wcv_price, $product ) {
$prefix = sprintf('%s: ', __('From', 'wcvp_range'));
$wcv_reg_min_price = $product->get_variation_regular_price( 'min', true );
$wcv_min_sale_price = $product->get_variation_sale_price( 'min', true );
@Xiradorn
Xiradorn / privacy.html
Last active October 24, 2021 21:00
Privacy Support for Cookie Plugin
<div class="iub_header">
<h1>Privacy Policy di <strong>AZIENDAXXXXXXXX</strong></h1>
Questa Applicazione raccoglie alcuni Dati Personali dei propri Utenti.
Questo documento contiene una <a href="https://www.iubenda.com/privacy-policy/40405136/legal?ifr=true&amp;height=554&amp;newmarkup=no&amp;an=no#california_info" target="_self">sezione dedicata ai consumatori californiani e ai loro diritti sulla privacy</a>.
Questo documento puΓ² essere stampato utilizzando il comando di stampa presente nelle impostazioni di qualsiasi browser.
&nbsp;
<!--
/*****************************************
β–ˆβ–ˆβ•— β–ˆβ–ˆβ•—β–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ•—
β•šβ–ˆβ–ˆβ•—β–ˆβ–ˆβ•”β•β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•—β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•—β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•—β–ˆβ–ˆβ•”β•β•β•β–ˆβ–ˆβ•—β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ•‘
β•šβ–ˆβ–ˆβ–ˆβ•”β• β–ˆβ–ˆβ•‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•”β•β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘ β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘ β–ˆβ–ˆβ•‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•”β•β–ˆβ–ˆβ•”β–ˆβ–ˆβ•— β–ˆβ–ˆβ•‘
β–ˆβ–ˆβ•”β–ˆβ–ˆβ•— β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•—β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘ β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘ β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•—β–ˆβ–ˆβ•‘β•šβ–ˆβ–ˆβ•—β–ˆβ–ˆβ•‘
β–ˆβ–ˆβ•”β• β–ˆβ–ˆβ•—β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘ β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘ β–ˆβ–ˆβ•‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•”β•β•šβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•”β•β–ˆβ–ˆβ•‘ β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘ β•šβ–ˆβ–ˆβ–ˆβ–ˆβ•‘
β•šβ•β• β•šβ•β•β•šβ•β•β•šβ•β• β•šβ•β•β•šβ•β• β•šβ•β•β•šβ•β•β•β•β•β• β•šβ•β•β•β•β•β• β•šβ•β• β•šβ•β•β•šβ•β• β•šβ•β•β•β•
*******************************************************************************
* EXCLUSIVE SCRIPT FOR THE CURSE OF MONKEY ISLAND *
* (Version 1.2) *
* *
* Author: Deborah L. Kearns *
* E-mail: [email protected] *
*******************************************************************************
@Xiradorn
Xiradorn / array_inversion.php
Last active September 12, 2019 16:44
simple array algorithm
<?php
/**
* Simple inversion algo
*/
/**
* Function for string inversion.
* @param string $str just a normal text string
* @return string $str same string but inverted
*/

Chi siamo

L'indirizzo del nostro sito web Γ¨: http://xiradorn.it. Quali dati personali raccogliamo e perchΓ© li raccogliamo

Commenti

Quando i visitatori lasciano commenti sul sito, raccogliamo i dati mostrati nel modulo dei commenti e anche l'indirizzo IP del visitatore e la stringa del user agent del browser per aiutare il rilevamento dello spam.

Una stringa anonimizzata creata dal tuo indirizzo email (anche chiamato hash) puΓ² essere fornita al servizio Gravatar per vedere se lo stai utilizzando. La privacy policy del servizio Gravatar Γ¨ disponibile qui: https://automattic.com/privacy/. Dopo l'approvazione del tuo commento, la tua immagine del profilo Γ¨ visibile al pubblico nel contesto del tuo commento.