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
add_filter('woocommerce_product_add_to_cart_text', 'cambiar_boton_si_edicion', 10, 2); | |
function cambiar_boton_si_edicion($text, $product) { | |
if (isset($_GET['edit_personalization']) && isset($_GET['cart_item_key'])) { | |
return __('Actualizar Personalización', 'woocommerce'); | |
} | |
return $text; | |
} |
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
{ | |
"id": 12328, | |
"status": "active", | |
"order_id": 12327, | |
"customer_id": 824, | |
"currency": "EUR", | |
"version": "2.20.0", | |
"date_created": "2023-09-05T00:55:25", | |
"date_created_gmt": "2023-09-04T22:55:25", | |
"date_modified": "2023-09-05T03:03:08", |
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
export class CreateMedicinePlanDto { | |
@ApiProperty() | |
medicineId: string; //id de la medicina que seleccionad | |
@ApiProperty() | |
tomas: InTakeDto[]; // configuracion dosis / horario -> explicado en el siguiente ovbjeto | |
@ApiProperty() | |
frequencyType: FrequencyType; // CONSTATE QUE NOS DEFINE COMO FUCNIONA LA FRECUENCIA. | |
@ApiProperty() | |
frequency: number[]; // dias de la semana en caso de que sea todos los dias o dias seelcionados. | |
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
add_action( 'user_register', 'affiliatewp_custom_track_registration', 10, 1 ); | |
function affiliatewp_custom_track_registration( $user_id ) { | |
// Comprueba si existe la cookie de afiliado | |
if (isset($_COOKIE['affwp_ref'])) { | |
$affiliate_id = $_COOKIE['affwp_ref']; | |
// Obtiene el correo electrónico del usuario | |
$user = get_userdata($user_id); | |
$user_email = $user->user_email; |
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
{ | |
"name": "Mike", | |
"lastName":"NIGHT", | |
"email":"[email protected]", | |
"phone":"+34630803461", | |
"tsi":"numerotsi", | |
"dni":"numerodni", | |
"address":{ | |
"province":"Barcelona", | |
"city":"Sabadell", |
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
cc.Class({ | |
extends: cc.Component, | |
properties: { | |
video:{ | |
default: null, | |
type: cc.VideoPlayer | |
} | |
}, |
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
{ | |
"numberOfLinks":8, | |
"demo":false, | |
"activeLinks":[ | |
{ | |
"linkCode":"L4X1", | |
"decimalNumbers":4, | |
"showCurrency":false, | |
"currencyCode":0, | |
"language":1, |
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
/** | |
*Submitted for verification at Etherscan.io on 2019-05-31 | |
*/ | |
/** | |
* Copyright 2017-2019, bZeroX, LLC. All Rights Reserved. | |
* Licensed under the Apache License, Version 2.0. | |
*/ | |
pragma solidity 0.5.8; |
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
import ConfigParser | |
import sys | |
from datetime import datetime | |
import MySQLdb | |
import ccxt | |
exchanges = ['binance', 'bitfinex', 'bittrex', 'hitbtc', 'poloniex'] | |
exchanges_id = { | |
'binance': 5, |
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
{ | |
"id": "urn:uuid:bbba8553-8ec1-445f-82c9-a57251dd731c", | |
"issuedOn": "2019-06-26T14:58:57.461422+00:00", | |
"badge": { | |
"id": "urn:uuid:82a4c9f2-3588-457b-80ea-da695571b8fc", | |
"name": "Posgrado en Marketing Digital", | |
"image": "data:image/png;base64,...", | |
"description": "Lorem ipsum dolor sit amet, mei docendi concludaturque ad, cu nec partem graece. Est aperiam consetetur cu, expetenda moderatius neglegentur ei nam, suas dolor laudem eam an.", | |
"criteria": { | |
"narrative": "Nibh iriure ei nam, modo ridens neglegentur mel eu. At his cibo mucius." |
NewerOlder