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
#ifndef CRONO_HPP | |
#define CRONO_HPP | |
#include <time.h> | |
class Crono | |
{ | |
public: | |
/* |
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 | |
require_once("panacea_api.php"); | |
define('PANACEA_USER','TU USUARIO DE PANACEA'); | |
define('PANACEA_API_KEY','UNA DE TUS API KEY'); | |
// SMS_SENDER_NAME es el nombre con que le llega al destinatario el SMS | |
// Tened cuidado de no pasaros con el nombre. | |
// Si os pasais el SMS se envia pero no llega. | |
// Simplemente no os paseis de los 8 caracteres. | |
define('SMS_SENDER_NAME','PRUEBA'); |
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
//package com.jrp.googleapi; | |
import java.io.IOException; | |
import java.util.ArrayList; | |
import java.util.Arrays; | |
import java.util.List; | |
import java.util.Scanner; | |
import com.google.api.client.googleapis.auth.oauth2.GoogleAuthorizationCodeFlow; | |
import com.google.api.client.googleapis.auth.oauth2.GoogleCredential; | |
import com.google.api.client.googleapis.auth.oauth2.GoogleTokenResponse; |
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
import java.awt.Rectangle; | |
import java.awt.Robot; | |
import java.awt.Toolkit; | |
import java.awt.image.BufferedImage; | |
import java.io.File; | |
import javax.imageio.ImageIO; | |
/** | |
Este programa hace un determinado numero de capturas de pantalla, las guarda | |
como ficheros jpg y termina. |
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
import java.io.IOException; | |
import twitter4j.DirectMessage; | |
import twitter4j.TwitterException; | |
import twitter4j.TwitterStream; | |
import twitter4j.TwitterStreamFactory; | |
import twitter4j.UserStreamAdapter; | |
import twitter4j.conf.ConfigurationBuilder; | |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 | |
// Configuracion de la conexion a la base de datos | |
// Normalmente se pone en otro fichero para hacer | |
// include o require posteriormente | |
define('NAME',"sqltest"); | |
define('SERVER',"127.0.0.1"); | |
define('USER',"root"); | |
define('PWD',""); | |
?> |
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
-- | |
-- Base de datossqltest | |
-- | |
CREATE DATABASE `sqltest` ; | |
use `sqltest`; | |
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
Expected Result: | |
---------------- | |
One | |
Two | |
Three | |
Four | |
Six |
OlderNewer