<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0"><channel><description>web design, geekness, the internet, technology, gadgets &amp; random stuff</description><title>(blog) eduwass.tumblr.com</title><generator>Tumblr (3.0; @eduwass)</generator><link>http://eduwass.tumblr.com/</link><item><title>10 Crucial Sublime Text 2 Plugins for the PHP Craftsman - {never stop building}</title><description>&lt;a href="http://neverstopbuilding.net/10-crucial-sublime-text-plugins-for-the-php-craftsman/"&gt;10 Crucial Sublime Text 2 Plugins for the PHP Craftsman - {never stop building}&lt;/a&gt;: &lt;p&gt;&lt;img src="http://neverstopbuilding.net/images/post-content/phpcs.png" title="PHP CodeSniffer"/&gt;&lt;/p&gt;</description><link>http://eduwass.tumblr.com/post/50567356484</link><guid>http://eduwass.tumblr.com/post/50567356484</guid><pubDate>Thu, 16 May 2013 11:38:22 +0200</pubDate></item><item><title>PhoneGap on Ubuntu 12.04</title><description>&lt;p&gt;Bad documentation out there, so I&amp;rsquo;m gonna write down the steps that worked for me here:&lt;/p&gt;
&lt;p&gt;- Download: adt-bundle-linux-x86_64.zip ( this includes the two first steps, so you can ignore them: install Eclipse, download Android SDK )&lt;/p&gt;
&lt;p&gt;- Unzipped it in my home dir&lt;/p&gt;
&lt;p&gt;- You can still do step 3, to update ADT plugin&lt;/p&gt;
&lt;p&gt;- Add to path (edit .profile) the Android SDK paths: /home/ewass/sdk/platform-tools:/home/ewass/sdk/tools&lt;/p&gt;
&lt;p&gt;- Install Java (if not already installed): sudo apt-get install openjdk-7-jre openjdk-7-jdk&lt;/p&gt;
&lt;p&gt;- Unzip phonegap-phonegap-2.2.0-0-g8a3aa47.zip&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;cd phonegap/lib/android/bin/&lt;br/&gt;./create /home/ewass/iapp1 com.wass.iApp iApp&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Works now, before it said:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;An error occurred. Deleting project&amp;hellip; &lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&lt;strong&gt;Once it works: &lt;a href="http://docs.phonegap.com/en/2.2.0/guide_getting-started_android_index.md.html#Getting%20Started%20with%20Android_4_setup_new_project" target="_blank"&gt;Continue Steps of Documentation&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;</description><link>http://eduwass.tumblr.com/post/36660449845</link><guid>http://eduwass.tumblr.com/post/36660449845</guid><pubDate>Tue, 27 Nov 2012 12:42:00 +0100</pubDate></item><item><title>Instalar Sublime Text en Ubuntu (desde apt-get)</title><description>&lt;p&gt;Para ello será necesario añadir los repositorios:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;span&gt;sudo add-apt-repository ppa:webupd8team/sublime-text-2&lt;/span&gt;&lt;br/&gt;&lt;span&gt;sudo apt-get update&lt;/span&gt;&lt;br/&gt;&lt;span&gt;sudo apt-get install sublime-text&lt;/span&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&lt;span&gt;Y a gozar.&lt;/span&gt;&lt;/p&gt;</description><link>http://eduwass.tumblr.com/post/36059650367</link><guid>http://eduwass.tumblr.com/post/36059650367</guid><pubDate>Mon, 19 Nov 2012 12:16:03 +0100</pubDate><category>sublime text ubuntu install</category></item><item><title>Caprichos de la vida</title><description>&lt;p&gt;&lt;img src="https://yfrog.com/h6uvjphj:iphone"/&gt;&lt;/p&gt;
&lt;blockquote class="twitter-tweet tw-align-center"&gt;
&lt;p&gt;nuevo ratón para csgo, logitech g300 &lt;a href="http://t.co/n4jSXMVw" title="http://yfrog.com/h6uvjphj" target="_blank"&gt;yfrog.com/h6uvjphj&lt;/a&gt;&lt;/p&gt;
— Edu Wass(@eduwass) &lt;a href="https://twitter.com/eduwass/status/269785752039219201" data-datetime="2012-11-17T12:55:10+00:00" target="_blank"&gt;noviembre 17, 2012&lt;/a&gt;&lt;/blockquote&gt;
&lt;script charset="utf-8" src="//platform.twitter.com/widgets.js" type="text/javascript"&gt;&lt;/script&gt;</description><link>http://eduwass.tumblr.com/post/35905860195</link><guid>http://eduwass.tumblr.com/post/35905860195</guid><pubDate>Sat, 17 Nov 2012 13:56:00 +0100</pubDate></item><item><title>
Son las matemáticas, estúpidoelpais.com/elpais/2012/11… vía @el_pais
— Edu Wass(@eduwass) noviembre...</title><description>&lt;blockquote class="twitter-tweet tw-align-center"&gt;
&lt;p&gt;Son las matemáticas, estúpido&lt;a href="http://t.co/qcp3uK6V" title="http://elpais.com/elpais/2012/11/12/opinion/1352747017_116039.html" target="_blank"&gt;elpais.com/elpais/2012/11…&lt;/a&gt; vía @&lt;a href="https://twitter.com/el_pais" target="_blank"&gt;el_pais&lt;/a&gt;&lt;/p&gt;
— Edu Wass(@eduwass) &lt;a href="https://twitter.com/eduwass/status/268999306684542976" data-datetime="2012-11-15T08:50:07+00:00" target="_blank"&gt;noviembre 15, 2012&lt;/a&gt;&lt;/blockquote&gt;
&lt;script charset="utf-8" src="//platform.twitter.com/widgets.js" type="text/javascript"&gt;&lt;/script&gt;</description><link>http://eduwass.tumblr.com/post/35767421549</link><guid>http://eduwass.tumblr.com/post/35767421549</guid><pubDate>Thu, 15 Nov 2012 11:10:53 +0100</pubDate></item><item><title>MongoDB free Courses!</title><description>&lt;a href="https://education.10gen.com/courses"&gt;MongoDB free Courses!&lt;/a&gt;: &lt;p&gt;10gen develops MongoDB, and offers production support, training, and consulting for the open source database.&lt;/p&gt;
&lt;p&gt;10gen was founded by former DoubleClick Founder and CTO Dwight Merriman and former DoubleClick engineer and ShopWiki Founder and CTO Eliot Horowitz. Dwight and Eliot began development on MongoDB in 2007, drawing upon their experiences building large scale, high availability, robust systems.&lt;/p&gt;
&lt;p&gt;10gen is led by seasoned executives and technologists with senior leadership experience at many of the worlds leading technology companies, including two executives and four senior engineers with over 50 years combined experience at Oracle. 10gen is backed by leading venture capital firms who invested in established leaders like Oracle, Cisco and Apple as well as rapidly growing internet companies like Zynga and Twitter.&lt;/p&gt;</description><link>http://eduwass.tumblr.com/post/34352147337</link><guid>http://eduwass.tumblr.com/post/34352147337</guid><pubDate>Fri, 26 Oct 2012 11:11:55 +0200</pubDate></item><item><title>"Five days ago, Dropbox launched its first collegiate Space Race, and gave us MIT folk a chance at..."</title><description>“Five days ago, Dropbox launched its first collegiate Space Race, and gave us MIT folk a chance at eternal glory. To nobody’s surprise, it was only a matter of hours before we had achieved a landslide victory.”&lt;br/&gt;&lt;br/&gt; - &lt;em&gt;&lt;a href="http://blog.burtonthird.com/?p=81" target="_blank"&gt;Hacking the Dropbox Space Race | blog.burtonthird.com&lt;/a&gt;&lt;/em&gt;</description><link>http://eduwass.tumblr.com/post/34090444588</link><guid>http://eduwass.tumblr.com/post/34090444588</guid><pubDate>Mon, 22 Oct 2012 10:58:44 +0200</pubDate></item><item><title>Twitter / eduwass: ¿Eres de la UPC y tienes ...</title><description>&lt;a href="https://twitter.com/eduwass/status/258134837913866240"&gt;Twitter / eduwass: ¿Eres de la UPC y tienes ...&lt;/a&gt;: &lt;p&gt;&lt;span&gt;¿Eres de la UPC y tienes DropBox? 8 GB (o más) Gratis! &lt;/span&gt;&lt;a class="twitter-timeline-link" href="https://t.co/BGykJAF0" title="https://www.dropbox.com/spacerace?r=NTkyNTc1NTE5" target="_blank" data-expanded-url="https://www.dropbox.com/spacerace?r=NTkyNTc1NTE5"&gt;&lt;span class="invisible"&gt;https://www.&lt;/span&gt;&lt;span class="js-display-url"&gt;dropbox.com/spacerace?r=NT&lt;/span&gt;&lt;span class="invisible"&gt;kyNTc1NTE5&lt;/span&gt;&lt;span class="tco-ellipsis"&gt;&lt;span class="invisible"&gt; &lt;/span&gt;…&lt;/span&gt;&lt;/a&gt;&lt;span&gt; RT! &lt;/span&gt;&lt;a class="twitter-hashtag pretty-link js-nav" href="https://twitter.com/search?q=%23dropboxspacerace&amp;src=hash" data-query-source="hashtag_click" target="_blank"&gt;#&lt;strong&gt;dropboxspacerace&lt;/strong&gt;&lt;/a&gt;&lt;/p&gt;</description><link>http://eduwass.tumblr.com/post/33701321535</link><guid>http://eduwass.tumblr.com/post/33701321535</guid><pubDate>Tue, 16 Oct 2012 11:51:38 +0200</pubDate></item><item><title>Cambio de grupo en la UPC</title><description>&lt;p&gt;Cambio de grupo en la UPC, menuda odisea.&lt;/p&gt;
&lt;p&gt;Por las prisas me confundí con el maldito programa de matrícula, y ahora lo estoy pagando con creces. &lt;/p&gt;
&lt;p&gt;Hice una instancia formal a la secretaria de la universidad, una bonita instancia que se pasaron por el forro de los cojones.&lt;/p&gt;
&lt;p&gt;Trabajo de mañanas para pagarme la carrera, acabo de soltar 800 pavos para matricular 2 asignaturas, y básicamente lo que me han dicho es búscate la vida chaval. Que encuentre manualmente a alguien que me quiera cambiar el grupo.&lt;/p&gt;

