Discover gists
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// MIT License | |
// | |
// Copyright (c) 2021 Matthijs Steen | |
// | |
// Permission is hereby granted, free of charge, to any person obtaining a copy | |
// of this software and associated documentation files (the "Software"), to deal | |
// in the Software without restriction, including without limitation the rights | |
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
// copies of the Software, and to permit persons to whom the Software is | |
// furnished to do so, subject to the following conditions: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<!DOCTYPE fontconfig SYSTEM "fonts.dtd"> | |
<fontconfig> | |
<match target="pattern"> | |
<test qual="any" name="family"> | |
<string>Symbola</string> | |
</test> | |
<test qual="any" name="prgname" compare="contains"> | |
<string>chrom</string> | |
</test> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://chrome-extension-downloader.com/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Corrector de teléfonos | |
* | |
* Nota: Este código está pensado para ser utilizado en Zapier | |
**/ | |
//Tarea: Ajusta el número de teléfono | |
// objeto para almacenar variantes del telefono completo. | |
var phone = { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Tarea: Ajusta el número de teléfono | |
let phone = { | |
"complete": null, | |
"no_plus": null | |
} | |
if(inputData.phone != null) { | |
var phoneString = inputData.phone.replace(/ /g,''); | |
if(phoneString.charAt(0) === '+') { | |
phone = { | |
"complete": phoneString, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<p>Hola :</p> | |
<p><b>{{000000__firstname}} {{000000__lastname}}</b> ha solicitado ser atendido! 😃🎊</p> | |
<p>No pierdas su atención y contáctalo a la brevedad.</p> | |
<p>Sus datos son:</p> | |
<ul> | |
<li>Nombre: {{000000__firstname}} {{000000__lastname}}</li> | |
<li>Teléfono: <a href="tel:{{000000__phone}}">{{000000__phone}}</a></li> | |
<li>Email: <a href="mailto:{{000000__email}}">{{000000__email}}</a></li> | |
<li>Whatsapp: <a href="{{000000__whatsapp}}">hablar por whatsapp con el prospecto</a></li> | |
</ul> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Ejemplo para testear la decoficación de un enlace | |
const url = require('url'); | |
// Cambiar Según sea conveniente | |
const link = | |
'https://usm-pec-desa.powerappsportals.com/?%20%20%20%20id=MQ==%20%20%20%20&internalId=Mg==%20%20%20%20&bannerCode=YmFubmVyX2NvZGU=%20%20%20%20&version=MQ==%20%20%20%20&initDate=MDEtMDMtMjAyNA==%20%20%20%20&endDate=MDEtMDMtMjAyNA==%20%20%20%20&modules=MS1Nb2R1bG8gSTogTHVnYXIgZGUgVHJhYmFqbywyLU1vZHVsbyBJSTogRmFjdG9yZXMgQW1iaWVudGFsZXMsMy1Nb2R1bG8gSUlJOiBDb250cm9sIGRlIEluZ2VuaWVyw61h%20%20%20%20&name=RGlwbG9tYSBlbiBIaWdpZW5lIE9jdXBhY2lvbmFsIENvbmNlcGNpw7Nu%20%20%20%20&description=RWwgRGlwbG9tYSBlbiBIaWdpZW5lIE9jdXBhY2lvbmFsIGVzIHVuIHByb2dyYW1hIGRpc2XDsWFkbyBwYXJhIHByb3BvcmNpb25hciBsYXMgaGFiaWxpZGFkZXMgbmVjZXNhcmlhcyBhIGxvcyBwcm9mZXNpb25hbGVzIHF1ZSBkZXNlZW4gZXZhbHVhciBhbWJpZW50ZQ==%20%20%20%20&price=MjEwMDAwMA==%20%20%20%20&pricePaid=MjEwMDAwMA=='; | |
const current_url = new URL(link); | |
// get access to URLSearchParams object |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
¡Hola Anto! | |
---- | |
Después de revisar tu cuenta, he encontrado varios puntos que podemos mejorar para generar más clics y conversiones. | |
----- | |
Efectivamente no se está midiendo ninguna acción debido a que los *eventos de conversión* no están configurados en tu página (y tampoco se han seleccionado apropiadamente para tu campaña). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//window.location.href = 'http://campanas.salfa.cl/chevrolet/new-onix/'; | |
//window.location.href = 'http://campanas.salfa.cl/chevrolet/camaro/'; | |
$(function() { | |
var name = 'Miguel Olave'; | |
var rut= '14535990-2'; | |
var email= 'miguel@turbomarket.cl'; | |
var cod_area = '09'; | |
var phone = '93443055'; | |
var region = '13'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Obsidian Plugin Sorter by Downloads: | |
// This script will sort the plugins by downloads amount and print them in the console. | |
// The script should be able to run in the browser console. | |
// The Obsidian Plugin List Sorter by Downloads Amount script will sort the plugins by downloads amount in your browser html view and print them in the console. | |
// The obsidian Plugins URL: https://obsidian.md/plugins | |
// Solution: | |
// 1. Get all the plugins divs |
NewerOlder