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
/* 2 dimension arrays */ | |
var skillMatrix=null; | |
var matrix=null; | |
//var stars=null; | |
/* Single arrays */ | |
var rCov=[]; | |
var cCov=[]; | |
var rows=0; | |
var cols=0; | |
var dim=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
<?php | |
header("Content-type: text/csv"); | |
header('Content-disposition: attachment;filename="matrix.csv"'); | |
$matrix = array( ); | |
$titles = array(); | |
$allPositions = array("14.597518,-90.514900", | |
"14.599453,-90.515419", | |
"14.597998,-90.512912", |
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
jQuery(document).ready(function() { | |
if(window.location.hash) { | |
console.log("Pasa el hash " + window.location.hash); | |
jQuery(window).load(function() { | |
if ( window.location.hash.length > 0) { | |
console.log("Pasa el hash length " + window.location.hash.length); | |
var adIdFrame = window.location.hash; | |
console.log("id: " + adIdFrame); | |
console.log(jQuery("" + adIdFrame)); | |
var videoIframe = jQuery("" + adIdFrame).closest(".centerAd").siblings(".videoPlayer:first"); |
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 | |
// Se incluye la clase | |
include_once("spotify.class.php"); | |
// Se rescatan los datos de una uri de spotify | |
$data = spotify::get('spotify:artist:1yxSLGMDHlW21z4YXirZDS'); | |
echo json_encode($data, JSON_UNESCAPED_SLASHES); | |
//var_dump($data); | |
?> | |
<?php |
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
#include < Servo.h > | |
Servo servoLeft; // Define left servo | |
Servo servoRight; // Define right servo | |
int vG = 96; | |
int vL = 85; | |
int left = A3; | |
int right = A0; | |
int midLeft = A2; | |
int midRight = A1; |
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
create database lab11; | |
use lab11; | |
create table marinero ( | |
sid int, | |
name varchar(50) not null, | |
rating int not null, | |
age numeric(4,2), | |
primary key(sid) | |
); |
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
CREATE DATABASE IF NOT EXISTS lab10; | |
USE lab10; | |
create table if not EXISTS suppliers ( | |
sid int, | |
sname varchar(100), | |
address varchar(200), | |
primary key(sid) | |
); | |
create table if not EXISTS parts ( |
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
CREATE DATABASE if not exists lab9; | |
USE lab9; | |
create table if not exists estudiante ( | |
carne SMALLINT NOT NULL, | |
nombre varchar(100), | |
especialidad varchar(100), | |
ciclo varchar(10), | |
edad TINYINT, | |
primary key (carne) |
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
#include "pitches.h" | |
/* PINES DE ENTRADA | |
* [2-6] pines de entrada (push-button), 2 = start | |
* [23] potenciometro (Velocidad). | |
* [24-27] pines de salidas para LEDs | |
* Pin 40 Salida Analoga para bocina | |
*/ | |
const int potentiometerPin = 23; |
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
package compiler.ast; | |
import java.io.*; | |
import compiler.parser.*; | |
import compiler.lib.*; | |
import org.antlr.v4.runtime.tree.*; | |
public class Ast{ | |