Skip to content

Instantly share code, notes, and snippets.

View devloe's full-sized avatar

Juan Pablo Lozano devloe

View GitHub Profile
05-07 23:06:27.920 1239-1239/com.devyanlab.qomento E/OpenGLRenderer﹕ Getting MAX_TEXTURE_SIZE from GradienCache
05-07 23:06:27.924 1239-1239/com.devyanlab.qomento E/OpenGLRenderer﹕ Getting MAX_TEXTURE_SIZE from Caches::initConstraints()
05-07 23:06:38.944 1239-1239/com.devyanlab.qomento E/AndroidRuntime﹕ FATAL EXCEPTION: main
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.devyanlab.qomento/com.devyanlab.qomento.SignupActivity}: android.view.InflateException: Binary XML file line #61: Error inflating class de.hdodenhof.circleimageview.CircleImageView
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2211)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2261)
at android.app.ActivityThread.access$600(ActivityThread.java:141)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1256)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.
@devloe
devloe / BLdqH.markdown
Created August 22, 2014 16:38
Natural form killer.
// Sluggify inputs with name attribute beggining
// with "title". The result is apply to inputs with
// attribute name beggning with "slug"
$(".form-extended").each(function()
{
var self = this;
var slug = $("[name^=slug]", self);
$("[name^=title]", self).on("keydown blur", function(){
[
{
name: "Hotel Dante",
stars: 4,
url: "http://www.hoteldante.com",
url_book: "http://www.hoteldante.com/reserva.php", // url de la página de reserva que se ve en el iframe
created: "2009-10-06",
photos: ["http://www.dominio.com/foto1.jpg", "http://www.dominio.com/foto2.jpg", "http://www.dominio.com/foto3.jpg"],
address: "Av. Street 19",
location: [0.94352343543, 0.452352345234],
@devloe
devloe / index.php
Created September 22, 2012 22:34 — forked from anonymous/index.php
<div id="main">
<?php foreach($programacion->dias as $i => $nombre){ ?>
<div class="todos">
<?=$nombre?>
<table class="listado">
<?php
$listado = $programacion->listar($i);
while($row = mysql_fetch_assoc($listado)){
?>
@devloe
devloe / index.php
Created September 22, 2012 22:58 — forked from anonymous/index.php
<div id="main">
<?php foreach($programacion->dias as $i => $nombre){ ?>
<?=$nombre?>
<table class="listado">
<tr>
<th>Nombre</th>
<th>Horario</th>
<th>Integrantes</th>
<th>Dia</th>
[
{
"title": "Cada día sabemos más y entendemos menos.",
"author": "Albert Einstein"
}, {
"title": "Hemos averiguado que vivimos en un insignificante planeta de una triste estrella perdida en una galaxia metida en una esquina olvidada de un universo en el que hay muchas más galaxias que personas.",
"author": "Carl Sagan"
}, {
"title": "Si estamos solos en el Universo, seguro sería una terrible pérdida de espacio.",
"author": "Albert Einstein"
@devloe
devloe / hola
Created March 27, 2013 16:22 — forked from anonymous/hola
<table cellspacing="0" class="table" style="margin-left:5px;">
<tr>
<th>Adjuntos</th>
<th></th>
</tr>
<tr>
<td>
<br />
<?
$SQL_query_init = mysql_query('select `archivo_nombre`,`id` from ' . TBL_FILE . ' where `cliente` like "%#'.$idclient.'#%"');
<div class="wrapper">
<ul class="banners_home">
<?
$banner_query = mysql_query('select id,`title_'.$lc.'`,`content_'.$lc.'`,`image_'.$lc.'`,`link_'.$lc.'`,`type` from ' . TBL_BANNERS .' where `situation`=2 and `status`=1 order by `order` ASC');
while($banner = mysql_fetch_array($banner_query)){
if($banner['link_'.$lc] != '') { ?>
<? if($banner['type'] == 1) { $target = 'target="_blank"'; } else { $target = 'target="_self"'; } ?>
<li>
<a href="<?=$banner['link_'.$lc]?>">
<? } ?>
<?
$SQL_query_init = mysql_query('select * from ' . TBL_IMGEMPREN . ' where `id_em` = "'.$idparent.'" and `area` = "mini_estado" and `estado` = "general" ');
while($campi = mysql_fetch_array($SQL_query_init)) { ?>
<a href="../data/emprendimientos/<?=$campi['area']?>/<?=$campi['archivo_nombre']?>" class="fancybox">
<img src="../data/emprendimientos/<?=$campi['area']?>/<?=$campi['archivo_nombre']?>">
</a>
<? } ?>