View cod_lenguaje_pais.sql
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
/* | |
MySQL | |
Target Server Type : MYSQL | |
Target Server Version : 50022 | |
File Encoding : 65001 | |
Date: 2012-12-30 21:22:23 | |
*/ |
View AppController.php
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 | |
/** | |
* Application level Controller | |
*/ | |
App::uses('Controller', 'Controller'); | |
class AppController extends Controller { | |
public $helpers = array( |
View link distancia google maps
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
http://maps.googleapis.com/maps/api/distancematrix/json?origins=Argentina+caba+rivadavia+5000&destinations=Argentina+Caba+mataderos+homero+1300&language=es-AR&sensor=false |
View Resultado distancia
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
{ | |
"destination_addresses" : [ | |
"Homero 1300, Buenos Aires, Ciudad Autónoma de Buenos Aires, Argentina" | |
], | |
"origin_addresses" : [ | |
"Avenida Rivadavia 5000, Buenos Aires, Ciudad Autónoma de Buenos Aires, Argentina" | |
], | |
"rows" : [ | |
{ | |
"elements" : [ |
View Twig Template Add function base64_encode
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
// Datos view Template | |
$data=array( | |
//... | |
); | |
//Load lib | |
require_once'libs/Twig/Autoloader.php'; | |
Twig_Autoloader::register(); | |
//config path template |
View CustomPaginationForJOIN-in-CakePHP
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 | |
/** | |
* Application level Controller | |
*/ | |
App::uses('Controller', 'Controller'); | |
// Controller Ejemplo | |
class AppController extends Controller { | |
public function index(){ |
View Mejora-Codigo-HTML-con-el-buscaro-de-google
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
<html> | |
<head> | |
<title>Non-alcoholic Pina Colada</title> | |
<script type="application/ld+json"> | |
{ | |
"@context": "https://schema.org/", | |
"@type": "Recipe", | |
"name": "Non-alcoholic Pina Colada", | |
"image": [ | |
"https://example.com/photos/1x1/photo.jpg", |