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
drop table if exists bbcl_dwh; | |
/*==============================================================*/ | |
/* table: bbcl_dwh */ | |
/*==============================================================*/ | |
create table bbcl_dwh | |
( | |
id int not null auto_increment, | |
post_author_id int, | |
post_date datetime, |
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
-- phpMyAdmin SQL Dump | |
-- version 3.5.1 | |
-- http://www.phpmyadmin.net | |
-- | |
-- Servidor: localhost | |
-- Tiempo de generación: 13-03-2013 a las 01:22:41 | |
-- Versión del servidor: 5.5.24-log | |
-- Versión de PHP: 5.3.13 | |
SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO"; |
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
-- ############################## | |
-- @Autor: Esteban Fuentealba | |
-- @Email: efuentealba@json.cl | |
-- ############################## | |
DROP FUNCTION IF EXISTS validate_rut; | |
delimiter // | |
CREATE FUNCTION validate_rut (RUT VARCHAR(12)) | |
RETURNS INT | |
BEGIN | |
DECLARE strlen INT; |
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
jQuery.ajax({ | |
url:"http://servel.biobiochile.cl/api/2013/presidente/PRE.json?callback=?&r="+Math.random(), | |
dataType:"json", | |
jsonpCallback:"PRE_BBCLServelRefresh", | |
success:function(json){ | |
if(json.continue) { | |
/* acá codigo */ | |
timerServel = setTimeout(fnServelUpdate, optionsServel.timer); | |
} 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
amarillo <-> 1 | |
cafe <-> 3 | |
verde <-> 5 | |
azul <-> 2 | |
naranjo <-> 4 | |
rojo <-> 6 |
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
// Link Cable Arduino Desc | |
// 6 GND GND | |
// 5 2 SC | |
// 2 3 SI | |
// 3 4 SO | |
#define delayMs 20 | |
unsigned char DATA_BLOCK[415] = {0x87,0x80,0x82,0x8A,0x84,0x91,0x50,0x00,0x00,0x00,0x00,0x1,0x4A,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0x4A,0x1,0x2c,0x4a,0x00,0x14,0x08,0x1F,0x7E,0x38,0x09,0x19,0x4,0xd2,0x3,0xd,0x40,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xc0,0xc0,0xc0,0xc0,0x4a,0x1,0x2c,0x0,0x96,0x0,0x97,0x0,0x98,0x0,0x99,0x4A,0x1,0x2c,0x4a,0x00,0x14,0x08,0x1F,0x7E,0x38,0x09,0x19,0x4,0xd2,0x3,0xd,0x40,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xc0,0xc0,0xc0,0xc0,0x4a,0x1,0x2c,0x0,0x96,0x0,0x97,0x0,0x98,0x0,0x99,0x4A,0x1,0x2c,0x4a,0x00,0x14,0x08,0x1F,0x7E,0x38,0x09,0x19,0x4,0xd2,0x3,0xd,0x40,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xc0,0xc0,0xc0,0xc0,0x4a,0x1,0x2c,0x0,0x96,0x0,0x97,0x0,0x98,0x0,0x99,0x4A,0x1,0x2c,0x4a,0x00,0x14,0x08,0x1F,0x7E,0x38,0x09,0x19,0x4,0xd2,0x |
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
SELECT SUBSTRING_INDEX(email,'@',-1) , count(*) as 'total' | |
FROM votantes | |
GROUP BY SUBSTRING_INDEX(email,'@',-1) | |
ORDER BY total DESC | |
SELECT count(*) as 'total', ip | |
FROM votantes |
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
<style>.bbcl_external_iframe_wrapper{display:block;margin:0 auto;overflow:hidden}.bbcl_external_iframe_container{margin-left:0;overflow:hidden;position:relative}.bbcl_external_iframe_container iframe{overflow:hidden}</style> <div class='bbcl_external_iframe_block' style='width: 619px; height: 1102px;'> <div class='bbcl_external_iframe_container' style='width: 619px;height: 1102px;'> <iframe class='bbcl_external_iframe_container' scrolling='no' frameborder='0' width='960' height='2155' src='http://www.topuniversities.com/university-rankings/world-university-rankings/2014#sorting=rank+region=349+country=355+faculty=+stars=false+search=' style='margin-top: -508px;margin-left: -0px;'></iframe> </div> </div> |
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
"D:\RESPALDOS\JUEGOS\mohaa 1.11\MOHAA.exe" +set cl_playintro 0 +connect 190.153.188.176:12237 |
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
-- | |
-- Disparador para borrar shtml | |
-- | |
DROP TRIGGER IF EXISTS `beforeUpdatePostshtml`; | |
DELIMITER // | |
CREATE TRIGGER beforeUpdatePostshtml BEFORE UPDATE ON wp_posts FOR EACH ROW BEGIN | |
IF OLD.post_name != NEW.post_name | |
AND OLD.post_name != '' | |
AND NEW.post_type = 'post' | |
AND NEW.post_status = 'publish' |
OlderNewer