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 | |
| if($mail->Send()){ | |
| echo '<p>Se ha enviado correctamente el email a '.$_POST['email'].'!</p>'; | |
| }else{ | |
| echo "Mailer Error: " . $mail->ErrorInfo; | |
| } | |
| ?> |
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 | |
| echo "Al fin PHP y APACHE"; | |
| ?> |
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
| // With Alamofire | |
| func fetchAllRooms(completion: ([RemoteRoom]?) -> Void) { | |
| Alamofire.request( | |
| .GET, | |
| "http://localhost:5984/rooms/_all_docs", | |
| parameters: ["include_docs": "true"], | |
| encoding: .URL) | |
| .validate() | |
| .responseJSON { (response) -> Void in | |
| guard response.result.isSuccess else { |
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
| { | |
| "pk": 4, | |
| "title": "Test Image 3", | |
| "original_image": "http://45.55.231.112/media_facedetector/uploads/originals/house_md_actor_dr_gregory_house_face_hugh_laurie_2019_3840x2400.jpg", | |
| "processed_image": "http://45.55.231.112/media_facedetector/uploads/processed/house_md_actor_dr_gregory_house_face_hugh_laurie_2019_3840x2400.jpg-processed.png", | |
| "created_date": "2016-07-11T16:17:21.887602Z", | |
| "modified_date": "2016-07-11T16:17:23.572487Z", | |
| "eye_coordinates": [ | |
| 5, | |
| 6 |
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
| -- | |
| -- PostgreSQL database dump | |
| -- | |
| SET statement_timeout = 0; | |
| SET lock_timeout = 0; | |
| SET client_encoding = 'UTF8'; | |
| SET standard_conforming_strings = on; | |
| SET check_function_bodies = false; | |
| SET client_min_messages = warning; |
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
| // | |
| // UIColor+HexString.h | |
| // Class to convert hex string to UIColor | |
| // Support #RGB # ARGB #RRGGBB #AARRGGBB | |
| // Usage: [UIColor colorWithHexString:@"#f5e6a1"]; | |
| // Created by Zhu Yuzhou on 1/20/13. | |
| // | |
| #import <UIKit/UIKit.h> |
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
| var gulp = require('gulp'), | |
| sass = require('gulp-sass'), | |
| browserify = require('gulp-browserify'), | |
| concat = require('gulp-concat'), | |
| embedlr = require('gulp-embedlr'), | |
| refresh = require('gulp-livereload'), | |
| lrserver = require('tiny-lr')(), | |
| express = require('express'), | |
| livereload = require('connect-livereload') | |
| livereloadport = 35729, |
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
| // Función cuando carga la página - OPCIONAL | |
| $(function(){ | |
| // Animacion ------------------------------------------------- | |
| // Para todos los enlaces - Modificar el selector css que necesite | |
| $('a[href*=#]').click(function() { | |
| // Validar los "/" | |
| if (location.pathname.replace(/^\//,'') == this.pathname.replace(/^\//,'') | |
| && location.hostname == this.hostname) { |
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
| UPDATE geo_reporte_servicios SET COD_ENTIDAD = 'ENT001',COD_LINEA = 'LIN001',COD_SERV = 'SER002',COD_CA = 'CAI001',NUM_BEN_EJEC1 = '',NUM_BEN_EJEC1_H = 111,NUM_BEN_EJEC1_M = '',NUM_BEN_EJEC2 = '',NUM_BEN_EJEC2_H = '',NUM_BEN_EJEC2_M = '',NUM_BEN_EJEC3 = '',NUM_BEN_EJEC4 = '',NUM_BEN_EJEC5 = '',NUM_BEN_EJEC6 = '',NUM_BEN_EJEC6_H = '',NUM_BEN_EJEC6_M = '',NUM_GRUP_EDAD0 = '',NUM_GRUP_EDAD0_H = '',NUM_GRUP_EDAD0_M = '',NUM_GRUP_EDAD1 = '',NUM_GRUP_EDAD1_H = '',NUM_GRUP_EDAD1_M = '',NUM_GRUP_EDAD2 = '',NUM_GRUP_EDAD2_H = '',NUM_GRUP_EDAD2_M = '',NUM_GRUP_EDAD3 = '',NUM_GRUP_EDAD3_H = '',NUM_GRUP_EDAD3_M = '',NUM_GRUP_EDAD4 = '',NUM_GRUP_EDAD4_H = 2,NUM_GRUP_EDAD4_M = '',NUM_GRUP_EDAD5 = '',NUM_GRUP_EDAD5_H = 20,NUM_GRUP_EDAD5_M = '',NUM_GRUP_EDAD6 = '',NUM_GRUP_EDAD6_H = 42,NUM_GRUP_EDAD6_M = '',NUM_GRUP_EDAD7 = '',NUM_GRUP_EDAD7_H = 34,NUM_GRUP_EDAD7_M = '',NUM_GRUP_EDAD8 = '',NUM_GRUP_EDAD8_H = 13,NUM_GRUP_EDAD8_M = '',NUM_INDICADOR1 = 3071,NUM_INDICADOR2 = '',NUM_INDICADOR3 = '',NUM_INDICADOR4 = '',NUM_INDICAD |
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 pe.gob.mimp.gis.dao.impl; | |
| import java.text.DateFormat; | |
| import java.text.ParseException; | |
| import java.text.SimpleDateFormat; | |
| import java.util.ArrayList; | |
| import java.util.Date; | |
| import pe.gob.mimp.gis.dao.ExcelReaderDao; | |
| import pe.gob.mimp.gis.entity.ExcelReader; | |
| import java.util.HashMap; |