&lt;p&gt;Visca la UPC!&lt;/p&gt;

&lt;p&gt;Lo predico, pero nadie me quiere cambiar el puto grupo, así que he decidido bajarme los pantalones aún más.&lt;/p&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;- Transporte TMB: Tarjeta T-50&lt;/div&gt;
&lt;div&gt;- Tarjeta SD 32 GB (para tu Smartphone)&lt;/div&gt;
&lt;div&gt;- 6 meses de Spotify Unlimited&lt;/div&gt;
&lt;div&gt;- 3 meses de Spotify Premium&lt;/div&gt;
&lt;div&gt;- 3 meses de Youzee (películas)&lt;/div&gt;
&lt;div&gt;- Ratón / Teclado / Gamepad / Auriculares u otro periférico .. a elegir inferior a 60€&lt;/div&gt;
&lt;div&gt;&lt;br/&gt;&lt;br/&gt;&lt;/div&gt;
&lt;div&gt;Juegos:&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;- The Elder Scrolls V: Skyrim - Dawnguard (DLC)&lt;br/&gt;- Natural Selection 2&lt;/div&gt;
&lt;div&gt;- Crysys 1 o 2&lt;/div&gt;
&lt;div&gt;- Portal 2&lt;/div&gt;
&lt;div&gt;- Max Payne 3&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;- Left 4 Dead 1 o 2&lt;/div&gt;
&lt;div&gt;- Counter Strike: Global Offensive&lt;br/&gt;- ARMA II: Combined Operations&lt;/div&gt;
&lt;div&gt;- (También se aceptan otras propuestas)&lt;/div&gt;
&lt;div&gt;&lt;br/&gt;&lt;br/&gt;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;Esto es lo que regalo a quien quiera cambiarme el grupo xD&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;&lt;br/&gt;&lt;br/&gt;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;Así que ya sabéis, si estudiáis informática y estáis matriculados en el grupo 43/44 de PE, enviadme un mail.&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;&lt;br/&gt;&lt;br/&gt;Un abrazo ;)&lt;br/&gt;&lt;br/&gt; &lt;/div&gt;
&lt;div&gt;&lt;/div&gt;</description><link>http://eduwass.tumblr.com/post/31050107114</link><guid>http://eduwass.tumblr.com/post/31050107114</guid><pubDate>Fri, 07 Sep 2012 11:55:54 +0200</pubDate><category>UPC</category></item><item><title>Cambiar idioma de Windows 7 Home Premium y Professional a español | Hardsoft Geek</title><description>&lt;a href="http://hardsoftgeek.com.ar/2010/03/cambiar-idioma-de-windows-7-home-premium-y-professional-a-espanol.html"&gt;Cambiar idioma de Windows 7 Home Premium y Professional a español | Hardsoft Geek&lt;/a&gt;: &lt;p&gt;Útil.&lt;/p&gt;</description><link>http://eduwass.tumblr.com/post/24186855786</link><guid>http://eduwass.tumblr.com/post/24186855786</guid><pubDate>Fri, 01 Jun 2012 11:02:43 +0200</pubDate></item><item><title>Mac OS Tip: Backup folder to Dropbox without moving it</title><description>&lt;p&gt;This tip might be obvious but I didn&amp;rsquo;t really thought about it:&lt;br/&gt;Just create a symbolic link to your Dropbox folder and that&amp;rsquo;s it:&lt;/p&gt;
&lt;pre&gt;ln -s /the/full/path/to/target/folder ~/Dropbox/NameForMyNewSymbolicLinkToAFolder&lt;/pre&gt;
&lt;p&gt;Props to &lt;a href="http://www.addictivetips.com/" target="_blank"&gt;http://www.addictivetips.com/&lt;/a&gt; for the tip!&lt;/p&gt;</description><link>http://eduwass.tumblr.com/post/22658392736</link><guid>http://eduwass.tumblr.com/post/22658392736</guid><pubDate>Tue, 08 May 2012 19:17:19 +0200</pubDate><category>tips</category><category>tip</category><category>mac</category><category>dropbox</category></item><item><title>Grep Through Files Recursively » That Pixel Geek</title><description>&lt;a href="http://thatpixelgeek.com/2011/01/grep-through-files-recursively/"&gt;Grep Through Files Recursively » That Pixel Geek&lt;/a&gt;: &lt;p&gt;Super useful:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Need to find a string nestled somewhere in a ton of subdirectories? First cd to the lowest common denominator, then run:&lt;/p&gt;
&lt;p&gt;grep -lir “something” *&lt;/p&gt;
&lt;/blockquote&gt;</description><link>http://eduwass.tumblr.com/post/22313242656</link><guid>http://eduwass.tumblr.com/post/22313242656</guid><pubDate>Thu, 03 May 2012 11:16:36 +0200</pubDate></item><item><title>Photo</title><description>&lt;img src="http://68.media.tumblr.com/tumblr_m0z86eM5CA1qdxn2eo1_500.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;</description><link>http://eduwass.tumblr.com/post/19394070388</link><guid>http://eduwass.tumblr.com/post/19394070388</guid><pubDate>Fri, 16 Mar 2012 13:03:50 +0100</pubDate></item><item><title>jQuery lightbox plugin fix</title><description>&lt;p&gt;&lt;a href="http://leandrovieira.com/projects/jquery/lightbox/" target="_blank"&gt;jQuery lightBox plugin&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Just grabbed this nice jQuery plugin and added two fixes I found on the web to some minor bugs it had. I thought it would be nice of me to share this.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Fixed version:&lt;/strong&gt;&lt;br/&gt;&lt;strong&gt;  - auto resize fix (resizing images that are too big for the screens viewport)&lt;/strong&gt;&lt;br/&gt;&lt;strong&gt;  - esc key fix (closing lightbox using the esc key)&lt;/strong&gt;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;This Javascript file was modified by Sunimal Kaluarachchi (ksunimal@aol.com) to display images within the Viewport. In Leandro Vieira Pinho&amp;rsquo;s version, large images would jump out of the screen (Viewport). This version adjusts the image size without losing the aspect ratio and displays the image within the Viewport.  File modification completed and tested on June 20th, 2011 by Sunimal Kaluarachchi - ksunimal@aol.com&lt;/p&gt;
&lt;p&gt;I also modified this file using &amp;ldquo;supsu&amp;hellip;@gmail.com&amp;rdquo; solution to the esc key not working for close (http:code.google.com/p/jquery-lightbox/issues/detail?id=27) eduwass@gmail.com (http:wass.es)&lt;br/&gt;January 4th 2012&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&lt;strong&gt;Download&lt;/strong&gt;: &lt;a href="http://wass.es/js/jquery.lightbox-0.5.fix.js" target="_blank"&gt;jquery.lightbox-0.5.fix.js&lt;/a&gt;&lt;/p&gt;


