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 |
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 | |
// IP del telefono Android | |
$ip="192.168.1.12"; | |
$puerto="9090"; | |
// Numero de telefono al que se enviara el SMS | |
$telf="+34XXXXXXXXX"; | |
$password="secreto"; | |
$text="BOOOOOOOOOOOM"; | |
// http://192.168.1.12:9090/sendsms?phone=+34XXXXXXXXX&text=BOOOOOOOOOOOM&password=secreto |
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 'google-api/apiClient.php'; | |
require 'google-api/contrib/apiOauth2Service.php'; | |
require 'google-api/contrib/apiDriveService.php'; | |
$pdfFile = 'test.pdf'; | |
// API Console: https://code.google.com/apis/console/ | |
// Create an API project ("web applications") and put the client id and client secret in config.ini. |
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
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`; | |
OlderNewer