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
<span id="current-year"></span> | |
<script type="text/javascript"> | |
$(function(){ | |
var date_object = new Date(); | |
var year = date_object.getYear(); | |
if(year < 2000) { year = year + 1900; } | |
$('#current-year').html(year); | |
}); | |
</script> |
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
<!doctype html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> <!-- allows zoom --> | |
<!-- or --> | |
<meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0"> <!-- blocks zoom --> | |
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags --> | |
<title></title> |
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
<?php | |
// Show all information | |
phpinfo(); | |
?> |
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
<?php | |
// Script que cambia de forma recursiva los permisos de directorios y ficheros del directorio desde donde se ejecuta | |
$file_mod = "666"; | |
$dir_mod = "777"; | |
function chmodr($path, $filemode, $dirmode){ | |
$thisfile = $_SERVER['DOCUMENT_ROOT'].$_SERVER['PHP_SELF']; | |
if (!is_dir($path)){ | |
exec("chmod ".$filemode." ".$path); | |
} else { |
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
<figure> | |
<img src="" alt=""> | |
<figcaption>Pie de foto</figcaption> | |
</figure> |
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
<time datetime=”20:00”>8pm</time> |
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
<a rel="value"> |
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
<!-- simple audio use --> | |
<audio src="audio-file.ogg" controls> | |
</audio> | |
<!-- simple video use with multiple sources--> | |
<video controls> | |
<source src="video-file.mp4" type="video/mp4"/> | |
<source src="video-file.ogv" type="video/ogg"/> | |
<object width="640" height="360" type="application/x-shockwave-flash" data="__FLASH__.SWF"> | |
<param name="movie" value="__FLASH__.SWF" /> |
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
IE 10 and up DO NOT support conditional comments at all. | |
TARGET IE10+: | |
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) { | |
/* IE10+ specific styles go here */ | |
} | |