&lt;p&gt;&lt;iframe src="http://pastebin.com/embed_iframe.php?i=jqGTNTFH"&gt;&lt;/iframe&gt;&lt;/p&gt;</description><link>http://eduwass.tumblr.com/post/15290552002</link><guid>http://eduwass.tumblr.com/post/15290552002</guid><pubDate>Wed, 04 Jan 2012 11:38:29 +0100</pubDate><category>jquery</category></item><item><title>Proggy Programming Fonts</title><description>&lt;a href="http://www.proggyfonts.com/"&gt;Proggy Programming Fonts&lt;/a&gt;: &lt;p&gt;&lt;img src="http://i.imgur.com/wXe8Y.png"/&gt;&lt;/p&gt;
&lt;p&gt;Very nice programming font.&lt;/p&gt;
&lt;p&gt;My choice: &lt;strong&gt;&lt;a href="http://www.proggyfonts.com/download/download_bridge.php?get=ProggyCleanSZBP.ttf.zip" target="_blank"&gt;Proggy clean (Slahed zero, bold punc)&lt;/a&gt;&lt;/strong&gt;&lt;br/&gt;&lt;br/&gt;My config:  Preferences -&gt; File Settings - User:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt; {&lt;br/&gt;“color_scheme”: “Packages/Color Scheme - Default/Sunburst.tmTheme”,&lt;br/&gt;“font_face”: “ProggyCleanTTSZBP”,&lt;br/&gt;“font_size”: 12,&lt;br/&gt;“tab_size”: 2,&lt;br/&gt;“translate_tabs_to_spaces”: true&lt;br/&gt;}&lt;/p&gt;
&lt;/blockquote&gt;</description><link>http://eduwass.tumblr.com/post/13539346480</link><guid>http://eduwass.tumblr.com/post/13539346480</guid><pubDate>Wed, 30 Nov 2011 09:10:00 +0100</pubDate></item><item><title>Sublime Blog » Sublime Text 2 Build 2139</title><description>&lt;a href="http://www.sublimetext.com/blog/articles/sublime-text-2-build-2139"&gt;Sublime Blog » Sublime Text 2 Build 2139&lt;/a&gt;: &lt;p&gt;&lt;img height="300" src="http://www.sublimetext.com/screenshots/cppHeroLarge.png" width="400"/&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.sublimetext.com/2" target="_blank"&gt;Sublime Text 2&lt;/a&gt; Build 2139 is out! Some of the notable new features in this beta are:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Replace in files&lt;/strong&gt; – The find in files panel now supports replacing in files. The panel has also been streamlined, with the &lt;em&gt;In Files&lt;/em&gt; and &lt;em&gt;In Locations&lt;/em&gt; fields combined into a single &lt;em&gt;Where&lt;/em&gt; field, that accepts a comma separated list of paths to search, and wildcard patterns to include and exclude files.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Fold arrows&lt;/strong&gt; – Supplementing the code folding support in the last beta, there are now buttons in the gutter to collapse text using the mouse. By default, the fold buttons will fade from view unless the mouse is over the gutter, however this is configurable using the&lt;em&gt;fade_fold_buttons&lt;/em&gt; file setting. The fold buttons, and the space reserved for them in the gutter, can be removed with the&lt;em&gt;fold_buttons&lt;/em&gt; file setting.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Side bar keyboard navigation&lt;/strong&gt; – The side bar can now receive input focus, and be driven using the keyboard. Left click on an already selected row to give the side bar input focus, or press ctrl+0. Pressing enter or escape in the side bar will restore focus back to the file area.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Reindent&lt;/strong&gt; – The reindent command can be used to recalculate indentation for a file, using the auto-indent rules. This can be triggered from the &lt;em&gt;Edit/Line/Reindent&lt;/em&gt; menu item, or &lt;em&gt;Reindent Lines&lt;/em&gt;in the Command Palette.&lt;/p&gt;
&lt;p&gt;There’s a lot more in this build than the above, see the full list and download it on the &lt;a href="http://www.sublimetext.com/2" target="_blank"&gt;Sublime Text 2&lt;/a&gt; page.&lt;/p&gt;</description><link>http://eduwass.tumblr.com/post/13494526375</link><guid>http://eduwass.tumblr.com/post/13494526375</guid><pubDate>Tue, 29 Nov 2011 09:47:00 +0100</pubDate></item><item><title>Sublime - awesome multi-platform Text Editor</title><description>&lt;p&gt;&lt;a href="http://www.inlovewithcss.com/post/5186185518" target="_blank"&gt;inlovewithcss&lt;/a&gt;:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;img align="middle" src="http://files.inlovewithcss.com/sublimeeditor.png" alt="Sumblime Text 2 - Editor for Mac, Windows and Linux"/&gt;&lt;/p&gt;
&lt;p&gt;Sublime Text 2 is simple, fast and looks awesome. the minimap is just too awesome! downlaod it &lt;a title="Sublime Text 2" href="http://www.sublimetext.com/2" target="_blank"&gt;here&lt;/a&gt;!&lt;/p&gt;
&lt;/blockquote&gt;</description><link>http://eduwass.tumblr.com/post/11687784677</link><guid>http://eduwass.tumblr.com/post/11687784677</guid><pubDate>Thu, 20 Oct 2011 10:04:14 +0200</pubDate></item><item><title>Rest in peace!</title><description>&lt;img src="http://68.media.tumblr.com/tumblr_lsndz0YIsJ1qdxn2eo1_500.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;Rest in peace!&lt;/p&gt;</description><link>http://eduwass.tumblr.com/post/11100320344</link><guid>http://eduwass.tumblr.com/post/11100320344</guid><pubDate>Thu, 06 Oct 2011 16:08:58 +0200</pubDate><category>apple</category></item><item><title>Script para compilar, construir y ejecutar (PRO2 UPC)</title><description>&lt;p&gt;Si haces la asignatura de PRO2 en la UPC con este script puedes ahorrar algo de tiempo, recuerda que debes tener definidas las variables $INCLUDES_CPP y $OBJETOS_CPP apuntando a los directorios donde tengas estos archivos!&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;#!/bin/bash&lt;/p&gt;
&lt;p&gt;g++ -c $1.cpp -I $INCLUDES_CPP&lt;span&gt; &lt;/span&gt;#compila&lt;br/&gt;g++ -o $1.exe $1.o $OBJETOS_CPP/Estudiant.o&lt;span&gt; &lt;/span&gt;#construye&lt;br/&gt;./$1.exe&lt;span&gt; &lt;/span&gt;#ejecuta&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Date cuenta que yo en esta caso incluyo el objeto &amp;ldquo;Estudiant.o&amp;rdquo; que es el que estoy utilizando, acuerdate de cambiar esto si necesitas otro.&lt;br/&gt;&lt;br/&gt;Cuando quieras lanzar el script hazlo de la siguiente manera: supongamos que queremos construir un programa &amp;ldquo;redsec.cpp&amp;rdquo;, tendre el script en un archivo llamado &amp;ldquo;compila&amp;rdquo; en el mismo directorio y con permisos de ejecución y lanzaré este comando:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;./compila redsec&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Esto construirá los redsec.o y redsec.exe automáticamente.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Si estas en una máquina de 64 bits&lt;/strong&gt; &lt;/p&gt;
&lt;p&gt;Asegurate de instalar las libs de 32 bits, un Ubuntu tuve que ejecutar la siguiente instrucción:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;sudo apt-get install g++-multilib&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Y utiliza el flag &amp;ldquo;-m32&amp;rdquo; para compilar/construir:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;#!/bin/bash&lt;br/&gt;g++ &lt;strong&gt;-m32&lt;/strong&gt; -c $1.cpp -I $INCLUDES_CPP&lt;span&gt; &lt;/span&gt;#compila&lt;br/&gt;g++ &lt;strong&gt;-m32&lt;/strong&gt; -o $1.exe $1.o $OBJETOS_CPP/Estudiant.o&lt;span&gt; &lt;/span&gt;#construye&lt;br/&gt;./$1.exe&lt;span&gt; &lt;/span&gt;#ejecuta&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;strong&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;Versión extendida del script:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/eduwass/PRO2/blob/master/sesion2/compila" target="_blank"&gt;https://github.com/eduwass/PRO2/blob/master/sesion2/compila&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Related links:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.lsi.upc.edu/~pro2/index.php" target="_blank"&gt;http://www.lsi.upc.edu/~pro2/index.php&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.fib.upc.edu/fib/estudiar-enginyeria-informatica/assignatures.html?assig=PRO2" target="_blank"&gt;http://www.fib.upc.edu/fib/estudiar-enginyeria-informatica/assignatures.html?assig=PRO2&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.cyberciti.biz/faq/x86_64-linux-error-gnustub-32h-missing-error-and-solution/" target="_blank"&gt;http://www.cyberciti.biz/faq/x86_64-linux-error-gnustub-32h-missing-error-and-solution/&lt;/a&gt;&lt;/p&gt;</description><link>http://eduwass.tumblr.com/post/10514268248</link><guid>http://eduwass.tumblr.com/post/10514268248</guid><pubDate>Thu, 22 Sep 2011 11:08:00 +0200</pubDate></item><item><title>Add a Handy Separator Between Commands in Your Terminal on Mac OS X and Linux</title><description>&lt;a href="http://lifehacker.com/5840450/add-a-handy-separator-between-commands-in-your-terminal-on-mac-os-x-and-linux"&gt;Add a Handy Separator Between Commands in Your Terminal on Mac OS X and Linux&lt;/a&gt;: &lt;p&gt;&lt;span&gt;&lt;img class="wide" height="360" width="640" src="http://fastcache.gawkerassets.com/assets/images/17/2011/09/terminalseparators.png"/&gt;&lt;/span&gt;&lt;/p&gt;</description><link>http://eduwass.tumblr.com/post/10474762676</link><guid>http://eduwass.tumblr.com/post/10474762676</guid><pubDate>Wed, 21 Sep 2011 09:08:51 +0200</pubDate></item></channel></rss>
