<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-7070933287242485562</id><updated>2026-09-09T17:14:38.415-07:00</updated><category term="Javascript"/><category term="box2d"/><category term="box2dweb"/><category term="canvas"/><category term="linux"/><category term="lubuntu"/><category term="CSS"/><category term="HTML"/><category term="JSON"/><category term="editor"/><category term="howto"/><category term="vim"/><category term="ANOMALIAS"/><category term="FORMS"/><category term="apache"/><category term="api flikr"/><category term="backslash"/><category term="blog portafolio"/><category term="clipboard"/><category term="debian"/><category term="emacs"/><category term="etiqueta"/><category term="git"/><category term="google news"/><category term="ie7"/><category term="install"/><category term="jquery"/><category term="lxde"/><category term="mongodb"/><category term="path"/><category term="photoshop"/><category term="php"/><category term="tag"/><category term="tips"/><category term="unicode"/><title type='text'>Andru´s Blog</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://blogdeandru.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7070933287242485562/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://blogdeandru.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>andru255</name><uri>http://www.blogger.com/profile/17147102911296217062</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>19</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-7070933287242485562.post-1986046586284652707</id><published>2018-02-06T10:34:00.000-08:00</published><updated>2018-02-07T05:53:27.452-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="emacs"/><category scheme="http://www.blogger.com/atom/ns#" term="howto"/><category scheme="http://www.blogger.com/atom/ns#" term="install"/><title type='text'>Instala, actualiza, desinstala Emacs bajo Linux/ubuntu</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEibOky0iz5gxDf1QkxWUBTC3-mfxkSch8_q9NErUGsF47QmslTyLENDK0DSfM8rv1Fl4wG-LkQ7kvwfEC8m6iyLrWI53_NJmgz8JOZW7cJ3t6brhI-t-7Xxr9z5y2bH8BjDSopfO5HlIMmu/s1600/emacs-ubuntu.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;750&quot; data-original-width=&quot;1125&quot; height=&quot;265&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEibOky0iz5gxDf1QkxWUBTC3-mfxkSch8_q9NErUGsF47QmslTyLENDK0DSfM8rv1Fl4wG-LkQ7kvwfEC8m6iyLrWI53_NJmgz8JOZW7cJ3t6brhI-t-7Xxr9z5y2bH8BjDSopfO5HlIMmu/s400/emacs-ubuntu.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
Hola, en este post explicaré cómo instalar &lt;a href=&quot;https://www.gnu.org/software/emacs/&quot;&gt;Emacs&lt;/a&gt;&amp;nbsp; en su versión mas reciente 26.0.91 , un poderoso editor de texto con la finalidad de ser mas productivos y agilizar nuestro trabajo.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;1.&lt;/b&gt; Instalamos las dependencias necesarias en modo &lt;b&gt;super usuario&lt;/b&gt; con el comando &lt;b&gt;apt-get&lt;/b&gt;:&lt;br /&gt;
&lt;br /&gt;
&lt;pre&gt;&lt;code class=&quot;language-bash&quot;&gt;sudo apt-get install build-essential \
         texinfo libx11-dev libxpm-dev libjpeg-dev libpng-dev \
         libgif-dev libtiff-dev libgtk2.0-dev libncurses-dev \
         autoconf automake&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;b&gt;2.&lt;/b&gt; Descargamos el último release (&lt;a href=&quot;https://github.com/emacs-mirror/emacs/releases&quot; target=&quot;_blank&quot;&gt;link de descarga&lt;/a&gt;)&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;3.&lt;/b&gt; Una vez que haya descargado, en mi caso se aloja a mi carpeta&amp;nbsp;&lt;b&gt;Downloads&lt;/b&gt;, y me dirigo a esta carpeta vía terminal:&lt;br /&gt;
&lt;br /&gt;
&lt;pre&gt;&lt;code class=&quot;language-bash&quot;&gt;cd Downloads&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;b&gt;4.&lt;/b&gt; En el mismo terminal, descomprimo el archivo descargado usando el comando &lt;b&gt;tar&lt;/b&gt;:
&lt;br /&gt;
&lt;br /&gt;
&lt;pre&gt;&lt;code class=&quot;language-bash&quot;&gt;tar xvf emacs-26.0.91.tar.gz&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;b&gt;5.&lt;/b&gt; Una vez ejecutado el comando, encontramos una carpeta llamada &lt;b&gt;emacs-26.0.91&lt;/b&gt; y nos ubicamos vía terminal a dicha carpeta:
&lt;br /&gt;
&lt;br /&gt;
&lt;pre&gt;&lt;code class=&quot;language-bash&quot;&gt;cd emacs-26.0.91&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;b&gt;6.&lt;/b&gt; Ejecutamos el archivo &lt;b&gt;autogen.sh&lt;/b&gt; que contiene esa carpeta y luego aplicamos su respectivo comando &lt;b&gt;configure&lt;/b&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;pre&gt;&lt;code class=&quot;language-bash&quot;&gt;./autogen.sh&lt;/code&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;code class=&quot;language-bash&quot;&gt;./configure --with-gnutls=no&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;b&gt;7.&lt;/b&gt; Realizamos la creación del instalador de Emacs :)
&lt;br /&gt;
&lt;br /&gt;
&lt;pre&gt;&lt;code class=&quot;language-bash&quot;&gt;make&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;b&gt;8.&lt;/b&gt; Una vez creado el instalador, procedemos a instalarlo en modo &lt;b&gt;superusuario&lt;/b&gt; de la siguiente manera:
&lt;br /&gt;
&lt;br /&gt;
&lt;pre&gt;&lt;code class=&quot;language-bash&quot;&gt;sudo make install&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;h2 style=&quot;text-align: left;&quot;&gt;
&lt;b style=&quot;font-family: &amp;quot;times new roman&amp;quot;; white-space: normal;&quot;&gt;Super ofertón!&lt;/b&gt;&lt;/h2&gt;
Si no deseas seguir todos estos pasos, te invito a que descargues este pequeño archivo: &lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://goo.gl/2Qyvq8&quot;&gt;https://goo.gl/2Qyvq8&lt;/a&gt;
&lt;br /&gt;
&lt;br /&gt;
Donde indico los pasos como en este post pero con solo descargarlo y ejecutarlo de la siguiente manera:
&lt;br /&gt;
&lt;br /&gt;
&lt;pre&gt;&lt;code class=&quot;language-bash&quot;&gt;./install_emacs_26.sh&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
En caso&amp;nbsp;te muestre un error de permisos para&amp;nbsp; la ejecución basta con realizar lo siguiente en consola:
&lt;br /&gt;
&lt;br /&gt;
&lt;pre&gt;&lt;code class=&quot;language-bash&quot;&gt;sudo chmod&amp;nbsp;+x install_emacs_26.sh&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
Y luego intentas de nuevo ejecutar el archivo.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;OJO&lt;/b&gt;, en caso ya no desees tener instalado&amp;nbsp;&lt;b&gt;emacs&lt;/b&gt;, el script ofrece un parámetro que te facilitará ese trabajo:
&lt;br /&gt;
&lt;br /&gt;
&lt;pre&gt;&lt;code class=&quot;language-bash&quot;&gt;./install_emacs_26.sh&lt;/code&gt; --uninstall&lt;/pre&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://blogdeandru.blogspot.com/feeds/1986046586284652707/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://blogdeandru.blogspot.com/2018/02/instala-actualiza-desinstala-emacs-bajo.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7070933287242485562/posts/default/1986046586284652707'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7070933287242485562/posts/default/1986046586284652707'/><link rel='alternate' type='text/html' href='http://blogdeandru.blogspot.com/2018/02/instala-actualiza-desinstala-emacs-bajo.html' title='Instala, actualiza, desinstala Emacs bajo Linux/ubuntu'/><author><name>andru255</name><uri>http://www.blogger.com/profile/17147102911296217062</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEibOky0iz5gxDf1QkxWUBTC3-mfxkSch8_q9NErUGsF47QmslTyLENDK0DSfM8rv1Fl4wG-LkQ7kvwfEC8m6iyLrWI53_NJmgz8JOZW7cJ3t6brhI-t-7Xxr9z5y2bH8BjDSopfO5HlIMmu/s72-c/emacs-ubuntu.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7070933287242485562.post-9171566419007178466</id><published>2018-01-31T22:22:00.004-08:00</published><updated>2018-02-04T19:15:50.460-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="editor"/><category scheme="http://www.blogger.com/atom/ns#" term="howto"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="lubuntu"/><category scheme="http://www.blogger.com/atom/ns#" term="vim"/><title type='text'>Como Instalar, Actualizar y desinstalar Vim bajo linux/Ubuntu</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg1ySO7DtbWzZcDHwtVK9spimrvqLTAFLh9mYpxnmOj1cIKqS78JklziBxIgzYpVSt3uE07kDnh-B01kHjchnm4ftFEyELXRoFAtVM9acPPJjLolOAsrjQXRv8U8MCH8aYkdiKvOaP1nsZ_/s1600/vim-ubuntu.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;225&quot; data-original-width=&quot;450&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg1ySO7DtbWzZcDHwtVK9spimrvqLTAFLh9mYpxnmOj1cIKqS78JklziBxIgzYpVSt3uE07kDnh-B01kHjchnm4ftFEyELXRoFAtVM9acPPJjLolOAsrjQXRv8U8MCH8aYkdiKvOaP1nsZ_/s1600/vim-ubuntu.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
Hola, bienvenido a este post, en esta ocasión enseñaré a cómo instalar vim en su edición 8.0 desde su repositorio oficial! :)&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
Este post es una actualización de&amp;nbsp;&lt;a href=&quot;http://blogdeandru.blogspot.pe/2014/02/compilar-vim-en-debian.html&quot; target=&quot;_blank&quot;&gt;Compilar vim en debian&lt;/a&gt;&amp;nbsp;&lt;/blockquote&gt;
&lt;br /&gt;
&lt;b&gt;1&lt;/b&gt;. Descargamos el último release en su repositorio oficial (&lt;a href=&quot;https://github.com/vim/vim/releases&quot; target=&quot;_blank&quot;&gt;link de descarga&lt;/a&gt;)&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;2.&lt;/b&gt; Una vez que haya descargado, en mi caso se aloja a mi carpeta &lt;b&gt;Downloads&lt;/b&gt;, y realizo lo siguiente:&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;3&lt;/b&gt;. Me ubico a la carpeta &lt;b&gt;Downloads&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;pre&gt;&lt;code class=&quot;language-bash&quot;&gt;cd Downloads&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;b&gt;4&lt;/b&gt;. Descomprimo con el comando &lt;b&gt;tar&lt;/b&gt; y con las opciones adicionales (&lt;a href=&quot;https://linux.die.net/man/1/tar&quot; target=&quot;_blank&quot;&gt;más info acerca del comando tar&lt;/a&gt;)&lt;br /&gt;
&lt;br /&gt;
&lt;pre&gt;&lt;code class=&quot;language-bash&quot;&gt;tar xvf vim-8.0.1451.tar.gz&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;b&gt;5&lt;/b&gt;. Una vez terminado el proceso de descomprimir, encontramos una nueva carpeta llamada &lt;b&gt;vim-8.0.1451&lt;/b&gt;, y realizamos lo siguiente:&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;5.1&lt;/b&gt; Nos ubicamos en la carpeta generada:&lt;br /&gt;
&lt;br /&gt;
&lt;pre&gt;&lt;code class=&quot;language-bash&quot;&gt;cd vim-8.0.1451&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;b&gt;5.2&lt;/b&gt; Realizamos una limpieza de archivos que no usará el programa a compilarse&lt;br /&gt;
&lt;br /&gt;
&lt;pre&gt;&lt;code class=&quot;language-bash&quot;&gt;make distclean&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;b&gt;5.3&lt;/b&gt; Preparamos la configuración para construir el paquete de instalación:&lt;br /&gt;
&lt;br /&gt;
&lt;pre&gt;&lt;code class=&quot;language-bash&quot;&gt;./configure --with-features=huge --enable-multibyte --enable-rubyinterp --enable-pythoninterp --with-python-config-dir=/usr/lib/python2.7/config --enable-fail-if-missing --enable-cscope&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;b&gt;5.4&lt;/b&gt; Una vez generado nuestra configuración, procedemos a instalar vim :&#39;)&lt;br /&gt;
&lt;br /&gt;
&lt;pre&gt;&lt;code class=&quot;language-bash&quot;&gt;sudo make install&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;b&gt;6.&lt;/b&gt; Una vez generado la instalación, enlazamos nuestro vim generado:&lt;br /&gt;
&lt;br /&gt;
&lt;pre&gt;&lt;code class=&quot;language-bash&quot;&gt;sudo ln -s /usr/local/bin/vim /usr/bin/vim&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;b&gt;7. &lt;/b&gt; Y para ejecutar con solo escribir &lt;b&gt;vim&lt;/b&gt; en cualquier terminal de nuestro sistema, agregamos esta línea a nuestro archivo &lt;b&gt;~/.bashrc&lt;/b&gt; o &lt;b&gt;~/.profile&lt;/b&gt; :&lt;br /&gt;
&lt;br /&gt;
&lt;pre&gt;&lt;code class=&quot;language-bash&quot;&gt; export PATH=/usr/local/bin:$PATH &lt;/code&gt;&lt;/pre&gt;
&lt;h2&gt;
Ofertón!&lt;/h2&gt;
&lt;div&gt;
Si no deseas seguir todos estos pasos, te invito a que descargues este pequeño archivo:&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;a href=&quot;https://goo.gl/sFV8ym&quot;&gt;https://goo.gl/sFV8ym&lt;/a&gt;&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Donde indico los pasos como en este post pero basta con descargarlo y ejecutarlo de la siguiente manera:&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;pre&gt;&lt;code class=&quot;language-bash&quot;&gt;./install_vim.sh&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
En caso&amp;nbsp;te muestre un error de permisos para&amp;nbsp; la ejecución basta con realizar lo siguiente en consola:&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;pre&gt;&lt;code class=&quot;language-bash&quot;&gt;sudo chmod&amp;nbsp;+x install_vim.sh&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Y luego intentas de nuevo.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;OJO&lt;/b&gt;, en caso ya no desees tener instalado &lt;b&gt;vim&lt;/b&gt;, el script ofrece un parámetro que te facilitará ese trabajo:&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;pre&gt;&lt;code class=&quot;language-bash&quot;&gt;./install_vim.sh --uninstall&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://blogdeandru.blogspot.com/feeds/9171566419007178466/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://blogdeandru.blogspot.com/2018/01/como-instalar-actualizar-y-desinstalar.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7070933287242485562/posts/default/9171566419007178466'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7070933287242485562/posts/default/9171566419007178466'/><link rel='alternate' type='text/html' href='http://blogdeandru.blogspot.com/2018/01/como-instalar-actualizar-y-desinstalar.html' title='Como Instalar, Actualizar y desinstalar Vim bajo linux/Ubuntu'/><author><name>andru255</name><uri>http://www.blogger.com/profile/17147102911296217062</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg1ySO7DtbWzZcDHwtVK9spimrvqLTAFLh9mYpxnmOj1cIKqS78JklziBxIgzYpVSt3uE07kDnh-B01kHjchnm4ftFEyELXRoFAtVM9acPPJjLolOAsrjQXRv8U8MCH8aYkdiKvOaP1nsZ_/s72-c/vim-ubuntu.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7070933287242485562.post-4210552762909723163</id><published>2018-01-08T21:23:00.003-08:00</published><updated>2018-01-11T19:50:57.031-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="etiqueta"/><category scheme="http://www.blogger.com/atom/ns#" term="git"/><category scheme="http://www.blogger.com/atom/ns#" term="tag"/><title type='text'>Manejando tags en git</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhcNPwS0g_3ZDkJDJCLLj9tZoAyGfRET-ncAF3J6j2_kS-E5gre7WQaBVmuNJ34U2ZzJ2dYaTZBM87bOm9iFLYb6anutLpbwvKutx3Cp36Qjtc77jzkQ8eTJ4j6_cKwe6qcL7gLP7hu6Z5z/s1600/git-tags.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;225&quot; data-original-width=&quot;450&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhcNPwS0g_3ZDkJDJCLLj9tZoAyGfRET-ncAF3J6j2_kS-E5gre7WQaBVmuNJ34U2ZzJ2dYaTZBM87bOm9iFLYb6anutLpbwvKutx3Cp36Qjtc77jzkQ8eTJ4j6_cKwe6qcL7gLP7hu6Z5z/s1600/git-tags.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Hola, en este post enseñaré el uso básico de tags (etiquetas) que uno realiza en un proyecto que está bajo un sistema de versionado conocido como git.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;¿Cómo crear un tag?&lt;/b&gt;
&lt;br /&gt;
Antes de crearlo, verifica bien si tienes cambios pendientes, en caso tengas cambios pendientes tienes que aplicar lo siguiente:&lt;br /&gt;
&lt;br /&gt;
&lt;pre&gt;&lt;code class=&quot;language-bash&quot;&gt;~ git commit -am &quot;Made some awesome new changes&quot;&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
Ahora si con toda la seguridad del mundo puedes crear un tag, por ejemplo crear uno que se llame &lt;b&gt;v.0.0.2&lt;/b&gt; y como descripción del tag &lt;b&gt;Release version 0.0.2&lt;/b&gt;, entonces se crea de la siguiente manera:&lt;br /&gt;
&amp;nbsp;
&lt;br /&gt;
&lt;pre&gt;&lt;code class=&quot;language-bash&quot;&gt;~git tag -a v0.0.2 -m &quot;Release version 0.0.2&quot;&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
Recuerda que haz creado un tag en tu repositorio local y ahora necesitas enviarlo&lt;br /&gt;
a un repositorio central o repositorio remoto que tengas.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;¿Cómo subo un tag a mi repositorio remoto?&lt;/b&gt;&lt;br /&gt;
Si haz creado el tag en tu rama master, entonces se hace de la siguiente manera:&lt;br /&gt;
&lt;pre&gt;&lt;code class=&quot;language-bash&quot;&gt;git push origin master --tags&lt;/code&gt;&lt;/pre&gt;
Recuerda que al enviar tags se debe indicar la rama en donde existe.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;¿Cómo Elimino el tag?&lt;/b&gt;
&lt;br /&gt;
Localmente se elimina de esta manera:
&lt;br /&gt;
&lt;br /&gt;
&lt;pre&gt;&lt;code class=&quot;language-bash&quot;&gt;~ git tag -d v0.0.2&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
Ah!, Y eliminarlo remotamente:&lt;br /&gt;
&lt;br /&gt;
&lt;pre&gt;&lt;code class=&quot;language-bash&quot;&gt;~ git push origin :refs/tags/v0.0.2&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://blogdeandru.blogspot.com/feeds/4210552762909723163/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://blogdeandru.blogspot.com/2018/01/manejando-tags-en-git.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7070933287242485562/posts/default/4210552762909723163'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7070933287242485562/posts/default/4210552762909723163'/><link rel='alternate' type='text/html' href='http://blogdeandru.blogspot.com/2018/01/manejando-tags-en-git.html' title='Manejando tags en git'/><author><name>andru255</name><uri>http://www.blogger.com/profile/17147102911296217062</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhcNPwS0g_3ZDkJDJCLLj9tZoAyGfRET-ncAF3J6j2_kS-E5gre7WQaBVmuNJ34U2ZzJ2dYaTZBM87bOm9iFLYb6anutLpbwvKutx3Cp36Qjtc77jzkQ8eTJ4j6_cKwe6qcL7gLP7hu6Z5z/s72-c/git-tags.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7070933287242485562.post-4995207473566910796</id><published>2017-10-14T11:30:00.000-07:00</published><updated>2020-04-10T16:34:23.416-07:00</updated><title type='text'>Como Instalar o Actualizar Blender bajo  linux/Ubuntu</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhdt3OtJ_5-9NihHgRfFhtTZ3EaMWDSN83leNksfbVyvh3AUOD5dhKEOHaV5xx8ca4uqaHwEvMDA2IzlmZiFZ1-6vx2iKLUwtn6H8EHsomkVXyPdq2RIFBwFCECafwwAIsubpJWnlGj0zuk/s1600/blender-ubuntu.svg.png&quot; imageanchor=&quot;1&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhdt3OtJ_5-9NihHgRfFhtTZ3EaMWDSN83leNksfbVyvh3AUOD5dhKEOHaV5xx8ca4uqaHwEvMDA2IzlmZiFZ1-6vx2iKLUwtn6H8EHsomkVXyPdq2RIFBwFCECafwwAIsubpJWnlGj0zuk/s1600/blender-ubuntu.svg.png&quot; /&gt;&lt;/a&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Hola, esta vez daré los pasos para instalar blender desde su página web, en si su versión más reciente &lt;b&gt;v2.79&lt;/b&gt; y estos son los pasos:&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;1.&lt;/b&gt; Descargar el paquete que está comprimido en el mismo portal de blender (&lt;a href=&quot;https://www.blender.org/download/&quot; target=&quot;_blank&quot;&gt;link de descarga&lt;/a&gt;)
&lt;br /&gt;
&lt;b&gt;2.&lt;/b&gt; Una vez descargado, en mi caso se aloja el comprimido por defecto en la ruta &lt;b&gt;downloads&lt;/b&gt;, voy a la terminal y realizo lo siguiente:&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;3.&lt;/b&gt; Me ubico a la carpeta &lt;b&gt;downloads&lt;/b&gt;&lt;br /&gt;
&lt;pre&gt;&lt;code class=&quot;language-bash&quot;&gt; ~ cd downloads &lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;b&gt;4.&lt;/b&gt; descomprimo con el comando &lt;b&gt;tar&lt;/b&gt; y con las opciones adicionales (&lt;a href=&quot;https://linux.die.net/man/1/tar&quot; target=&quot;_blank&quot;&gt;conocer más acerca del comando tar&lt;/a&gt;) &lt;br /&gt;
&lt;pre&gt;&lt;code class=&quot;language-bash&quot;&gt;~ tar xvf blender-2.79-linux-glibc219-x86_64.tar.bz2&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;b&gt;5.&lt;/b&gt; Una vez terminado el proceso, renombro la carpeta simplemente como &lt;b&gt;blender&lt;/b&gt; o con la version &lt;b&gt;blender279&lt;/b&gt;&lt;br /&gt;
&lt;pre&gt;&lt;code class=&quot;language-bash&quot;&gt;~ mv blender-2.79-linux-glibc219-x86_64 blender278c&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
Teniendo esto viene algo interesante que puede ser un debate en mover esta carpeta porque blender tranquilamente lo puedo ejecutar en el terminal así una vez descomprimido:&lt;br /&gt;
&lt;br /&gt;
&lt;pre&gt;&lt;code class=&quot;language-bash&quot;&gt;~ ./blender279/blender&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;b&gt;6.&lt;/b&gt; En este caso guiándome de la documentación de The &lt;a href=&quot;http://www.tldp.org/&quot; target=&quot;_blank&quot;&gt;linux Documentation Project&lt;/a&gt;, todo programa debe ubicarse en la carpeta &lt;b&gt;/opt&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;7.&lt;/b&gt; Entonces tomando del punto anterior muevo mi carpeta &lt;b&gt;blender279&lt;/b&gt; a esa ruta en modo root o super usuario:&lt;br /&gt;
&lt;br /&gt;
&lt;pre&gt;&lt;code class=&quot;language-bash&quot;&gt;~ sudo mv blender279 /opt/&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;b&gt;8.&lt;/b&gt; Para verificar si a copiado bien simplemente ejecutamos este comando y debe aparecer en la lista la carpeta &lt;b&gt;blender279&lt;/b&gt;:&lt;br /&gt;
&lt;pre&gt;&lt;code class=&quot;language-bash&quot;&gt;~ ls /opt&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;script async=&quot;&quot; src=&quot;https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js&quot;&gt;&lt;/script&gt;

&lt;ins class=&quot;adsbygoogle&quot; data-ad-client=&quot;ca-pub-0766128057465862&quot; data-ad-format=&quot;fluid&quot; data-ad-layout=&quot;in-article&quot; data-ad-slot=&quot;3188211758&quot; style=&quot;display: block; text-align: center;&quot;&gt;&lt;/ins&gt;&lt;script&gt;
     (adsbygoogle = window.adsbygoogle || []).push({});
&lt;/script&gt;
&lt;b&gt;9.&lt;/b&gt; Creamos el lanzador para nuestro sistema de la siguiente manera:&lt;br /&gt;
&lt;pre&gt;&lt;code class=&quot;language-bash&quot;&gt;~ sudo ln -s /opt/blender279/blender /usr/bin/blender&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;b&gt;10.&lt;/b&gt; Listo con ello ya podemos desde nuestro terminal ejecutar simplemente:&lt;br /&gt;
&lt;pre&gt;&lt;code class=&quot;language-bash&quot;&gt;~ blender&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
Links útiles:
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;http://libre-software.net/how-to-install-firefox-on-ubuntu-linux-mint/&quot; target=&quot;_blank&quot;&gt;how to install Firefox on ubuntu/linux&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://www.pathname.com/fhs/pub/fhs-2.3.html#OPTADDONAPPLICATIONSOFTWAREPACKAGES&quot; target=&quot;_blank&quot;&gt;El porqué de la carpeta /opt&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://blogdeandru.blogspot.com/feeds/4995207473566910796/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://blogdeandru.blogspot.com/2014/11/como-instalar-o-actualizar-blender-bajo.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7070933287242485562/posts/default/4995207473566910796'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7070933287242485562/posts/default/4995207473566910796'/><link rel='alternate' type='text/html' href='http://blogdeandru.blogspot.com/2014/11/como-instalar-o-actualizar-blender-bajo.html' title='Como Instalar o Actualizar Blender bajo  linux/Ubuntu'/><author><name>andru255</name><uri>http://www.blogger.com/profile/17147102911296217062</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhdt3OtJ_5-9NihHgRfFhtTZ3EaMWDSN83leNksfbVyvh3AUOD5dhKEOHaV5xx8ca4uqaHwEvMDA2IzlmZiFZ1-6vx2iKLUwtn6H8EHsomkVXyPdq2RIFBwFCECafwwAIsubpJWnlGj0zuk/s72-c/blender-ubuntu.svg.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7070933287242485562.post-6624993233331489326</id><published>2015-02-07T10:13:00.003-08:00</published><updated>2017-03-28T18:25:40.051-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="mongodb"/><category scheme="http://www.blogger.com/atom/ns#" term="php"/><title type='text'>Instalar driver de mongodb para php bajo linux/debian</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Hola, en este tutorial aprenderemos a cómo instalar el driver de mongodb para php 5.x
Para ver si mongodb está disponible en los modulos de php ejecutamos esto en consola

&lt;pre&gt;&lt;code class=&quot;language-bash&quot;&gt;~ /usr/bin/env php -m&lt;/code&gt;&lt;/pre&gt;

Con este comando listamos los módulos globales que puede usarse bajo el entorno php.
Si no se ve en la lista &lt;b&gt;mongodb&lt;/b&gt; entonces es porque no existe el módulo como global,
para poder hacer instalar el driver de mongodb para php se sigue los siguientes pasos:
&lt;br/&gt;
&lt;br/&gt;

&lt;b&gt;1.&lt;/b&gt; Me voy a mi carpeta &lt;b&gt;downloads&lt;/b&gt;

&lt;pre&gt;&lt;code class=&quot;language-bash&quot;&gt;~ cd ~/downloads&lt;/code&gt;&lt;/pre&gt;
&lt;br/&gt;

&lt;b&gt;2.&lt;/b&gt; Me descargo por consola el codigo fuente desde el portal oficial la version 1.5.7

&lt;pre&gt;&lt;code class=&quot;language-bash&quot;&gt;~ wget --no-check-certificate https://github.com/mongodb/mongo-php-driver/tarball/1.5.7&lt;/code&gt;&lt;/pre&gt;
&lt;br/&gt;
&lt;b&gt;3.&lt;/b&gt; En caso descargue con formato &lt;b&gt;tar.gz &lt;/b&gt; el archivo &lt;b&gt;1.5.7&lt;/b&gt;, lo descomprimo

&lt;pre&gt;&lt;code class=&quot;language-bash&quot;&gt;~ tar -xzf 1.5.7&lt;/code&gt;&lt;/pre&gt;
&lt;br/&gt;
&lt;b&gt;4.&lt;/b&gt; Una vez que lo descomprimí me voy a la carpeta creada en este caso se llama

&lt;b&gt;mongodb-mongo-php-driver-2b13c73&lt;/b&gt;

&lt;pre&gt;&lt;code class=&quot;language-bash&quot;&gt;~ cd mongodb-mongo-php-driver-2b13c73&lt;/code&gt;&lt;/pre&gt;
&lt;br/&gt;
&lt;b&gt;5.&lt;/b&gt; Hago los pasos de compilación e instalación del fuente como en su web:

&lt;a href=&quot;https://github.com/mongodb/mongo-php-driver&quot;&gt;https://github.com/mongodb/mongo-php-driver&lt;/a&gt;

&lt;pre&gt;&lt;code class=&quot;language-bash&quot;&gt;~ phpize
~ ./configure
~ make
~ sudo make install
&lt;/code&gt;&lt;/pre&gt;

&lt;br/&gt;

&lt;b&gt;6.&lt;/b&gt; Abro el archivo php.ini del servidor apache:

&lt;pre&gt;&lt;code class=&quot;language-bash&quot;&gt;~ sudo vi /etc/php5/apache2/php.ini&lt;/code&gt;&lt;/pre&gt;
&lt;br/&gt;

&lt;b&gt;7.&lt;/b&gt; Y Agrego la siguiente línea:
&lt;pre&gt;&lt;code class=&quot;language-bash&quot;&gt;extension=mongo.so&lt;/code&gt;&lt;/pre&gt;
&lt;br/&gt;

&lt;b&gt;8.&lt;/b&gt; Para que sea ahora como modulo global modifico el archivo:
&lt;pre&gt;&lt;code class=&quot;language-bash&quot;&gt;~ sudo vi /etc/php5/cli/php.ini&lt;/code&gt;&lt;/pre&gt;
&lt;br/&gt;

&lt;b&gt;9.&lt;/b&gt; Y Agrego la linea como el punto 9:
&lt;pre&gt;&lt;code class=&quot;language-bash&quot;&gt;extension=mongo.so&lt;/code&gt;&lt;/pre&gt;
&lt;br/&gt;

&lt;b&gt;10.&lt;/b&gt; Reinicio el servidor apache:
&lt;pre&gt;&lt;code class=&quot;language-bash&quot;&gt;~ sudo service apache2 stop
~ sudo service apache2 start&lt;/code&gt;&lt;/pre&gt;

&lt;br/&gt;

Esta solución fué extraída de esta &lt;a href=&quot;http://stackoverflow.com/questions/20869846/cant-install-mongodb-doctrine-in-symfony2-with-composer&quot; target=&quot;_blank&quot;&gt;fuente&lt;/a&gt;

&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://blogdeandru.blogspot.com/feeds/6624993233331489326/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://blogdeandru.blogspot.com/2015/02/instalar-driver-de-mongodb-para-php.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7070933287242485562/posts/default/6624993233331489326'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7070933287242485562/posts/default/6624993233331489326'/><link rel='alternate' type='text/html' href='http://blogdeandru.blogspot.com/2015/02/instalar-driver-de-mongodb-para-php.html' title='Instalar driver de mongodb para php bajo linux/debian'/><author><name>andru255</name><uri>http://www.blogger.com/profile/17147102911296217062</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7070933287242485562.post-5853641192289920185</id><published>2014-02-15T20:02:00.000-08:00</published><updated>2018-01-31T22:23:47.695-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="clipboard"/><category scheme="http://www.blogger.com/atom/ns#" term="debian"/><category scheme="http://www.blogger.com/atom/ns#" term="editor"/><category scheme="http://www.blogger.com/atom/ns#" term="vim"/><title type='text'>Compilar vim en debian</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
Este articulo se encuentra muy desactualizado :(, Favor de seguir el articulo &lt;a href=&quot;http://blogdeandru.blogspot.pe/2018/01/como-instalar-actualizar-y-desinstalar.html&quot; target=&quot;_blank&quot;&gt;Como Instalar, Actualizar y desinstalar Vim bajo linux/Ubuntu&lt;/a&gt;&lt;/blockquote&gt;
&lt;br /&gt;
Gracias por leer este articulo, hoy voy a dar un tip para quienes tienen debian y son fánaticos del vim y quieren tener la última versión de este poderosísimo editor, en mi caso me encontré con mi problema del soporte de clipboard pero aqui está completo con ello incluido:&lt;br /&gt;
&lt;br /&gt;
1. instalamos las dependencias&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: &amp;quot;consolas&amp;quot; , &amp;quot;liberation mono&amp;quot; , &amp;quot;courier&amp;quot; , monospace; font-size: 12px; line-height: 16.799999237060547px; white-space: pre;&quot;&gt;$ sudo apt-get install ncurses-dev build-essential mercurial&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
2. Aqui viene el soporte de clipboard que es unos paquetes aparte&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: &amp;quot;consolas&amp;quot; , &amp;quot;liberation mono&amp;quot; , &amp;quot;courier&amp;quot; , monospace; font-size: 12px; line-height: 16.799999237060547px; white-space: pre;&quot;&gt;$ sudo apt-get install libx11-dev libxtst-dev xorg-dev&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
3. Como se ve, pues se ha instalado mercurial y el repo oficial de vim está en google code bajo el sistema de versionado de mercurial, se sugiere que esteas en tu carpeta home (~) asi que en terminal hacemos lo siguiente&lt;br /&gt;
&lt;br /&gt;
~&amp;nbsp;&lt;span style=&quot;background-color: white; font-family: &amp;quot;consolas&amp;quot; , &amp;quot;liberation mono&amp;quot; , &amp;quot;courier&amp;quot; , monospace; font-size: 12px; line-height: 16.799999237060547px; white-space: pre;&quot;&gt;$ &lt;/span&gt;&lt;span style=&quot;background-color: white; font-family: &amp;quot;consolas&amp;quot; , &amp;quot;liberation mono&amp;quot; , &amp;quot;courier&amp;quot; , monospace; font-size: 12px; line-height: 16.799999237060547px; white-space: pre;&quot;&gt;hg clone https://vim.googlecode.com/hg/ vim&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: &amp;quot;consolas&amp;quot; , &amp;quot;liberation mono&amp;quot; , &amp;quot;courier&amp;quot; , monospace; font-size: 12px; line-height: 16.799999237060547px; white-space: pre;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
3. Con ello tenemos lo necesario hasta ahora tenemos en nuestra carpeta home(~) la carpeta vim, ahora viene lo bueno, el tiempo de compilarlo! y dice así:&lt;br /&gt;
&lt;br /&gt;
3.1 Nos vamos a la carpeta src de la carpeta vim&lt;br /&gt;
&lt;br /&gt;
~&amp;nbsp;&lt;span style=&quot;background-color: white; font-family: &amp;quot;consolas&amp;quot; , &amp;quot;liberation mono&amp;quot; , &amp;quot;courier&amp;quot; , monospace; font-size: 12px; line-height: 16.799999237060547px; white-space: pre;&quot;&gt;$ cd vim/src&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: &amp;quot;consolas&amp;quot; , &amp;quot;liberation mono&amp;quot; , &amp;quot;courier&amp;quot; , monospace; font-size: 12px; line-height: 16.799999237060547px; white-space: pre;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
3.2 Hacemos la limpieza de la distribucion&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: &amp;quot;consolas&amp;quot; , &amp;quot;liberation mono&amp;quot; , &amp;quot;courier&amp;quot; , monospace; font-size: 12px; line-height: 16.799999237060547px; white-space: pre;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
~/vim/src&amp;nbsp;&lt;span style=&quot;background-color: white; font-family: &amp;quot;consolas&amp;quot; , &amp;quot;liberation mono&amp;quot; , &amp;quot;courier&amp;quot; , monospace; font-size: 12px; line-height: 16.799999237060547px; white-space: pre;&quot;&gt;$ make distclean&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: &amp;quot;consolas&amp;quot; , &amp;quot;liberation mono&amp;quot; , &amp;quot;courier&amp;quot; , monospace; font-size: 12px; line-height: 16.799999237060547px; white-space: pre;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
3.3 Configuramos la distribucion para que sea completo al instalarse:&lt;br /&gt;
&lt;br /&gt;
~/vim/src&amp;nbsp;&lt;span style=&quot;background-color: white; font-family: &amp;quot;consolas&amp;quot; , &amp;quot;liberation mono&amp;quot; , &amp;quot;courier&amp;quot; , monospace; font-size: 12px; line-height: 16.799999237060547px; white-space: pre;&quot;&gt;$ ./configure --with-features=huge --enable-pythoninterp --enable-rubyinterp --with-x --enable-gui&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: &amp;quot;consolas&amp;quot; , &amp;quot;liberation mono&amp;quot; , &amp;quot;courier&amp;quot; , monospace; font-size: 12px; line-height: 16.799999237060547px; white-space: pre;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
3.4 Hacemos la &amp;nbsp;nueva distribucion a instalarse en nuestras pc:&lt;br /&gt;
~/vim/src&amp;nbsp;&lt;span style=&quot;background-color: white; font-family: &amp;quot;consolas&amp;quot; , &amp;quot;liberation mono&amp;quot; , &amp;quot;courier&amp;quot; , monospace; font-size: 12px; line-height: 16.799999237060547px; white-space: pre;&quot;&gt;$ sudo make install&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: &amp;quot;consolas&amp;quot; , &amp;quot;liberation mono&amp;quot; , &amp;quot;courier&amp;quot; , monospace; font-size: 12px; line-height: 16.799999237060547px; white-space: pre;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;pre class=&quot;line-pre&quot; style=&quot;background-color: white; font-family: Consolas, &#39;Liberation Mono&#39;, Courier, monospace; font-size: 12px; line-height: 16.799999237060547px; padding: 0px; width: 744px;&quot;&gt;&lt;div class=&quot;line&quot; id=&quot;file-gistfile1-txt-LC49&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot;; font-size: small; line-height: normal; white-space: normal;&quot;&gt;3.5 y por último exportamos el path y listo :)&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;line&quot; id=&quot;file-gistfile1-txt-LC50&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot;; font-size: small; line-height: normal; white-space: normal;&quot;&gt;~/vim/src&amp;nbsp;&lt;/span&gt;$ export PATH=/usr/local/bin:$PATH&lt;/div&gt;
&lt;/pre&gt;
&lt;span style=&quot;background-color: white; font-family: &amp;quot;consolas&amp;quot; , &amp;quot;liberation mono&amp;quot; , &amp;quot;courier&amp;quot; , monospace; font-size: 12px; line-height: 16.799999237060547px; white-space: pre;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;Espero sirva este peque articulo, por cierto estoy indicando la ruta del vim como va el proceso.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: &amp;quot;consolas&amp;quot; , &amp;quot;liberation mono&amp;quot; , &amp;quot;courier&amp;quot; , monospace; font-size: 12px; line-height: 16.799999237060547px; white-space: pre;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://blogdeandru.blogspot.com/feeds/5853641192289920185/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://blogdeandru.blogspot.com/2014/02/compilar-vim-en-debian.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7070933287242485562/posts/default/5853641192289920185'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7070933287242485562/posts/default/5853641192289920185'/><link rel='alternate' type='text/html' href='http://blogdeandru.blogspot.com/2014/02/compilar-vim-en-debian.html' title='Compilar vim en debian'/><author><name>andru255</name><uri>http://www.blogger.com/profile/17147102911296217062</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7070933287242485562.post-2106975254105164946</id><published>2013-02-23T19:29:00.003-08:00</published><updated>2014-07-19T12:47:23.623-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="backslash"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="lubuntu"/><category scheme="http://www.blogger.com/atom/ns#" term="tips"/><category scheme="http://www.blogger.com/atom/ns#" term="unicode"/><title type='text'>Caracteres especiales en lubuntu</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Presionando las teclas:&lt;br /&gt;
&lt;br /&gt;
[ctrl]&amp;nbsp;+ [shift]&amp;nbsp;+ [u]&lt;br /&gt;
&lt;br /&gt;
En todo editor te aparecerá una u subrayada, ¿y a qué se debe eso?.. fácil! ya puedes ingresar un caracter unicode, ten en cuenta que en linux es un muy bien chevere y te dá esa facilidad :D,&lt;br /&gt;
Unos ejemplos:&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;el famoso backslash (\) que en unicode es 005C:&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;cuando te aparece la u.. seguido escribes: 5C&lt;br /&gt;
&lt;br /&gt;
como verás aqui el mapita de caracteres en unicode:&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://www.rqs.ca/HM/images/u1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://www.rqs.ca/HM/images/u1.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://blogdeandru.blogspot.com/feeds/2106975254105164946/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://blogdeandru.blogspot.com/2013/02/caracteres-especiales-en-lubuntu.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7070933287242485562/posts/default/2106975254105164946'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7070933287242485562/posts/default/2106975254105164946'/><link rel='alternate' type='text/html' href='http://blogdeandru.blogspot.com/2013/02/caracteres-especiales-en-lubuntu.html' title='Caracteres especiales en lubuntu'/><author><name>andru255</name><uri>http://www.blogger.com/profile/17147102911296217062</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7070933287242485562.post-8016236555154436215</id><published>2013-02-19T20:25:00.002-08:00</published><updated>2014-07-19T12:51:01.407-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="apache"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="lubuntu"/><category scheme="http://www.blogger.com/atom/ns#" term="lxde"/><category scheme="http://www.blogger.com/atom/ns#" term="path"/><title type='text'>Cambiar de ruta por defecto de un server  local apache en lubuntu</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Para cambiar de path por defecto de un servidor local en un sistema operativo en este caso lubuntu se tiene que hacer lo siguiente:&lt;br /&gt;
&lt;br /&gt;
1.Loguarse como root&lt;br /&gt;
2. Luego modificar el archivo &quot;&lt;span style=&quot;background-color: #eeeeee; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, serif; font-size: 14px; line-height: 18px;&quot;&gt;default&lt;/span&gt;&quot; que se encuentra en la ruta&amp;nbsp;&lt;span style=&quot;background-color: #eeeeee; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, serif; font-size: 14px; line-height: 18px;&quot;&gt;/etc/apache/sites-avaliable/&lt;/span&gt;&lt;br /&gt;
3. Cambiar el path que está por defecto que es&amp;nbsp;&lt;span style=&quot;background-color: #eeeeee; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, serif; font-size: 14px; line-height: 18px;&quot;&gt;/var/www&amp;nbsp;&lt;/span&gt;, en&amp;nbsp;&lt;span style=&quot;background-color: #eeeeee; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, serif; font-size: 14px; line-height: 18px;&quot;&gt;DocumentRoot&amp;nbsp;&lt;/span&gt;como en&amp;nbsp;&lt;span style=&quot;background-color: #eeeeee; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, serif; font-size: 14px; line-height: 18px;&quot;&gt;Directory&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://blogdeandru.blogspot.com/feeds/8016236555154436215/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://blogdeandru.blogspot.com/2013/02/cambiar-de-ruta-por-defecto-de-un.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7070933287242485562/posts/default/8016236555154436215'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7070933287242485562/posts/default/8016236555154436215'/><link rel='alternate' type='text/html' href='http://blogdeandru.blogspot.com/2013/02/cambiar-de-ruta-por-defecto-de-un.html' title='Cambiar de ruta por defecto de un server  local apache en lubuntu'/><author><name>andru255</name><uri>http://www.blogger.com/profile/17147102911296217062</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7070933287242485562.post-8228518697505351610</id><published>2012-12-06T07:53:00.001-08:00</published><updated>2017-03-29T08:57:36.564-07:00</updated><title type='text'>Reiniciar Zend Server en consola de windows / reiniciar apache</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Para reiniciar el servicio de apache en windows con Zend Server cuando está corriendo vía consola aplica la siguiente línea:
&lt;br /&gt;
&lt;b&gt;OJO&lt;/b&gt;: considera ejecutarlo cuando levante la consola o también conocido como el cmd, no es necesario que estea en una ruta en especial.


&lt;br /&gt;
&lt;pre&gt;&lt;code class=&quot;language-bash&quot;&gt;
net stop Apache2.2-Zend &amp;amp;&amp;amp; net start Apache2.2-Zend
&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://blogdeandru.blogspot.com/feeds/8228518697505351610/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://blogdeandru.blogspot.com/2012/12/reiniciar-zend-server-en-consola-de.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7070933287242485562/posts/default/8228518697505351610'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7070933287242485562/posts/default/8228518697505351610'/><link rel='alternate' type='text/html' href='http://blogdeandru.blogspot.com/2012/12/reiniciar-zend-server-en-consola-de.html' title='Reiniciar Zend Server en consola de windows / reiniciar apache'/><author><name>andru255</name><uri>http://www.blogger.com/profile/17147102911296217062</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7070933287242485562.post-1806958443145319378</id><published>2012-11-04T19:13:00.002-08:00</published><updated>2012-11-04T19:20:18.727-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="box2d"/><category scheme="http://www.blogger.com/atom/ns#" term="box2dweb"/><category scheme="http://www.blogger.com/atom/ns#" term="canvas"/><category scheme="http://www.blogger.com/atom/ns#" term="Javascript"/><title type='text'>Aprendiendo Box2dWeb - 2da parte</title><content type='html'>En el &lt;a href=&quot;http://blogdeandru.blogspot.com/2012/11/aprendiendo-box2dweb-1era-parte.html&quot; target=&quot;_blank&quot;&gt;1er capítulo&lt;/a&gt;..&lt;br /&gt;
&lt;br /&gt;
Se vió sobre un pequeño concepto de lo que es box2d, e intanciamos en 1era las variables y objetos a usar, ahora continuamos con el code...&lt;br /&gt;
&lt;br /&gt;
2. Creamos ahora si las variables para nuestra demo:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;pre style=&quot;background-color: #f6f8ff; color: #000020;&quot;&gt;&lt;span style=&quot;color: #595979;&quot;&gt;//definimos el mundo&lt;/span&gt;
&lt;span style=&quot;color: #200080; font-weight: bold;&quot;&gt;var&lt;/span&gt; world &lt;span style=&quot;color: #308080;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: #200080; font-weight: bold;&quot;&gt;new&lt;/span&gt; b2World&lt;span style=&quot;color: #308080;&quot;&gt;(&lt;/span&gt; &lt;span style=&quot;color: #200080; font-weight: bold;&quot;&gt;new&lt;/span&gt; b2Vec&lt;span style=&quot;color: #308080;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #008c00;&quot;&gt;0&lt;/span&gt;&lt;span style=&quot;color: #308080;&quot;&gt;,&lt;/span&gt; &lt;span style=&quot;color: #008c00;&quot;&gt;10&lt;/span&gt;&lt;span style=&quot;color: #308080;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: #308080;&quot;&gt;,&lt;/span&gt; &lt;span style=&quot;color: #0f4d75;&quot;&gt;true&lt;/span&gt;&lt;span style=&quot;color: #308080;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: #406080;&quot;&gt;;&lt;/span&gt;

&lt;span style=&quot;color: #595979;&quot;&gt;//el patrón global para el entorno y el comportamiento de los objetos&lt;/span&gt;
fixDef &lt;span style=&quot;color: #308080;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: #200080; font-weight: bold;&quot;&gt;new&lt;/span&gt; b2FixtureDef&lt;span style=&quot;color: #406080;&quot;&gt;;&lt;/span&gt;
fixDef&lt;span style=&quot;color: #308080;&quot;&gt;.&lt;/span&gt;density &lt;span style=&quot;color: #308080;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: green;&quot;&gt;1.0&lt;/span&gt;&lt;span style=&quot;color: #406080;&quot;&gt;;&lt;/span&gt;
fixDef&lt;span style=&quot;color: #308080;&quot;&gt;.&lt;/span&gt;friction &lt;span style=&quot;color: #308080;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: green;&quot;&gt;0.5&lt;/span&gt;&lt;span style=&quot;color: #406080;&quot;&gt;;&lt;/span&gt;
fixDef&lt;span style=&quot;color: #308080;&quot;&gt;.&lt;/span&gt;restitution &lt;span style=&quot;color: #308080;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: green;&quot;&gt;0.2&lt;/span&gt;&lt;span style=&quot;color: #406080;&quot;&gt;;&lt;/span&gt;

&lt;span style=&quot;color: #595979;&quot;&gt;//usamos esta variable para definir de modo gráfico un objeto&lt;/span&gt;
&lt;span style=&quot;color: #200080; font-weight: bold;&quot;&gt;var&lt;/span&gt; bodyDef &lt;span style=&quot;color: #308080;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: #200080; font-weight: bold;&quot;&gt;new&lt;/span&gt; b2BodyDef&lt;span style=&quot;color: #406080;&quot;&gt;;&lt;/span&gt;

&lt;span style=&quot;color: #595979;&quot;&gt;//Aja! aqui interactuan 2 objetos que definimos en un principio&lt;/span&gt;
&lt;span style=&quot;color: #595979;&quot;&gt;//la variable que define al objeto y el b2Body que te da las 2 opciones&lt;/span&gt;
&lt;span style=&quot;color: #595979;&quot;&gt;//Si tu objeto es dinámico (b2_dynamicBody) o es estático (b2_staticBody)&lt;/span&gt;
&lt;span style=&quot;color: #595979;&quot;&gt;//En este caso es estático, que quiere decir que no se va a mover en el //entorno&lt;/span&gt;
bodyDef&lt;span style=&quot;color: #308080;&quot;&gt;.&lt;/span&gt;type &lt;span style=&quot;color: #308080;&quot;&gt;=&lt;/span&gt; b2Body&lt;span style=&quot;color: #308080;&quot;&gt;.&lt;/span&gt;b2_staticBody&lt;span style=&quot;color: #406080;&quot;&gt;;&lt;/span&gt;

&lt;span style=&quot;color: #595979;&quot;&gt;//La siguiente definición es con la parte del render del objeto&lt;/span&gt;
fixDef&lt;span style=&quot;color: #308080;&quot;&gt;.&lt;/span&gt;shape &lt;span style=&quot;color: #308080;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: #200080; font-weight: bold;&quot;&gt;new&lt;/span&gt; b2PolygonShape&lt;span style=&quot;color: #406080;&quot;&gt;;&lt;/span&gt;

&lt;span style=&quot;color: #595979;&quot;&gt;//Al ya estar definido de qué forma es la figura, se trabaja en este caso&lt;/span&gt;
&lt;span style=&quot;color: #595979;&quot;&gt;//como es poligonal, y quiero que sea un cuadrado, solamente recibe 2 //parámetros como Ancho y Alto&lt;/span&gt;
fixDef&lt;span style=&quot;color: #308080;&quot;&gt;.&lt;/span&gt;shape&lt;span style=&quot;color: #308080;&quot;&gt;.&lt;/span&gt;SetAsBox&lt;span style=&quot;color: #308080;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #008c00;&quot;&gt;20&lt;/span&gt;&lt;span style=&quot;color: #308080;&quot;&gt;,&lt;/span&gt; &lt;span style=&quot;color: #008c00;&quot;&gt;2&lt;/span&gt;&lt;span style=&quot;color: #308080;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: #406080;&quot;&gt;;&lt;/span&gt;

&lt;span style=&quot;color: #595979;&quot;&gt;//Establecemos las coordenadas del objeto que son X, Y&lt;/span&gt;
bodyDef&lt;span style=&quot;color: #308080;&quot;&gt;.&lt;/span&gt;position&lt;span style=&quot;color: #308080;&quot;&gt;.&lt;/span&gt;Set&lt;span style=&quot;color: #308080;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #008c00;&quot;&gt;10&lt;/span&gt;&lt;span style=&quot;color: #308080;&quot;&gt;,&lt;/span&gt; &lt;span style=&quot;color: #008c00;&quot;&gt;400&lt;/span&gt;&lt;span style=&quot;color: #308080;&quot;&gt;/&lt;/span&gt;&lt;span style=&quot;color: #008c00;&quot;&gt;30&lt;/span&gt; &lt;span style=&quot;color: #308080;&quot;&gt;+&lt;/span&gt; &lt;span style=&quot;color: green;&quot;&gt;1.8&lt;/span&gt;&lt;span style=&quot;color: #308080;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: #406080;&quot;&gt;;&lt;/span&gt;

&lt;span style=&quot;color: #595979;&quot;&gt;//Ahora ya tienes de que tipo es, sus dimensiones, y sus coordenadas...&lt;/span&gt;
&lt;span style=&quot;color: #595979;&quot;&gt;//y ahora que?&lt;/span&gt;
&lt;span style=&quot;color: #595979;&quot;&gt;//Tenemos que agregar nuestro objeto creado en el world.&lt;/span&gt;
&lt;span style=&quot;color: #595979;&quot;&gt;//el world lo crea tanto la definición (que es estática) y el objeto //encapsulado que es la figura a renderizarse&lt;/span&gt;
world&lt;span style=&quot;color: #308080;&quot;&gt;.&lt;/span&gt;CreateBody&lt;span style=&quot;color: #308080;&quot;&gt;(&lt;/span&gt;bodyDef&lt;span style=&quot;color: #308080;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: #308080;&quot;&gt;.&lt;/span&gt;CreateFixture&lt;span style=&quot;color: #308080;&quot;&gt;(&lt;/span&gt;fixDef&lt;span style=&quot;color: #308080;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: #406080;&quot;&gt;;&lt;/span&gt;

&lt;span style=&quot;color: #595979;&quot;&gt;//Luego de haber sido creado y agregado, queda aun en memoria &lt;/span&gt;
&lt;span style=&quot;color: #595979;&quot;&gt;//las características del objeto reciente en este caso cambio de posición //de nuevo&lt;/span&gt;
bodyDef&lt;span style=&quot;color: #308080;&quot;&gt;.&lt;/span&gt;position&lt;span style=&quot;color: #308080;&quot;&gt;.&lt;/span&gt;Set&lt;span style=&quot;color: #308080;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #008c00;&quot;&gt;10&lt;/span&gt;&lt;span style=&quot;color: #308080;&quot;&gt;,&lt;/span&gt; &lt;span style=&quot;color: #308080;&quot;&gt;-&lt;/span&gt;&lt;span style=&quot;color: green;&quot;&gt;1.8&lt;/span&gt;&lt;span style=&quot;color: #308080;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: #406080;&quot;&gt;;&lt;/span&gt;

&lt;span style=&quot;color: #595979;&quot;&gt;//y luego lo agrego al mundo&lt;/span&gt;
world&lt;span style=&quot;color: #308080;&quot;&gt;.&lt;/span&gt;CreateBody&lt;span style=&quot;color: #308080;&quot;&gt;(&lt;/span&gt;bodyDef&lt;span style=&quot;color: #308080;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: #308080;&quot;&gt;.&lt;/span&gt;CreateFixture&lt;span style=&quot;color: #308080;&quot;&gt;(&lt;/span&gt;fixDef&lt;span style=&quot;color: #308080;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: #406080;&quot;&gt;;&lt;/span&gt;

&lt;span style=&quot;color: #595979;&quot;&gt;//Listo!, ya tenemos 2 objetos estáticos en el world!! Felicitaciones! :D&lt;/span&gt;
&lt;span style=&quot;color: #595979;&quot;&gt;//Usando los pasos anteriores podemos reusar las variables que usamos //para la creación de los objetos estáticos.&lt;/span&gt;
fixDef&lt;span style=&quot;color: #308080;&quot;&gt;.&lt;/span&gt;shape&lt;span style=&quot;color: #308080;&quot;&gt;.&lt;/span&gt;SetAsBox&lt;span style=&quot;color: #308080;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #008c00;&quot;&gt;2&lt;/span&gt;&lt;span style=&quot;color: #308080;&quot;&gt;,&lt;/span&gt; &lt;span style=&quot;color: #008c00;&quot;&gt;14&lt;/span&gt;&lt;span style=&quot;color: #308080;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: #406080;&quot;&gt;;&lt;/span&gt;


&lt;span style=&quot;color: #595979;&quot;&gt;//Aqui nomas le cambiamos la posición&lt;/span&gt;
bodyDef&lt;span style=&quot;color: #308080;&quot;&gt;.&lt;/span&gt;position&lt;span style=&quot;color: #308080;&quot;&gt;.&lt;/span&gt;Set&lt;span style=&quot;color: #308080;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #308080;&quot;&gt;-&lt;/span&gt;&lt;span style=&quot;color: green;&quot;&gt;1.8&lt;/span&gt;&lt;span style=&quot;color: #308080;&quot;&gt;,&lt;/span&gt; &lt;span style=&quot;color: #008c00;&quot;&gt;13&lt;/span&gt;&lt;span style=&quot;color: #308080;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: #406080;&quot;&gt;;&lt;/span&gt;
&lt;span style=&quot;color: #595979;&quot;&gt;//Hacemos la misma jugada de adicionarlo al world&lt;/span&gt;
world&lt;span style=&quot;color: #308080;&quot;&gt;.&lt;/span&gt;CreateBody&lt;span style=&quot;color: #308080;&quot;&gt;(&lt;/span&gt;bodyDef&lt;span style=&quot;color: #308080;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: #308080;&quot;&gt;.&lt;/span&gt;CreateFixture&lt;span style=&quot;color: #308080;&quot;&gt;(&lt;/span&gt;fixDef&lt;span style=&quot;color: #308080;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: #406080;&quot;&gt;;&lt;/span&gt;
&lt;span style=&quot;color: #595979;&quot;&gt;//Otro objeto más que agregamos con distinta posición nomás&lt;/span&gt;
bodyDef&lt;span style=&quot;color: #308080;&quot;&gt;.&lt;/span&gt;position&lt;span style=&quot;color: #308080;&quot;&gt;.&lt;/span&gt;Set&lt;span style=&quot;color: #308080;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: green;&quot;&gt;21.8&lt;/span&gt;&lt;span style=&quot;color: #308080;&quot;&gt;,&lt;/span&gt; &lt;span style=&quot;color: #008c00;&quot;&gt;13&lt;/span&gt;&lt;span style=&quot;color: #308080;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: #406080;&quot;&gt;;&lt;/span&gt;
&lt;span style=&quot;color: #595979;&quot;&gt;//Y listo!&lt;/span&gt;
world&lt;span style=&quot;color: #308080;&quot;&gt;.&lt;/span&gt;CreateBody&lt;span style=&quot;color: #308080;&quot;&gt;(&lt;/span&gt;bodyDef&lt;span style=&quot;color: #308080;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: #308080;&quot;&gt;.&lt;/span&gt;CreateFixture&lt;span style=&quot;color: #308080;&quot;&gt;(&lt;/span&gt;fixDef&lt;span style=&quot;color: #308080;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: #406080;&quot;&gt;;&lt;/span&gt;

&lt;span style=&quot;color: #595979;&quot;&gt;//Ufff! que cansado jeje.. pero con esto tenemos un entorno cerrado para //hacer pruebas respectivas en el world, hay editores que nos ayuden, //pero el único detalle es que está en c++ http://www.iforce2d.net/b2deditor/&lt;/span&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
3. Ya que tenemos objetos estáticos que hacen la apariencia del world, creamos objetos dinámicos con los que vamos a interactuar, crearemos un cuadrado, un círculo y un triángulo:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;pre style=&quot;background-color: #f6f8ff; color: #000020;&quot;&gt;&lt;span style=&quot;color: #595979;&quot;&gt;//Aqui usamos de nuevo el b2Body, en este caso de modo dinámico que va&lt;/span&gt;
&lt;span style=&quot;color: #595979;&quot;&gt;//a tener ese comportamiento de elemento manipulable y arrastrable, //claro también sería mas entendible el comportamiento de caída libre&lt;/span&gt;
bodyDef&lt;span style=&quot;color: #308080;&quot;&gt;.&lt;/span&gt;type &lt;span style=&quot;color: #308080;&quot;&gt;=&lt;/span&gt; b2Body&lt;span style=&quot;color: #308080;&quot;&gt;.&lt;/span&gt;b2_dynamicBody&lt;span style=&quot;color: #406080;&quot;&gt;;&lt;/span&gt;

&lt;span style=&quot;color: #595979;&quot;&gt;//Otra vez consumimos del b2PolygonShape&lt;/span&gt;
fixDef&lt;span style=&quot;color: #308080;&quot;&gt;.&lt;/span&gt;shape &lt;span style=&quot;color: #308080;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: #200080; font-weight: bold;&quot;&gt;new&lt;/span&gt; b2PolygonShape&lt;span style=&quot;color: #406080;&quot;&gt;;&lt;/span&gt;

&lt;span style=&quot;color: #595979;&quot;&gt;//lo manejamos como un elemento de caja&lt;/span&gt;
fixDef&lt;span style=&quot;color: #308080;&quot;&gt;.&lt;/span&gt;shape&lt;span style=&quot;color: #308080;&quot;&gt;.&lt;/span&gt;SetAsBox&lt;span style=&quot;color: #308080;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #008c00;&quot;&gt;1&lt;/span&gt;&lt;span style=&quot;color: #308080;&quot;&gt;,&lt;/span&gt; &lt;span style=&quot;color: #008c00;&quot;&gt;1&lt;/span&gt;&lt;span style=&quot;color: #308080;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: #406080;&quot;&gt;;&lt;/span&gt;

&lt;span style=&quot;color: #595979;&quot;&gt;//Definimos la posición&lt;/span&gt;
bodyDef&lt;span style=&quot;color: #308080;&quot;&gt;.&lt;/span&gt;position&lt;span style=&quot;color: #308080;&quot;&gt;.&lt;/span&gt;x &lt;span style=&quot;color: #308080;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: #008c00;&quot;&gt;1&lt;/span&gt;&lt;span style=&quot;color: #406080;&quot;&gt;;&lt;/span&gt;
bodyDef&lt;span style=&quot;color: #308080;&quot;&gt;.&lt;/span&gt;position&lt;span style=&quot;color: #308080;&quot;&gt;.&lt;/span&gt;y &lt;span style=&quot;color: #308080;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: #008c00;&quot;&gt;1&lt;/span&gt;&lt;span style=&quot;color: #406080;&quot;&gt;;&lt;/span&gt;

&lt;span style=&quot;color: #595979;&quot;&gt;//Y lo agregamos :D&lt;/span&gt;
world&lt;span style=&quot;color: #308080;&quot;&gt;.&lt;/span&gt;CreateBody&lt;span style=&quot;color: #308080;&quot;&gt;(&lt;/span&gt;bodyDef&lt;span style=&quot;color: #308080;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: #308080;&quot;&gt;.&lt;/span&gt;CreateFixture&lt;span style=&quot;color: #308080;&quot;&gt;(&lt;/span&gt;fixDef&lt;span style=&quot;color: #308080;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: #406080;&quot;&gt;;&lt;/span&gt;

&lt;span style=&quot;color: #595979;&quot;&gt;//Ahora aqui llamamos el objeto b2CircleShape, que solamente te pide el //radio para renderizarlo&lt;/span&gt;
fixDef&lt;span style=&quot;color: #308080;&quot;&gt;.&lt;/span&gt;shape &lt;span style=&quot;color: #308080;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: #200080; font-weight: bold;&quot;&gt;new&lt;/span&gt; b2CircleShape&lt;span style=&quot;color: #308080;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #008c00;&quot;&gt;1&lt;/span&gt;&lt;span style=&quot;color: #308080;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: #406080;&quot;&gt;;&lt;/span&gt;
&lt;span style=&quot;color: #595979;&quot;&gt;//Lo adicionamos&lt;/span&gt;
world&lt;span style=&quot;color: #308080;&quot;&gt;.&lt;/span&gt;CreateBody&lt;span style=&quot;color: #308080;&quot;&gt;(&lt;/span&gt;bodyDef&lt;span style=&quot;color: #308080;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: #308080;&quot;&gt;.&lt;/span&gt;CreateFixture&lt;span style=&quot;color: #308080;&quot;&gt;(&lt;/span&gt;fixDef&lt;span style=&quot;color: #308080;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: #406080;&quot;&gt;;&lt;/span&gt;

&lt;span style=&quot;color: #595979;&quot;&gt;//Para definir el triángulo, por geometría es poligonal&lt;/span&gt;
fixDef&lt;span style=&quot;color: #308080;&quot;&gt;.&lt;/span&gt;shape &lt;span style=&quot;color: #308080;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: #200080; font-weight: bold;&quot;&gt;new&lt;/span&gt; b2PolygonShape&lt;span style=&quot;color: #406080;&quot;&gt;;&lt;/span&gt;

&lt;span style=&quot;color: #595979;&quot;&gt;//y definimos los vertices de este objeto&lt;/span&gt;
&lt;span style=&quot;color: #200080; font-weight: bold;&quot;&gt;var&lt;/span&gt; bodyVertices &lt;span style=&quot;color: #308080;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: #308080;&quot;&gt;[&lt;/span&gt;
  &lt;span style=&quot;color: #200080; font-weight: bold;&quot;&gt;new&lt;/span&gt; b2Vec2&lt;span style=&quot;color: #308080;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #008c00;&quot;&gt;0&lt;/span&gt;&lt;span style=&quot;color: #308080;&quot;&gt;,&lt;/span&gt; &lt;span style=&quot;color: #308080;&quot;&gt;-&lt;/span&gt;&lt;span style=&quot;color: #008c00;&quot;&gt;1&lt;/span&gt;&lt;span style=&quot;color: #308080;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: #308080;&quot;&gt;,&lt;/span&gt;
  &lt;span style=&quot;color: #200080; font-weight: bold;&quot;&gt;new&lt;/span&gt; b2Vec2&lt;span style=&quot;color: #308080;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #008c00;&quot;&gt;1&lt;/span&gt;&lt;span style=&quot;color: #308080;&quot;&gt;,&lt;/span&gt; &lt;span style=&quot;color: #008c00;&quot;&gt;1&lt;/span&gt;&lt;span style=&quot;color: #308080;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: #308080;&quot;&gt;,&lt;/span&gt;
  &lt;span style=&quot;color: #200080; font-weight: bold;&quot;&gt;new&lt;/span&gt; b2Vec2&lt;span style=&quot;color: #308080;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #308080;&quot;&gt;-&lt;/span&gt;&lt;span style=&quot;color: #008c00;&quot;&gt;1&lt;/span&gt;&lt;span style=&quot;color: #308080;&quot;&gt;,&lt;/span&gt; &lt;span style=&quot;color: #008c00;&quot;&gt;1&lt;/span&gt;&lt;span style=&quot;color: #308080;&quot;&gt;)&lt;/span&gt;
&lt;span style=&quot;color: #308080;&quot;&gt;]&lt;/span&gt;&lt;span style=&quot;color: #406080;&quot;&gt;;&lt;/span&gt;
&lt;span style=&quot;color: #595979;&quot;&gt;//Aqui se agregan los vertices a la figura poligonal&lt;/span&gt;
fixDef&lt;span style=&quot;color: #308080;&quot;&gt;.&lt;/span&gt;shape&lt;span style=&quot;color: #308080;&quot;&gt;.&lt;/span&gt;SetAsArray&lt;span style=&quot;color: #308080;&quot;&gt;(&lt;/span&gt;bodyVertices&lt;span style=&quot;color: #308080;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: #406080;&quot;&gt;;&lt;/span&gt;

&lt;span style=&quot;color: #595979;&quot;&gt;//Y otra vez lo adicionamos&lt;/span&gt;
world&lt;span style=&quot;color: #308080;&quot;&gt;.&lt;/span&gt;CreateBody&lt;span style=&quot;color: #308080;&quot;&gt;(&lt;/span&gt;bodyDef&lt;span style=&quot;color: #308080;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: #308080;&quot;&gt;.&lt;/span&gt;CreateFixture&lt;span style=&quot;color: #308080;&quot;&gt;(&lt;/span&gt;fixDef&lt;span style=&quot;color: #308080;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: #406080;&quot;&gt;;&lt;/span&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;En el siguiente capítulo continuamos con la explicación del code, queda pendiente detallar el DebugDraw y el comportamiento del mouse ;)&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://blogdeandru.blogspot.com/feeds/1806958443145319378/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://blogdeandru.blogspot.com/2012/11/aprendiendo-box2dweb-2da-parte.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7070933287242485562/posts/default/1806958443145319378'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7070933287242485562/posts/default/1806958443145319378'/><link rel='alternate' type='text/html' href='http://blogdeandru.blogspot.com/2012/11/aprendiendo-box2dweb-2da-parte.html' title='Aprendiendo Box2dWeb - 2da parte'/><author><name>andru255</name><uri>http://www.blogger.com/profile/17147102911296217062</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7070933287242485562.post-799863277458314258</id><published>2012-11-04T15:47:00.002-08:00</published><updated>2012-11-04T18:16:30.070-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="box2d"/><category scheme="http://www.blogger.com/atom/ns#" term="box2dweb"/><category scheme="http://www.blogger.com/atom/ns#" term="canvas"/><category scheme="http://www.blogger.com/atom/ns#" term="Javascript"/><title type='text'>Aprendiendo Box2dWeb - 1era parte</title><content type='html'>En este post, comento sobre una librería que me llama mucho la atención que se llama Box2D, ahora comento unos detalles de esta chevere librería:&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;
&lt;div&gt;
1. Empieza a ser desarrollado en c++ por &lt;a href=&quot;https://twitter.com/erin_catto&quot;&gt;Erin Catto&lt;/a&gt;, desde ya buen tiempo.&lt;/div&gt;
&lt;div&gt;
2. Es tan bacan que varios desarrolladores han traducido a otros lenguajes de programación.&lt;/div&gt;
&lt;div&gt;
3. En el caso de JavaScript se han desarrollado 2 librerías muy conocidas nos referimos a &lt;a href=&quot;http://code.google.com/p/box2dweb/&quot;&gt;Box2dWeb&lt;/a&gt;&amp;nbsp;y &lt;a href=&quot;http://box2d-js.sourceforge.net/&quot;&gt;Box2DJS&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;i&gt;&amp;nbsp;- &quot;Su nombre está chevere, pero,¿a qué se dedica?&quot;&lt;/i&gt;&lt;i&gt;&amp;nbsp;- Pues Box2d es una librería que te trae funcionalidades de comportamiento físico a un entorno, eso quiere decir que si yo creo un entorno físico adoptaría funcionalidades de la física real, sea manejar fricción, o la gravedad, o también considerando las colisiones y tooooodo lo que tiene que ver con el comportamiento físico, te ahorra mucho en desarrollar funciones complejas para calcular y/o renderizar objetos con comportamientos físicos :)&lt;/i&gt;&lt;/blockquote&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
En este caso usaremos Box2dWeb para aplicarlo en canvas, ojo que también los comportamientos se pueden asociar a etiquetas como son los divs, pero empezemos conociendo lo básico.&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;iframe allowfullscreen=&quot;allowfullscreen&quot; frameborder=&quot;0&quot; src=&quot;http://jsfiddle.net/andru255/Wt8ka/embedded/&quot; style=&quot;height: 300px; width: 100%;&quot;&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
En esta demo explico parte por parte:&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
1. Como verán se crea una función init, en este caso se está usando un patron llamado singleton ( que todo el código va en sábana), y defino algunas variables para referir objetos básicos de la misma librería para no repertir todo el seguimiento cada vez que lo necesite asociar, veamos:&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;i&gt;Considera que el signo de &quot;?&quot; es como la ayudita para saber por qué lo vamos a referenciar y usar :)&lt;/i&gt;&lt;/blockquote&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;pre&gt;//variables globales
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;var b2Vec2 = Box2D.Common.Math.b2Vec2; &lt;a href=&quot;http://blogdeandru.blogspot.com/2012/11/concepto-de-los-objetos-de-box2dweb.html#b2Vec2&quot; target=&quot;_blank&quot;&gt;?&lt;/a&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;var b2AABB = Box2D.Collision.b2AABB; &lt;a href=&quot;http://blogdeandru.blogspot.com/2012/11/concepto-de-los-objetos-de-box2dweb.html#b2AABB&quot; target=&quot;_blank&quot;&gt;?&lt;/a&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;var b2BodyDef = Box2D.Dynamics.b2BodyDef; &lt;a href=&quot;http://blogdeandru.blogspot.com/2012/11/concepto-de-los-objetos-de-box2dweb.html#b2BodyDef&quot; target=&quot;_blank&quot;&gt;?&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;

var b2Body = Box2D.Dynamics.b2Body; &lt;a href=&quot;http://blogdeandru.blogspot.com/2012/11/concepto-de-los-objetos-de-box2dweb.html#b2Body&quot; target=&quot;_blank&quot;&gt;?&lt;/a&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;var b2fixtureDef = Box2D.Dynamics.b2FixtureDef; &lt;a href=&quot;http://blogdeandru.blogspot.com/2012/11/concepto-de-los-objetos-de-box2dweb.html#b2FixtureDef&quot; target=&quot;_blank&quot;&gt;?&lt;/a&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;var b2fixture = Box2D.Dynamics.b2Fixture; &lt;a href=&quot;http://blogdeandru.blogspot.com/2012/11/concepto-de-los-objetos-de-box2dweb.html#b2Fixture&quot; target=&quot;_blank&quot;&gt;?&lt;/a&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;var b2World = Box2D.Dynamics.b2World; &lt;a href=&quot;http://blogdeandru.blogspot.com/2012/11/concepto-de-los-objetos-de-box2dweb.html#b2World&quot; target=&quot;_blank&quot;&gt;?&lt;/a&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;var b2PolygonShape = Box2D.Collision.Shapes.b2PolygonShape; &lt;a href=&quot;http://blogdeandru.blogspot.com/2012/11/concepto-de-los-objetos-de-box2dweb.html#b2PolygonShape&quot; target=&quot;_blank&quot;&gt;?&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;var b2CircleShape = Box2D.Collision.Shapes.b2CircleShape; &lt;a href=&quot;http://blogdeandru.blogspot.com/2012/11/concepto-de-los-objetos-de-box2dweb.html#b2CircleShape&quot; target=&quot;_blank&quot;&gt;?&lt;/a&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;var b2DebugDraw = Box2D.Dynamics.DebugDraw; &lt;a href=&quot;http://blogdeandru.blogspot.com/2012/11/concepto-de-los-objetos-de-box2dweb.html#b2DebugDraw&quot; target=&quot;_blank&quot;&gt;?&lt;/a&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;var b2MouseJointDef = Box2d.Dynamics.Joints.b2MouseJointDef; &lt;a href=&quot;http://blogdeandru.blogspot.com/2012/11/concepto-de-los-objetos-de-box2dweb.html#b2MouseJointDef&quot; target=&quot;_blank&quot;&gt;?&lt;/a&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;




&lt;span style=&quot;font-family: inherit;&quot;&gt;En el siguiente capítulo conocerémos del cómo trabajan estos objetos :D&lt;/span&gt;

</content><link rel='replies' type='application/atom+xml' href='http://blogdeandru.blogspot.com/feeds/799863277458314258/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://blogdeandru.blogspot.com/2012/11/aprendiendo-box2dweb-1era-parte.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7070933287242485562/posts/default/799863277458314258'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7070933287242485562/posts/default/799863277458314258'/><link rel='alternate' type='text/html' href='http://blogdeandru.blogspot.com/2012/11/aprendiendo-box2dweb-1era-parte.html' title='Aprendiendo Box2dWeb - 1era parte'/><author><name>andru255</name><uri>http://www.blogger.com/profile/17147102911296217062</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7070933287242485562.post-565672403635185533</id><published>2012-11-04T15:40:00.001-08:00</published><updated>2012-11-04T17:40:57.052-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="box2d"/><category scheme="http://www.blogger.com/atom/ns#" term="box2dweb"/><category scheme="http://www.blogger.com/atom/ns#" term="canvas"/><category scheme="http://www.blogger.com/atom/ns#" term="Javascript"/><title type='text'>Concepto de los objetos de Box2dWeb</title><content type='html'>Hola de nuevo, en este espacio trataré de definir de un punto de vista personal sobre los objetos que usaré en el desarrollo de aplicaciones con box2dweb, y los conceptos que se tratarán en las explicaciones de code&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;b id=&quot;b2Vec2&quot;&gt;Box2D.Common.Math.b2Vec2&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;llamamos al transformador de unidades de pixeles a vectoriales&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;b id=&quot;b2AABB&quot;&gt;Box2D.Collision.b2AABB&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;Necesitamos este objeto para usos como verificar collisiones, o hacer querys avanzados en el entorno que vamos a crear para otros usos interesantes.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;b id=&quot;b2BodyDef&quot;&gt;Box2D.Dynamics.b2BodyDef&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;Invocamos al objeto que nos va a dar la definición del objeto cuando lo creamos.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;b id=&quot;b2Body&quot;&gt;Box2D.Dynamics.b2Body&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;Invocandolo te ayuda a definir el tipo de objeto que vaz a mostrar, sea dínamico o estático.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;b id=&quot;b2FixtureDef&quot;&gt;Box2D.Dynamics.b2FixtureDef&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;Este objeto global nos ayudará a definir un patrón de comportamiento para cuando agregemos al entorno o world.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;b id=&quot;b2Fixture&quot;&gt;Box2D.Dynamics.b2Fixture&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;Este objeto nos ayuda&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;a encapsular propiedades en los mismos objetos creados.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;b id=&quot;b2World&quot;&gt;Box2D.Dynamics.b2World&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;Aqui invocamos al centro de trabajo donde funcionarán nuestros objetos físicos.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;b id=&quot;b2PolygonShape&quot;&gt;Box2D.Collision.Shapes.b2PolygonShape&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;Esta referencia participa luego de definir un objeto sea dinámico o estático, es una definición más antes del render del objeto a agregarse en el world&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;b id=&quot;b2CircleShape&quot;&gt;Box2D.Collision.Shapes.b2CircleShape&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;Como se ve claramente es la definición importante para renderizar el objeto, tiene el mismo comportamiento que la anterior renferencia pero este dá al objeto un comportamiento de círculo&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;b id=&quot;DebugDraw&quot;&gt;Box2D.Dynamics.DebugDraw&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;Este objeto nos ayudará a manejar las pruebas de forma gráfica los comportamiento de los objetos.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;b id=&quot;b2MouseJointDef&quot;&gt;Box2d.Dynamics.Joints.b2MouseJointDef&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;Joint se comporta como unión o gancho de un objeto a otro, esta referencia nos ayudará a manejar las asociaciones del mouse del usuario con los objetos.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;Seguiré actualizando según se avance con experiencias de desarrollo.&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://blogdeandru.blogspot.com/feeds/565672403635185533/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://blogdeandru.blogspot.com/2012/11/concepto-de-los-objetos-de-box2dweb.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7070933287242485562/posts/default/565672403635185533'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7070933287242485562/posts/default/565672403635185533'/><link rel='alternate' type='text/html' href='http://blogdeandru.blogspot.com/2012/11/concepto-de-los-objetos-de-box2dweb.html' title='Concepto de los objetos de Box2dWeb'/><author><name>andru255</name><uri>http://www.blogger.com/profile/17147102911296217062</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7070933287242485562.post-1484055819654432558</id><published>2012-10-20T20:43:00.000-07:00</published><updated>2012-10-20T20:43:39.467-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="api flikr"/><category scheme="http://www.blogger.com/atom/ns#" term="google news"/><category scheme="http://www.blogger.com/atom/ns#" term="jquery"/><category scheme="http://www.blogger.com/atom/ns#" term="JSON"/><title type='text'>API de google de news y de Flikr con jQuery</title><content type='html'>Muchas veces queremos testear un listado de noticias, o data en si, pues bueno para hacer un testing con el API de google news e integrar con jQuery es increiblemente fácil.&lt;br /&gt;
Ok, entonces empezemos:&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Aprendiendo el API de google news&lt;/b&gt;&lt;br /&gt;
Aqui viene lo bueno, me encontré justo buscando en los APIs de los servicios de google, y me encontré con google news, aqui el link: &lt;a href=&quot;https://developers.google.com/news-search/v1/jsondevguide&quot;&gt;API de google news&amp;nbsp;relacionado con json&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Y resalto esta parte: &lt;span style=&quot;font-size: x-small;&quot;&gt;&quot;&lt;span style=&quot;background-color: white; color: #222222; font-family: Arial, sans-serif; line-height: 24px;&quot;&gt;Request format&quot; en donde me da este link para trabajar:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #007000; font-family: &#39;Droid Sans Mono&#39;, monospace; font-size: 13px; line-height: 19px;&quot;&gt;https://ajax.googleapis.com/ajax/services/search/news&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #007000; font-family: &#39;Droid Sans Mono&#39;, monospace; font-size: 13px; line-height: 19px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; line-height: 19px;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Aja! entonces ya se que puedo hacer... Uso JQuery para traer la data con json, pero hay un detalle, estoy trabajando con jsfiddle.net, y quiero hacerlo con JSONP, bueno aqui el code para usarlo con ajax de jQuery&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; line-height: 19px;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;xml-text&quot; style=&quot;font-family: Inconsolata, Monaco, Consolas, &#39;Andale Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace; font-size: 12px; line-height: 15px;&quot;&gt;{&lt;/span&gt;&lt;br style=&quot;font-family: Inconsolata, Monaco, Consolas, &#39;Andale Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace; font-size: 12px; line-height: 15px;&quot; /&gt;&lt;span class=&quot;whitespace&quot; style=&quot;font-family: Inconsolata, Monaco, Consolas, &#39;Andale Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace; font-size: 12px; line-height: 15px;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;xml-text&quot; style=&quot;font-family: Inconsolata, Monaco, Consolas, &#39;Andale Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace; font-size: 12px; line-height: 15px;&quot;&gt;dataType:&#39;json&#39;,&lt;/span&gt;&lt;br style=&quot;font-family: Inconsolata, Monaco, Consolas, &#39;Andale Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace; font-size: 12px; line-height: 15px;&quot; /&gt;&lt;span class=&quot;whitespace&quot; style=&quot;font-family: Inconsolata, Monaco, Consolas, &#39;Andale Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace; font-size: 12px; line-height: 15px;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;xml-text&quot; style=&quot;font-family: Inconsolata, Monaco, Consolas, &#39;Andale Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace; font-size: 12px; line-height: 15px;&quot;&gt;url: &#39;http://ajax.googleapis.com/ajax/services/search/news?v=1.0&lt;/span&gt;&lt;span class=&quot;xml-entity&quot; style=&quot;color: #aa2222; font-family: Inconsolata, Monaco, Consolas, &#39;Andale Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace; font-size: 12px; line-height: 15px;&quot;&gt;&amp;amp;q=&quot;lima&quot;&amp;amp;num=20&amp;amp;callback=?&#39;,&lt;/span&gt;&lt;br style=&quot;font-family: Inconsolata, Monaco, Consolas, &#39;Andale Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace; font-size: 12px; line-height: 15px;&quot; /&gt;&lt;span class=&quot;whitespace&quot; style=&quot;font-family: Inconsolata, Monaco, Consolas, &#39;Andale Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace; font-size: 12px; line-height: 15px;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;xml-text&quot; style=&quot;font-family: Inconsolata, Monaco, Consolas, &#39;Andale Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace; font-size: 12px; line-height: 15px;&quot;&gt;success: function(data){&lt;/span&gt;&lt;br style=&quot;font-family: Inconsolata, Monaco, Consolas, &#39;Andale Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace; font-size: 12px; line-height: 15px;&quot; /&gt;&lt;span class=&quot;whitespace&quot; style=&quot;font-family: Inconsolata, Monaco, Consolas, &#39;Andale Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace; font-size: 12px; line-height: 15px;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;xml-text&quot; style=&quot;font-family: Inconsolata, Monaco, Consolas, &#39;Andale Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace; font-size: 12px; line-height: 15px;&quot;&gt;var customData = [];&lt;/span&gt;&lt;br style=&quot;font-family: Inconsolata, Monaco, Consolas, &#39;Andale Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace; font-size: 12px; line-height: 15px;&quot; /&gt;&lt;span class=&quot;whitespace&quot; style=&quot;font-family: Inconsolata, Monaco, Consolas, &#39;Andale Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace; font-size: 12px; line-height: 15px;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;xml-text&quot; style=&quot;font-family: Inconsolata, Monaco, Consolas, &#39;Andale Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace; font-size: 12px; line-height: 15px;&quot;&gt;if(data.responseData.results){&lt;/span&gt;&lt;br style=&quot;font-family: Inconsolata, Monaco, Consolas, &#39;Andale Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace; font-size: 12px; line-height: 15px;&quot; /&gt;&lt;span class=&quot;whitespace&quot; style=&quot;font-family: Inconsolata, Monaco, Consolas, &#39;Andale Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace; font-size: 12px; line-height: 15px;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span class=&quot;xml-text&quot; style=&quot;font-family: Inconsolata, Monaco, Consolas, &#39;Andale Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace; font-size: 12px; line-height: 15px;&quot;&gt;$.each(data.responseData.results, function(i,e){&lt;/span&gt;&lt;br style=&quot;font-family: Inconsolata, Monaco, Consolas, &#39;Andale Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace; font-size: 12px; line-height: 15px;&quot; /&gt;&lt;span class=&quot;whitespace&quot; style=&quot;font-family: Inconsolata, Monaco, Consolas, &#39;Andale Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace; font-size: 12px; line-height: 15px;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span class=&quot;xml-text&quot; style=&quot;font-family: Inconsolata, Monaco, Consolas, &#39;Andale Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace; font-size: 12px; line-height: 15px;&quot;&gt;customData[i] =&lt;/span&gt;&lt;br style=&quot;font-family: Inconsolata, Monaco, Consolas, &#39;Andale Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace; font-size: 12px; line-height: 15px;&quot; /&gt;&lt;span class=&quot;whitespace&quot; style=&quot;font-family: Inconsolata, Monaco, Consolas, &#39;Andale Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace; font-size: 12px; line-height: 15px;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span class=&quot;xml-text&quot; style=&quot;font-family: Inconsolata, Monaco, Consolas, &#39;Andale Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace; font-size: 12px; line-height: 15px;&quot;&gt;{titulo : e.title,&lt;/span&gt;&lt;br style=&quot;font-family: Inconsolata, Monaco, Consolas, &#39;Andale Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace; font-size: 12px; line-height: 15px;&quot; /&gt;&lt;span class=&quot;whitespace&quot; style=&quot;font-family: Inconsolata, Monaco, Consolas, &#39;Andale Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace; font-size: 12px; line-height: 15px;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;xml-text&quot; style=&quot;font-family: Inconsolata, Monaco, Consolas, &#39;Andale Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace; font-size: 12px; line-height: 15px;&quot;&gt;desc: e.content,&lt;/span&gt;&lt;br style=&quot;font-family: Inconsolata, Monaco, Consolas, &#39;Andale Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace; font-size: 12px; line-height: 15px;&quot; /&gt;&lt;span class=&quot;whitespace&quot; style=&quot;font-family: Inconsolata, Monaco, Consolas, &#39;Andale Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace; font-size: 12px; line-height: 15px;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;xml-text&quot; style=&quot;font-family: Inconsolata, Monaco, Consolas, &#39;Andale Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace; font-size: 12px; line-height: 15px;&quot;&gt;fecha: e.publishedDate};&lt;/span&gt;&lt;br style=&quot;font-family: Inconsolata, Monaco, Consolas, &#39;Andale Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace; font-size: 12px; line-height: 15px;&quot; /&gt;&lt;span class=&quot;whitespace&quot; style=&quot;font-family: Inconsolata, Monaco, Consolas, &#39;Andale Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace; font-size: 12px; line-height: 15px;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;br style=&quot;font-family: Inconsolata, Monaco, Consolas, &#39;Andale Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace; font-size: 12px; line-height: 15px;&quot; /&gt;&lt;span class=&quot;whitespace&quot; style=&quot;font-family: Inconsolata, Monaco, Consolas, &#39;Andale Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace; font-size: 12px; line-height: 15px;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span class=&quot;xml-text&quot; style=&quot;font-family: Inconsolata, Monaco, Consolas, &#39;Andale Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace; font-size: 12px; line-height: 15px;&quot;&gt;});&lt;/span&gt;&lt;br style=&quot;font-family: Inconsolata, Monaco, Consolas, &#39;Andale Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace; font-size: 12px; line-height: 15px;&quot; /&gt;&lt;span class=&quot;whitespace&quot; style=&quot;font-family: Inconsolata, Monaco, Consolas, &#39;Andale Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace; font-size: 12px; line-height: 15px;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;xml-text&quot; style=&quot;font-family: Inconsolata, Monaco, Consolas, &#39;Andale Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace; font-size: 12px; line-height: 15px;&quot;&gt;}&lt;/span&gt;&lt;br style=&quot;font-family: Inconsolata, Monaco, Consolas, &#39;Andale Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace; font-size: 12px; line-height: 15px;&quot; /&gt;&lt;span class=&quot;whitespace&quot; style=&quot;font-family: Inconsolata, Monaco, Consolas, &#39;Andale Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace; font-size: 12px; line-height: 15px;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span class=&quot;xml-text&quot; style=&quot;font-family: Inconsolata, Monaco, Consolas, &#39;Andale Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace; font-size: 12px; line-height: 15px;&quot;&gt;$(&quot;#rowTemplate&quot;).tmpl(customData).appendTo(&quot;#resultados&quot;);&lt;/span&gt;&lt;br style=&quot;font-family: Inconsolata, Monaco, Consolas, &#39;Andale Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace; font-size: 12px; line-height: 15px;&quot; /&gt;&lt;span class=&quot;whitespace&quot; style=&quot;font-family: Inconsolata, Monaco, Consolas, &#39;Andale Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace; font-size: 12px; line-height: 15px;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;xml-text&quot; style=&quot;font-family: Inconsolata, Monaco, Consolas, &#39;Andale Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace; font-size: 12px; line-height: 15px;&quot;&gt;}&lt;/span&gt;&lt;br style=&quot;font-family: Inconsolata, Monaco, Consolas, &#39;Andale Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace; font-size: 12px; line-height: 15px;&quot; /&gt;&lt;span class=&quot;whitespace&quot; style=&quot;font-family: Inconsolata, Monaco, Consolas, &#39;Andale Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace; font-size: 12px; line-height: 15px;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span class=&quot;xml-text&quot; style=&quot;font-family: Inconsolata, Monaco, Consolas, &#39;Andale Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace; font-size: 12px; line-height: 15px;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
Pero como muestra poca data, aplicaremos la de flikr como para hacerlo mas interesante:&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Inconsolata, Monaco, Consolas, Andale Mono, Bitstream Vera Sans Mono, Courier New, Courier, monospace;&quot;&gt;&lt;span style=&quot;font-size: 12px; line-height: 15px;&quot;&gt;&lt;iframe allowfullscreen=&quot;allowfullscreen&quot; frameborder=&quot;0&quot; src=&quot;http://jsfiddle.net/andru255/jDR7a/6/embedded/&quot; style=&quot;height: 300px; width: 100%;&quot;&gt;&lt;/iframe&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://blogdeandru.blogspot.com/feeds/1484055819654432558/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://blogdeandru.blogspot.com/2012/10/api-de-google-de-news-y-de-flikr-con.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7070933287242485562/posts/default/1484055819654432558'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7070933287242485562/posts/default/1484055819654432558'/><link rel='alternate' type='text/html' href='http://blogdeandru.blogspot.com/2012/10/api-de-google-de-news-y-de-flikr-con.html' title='API de google de news y de Flikr con jQuery'/><author><name>andru255</name><uri>http://www.blogger.com/profile/17147102911296217062</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7070933287242485562.post-4708237151298850668</id><published>2010-12-02T06:39:00.000-08:00</published><updated>2010-12-02T06:41:36.017-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="photoshop"/><title type='text'>Adobe Photoshop CS4 Version 11.0 se queda colgado &quot;Leyendo preferencias&quot;</title><content type='html'>&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;http://www.syswoody.com/images/stories/adobe_photoshop_cs4_bloqued.png&quot;&gt;&lt;img style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 644px; height: 349px;&quot; src=&quot;http://www.syswoody.com/images/stories/adobe_photoshop_cs4_bloqued.png&quot; border=&quot;0&quot; alt=&quot;&quot; /&gt;&lt;/a&gt;&lt;br /&gt;Intentando abrir Adobe Photoshop CS4 Version 11.0 se queda colgado &quot;Leyendo preferencias&quot; y no pasa de aqui.&lt;br /&gt; &lt;br /&gt;&lt;br /&gt; &lt;br /&gt;Solucion&lt;br /&gt;Pasa por renombar la carpeta %userprofile%\Datos de programa\Adobe\Adobe Photoshop CS4&lt;br /&gt; &lt;br /&gt;A adobe.old&lt;br /&gt; &lt;br /&gt;Abrimos el photoshop de nuevo nos volvera a crear una carpeta con el mismo nombre pero con un tamaño de 800 k nada que ver con los 3mb que tenia.</content><link rel='replies' type='application/atom+xml' href='http://blogdeandru.blogspot.com/feeds/4708237151298850668/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://blogdeandru.blogspot.com/2010/12/adobe-photoshop-cs4-version-110-se.html#comment-form' title='1 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7070933287242485562/posts/default/4708237151298850668'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7070933287242485562/posts/default/4708237151298850668'/><link rel='alternate' type='text/html' href='http://blogdeandru.blogspot.com/2010/12/adobe-photoshop-cs4-version-110-se.html' title='Adobe Photoshop CS4 Version 11.0 se queda colgado &quot;Leyendo preferencias&quot;'/><author><name>andru255</name><uri>http://www.blogger.com/profile/17147102911296217062</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7070933287242485562.post-3632607711746018954</id><published>2010-05-01T14:39:00.000-07:00</published><updated>2010-05-01T14:51:20.458-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ANOMALIAS"/><category scheme="http://www.blogger.com/atom/ns#" term="CSS"/><category scheme="http://www.blogger.com/atom/ns#" term="FORMS"/><category scheme="http://www.blogger.com/atom/ns#" term="HTML"/><title type='text'>Anomalías con las etiquetas HTML</title><content type='html'>Hace unos días me encontré con una sorpresa de que estaba agragegando varios forms de esta manera:&lt;br /&gt;&lt;blockquote style=&quot;margin-left:40px;&quot;&gt;&lt;br /&gt;  &amp;lt;form&amp;gt;&lt;br /&gt;    .... luego de unas cuantas etiquetas mas ...      &lt;br /&gt;     &lt;blockquote style=&quot;margin-left:80px;&quot;&gt;&lt;br /&gt;        &amp;lt;form&amp;gt;&lt;br /&gt;            ....&lt;br /&gt;        &amp;lt;/form&amp;gt;&lt;br /&gt;        &amp;lt;form&amp;gt;&lt;br /&gt;           .....&lt;br /&gt;        &amp;lt;/form&amp;gt;&lt;br /&gt;     &lt;/blockquote&gt;&lt;br /&gt;&amp;lt;/form&amp;gt;&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;Resulta que el primer &amp;lt;form&amp;gt; q estaba adentro hacía los sgte en los navegadores:&lt;br /&gt;Firefox: No mostraba el primer &amp;lt;form&amp;gt; incluido en el form maestro&lt;br /&gt;Iexplore: Se deformaba por completo el diseño&lt;br /&gt;Chrome: Hacía lo mismo que firefox&lt;br /&gt;Opera si no sé pero me imagino q algo en común.&lt;br /&gt;&lt;br /&gt;Resulta que cuando se hace esto es probable de que uno se lleve con una gran sorpresa, ¿q hice? o peor aun ¿mi navegador esta mal, no q firefox?.&lt;br /&gt;&lt;br /&gt;La respuesta a todo esto es que es notable de que no deben existir forms anidados, tenga en cuenta mi estimado lector de que cuando maquetes no hagas forms anidados.</content><link rel='replies' type='application/atom+xml' href='http://blogdeandru.blogspot.com/feeds/3632607711746018954/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://blogdeandru.blogspot.com/2010/05/anomalias-con-las-etiquetas-html.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7070933287242485562/posts/default/3632607711746018954'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7070933287242485562/posts/default/3632607711746018954'/><link rel='alternate' type='text/html' href='http://blogdeandru.blogspot.com/2010/05/anomalias-con-las-etiquetas-html.html' title='Anomalías con las etiquetas HTML'/><author><name>andru255</name><uri>http://www.blogger.com/profile/17147102911296217062</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7070933287242485562.post-1036391544482557772</id><published>2010-05-01T14:27:00.000-07:00</published><updated>2010-05-01T14:35:13.357-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="blog portafolio"/><title type='text'>Portafolio</title><content type='html'>Presento mis trabajos realizados</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7070933287242485562/posts/default/1036391544482557772'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7070933287242485562/posts/default/1036391544482557772'/><link rel='alternate' type='text/html' href='http://blogdeandru.blogspot.com/2010/05/portafolio.html' title='Portafolio'/><author><name>andru255</name><uri>http://www.blogger.com/profile/17147102911296217062</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-7070933287242485562.post-7614856722884137842</id><published>2010-03-08T19:31:00.000-08:00</published><updated>2010-03-08T19:39:29.793-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="HTML"/><category scheme="http://www.blogger.com/atom/ns#" term="ie7"/><category scheme="http://www.blogger.com/atom/ns#" term="Javascript"/><title type='text'>Otra Problemática de ie7, el DOM</title><content type='html'>El internet Explorer 7 tiene bastantes fallas como se sabe muy bien, ahora hay un detalle que comparto que es la carga de archivos css y js de un sitio web, por experiencia y en busca de foros me e dado con la sorpresa de lo siguiente:&lt;br /&gt;1- ie7 no carga mas de 30 a 32 css&lt;br /&gt;2- ie7 carga a la vez css con js, situacion que cuando hay bastantes css y mas aún cuando mi css contiene el popular @import donde llamo a otras css.&lt;br /&gt;3-Y por último, cuando trabajo con flash que llama funciones javascript que trabajan con la estructura del HTML, un tema que es terrible porque no termina de cargar mi página web debido a que este bendito navegador no es del todo bueno.&lt;br /&gt;&lt;br /&gt;RECOMENDACIONES:&lt;br /&gt;Por mi parte cuando se trata del punto 3, recomiendo usar la librería Jquery y usar el setTimeout que se dispara cuando todo mi html está cargado, y poder trabajar tranquilamente con mi html.</content><link rel='replies' type='application/atom+xml' href='http://blogdeandru.blogspot.com/feeds/7614856722884137842/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://blogdeandru.blogspot.com/2010/03/otra-problematica-de-ie7-el-dom.html#comment-form' title='1 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7070933287242485562/posts/default/7614856722884137842'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7070933287242485562/posts/default/7614856722884137842'/><link rel='alternate' type='text/html' href='http://blogdeandru.blogspot.com/2010/03/otra-problematica-de-ie7-el-dom.html' title='Otra Problemática de ie7, el DOM'/><author><name>andru255</name><uri>http://www.blogger.com/profile/17147102911296217062</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7070933287242485562.post-5979723116724487180</id><published>2009-12-26T10:44:00.000-08:00</published><updated>2009-12-26T10:50:10.499-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="CSS"/><category scheme="http://www.blogger.com/atom/ns#" term="JSON"/><title type='text'>CSS con JSON</title><content type='html'>&lt;p&gt;Una interesante idea me encuentro por delicious esta mañana. Se trata de &lt;a href=&quot;http://maraksquires.com/json_stylesheets/&quot;&gt;JSSS&lt;/a&gt;, una implementacion (muy sencilla) para conseguir JSON que genere CSS. La idea es solucionar algunas de las carencias de CSS:&lt;/p&gt; &lt;ul&gt;&lt;li&gt;CSS no es un lenguaje de programación (no hay variables, funciones, no lógica)&lt;/li&gt;&lt;li&gt;Las propiedades CSS no son cross-browser&lt;/li&gt;&lt;li&gt;Los frameworks CSS están pensado para trabajar en lado del servidor y necesitamos que se ejecute en el cliente&lt;/li&gt;&lt;li&gt;Incluir dinámicamente CSS en el DOM no garantiza que las clases CSS sean cross-browser&lt;/li&gt;&lt;/ul&gt; &lt;p&gt;Por ese motivo, las hojas de estilo JSON pretenden aportar las ventajas de Javascript:&lt;/p&gt; &lt;ul&gt;&lt;li&gt;Todas las propiedades CSS están almacenadas en objetos JSON&lt;/li&gt;&lt;li&gt;Las propiedades y clases CSS pueden ser manipuladas via Javascript&lt;/li&gt;&lt;li&gt;Las propiedades y clases pueden ser dinámicas en tiempo de ejecución&lt;/li&gt;&lt;li&gt;Todo el sistema de plantillas CSS es gestionado desde el cliente&lt;/li&gt;&lt;/ul&gt;</content><link rel='replies' type='application/atom+xml' href='http://blogdeandru.blogspot.com/feeds/5979723116724487180/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://blogdeandru.blogspot.com/2009/12/css-con-json.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7070933287242485562/posts/default/5979723116724487180'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7070933287242485562/posts/default/5979723116724487180'/><link rel='alternate' type='text/html' href='http://blogdeandru.blogspot.com/2009/12/css-con-json.html' title='CSS con JSON'/><author><name>andru255</name><uri>http://www.blogger.com/profile/17147102911296217062</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7070933287242485562.post-2232919261273409708</id><published>2009-12-26T10:13:00.001-08:00</published><updated>2009-12-26T10:15:20.278-08:00</updated><title type='text'>Y empiezo!!!</title><content type='html'>&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-8OJZvr32DZ2VZXuBWRKixrj61NX_lys0uveM3vXepKZ_ky0oIk70Lrf1bXTjR_HDKBiD3Nox-1UdIJ3wvzDj83ahKiswSXnkdg7U0SAFulgFA7_DBhyvS_KVA8cW6YHmMu_yXE4_Dnjb/s1600-h/k1.BMP&quot;&gt;&lt;img style=&quot;margin: 0pt 0pt 10px 10px; float: right; cursor: pointer; width: 224px; height: 320px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-8OJZvr32DZ2VZXuBWRKixrj61NX_lys0uveM3vXepKZ_ky0oIk70Lrf1bXTjR_HDKBiD3Nox-1UdIJ3wvzDj83ahKiswSXnkdg7U0SAFulgFA7_DBhyvS_KVA8cW6YHmMu_yXE4_Dnjb/s320/k1.BMP&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5419609923484358818&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;br /&gt;E aqui un pequeño contenido, mi grupo favorito al lado derecho, unas de sus fotos del album innuendo. :)</content><link rel='replies' type='application/atom+xml' href='http://blogdeandru.blogspot.com/feeds/2232919261273409708/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://blogdeandru.blogspot.com/2009/12/y-empiezo.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7070933287242485562/posts/default/2232919261273409708'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7070933287242485562/posts/default/2232919261273409708'/><link rel='alternate' type='text/html' href='http://blogdeandru.blogspot.com/2009/12/y-empiezo.html' title='Y empiezo!!!'/><author><name>andru255</name><uri>http://www.blogger.com/profile/17147102911296217062</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-8OJZvr32DZ2VZXuBWRKixrj61NX_lys0uveM3vXepKZ_ky0oIk70Lrf1bXTjR_HDKBiD3Nox-1UdIJ3wvzDj83ahKiswSXnkdg7U0SAFulgFA7_DBhyvS_KVA8cW6YHmMu_yXE4_Dnjb/s72-c/k1.BMP" height="72" width="72"/><thr:total>0</thr:total></entry></feed>