This file contains hidden or 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
<meta property="og:url" content="http://www.nytimes.com/2015/02/19/arts/international/when-great-minds-dont-think-alike.html" /> | |
<meta property="og:type" content="article" /> | |
<meta property="og:title" content="When Great Minds Don’t Think Alike" /> | |
<meta property="og:description" content="How much does culture influence creative thinking?" /> | |
<meta property="og:image" content="http://static01.nyt.com/images/2015/02/19/arts/international/19iht-btnumbers19A/19iht-btnumbers19A-facebookJumbo-v2.jpg" /> |
This file contains hidden or 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
wp-config.php | |
wp-admin | |
wp-includes | |
wp-content/plugins/* | |
wp-content/uploads/* | |
wp-content/themes/* | |
!wp-content/themes/proyecto | |
wp-content/themes/proyecto/bower_components | |
wp-content/themes/proyecto/.sass-cache |
This file contains hidden or 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
// disable for posts | |
add_filter('use_block_editor_for_post', '__return_false', 10); | |
// disable for post types | |
add_filter('use_block_editor_for_page', '__return_false', 10); |
This file contains hidden or 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
// disable for posts | |
add_filter('use_block_editor_for_post', '__return_false', 10); | |
// disable for post types | |
add_filter('use_block_editor_for_page', '__return_false', 10); |
This file contains hidden or 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset='UTF-8' /> | |
<title>Lista de Esados de la República Mexicana</title> | |
</head> | |
<body> | |
<h1>Lista de Estados de la República Mexicana</h1> | |
<label>Estado de la República</label> | |
<select name="estado"> |
This file contains hidden or 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
<?php | |
include_once('conn.php' ); | |
require_once(__DIR__.'/ForceUTF8/Encoding.php'); | |
use ForceUTF8\Encoding; | |
$resultado = new stdClass(); | |
$sql = 'DESCRIBE tabla'; | |
$query = $pdo->prepare($sql); |
This file contains hidden or 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
/* Cambia el lenguaje del datepicker a español */ | |
jQuery.datepicker.regional['es'] = { | |
closeText: 'Cerrar', | |
prevText: '<Ant', | |
nextText: 'Sig>', | |
currentText: 'Hoy', | |
monthNames: ['Enero', 'Febrero', 'Marzo', 'Abril', 'Mayo', 'Junio', 'Julio', 'Agosto', 'Septiembre', 'Octubre', 'Noviembre', 'Diciembre'], | |
monthNamesShort: ['Ene','Feb','Mar','Abr', 'May','Jun','Jul','Ago','Sep', 'Oct','Nov','Dic'], | |
dayNames: ['Domingo', 'Lunes', 'Martes', 'Miércoles', 'Jueves', 'Viernes', 'Sábado'], | |
dayNamesShort: ['Dom','Lun','Mar','Mié','Juv','Vie','Sáb'], |
This file contains hidden or 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
if( !empty($_FILES['nombre']) ){ | |
// SUBE EL ARCHIVO | |
$fecha = date('d-m-y'); | |
$extensiones_permitidas = array("jpg", "jpeg", "png", "JPG", "JPEG", "PNG"); | |
$extension = end(explode(".", $_FILES['nombre']["name"])); | |
if ((($_FILES['nombre']["type"] == "image/png") || ($_FILES['nombre']["type"] == "image/jpeg") || ($_FILES['nombre']["type"] == "image/jpg") || ($_FILES['nombre']["type"] == "image/PNG")) && in_array($extension, $extensiones_permitidas)) | |
{ | |
if ($_FILES['nombre']["error"] > 0) |
This file contains hidden or 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
<form name="form" id="form_id" action="action.php" method="post" enctype="multipart/form-data"> |
This file contains hidden or 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
$clase = @$cnt1++%2==0 ? "normal" : "alterna"; |
NewerOlder