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
File aux = context.getFilesDir(); | |
String filename = "/myfile"; | |
String string = "Hello world!"; | |
FileOutputStream outputStream; | |
try { | |
File ins = new File(context.getFilesDir(), "INSTALLATION"); | |
FileOutputStream out = new FileOutputStream(ins); |
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
<div class="thumbnail" style="overflow: hidden"> | |
<div class="col-md-12"> | |
<h3>SEO: tus productos al "alcance de la mano"</h3> | |
</div> | |
<p class="col-md-8"> | |
Sabemos de la importacia que tiene que tus productos sean faciles de encontrar en internet: de poco sirve tener una tienda online, si tus productos no destacan en los resultados de los principales motores de busqueda (Google, Yahoo, Bing, etc).<br><br> | |
Para que así resulte, optimizamos tu tienda desde el punto de vista SEO, tanto para las busquedas orientadas a un producto en particular, por ejemplo "telefono samsung modelo s6 edge", como para las busquedas más generales, por ejemplo: "telefonos para personas mayores". Estaremos encantados de mostrarte algunos casos de exito. | |
</p> | |
<div class="col-md-4"> | |
<img src="" alt="tiendas online optimización seo resultados de busqueda primeras posiciones 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
<div class="thumbnail" style="overflow: hidden"> | |
<div class="col-md-12"> | |
<h3>SEO: tus productos al "alcance de la mano"</h3> | |
</div> | |
<p class="col-md-8"> | |
Sabemos de la importacia que tiene que tus productos sean faciles de encontrar en internet: de poco sirve tener una tienda online, si tus productos no destacan en los resultados de los principales motores de busqueda (Google, Yahoo, Bing, etc).<br><br> | |
Para que así resulte, optimizamos tu tienda desde el punto de vista SEO, tanto para las busquedas orientadas a un producto en particular, por ejemplo "telefono samsung modelo s6 edge", como para las busquedas más generales, por ejemplo: "telefonos para personas mayores". Estaremos encantados de mostrarte algunos casos de exito. | |
</p> | |
<div class="col-md-4"> | |
<img src="" alt="tiendas online optimización seo resultados de busqueda primeras posiciones 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
Symfony\Component\Debug\Exception\ContextErrorException: Notice: Undefined index: position | |
at n/a | |
in /home/tirengarfio/workspace/procom/vendor/gedmo/doctrine-extensions/lib/Gedmo/Sortable/Entity/Repository/SortableRepository.php line 96 | |
at Symfony\Component\Debug\ErrorHandler->handleError('8', 'Undefined index: position', '/home/tirengarfio/workspace/procom/vendor/gedmo/doctrine-extensions/lib/Gedmo/Sortable/Entity/Repository/SortableRepository.php', '96', array('alias' => 'e', 'indexBy' => null, 'qb' => object(QueryBuilder))) | |
in /home/tirengarfio/workspace/procom/vendor/gedmo/doctrine-extensions/lib/Gedmo/Sortable/Entity/Repository/SortableRepository.php line 96 | |
at Gedmo\Sortable\Entity\Repository\SortableRepository->createQueryBuilder('e') | |
in /home/tirengarfio/workspace/procom/vendor/symfony/symfony/src/Symfony/Bridge/Doctrine/Form/Type/DoctrineType.php line 71 |
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
#!/usr/bin/env php | |
<?php | |
// if you don't want to setup permissions the proper way, just uncomment the following PHP line | |
// read http://symfony.com/doc/current/book/installation.html#configuration-and-setup for more information | |
//umask(0000); | |
set_time_limit(0); | |
require_once __DIR__.'/bootstrap.php.cache'; |
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
#!/usr/bin/env php | |
<?php | |
// application.php | |
require __DIR__.'/vendor/autoload.php'; | |
use Project\Console\Command\GreetCommand; | |
use Symfony\Component\Console\Application; | |
$application = new Application(); |
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 | |
namespace Project\BackendBundle\EventListener; | |
//src/Project/BackendBundle/EventListener/ClippedImagesManager.php | |
use Doctrine\ORM\Event\LifecycleEventArgs; | |
use Doctrine\ORM\Event\PostFlushEventArgs; | |
use Project\BackendBundle\Entity\Subitem; | |
class ClippedImagesManager |
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
<a href="{{ path('product1') }}">product 1</a> | |
<a class="get-products" href="#">Get more products</a> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script> | |
<script type="text/javascript"> | |
window.onpopstate = function(event) { | |
alert("are you on back?"); | |
} |
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
//products list.html | |
<script src="https://code.jquery.com/jquery-2.1.3.min.js"></script> | |
<script type="text/javascript"> | |
$.ajax({ | |
type: 'GET', | |
url: '/app_dev.php/carro', | |
success: function (response) { | |
$('body').append(response); |
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
$.ajax({ | |
type: 'GET', | |
url: '{{ path('project_frontend_carro') }}', | |
success: function (response) { | |
$('aside').append(response); | |
}, | |
cache: false | |
}) |