<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0"><channel><atom:link rel="hub" href="http://tumblr.superfeedr.com/" xmlns:atom="http://www.w3.org/2005/Atom"/><description>Código, Comics, Cine y algo más.



  var _gaq = _gaq || [];
  _gaq.push([‘_setAccount’, ‘UA-8666105-1’]);
  _gaq.push([‘_setDomainName’, ‘asinox.net’]);
  _gaq.push([‘_trackPageview’]);

  (function() {
    var ga = document.createElement(‘script’); ga.type = ‘text/javascript’; ga.async = true;
    ga.src = (‘https:’ == document.location.protocol ? ‘https://’ : ‘http://’) + ‘stats.g.doubleclick.net/dc.js’;
    var s = document.getElementsByTagName(‘script’)[0]; s.parentNode.insertBefore(ga, s);
  })();</description><title>Asinox</title><generator>Tumblr (3.0; @asinox)</generator><link>http://asinox.net/</link><item><title>Reset Heroku database</title><description>&lt;p&gt;How to reset a Heroku Database (delete all tables)&lt;/p&gt;
&lt;pre class="lang-sql prettyprint prettyprinted"&gt;&lt;code&gt;&lt;span class="pln"&gt;heroku pg&lt;/span&gt;&lt;span class="pun"&gt;:&lt;/span&gt;&lt;span class="pln"&gt;reset &lt;/span&gt;&lt;span class="kwd"&gt;DATABASE&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;</description><link>http://asinox.net/post/49489304763</link><guid>http://asinox.net/post/49489304763</guid><pubDate>Thu, 02 May 2013 23:10:01 -0430</pubDate><category>heroku</category><category>database</category></item><item><title>#working #peanuts</title><description>&lt;img src="http://25.media.tumblr.com/740bc277439c8ded30557651bd1cba86/tumblr_mlpvcby0iV1qz4lk0o1_500.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;#working #peanuts&lt;/p&gt;</description><link>http://asinox.net/post/48700257689</link><guid>http://asinox.net/post/48700257689</guid><pubDate>Tue, 23 Apr 2013 12:03:47 -0430</pubDate><category>peanuts</category><category>working</category></item><item><title>Listening to Du hast by Rammstein</title><description>&lt;p&gt;– Preview it on &lt;a href="https://path.com/p/47glS4" target="_blank"&gt;Path&lt;/a&gt;.&lt;/p&gt;</description><link>http://asinox.net/post/47726211912</link><guid>http://asinox.net/post/47726211912</guid><pubDate>Thu, 11 Apr 2013 16:47:52 -0430</pubDate></item><item><title>Listening to My Own Summer (Shove It) by Deftones</title><description>&lt;p&gt;– Preview it on &lt;a href="https://path.com/p/2hcTbJ" target="_blank"&gt;Path&lt;/a&gt;.&lt;/p&gt;</description><link>http://asinox.net/post/47725426051</link><guid>http://asinox.net/post/47725426051</guid><pubDate>Thu, 11 Apr 2013 16:37:40 -0430</pubDate></item><item><title>Listening to Flor de Loto by Héroes del Silencio</title><description>&lt;p&gt;– Preview it on &lt;a href="https://path.com/p/3C6mqr" target="_blank"&gt;Path&lt;/a&gt;.&lt;/p&gt;</description><link>http://asinox.net/post/47715147520</link><guid>http://asinox.net/post/47715147520</guid><pubDate>Thu, 11 Apr 2013 14:11:58 -0430</pubDate></item><item><title>Listening to La Apariencia No Es Sincera by Héroes del Silencio</title><description>&lt;p&gt;– Preview it on &lt;a href="https://path.com/p/3zhpml" target="_blank"&gt;Path&lt;/a&gt;.&lt;/p&gt;</description><link>http://asinox.net/post/47713779743</link><guid>http://asinox.net/post/47713779743</guid><pubDate>Thu, 11 Apr 2013 13:48:37 -0430</pubDate></item><item><title>Listening to Lo Que Queda poor Vivir by Bunbury</title><description>&lt;p&gt;– Preview it on &lt;a href="https://path.com/p/34oh6s" target="_blank"&gt;Path&lt;/a&gt;.&lt;/p&gt;</description><link>http://asinox.net/post/47713428668</link><guid>http://asinox.net/post/47713428668</guid><pubDate>Thu, 11 Apr 2013 13:42:28 -0430</pubDate></item><item><title>Listening to Juicy by The Notorious B.I.G.</title><description>&lt;p&gt;– Preview it on &lt;a href="https://path.com/p/1mxaaI" target="_blank"&gt;Path&lt;/a&gt;.&lt;/p&gt;</description><link>http://asinox.net/post/47645060737</link><guid>http://asinox.net/post/47645060737</guid><pubDate>Wed, 10 Apr 2013 16:43:45 -0430</pubDate></item><item><title>Today…bad PHP (at Residencial Don Andres)</title><description>&lt;img src="http://25.media.tumblr.com/c7268cac9e29d5c3525026a7410f43d2/tumblr_mkwgxekJhW1qz4lk0o1_500.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;Today…bad PHP (at Residencial Don Andres)&lt;/p&gt;</description><link>http://asinox.net/post/47390018123</link><guid>http://asinox.net/post/47390018123</guid><pubDate>Sun, 07 Apr 2013 15:02:02 -0430</pubDate></item><item><title>Center elements with absolute position</title><description>&lt;p&gt;Just a css tip:&lt;/p&gt;
&lt;pre&gt;#element{&lt;br/&gt;width:960px;&lt;br/&gt;margin-left:-470px;&lt;br/&gt;left:50%;&lt;br/&gt;position:absolute;&lt;br/&gt;}&lt;/pre&gt;</description><link>http://asinox.net/post/47120528427</link><guid>http://asinox.net/post/47120528427</guid><pubDate>Thu, 04 Apr 2013 13:37:00 -0430</pubDate><category>css</category></item><item><title>IE y los enlaces con posición absoluta que no funcionan</title><description>&lt;p&gt;IE no deja de ser WTF!, y no, sencillamente hay cosas que no son dejadez de los desarrolladores cuando se trata de IE, es que simplemente IE tiene montones de problemas.&lt;/p&gt;
&lt;p&gt;En fin, estuve tratando de posicionar un enlace, sin &amp;#8220;texto&amp;#8221;, sobre una imagen, el cual apuntaba a mailto, y por su comportamiento natural, deberia tratar de abrir el cliente de email para enviar un correo.&lt;/p&gt;
&lt;p&gt;Esto no funciona en IE, si el enlace tiene un position:absolute, ya que, al no tener texto, para IE simplemente no hay un &amp;#8220;nada&amp;#8221; para interactuar con el mouse.&lt;/p&gt;
&lt;p&gt;Code para ilustrar:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;
&amp;lt;a href="mailto:email@domain.com"&amp;gt; &amp;lt;/a&amp;gt;
a{
position:absolute;
width:200px;
height:25px;
display:block;
}&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Esto no funciona en IE, sin que le agreguemos una imagen de background al enlace o un color usando RGB.&lt;/p&gt;
&lt;p&gt;Solucion:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;a{
position:absolute;
width:200px;
height:25px;
display:block;
background-image: url(images/img.png);
}&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Lo curioso es que funciona, cuando img.png no existe&amp;#8230; vainas de IE&lt;/p&gt;</description><link>http://asinox.net/post/45770537484</link><guid>http://asinox.net/post/45770537484</guid><pubDate>Tue, 19 Mar 2013 14:35:00 -0430</pubDate><category>IE</category><category>css</category><category>link</category><category>position</category><category>absolute</category><category>empty</category></item><item><title>Codeigniter, Unable to connect to MySQL</title><description>&lt;pre&gt;Unable to connect to your database server using the provided settings.&lt;br/&gt;Filename: core/Loader.php&lt;br/&gt;Line Number: 346&lt;/pre&gt;
&lt;p&gt;Hay momentos donde simplemente, a primera vista es irracional lo que esta sucediendo, tambien influye un poco la plataforma que se este usando, en mi caso OS Mountain Lion, todo esta como deberia ser, pero simplemente Codeigniter no queria conectar.&lt;/p&gt;
&lt;p&gt;Phpinfo() me dice que mysql esta instalada, que el socket esta donde deberia, entonces, nada diria, es posible hacer, pero en mi caso, la solucion fue la siguiente:&lt;/p&gt;
&lt;h2&gt;Configuracion original de CI para conectar a la base de datos:&lt;/h2&gt;
&lt;pre&gt;$db['default']['hostname'] = 'localhost';&lt;/pre&gt;
&lt;p&gt;No voy a poner todos los parametros, no son necesarios para ilustrar el problema.&lt;/p&gt;
&lt;h2&gt;Solucion:&lt;/h2&gt;
&lt;pre&gt;$db['default']['hostname'] = '127.0.0.1';&lt;/pre&gt;
&lt;p&gt;En mi caso, espero que el tuyo sea igual de facil.&lt;/p&gt;</description><link>http://asinox.net/post/45055743175</link><guid>http://asinox.net/post/45055743175</guid><pubDate>Sun, 10 Mar 2013 16:58:00 -0430</pubDate><category>codeigniter</category><category>mysql</category><category>unable to connect</category><category>localhost</category></item><item><title>Codeigniter .htaccess</title><description>&lt;p&gt;No hay mucho que decir para eliminar el index.php de tus urls&lt;/p&gt;
&lt;pre&gt;DirectoryIndex index.php
RewriteEngine on
RewriteCond $1 !^(index\.php|images|css|js|robots\.txt|favicon\.ico)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ ./index.php/$1 [L,QSA]&lt;/pre&gt;</description><link>http://asinox.net/post/45036898329</link><guid>http://asinox.net/post/45036898329</guid><pubDate>Sun, 10 Mar 2013 13:07:17 -0430</pubDate><category>codeigniter</category><category>.htaccess</category><category>index.php</category></item><item><title>Django Best Practices</title><description>&lt;a href="http://lincolnloop.com/django-best-practices/index.html"&gt;Django Best Practices&lt;/a&gt;: &lt;p&gt;Djando Best Practices&lt;/p&gt;</description><link>http://asinox.net/post/45036712050</link><guid>http://asinox.net/post/45036712050</guid><pubDate>Sun, 10 Mar 2013 13:04:49 -0430</pubDate><category>django</category><category>python</category><category>best</category><category>practices</category></item><item><title>Mac Mountain Lion OS y .htaccess</title><description>&lt;p&gt;Despues que soy usuario de Mac, no habia tenido el momento para hacer nada con PHP, solo con Python y Django, hoy me toca, y he pasado un momento de WTF! al tratar de usar .htaccess para remover &amp;#8220;index.php&amp;#8221; en codeigniter.&lt;/p&gt;
&lt;p&gt;El problema esta en que Mac no permite el uso de .htaccess por defecto, asi que, para poder hacer uso de este, tenemos que cambiar un poco nuestro apache, exactamente httpd.conf.&lt;/p&gt;
&lt;p&gt;Lo primero, abrir el httpd.conf con tu editor favorito, en mi caso&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;sudo pico httpd.conf&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt; y modificar las siguientes lineas:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;&amp;lt;Directory /&amp;gt; &lt;br/&gt;  Options FollowSymLinks&lt;br/&gt;  AllowOverride None&lt;br/&gt;  Order deny,allow&lt;br/&gt;  Deny from all&lt;br/&gt;&amp;lt;/Directory&amp;gt;&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Por:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;&amp;lt;Directory /&amp;gt; &lt;br/&gt;  Options FollowSymLinks&lt;br/&gt;  AllowOverride All&lt;br/&gt;  Order deny,allow&lt;br/&gt;  Allow from all&lt;br/&gt;&amp;lt;/Directory&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Esto deberia ser suficiente, pero, aun tenemos algo que hacer, por cierto, la ruta hacia el httpd.conf&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;/etc/apache2/&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Ahora lo siguiente a modificar es el http.conf pero esta vez dentro del directorio users&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;/etc/apache2/users&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Aqui deberia (no siempre) existir:&lt;/p&gt;
&lt;pre&gt;USERNAME.conf&lt;/pre&gt;
&lt;p&gt;Para ilustrar, en mi caso es asinox.conf, ya que asinox es el nombre de usuario para mi MAC, en caso de no existir este archivo, simplemente debemos crearlo&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;sudo touch username.conf&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Y pegar lo que anteriormente hemos modificado&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;&amp;lt;Directory /&amp;gt; &lt;br/&gt;  Options FollowSymLinks&lt;br/&gt;  AllowOverride All&lt;br/&gt;  Order deny,allow&lt;br/&gt;  Allow from all&lt;br/&gt;&amp;lt;/Directory&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Ahora nos toca reiniciar el apache&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;sudo apachectl restart&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Con esto deberia ser suficiente.&lt;/p&gt;</description><link>http://asinox.net/post/45022810553</link><guid>http://asinox.net/post/45022810553</guid><pubDate>Sun, 10 Mar 2013 09:31:00 -0430</pubDate><category>mac</category><category>lion mountain</category><category>php</category><category>.htaccess</category><category>codeigniter</category><category>httpd.conf</category><category>apache</category></item><item><title>IE8, e imagenes de background</title><description>&lt;p&gt;Es imposible no encontrarse de frente con IE, no importa cual version sea, en fin, hoy el problema ha sido, &amp;#8220;la imagen de background no se ve en IE8&amp;#8221;, no se cuantas posibilidades hay para que esto no suceda mas alla, de poner mal la expresion en css o que la imagen no exista, pero, en caso de que ambas cosas esten bien, entonces, deberiamos fijarnos en lo siguiente: &amp;#8220;los espacios entre cada declaracion&amp;#8221;.&lt;/p&gt;
&lt;p&gt;La forma &amp;#8220;incorrecta&amp;#8221; para IE8&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;body{&lt;br/&gt;background: url("../Images/background.png")repeat-y scroll right 10px !important;&lt;br/&gt;}&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Si, todo esta bien, pero nos falta un espacio antes de &amp;#8220;repeat-y&amp;#8221;&lt;/p&gt;
&lt;p&gt;La forma &amp;#8220;correcta&amp;#8221; para IE8&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;body{&lt;br/&gt;background: url("../Images/background.png") repeat-y scroll right 10px !important;&lt;br/&gt;}&lt;/code&gt;&lt;/pre&gt;</description><link>http://asinox.net/post/44791693605</link><guid>http://asinox.net/post/44791693605</guid><pubDate>Thu, 07 Mar 2013 12:57:00 -0430</pubDate><category>IE8</category><category>css</category><category>background</category></item><item><title>Iniciandome con Node.JS</title><description>&lt;p&gt;Después de tanto investigar, mirar, tratar algunas herramientas nuevas basadas en javascript (backbone, jquery, Dojo, AngularJs, etc) , me he decidido por aprender &lt;a href="http://www.nodejs.org" title="Node KS" target="_blank"&gt;Node.js&lt;/a&gt;, la verdad, ahora que he decidido verlo, me gusta.&lt;br/&gt;&lt;br/&gt;Como instalar NodeJs en Mac:&lt;/p&gt;
&lt;ol&gt;&lt;li&gt;Instalar XCode&lt;/li&gt;
&lt;li&gt;Instalar Git&lt;/li&gt;
&lt;li&gt;&lt;span class="pln"&gt;git clone git&lt;/span&gt;&lt;span class="pun"&gt;:&lt;/span&gt;&lt;span class="com"&gt;//github.com/ry/node.git&lt;/span&gt;&lt;span class="pln"&gt;&lt;br/&gt;cd node&lt;br/&gt;&lt;/span&gt;&lt;span class="pun"&gt;./&lt;/span&gt;&lt;span class="pln"&gt;configure&lt;br/&gt;make&lt;br/&gt;sudo make install&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;p&gt;&lt;span class="pln"&gt;Como instalarlo sin si ya tienes XCode y Git&lt;/span&gt;&lt;/p&gt;
&lt;ol&gt;&lt;li&gt;Descargar la ultima version de NodeJS desde http://nodejs.org/#download&lt;/li&gt;
&lt;li&gt;Descomprimir&lt;/li&gt;
&lt;li&gt;Entrar al nuevo directorio&lt;/li&gt;
&lt;li&gt;&lt;span&gt;make  &lt;/span&gt;&lt;/li&gt;
&lt;li class="alt"&gt;&lt;span&gt;sudo make install  &lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;</description><link>http://asinox.net/post/44112690697</link><guid>http://asinox.net/post/44112690697</guid><pubDate>Tue, 26 Feb 2013 22:33:00 -0430</pubDate><category>NodeJS</category><category>Mac</category></item><item><title>Como hacer pagina full height usando jquerymobile</title><description>&lt;p&gt;&lt;pre&gt;&lt;code&gt;[data-role=page]{height: 100% !important; position:relative !important;}
[data-role=footer]{bottom:0; position:absolute !important; top: auto !important; width:100%;}&lt;/code&gt;
&lt;/pre&gt;&lt;/p&gt;</description><link>http://asinox.net/post/43440657286</link><guid>http://asinox.net/post/43440657286</guid><pubDate>Mon, 18 Feb 2013 19:21:00 -0430</pubDate><category>jquerymobile</category></item><item><title>Dejando Wordpress atras</title><description>&lt;p&gt;He tenido muchos problemas en estos dias con wordpress, creo que es tiempo de dejarlo atras.&lt;/p&gt;</description><link>http://asinox.net/post/43253899066</link><guid>http://asinox.net/post/43253899066</guid><pubDate>Sat, 16 Feb 2013 16:47:00 -0430</pubDate></item></channel></rss>
