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
### Keybase proof | |
I hereby claim: | |
* I am nicastelo on github. | |
* I am nicastelo (https://keybase.io/nicastelo) on keybase. | |
* I have a public key ASDBlm5zbB3N6TnO9GSJzqDUQaPSOPywoRfiJj3v1BHRXQo | |
To claim this, I am signing this 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
<?php | |
$fuente1 = get_post_meta($post->ID, 'fuente1',true); | |
$fuente2 = get_post_meta($post->ID, 'fuente2',true); | |
$fuente3 = get_post_meta($post->ID, 'fuente3',true); | |
$fuente4 = get_post_meta($post->ID, 'fuente4',true); | |
function url_embed($u){ | |
$path = parse_url($u, PHP_URL_PATH); | |
if(strpos($path, '/embed-') !== false){ | |
if(strpos($path, '-960x450') !== false){ | |
return str_replace("-960x450", "", $u); |
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
function hola(pene){ | |
var formURL = "/comprobar.php"; | |
$j.ajax({ | |
url : formURL+"?url=http://horadeaventura.enlatino.net/episodio/355", | |
contentType: "application/json; charset=utf-8", | |
datatype: 'json', | |
success:function(data){ | |
if(data.msg == "success"){ | |
var url1 = data.url1; | |
var url2 = data.url2; |
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 | |
//Le indico que va a mostrar un json | |
header("Content-Type: text/json; charset=iso-8859-1"); | |
//quito los errores por las etiquetas html5 | |
libxml_use_internal_errors(true); | |
//Guardo la url pasada por get | |
$url = $_GET["url"]; | |
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
<script src="http://cdnjs.cloudflare.com/ajax/libs/mobile-detect/0.4.3/mobile-detect.min.js"></script> | |
<script> | |
var md = new MobileDetect(window.navigator.userAgent); | |
if (md.mobile()) { | |
setTimeout(function(){ location.href = "http://m.tusitio.com"; }, 5000); | |
} | |
</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
var iSelected = jQuery('.idiom-s'); | |
//Cuando el usuario hace click en algún idioma | |
iSelected.click(function(){ | |
//Declaramos y/o definimos variables | |
var changed; | |
var fPlayer = document.getElementById('player-embed'); | |
var vFrame = document.getElementsByTagName('iframe')[0]; | |
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
$j=jQuery.noConflict(); | |
function comprobame(){ | |
var formURL = "comprobar.php"; | |
var filmUrl = $j("input[name='ajaxform']").val(); | |
$j.ajax({ | |
url : formURL+"?url="+filmUrl, | |
datatype: 'json', | |
success:function(data){ |
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 | |
//Le indico que va a mostrar un json | |
header('Content-Type: application/json'); | |
//quito los errores por las etiquetas html5 | |
libxml_use_internal_errors(true); | |
//Guardo la url pasada por get | |
$url = $_GET["url"]; |
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
/** | |
Title: Taringa! Notification Browser N07 UI Design 1.0 | |
Author: ElNicko077 | |
**/ | |
.notification-board > .notification { | |
background: #004160; | |
color: #ffffff; | |
border-radius: 0px; | |
font-size: 9pt; |