tag:blogger.com,1999:blog-22885328331760244892024-03-06T06:26:14.212+01:00Yet Another Linux 'n Electronics BlogYALNEBAndres Gongorahttp://www.blogger.com/profile/15324597917293343442noreply@blogger.comBlogger49125tag:blogger.com,1999:blog-2288532833176024489.post-25451784915049011942020-01-23T10:17:00.000+01:002020-01-23T10:48:05.930+01:00Warhammer 40000 Probabilistic Damage Calculator<div class="separator" style="clear: both; text-align: center;">
<a href="https://docs.google.com/spreadsheets/d/1UX1yfbIs57vmkLNZzQrF1uvTpqQTSCqdcTaaL9-4gas/edit?usp=sharing" target="_blank"><img alt="WH40K probabilistic damage calculator by andresgongora" border="0" data-original-height="666" data-original-width="1600" height="266" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgR3m9opChbjdw_8yUiZ6npU0lkVBL2Q38xhDlxGGVF61wQqQhSxRCx1qP57Ekdhn1rB_ylrDYFzvcW9TuNLT0frdv0CdfTlA9sxbqy8CD6Vpj4SX59O7HJ-5ZsPDNILd-XX9B1b2owRng/s640/wh40kdmg.png" width="640"></a></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<br>
<div style="text-align: justify;">
There are many damage calculators out there for WH40K, however, they all oversimplify things to get a quick but innacurate damage estimate. This estimator relies on <a href="https://en.wikipedia.org/wiki/Probability_mass_function" target="_blank">probability mass functions</a> to propagate the exact damage from the moment you roll the number of shots all the way to invulnerable saves. Guessing which weapon is the best or what unit you should attack with it is a thing of the past.</div>
<div style="text-align: justify;">
<br></div>
<div style="text-align: justify;">
Follow this <b><a href="https://docs.google.com/spreadsheets/d/1UX1yfbIs57vmkLNZzQrF1uvTpqQTSCqdcTaaL9-4gas/edit?usp=sharing" target="_blank">link to the damage calculator</a></b>, or continue reading down below for instructions and further information. </div>
<br>
<a href="https://yalneb.blogspot.com/2020/01/warhammer-40000-probabilistic-damage.html#more">CONTINUE READING >></a>Andres Gongorahttp://www.blogger.com/profile/15324597917293343442noreply@blogger.com1tag:blogger.com,1999:blog-2288532833176024489.post-53177384142616684422019-06-20T16:56:00.000+02:002019-06-21T11:22:15.029+02:00Understanding even the most complex shell commands<div class="separator" style="clear: both; text-align: center;">
<a href="https://yalneb.blogspot.com/2019/06/explainshell.html"><img alt="https://yalneb.blogspot.com/2019/06/explainshell.html" border="0" data-original-height="270" data-original-width="922" height="186" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjDQlGPJUvJtjenu-K1pIIUxOXKOZt6fLghdpgs98Z71liTKFmrrsn5GN34vtgCR7kw6nwKe4jvejCoBj8DxA5TI1ISZmxTAqCc-4X8tyI5qGjg4lLAlSulsbISZZ3r6l1059wupubdXzE/s640/Screenshot+from+2019-06-20+16-43-43.png" width="640" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<br />
<div style="text-align: justify;">
The website <a href="https://explainshell.com/">explainshell.com</a> has a very simple goal: enter any shell command and it will explain the string bit by bit. It is extremely useful if you are starting out with Linux and still don't know your way around the terminal, but it is still quite handy for more advance users.<br />
<br />
Take the following shell command:<span style="font-family: "courier new" , "courier" , monospace;"> <i>echo "YALNEB.BLOGSPOT.COM" | sed 's/LO.*T/y/g;s/COM/Andres/g' | tr '.' ' '</i>. </span>It is quite ugly to look at, but all it does is print:<span style="font-family: "courier new" , "courier" , monospace;"> <i>YALNEB By Andres.</i></span><span style="font-family: "courier new" , "courier" , monospace;"><i> </i></span>How? Well, it's really simple! <a href="https://explainshell.com/explain?cmd=echo+%22YALNEB.BLOGSPOT.COM%22+%7C+sed+%27s%2FLO.*T%2Fy%2Fg%3Bs%2FCOM%2FAndy%2Fg%27+%7C+tr+%27.%27+%27+%27">Take a look at the explanation</a> and you will see how ingenuous this script actually is ;)</div>
Andres Gongorahttp://www.blogger.com/profile/15324597917293343442noreply@blogger.com0tag:blogger.com,1999:blog-2288532833176024489.post-65027833922999367582019-04-26T09:56:00.001+02:002019-07-06T12:06:49.395+02:00Audiophiles on Linux, rejoice<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://yalneb.blogspot.com/2019/04/pulseeffects-autoeq.html" target="_blank"><img alt="https://yalneb.blogspot.com/2019/04/pulseeffects-autoeq.html" border="0" data-original-height="381" data-original-width="800" height="304" src="https://raw.githubusercontent.com/wwmm/pulseeffects/master/images/equalizer2.png" width="640"></a></div>
<div class="separator" style="clear: both; text-align: center;">
<span id="goog_623357697"></span></div>
<div class="separator" style="clear: both; text-align: center;">
<i><span style="font-size: x-small;">PulseEffects screenshot taken from their official git repo</span></i></div>
<div class="separator" style="clear: both; text-align: justify;">
<span id="goog_1323735558"></span><span id="goog_1323735559"></span><br></div>
<div style="text-align: justify;">
Suppose your an audiophile (at least level 2) and want to fine-tune your equalizer to improve your headphones play back on Linux. You are after that <a href="https://www.head-fi.org/threads/the-most-reliable-easiest-way-to-eq-headphones-properly-to-achieve-the-most-ideal-sound-for-non-professionals.796791/" target="_blank">super clean and real-life-like flat response</a> where the bass sounds realistic and the mids are super crisp. How to you go about it?<br>
<br>
Well, there are many ways. But if you combine <a href="https://github.com/wwmm/pulseeffects" target="_blank">PulseEffects</a>, a system wide parametric equalizer with GUI for Linux, and <a href="https://github.com/jaakkopasanen/AutoEq/tree/master/results" target="_blank">AutoEQ/Results</a>, a huge database of precalibrated headphones, you will be set in less than 5 minutes.</div>
<br>
<a href="https://yalneb.blogspot.com/2019/04/pulseeffects-autoeq.html#more">CONTINUE READING >></a>Andres Gongorahttp://www.blogger.com/profile/15324597917293343442noreply@blogger.com4tag:blogger.com,1999:blog-2288532833176024489.post-58027540012193636632019-04-12T17:05:00.003+02:002019-04-15T08:35:15.909+02:00Bash terminal greeter<div class="separator" style="clear: both; text-align: center;"></div><div class="separator" style="clear: both; text-align: center;"></div><div class="separator" style="clear: both; text-align: center;"></div><div class="separator" style="clear: both; text-align: center;"><a href="https://yalneb.blogspot.com/2019/04/bash-terminal-greeter.html" target="_blank"><img alt="https://yalneb.blogspot.com/2019/04/bash-terminal-greeter.html" border="0" data-original-height="387" data-original-width="847" height="290" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiZbl6AU4PoHA2WKe5aO6bGmYfXzhrsTX7HoKDqorRIEOOWQpUwDKMDmhaXJvOzGku2v0BeahWvNzr9LK8TYmQdLwht1c0NbIgElPPc-wydbnCsED-tlCSfGqPlPec7lT_0pe7Zs5887P4/s640/bash_greeter.png" width="640"><span id="goog_623357696"></span></a><span id="goog_623357697"></span></div><div class="separator" style="clear: both; text-align: justify;"><span id="goog_1323735558"></span><span id="goog_1323735559"></span><br>
</div><div style="text-align: justify;">Wouldn't it be nice that every time you open up a terminal (or log in remotely), you would be greeted by a general overview of your system's health? Well, with this tool you can address this very problem.<br>
<br>
This is a simple bash script that displays on top of new terminals a simple summary of your system's specs (useful if its a remote machine you just logged in) and a summary of your systems current load. Moreover, if the load is high, the color will change to draw your attention quickly, and when possible, will display what is causing the problem. Such as a report of CPU hungry processor an error report if a <i>systemctl</i> service has failed to load.</div><br>
<a href="https://yalneb.blogspot.com/2019/04/bash-terminal-greeter.html#more">CONTINUE READING >></a>Andres Gongorahttp://www.blogger.com/profile/15324597917293343442noreply@blogger.com1tag:blogger.com,1999:blog-2288532833176024489.post-77692777867961861642019-03-20T12:05:00.001+01:002019-03-20T12:15:16.256+01:00Xiph.org - Excellent videos on digital multimedia<div class="separator" style="clear: both; text-align: center;"><a href="https://yalneb.blogspot.com/2019/03/xiphorg-digital-media-primer.html" target="_blank"><img alt="https://yalneb.blogspot.com/2019/03/xiphorg-digital-media-primer.html" border="0" data-original-height="524" data-original-width="1000" height="335" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj2ZdU2ppynOM6P9T4Gbw3NlVGlqC1-ltMGlBDr6qCQGgoolfNtguX2QYYPLsJLGXNTjqLRWQKxn2KUgRSp6ljZ5j8k-CkSFdRcJn9cHg7m2UmSJh8NIm6obu54NRpB9Ui_iri2SC3KYk0/s640/xilphorg.png" width="640" /></a></div><div style="text-align: justify;">Sometimes you find absolutely outstanding videos on the internet. Such is the case of a brief <a href="https://xiph.org/video/" target="_blank">video series by xiph.org on digital media</a>. The host explains with very visual examples some concepts that are always misunderstood when comparing analog audio to digital, like that there is audible signal quality loss because of the conversion (not true). My favorite take-aways have been:</div><ul style="text-align: justify;"><li>Why 22 bit audio has no real advantages over 16 bit (for playback).</li>
<li>A better understanding on the noise-level of digital audio and the effects of dither. </li>
</ul><br />
<div style="text-align: justify;">Really, if you consider yourself an audiophile of level 3 or beyond, you really should watch his videos to deepen your knowledge about the joys of high quality media playback.</div>Andres Gongorahttp://www.blogger.com/profile/15324597917293343442noreply@blogger.com0tag:blogger.com,1999:blog-2288532833176024489.post-55256572603552447542019-01-09T11:32:00.001+01:002019-01-09T11:34:07.551+01:00A comprehensive introduciton to hypothesis testing<div class="separator" style="clear: both; text-align: center;">
<a href="https://izbicki.me/blog/how-to-cheat-at-settlers-of-catan-by-loading-the-dice-and-prove-it-with-p-values.html" target="_blank"><img alt="https://izbicki.me/blog/how-to-cheat-at-settlers-of-catan-by-loading-the-dice-and-prove-it-with-p-values.html" border="0" data-original-height="533" data-original-width="800" height="266" src="https://images.pexels.com/photos/707837/pexels-photo-707837.jpeg?auto=compress&cs=tinysrgb&h=750&w=1260" width="400" /></a></div>
<br />
<div style="text-align: justify;">
If you are working on a Ph.D, no matter what knowledge area, you will sooner or later encounter hypothesis testing to prove (or disprove) whether your suspicions hold true (is a system more stable, does a medicine work better, are there diferences in the carbon-dating results, etc.). A such, you will find this <a href="https://izbicki.me/blog/how-to-cheat-at-settlers-of-catan-by-loading-the-dice-and-prove-it-with-p-values.html" target="_blank">introduction to p-values using catan and dices</a> extremely insightful. Its extraordinarily well (and fun) written, contains many hints, and warns you about common mistake you might be committing in your own research. I hope you enjoy it. </div>
Andres Gongorahttp://www.blogger.com/profile/15324597917293343442noreply@blogger.com0tag:blogger.com,1999:blog-2288532833176024489.post-29031067223084315922019-01-01T23:26:00.002+01:002019-04-15T08:39:46.748+02:00[DISPROVED] My thougts on gavitational waves and ETI<div class="separator" style="clear: both; text-align: center;"><a href="https://yalneb.blogspot.com/2019/01/my-thougts-on-gavitational-waves-and-eti.html"><img alt="https://yalneb.blogspot.com/2019/01/my-thougts-on-gavitational-waves-and-eti.html" border="0" data-original-height="340" data-original-width="500" height="271" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj3-FMW9ItvtxCPplsFYSPLaBl35vwHtt8pvoKlIswLMWaVP3HssQlgwu3XIBSLGwVePXy3_XOXa7FJ0T2krmicr1ZkKQDH-i-WwO8IypAPrqk4axWFyZd8JiUrE448VlpY18JcWasncQs/s400/GravitationalWaves.png" width="400"></a></div><div class="separator" style="clear: both; text-align: center;"><br>
</div><div style="text-align: justify;">One of the greatest breakthrough of applied science in my lifetime happened relatively recently: we detected <a href="https://en.wikipedia.org/wiki/Gravitational_wave">gravitational waves</a>. In essence, we have detected a grativational "ripple" of gravity; much like you would feel your boat rock in a still pond if someone were to throw a heavy rock into it. But regardless of how amazing this is, it is also extremely sad.</div><div style="text-align: justify;"><br>
</div><a href="https://yalneb.blogspot.com/2019/01/my-thougts-on-gavitational-waves-and-eti.html#more">CONTINUE READING >></a>Andres Gongorahttp://www.blogger.com/profile/15324597917293343442noreply@blogger.com0tag:blogger.com,1999:blog-2288532833176024489.post-74978751504327635642018-12-29T12:31:00.001+01:002018-12-29T12:36:24.221+01:00Tiddlywiki - A starting point with all extras<div class="separator" style="clear: both; text-align: center;">
<a href="https://yalneb.blogspot.com/2018/12/tiddlywiki_29.html"><img alt="https://yalneb.blogspot.com/2018/02/better-ls.html" border="0" data-original-height="901" data-original-width="1196" height="480" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg0Qj29hJB0xybRmNtFzvWxRYsRoTN9edmeoZxK3KwjxNZP4GE2Qj9yKofOdgb_4flvN2v3Lnq6hoh-OqFhTp_HExzWzjg_snrqm5jjPyzmXaAht9WxxRfVxaXW9cs2nQWGvP0EYwWZMQ8/s640/1196px-TiddlyWiki_Poster.svg.png" width="640"></a></div>
<div style="text-align: justify;">
My intention for this post is to be a single entry point to access an <i>empty </i><a href="https://yalneb.blogspot.com/2018/12/tiddlywiki.html" target="_blank">TiddlyWiki</a> (in terms of contents) but preconfigured with all extras, plugins, and tweaks I may come up with. So that you might always find my latest version here, including my own tweaks as well as those by third parties I'm planning to talk in the future about.</div>
<br>
<a href="https://yalneb.blogspot.com/2018/12/tiddlywiki_29.html#more">CONTINUE READING >></a>Andres Gongorahttp://www.blogger.com/profile/15324597917293343442noreply@blogger.com0tag:blogger.com,1999:blog-2288532833176024489.post-74599738380686379622018-12-27T11:20:00.001+01:002018-12-29T12:32:51.933+01:00Tiddlywiki - A scalable knoledge management tool<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://yalneb.blogspot.com/2018/12/tiddlywiki.html"><img alt="https://yalneb.blogspot.com/2018/02/better-ls.html" border="0" data-original-height="901" data-original-width="1196" height="480" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg0Qj29hJB0xybRmNtFzvWxRYsRoTN9edmeoZxK3KwjxNZP4GE2Qj9yKofOdgb_4flvN2v3Lnq6hoh-OqFhTp_HExzWzjg_snrqm5jjPyzmXaAht9WxxRfVxaXW9cs2nQWGvP0EYwWZMQ8/s640/1196px-TiddlyWiki_Poster.svg.png" width="640"></a></div>
<div class="separator" style="clear: both; text-align: justify;">
When developing new projects I often found my self in the very same situation: I have read through tons of pages of manuals, wikis and books, and would like to create my own notes on the subject. Be it for a college subject, a new electronics project, or a complex subject I'm enjoying. </div>
<div class="separator" style="clear: both; text-align: justify;">
<br></div>
<div class="separator" style="clear: both; text-align: justify;">
In any case, I need a way to add notes, attach files (e.g. PDFs, videos, source code, etc.) and insert images. Also, it's of upmost importance to be able to create hierarchical dependencies between my notes (i.e. subsections or similar) and be able to navigate through the data in an intuitive way that does not require tons of mouse-scrolling. And most importantly, the data must be easy to export and available offline, as I don't want to get stuck with any commercial services. </div>
<div class="separator" style="clear: both; text-align: justify;">
<br></div>
<div class="separator" style="clear: both; text-align: justify;">
If you are in a similar situation, then read on.</div>
<br>
<a href="https://yalneb.blogspot.com/2018/12/tiddlywiki.html#more">CONTINUE READING >></a>Andres Gongorahttp://www.blogger.com/profile/15324597917293343442noreply@blogger.com0tag:blogger.com,1999:blog-2288532833176024489.post-76833688106332576202018-02-03T16:51:00.002+01:002018-02-03T16:54:25.676+01:00Improved ls command to list your linux files.<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjFce7tP_ZTwh49Ht4054XipRdjv3v2rc0QkTFgxqR-cROz3E05N7UPBn0BgwGCy-F1_5D6fOLoAH0_-T_ESFddBYQkUi2StUpsMVgodDr_7zHB8j9m3I8dxxaaeiC4vo6eeeHrb3YW-Oo/s1600/3.betterls.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="374" data-original-width="560" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjFce7tP_ZTwh49Ht4054XipRdjv3v2rc0QkTFgxqR-cROz3E05N7UPBn0BgwGCy-F1_5D6fOLoAH0_-T_ESFddBYQkUi2StUpsMVgodDr_7zHB8j9m3I8dxxaaeiC4vo6eeeHrb3YW-Oo/s1600/3.betterls.png"></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br></div>
<div class="separator" style="clear: both; text-align: justify;">
If you use Linux on a daily basis, then you probably run the 'ls' commands several times a day to list files. This is one of the most used commands on Linux (aside from 'cd') and still, it is sometimes a mess. With the following script, you can "wrap" the normal 'ls' command to:</div>
<ol>
<li>Highlight folders with colors, to better distinguish them from files.</li>
<li>Sort folders before regular files</li>
<li>Sort hidden folders and hidden files last</li>
<li>Print information in a human-readable format</li>
</ol>
<br>
<a href="https://yalneb.blogspot.com/2018/02/better-ls.html#more">CONTINUE READING >></a>Andres Gongorahttp://www.blogger.com/profile/15324597917293343442noreply@blogger.com2tag:blogger.com,1999:blog-2288532833176024489.post-9552247995760962232018-01-31T08:00:00.000+01:002018-12-29T12:37:39.309+01:00Arch Linux Update Helper<div class="separator" style="clear: both; text-align: center;">
<a href="https://yalneb.blogspot.com/2018/01/arch-linux-update-helper.html"><img alt="https://yalneb.blogspot.com/2018/01/arch-linux-update-helper.html" border="0" data-original-height="1024" data-original-width="1024" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEifjjwsVHmgKh1NmhcGvWdrpzyhiQI1OtW9OXAm61qPAc3QSi-l9uIHxWsgIgUp56wgGrrcOaqY6Jfns4_DpDu2YvfJoqVrOcvwdCPq98voLK12LnYssLwyp2SB3erKj08l-KhuZg-CfyY/s320/arch.png" width="320"></a></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: justify;">
<br></div>
<div style="text-align: justify;">
Keeping your Arch Linux system up to date is a good habit, and something you should definitively be doing. It can however become time consuming (specially if you do it on a weekly basis), reason enough to postpone it for too long.<br>
<br>
This script will guide you intuitively through the update process, tidy after it, and also <a href="https://yalneb.blogspot.com.es/2015/08/optimize-archlinuxs-pacman.html" target="_blank">optimize your pacman package manager</a>.</div>
<br>
<a href="https://yalneb.blogspot.com/2018/01/arch-linux-update-helper.html#more">CONTINUE READING >></a>Andres Gongorahttp://www.blogger.com/profile/15324597917293343442noreply@blogger.com0tag:blogger.com,1999:blog-2288532833176024489.post-67865374033891685342018-01-30T13:58:00.000+01:002018-01-30T13:59:45.612+01:00Great tutorial for the Microchip PIC24 family<div class="separator" style="clear: both; text-align: center;">
<a href="https://yalneb.blogspot.com.es/2018/01/great-tutorial-for-microchip-pic24.html" target="_blank"><img alt="https://yalneb.blogspot.com.es/2018/01/great-tutorial-for-microchip-pic24.html" border="0" data-original-height="203" data-original-width="204" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjS-LSn1yuTGJmrTAGZcLgAJkbox2kHORqMdnkHIxvOMul-vvBSBkCDgTPDqd_OdQDRl0gh2uvzPc4BzgZVs_yhdNSYR3NCdB5Ec6PLXHBUladmYZm7aDBPlIVtWmjpZSmMKbYyK9C4pEs/s1600/PIC-MCU-Chip.png" /></a></div>
<br />
<div style="text-align: justify;">
This is a quick heads-up. I found a really well-written and in-depth guide for <a href="https://www.microchip.com/design-centers/16-bit" target="_blank">Microchip's PIC24 microcontroller family</a>. It covers everything, from I²C and timers, to the WDT and power-modes, shining light on the huge potential of these tiny 16-bit chips.</div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
The original page with the original posts (Engscope) has gone. Luckily, you can still read the whole the <a href="https://web.archive.org/web/20161223102946/http://www.engscope.com/pic24-tutorial/" target="_blank">archived version of the full guides</a>. So, have fun, and don't hesitate to share your favorite guides in the comments.</div>
Andres Gongorahttp://www.blogger.com/profile/15324597917293343442noreply@blogger.com0tag:blogger.com,1999:blog-2288532833176024489.post-37687385059275086152018-01-25T10:53:00.000+01:002020-01-23T12:40:50.202+01:00Fancy bash prompt with colors<div class="separator" style="clear: both; text-align: center;">
<a href="https://yalneb.blogspot.com.es/2018/01/fancy-bash-promt.html" target="_blank"><img alt="Read full article: Fancy bash prompt" border="0" data-original-height="323" data-original-width="750" height="275" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhtwFY-lhNDy4vP8_b7cV9Tw2Y2ju2nVehQ5xmXh5_YE93Cwh8QzWc13y4vxTQY4Sk0_GXIQM4rjNR32xX8EQBZVMvOaaKp6nkI9glvCQGvZyl_UYmUOszIymK09Bcmx6u3mGcOuOIdEZ0/s640/fancy-bash-prompt.png" width="640"></a></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: justify;">
<span id="goog_1323735558"></span><span id="goog_1323735559"></span><br></div>
<div style="text-align: justify;">
I got bored of the normal bash promt a long time ago, which lead me to <a href="https://yalneb.blogspot.com.es/2016/05/colorize-your-terminal-bash-prompt.html" target="_blank">configure my .bashrc to betther highlight terminal inputs</a>. Still, I used to see some terminal on the net with a very fancy looking bash promt that I found really appealing. After some googling I decided to give it a go and try to generate my own. All it takes is a <a href="https://stackoverflow.com/questions/32443522/triangular-background-for-bash-ps1-prompt" target="_blank">fancy triangle character</a> to create the colored overlaps, shown in the above figure, and some tweaking. All in all, the end result speaks for itself.</div>
<div style="text-align: justify;">
<br></div>
<div style="text-align: justify;">
Check out my implementation after the break, and leave a comment if you like it or want to make some suggestions to further improve it!<br>
<br>
<b>Update: </b>a new and easy to install version can be found <a href="https://github.com/andresgongora/synth-shell" target="_blank">here</a>. <br>
<br></div>
<a href="https://yalneb.blogspot.com/2018/01/fancy-bash-promt.html#more">CONTINUE READING >></a>Andres Gongorahttp://www.blogger.com/profile/15324597917293343442noreply@blogger.com10tag:blogger.com,1999:blog-2288532833176024489.post-50332158092777144632017-10-03T09:29:00.001+02:002017-10-03T09:34:21.167+02:00Report from the European Conference on Mobile Robotics 2017<br>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://yalneb.blogspot.com.es/2017/09/2017-ECMR.html" target="_blank"><img alt="https://yalneb.blogspot.com.es/2017/09/2017-ECMR.html" border="0" data-original-height="1200" data-original-width="1600" height="480" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhzby07PjtnzG0Bw0f-cxZpgzhBuCm4gMezGAGgqO56qn4JyCO5tidJLFDq8u3xMT62lNHzhlKtRFTw6XacmFvZEyGiMWwX3NS_dnp5aBT6mEI9gc4m4Z_vjEtJURTCdJLMxys410gEKNU/s640/IMG_20170907_161457.jpg" width="640"></a></div>
<br>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div style="text-align: justify;">
[<a href="http://mapir.uma.es/mapirwebsite/index.php/people/243-manuel-lopez-antequera" target="_blank">Manuel Lopez-Antequera</a>] and <a href="http://mapir.uma.es/mapirwebsite/index.php/people/160-andres-gongora" target="_blank">I</a> just returned from the <a href="http://ecmr2017.ensta-paristech.fr/" target="_blank">8th edition of ECMR</a> held in Paris. It was a great experience with most contributed works centered on solution for UAVs. In this regard, my personal favorite key-session was that of [<a href="http://rpg.ifi.uzh.ch/people_scaramuzza.html" target="_blank">Scaramuzza</a>]. It was not only very inspiring, but also introduced us to event based cameras, which have a extremely high refresh rate when compared with standard cameras.</div>
<div style="text-align: justify;">
<br></div>
<div style="text-align: justify;">
All in all, it was a very great experience. The organization was excellent and we were very well received. Also, I liked that the conference was single track, meaning that we didn't miss a single contribution. As for [Manuel] and me, we presented the <a href="http://mapir.uma.es/mapirwebsite/index.php/news/272-mapir-ecmr-2017.html" target="_blank">following works </a>respectively:</div>
<ul style="text-align: justify;">
<li><i>Andres Gongora, Javier Monroy and Javier Gonzalez-Jimenez, "<a href="http://mapir.uma.es/papersrepo/2017/2017_gongora_ECMR_GSL_Strategies_for_Teleoperated_Mobile_Robots.pdf" rel="alternate" target="_blank">Gas Source Localization Strategies for Teleoperated Mobile Robots. An Experimental Analysis</a>", European Conference of Mobile Robotics, Paris, 2017.</i></li>
<i>
</i>
<li><i>Manuel Lopez-Antequera, <span class="author">Nicolai Petkov</span> and Javier Gonzalez-Jimenez, "<a href="http://mapir.uma.es/papersrepo/2017/2017_antequera_ECMR17_GPPF.pdf" rel="alternate" target="_blank">City-scale continuous visual localization</a>", European Conference of Mobile Robotics, Paris, 2017.</i></li>
</ul>
<br>
<a href="https://yalneb.blogspot.com/2017/10/2017-ecmr.html#more">CONTINUE READING >></a>Andres Gongorahttp://www.blogger.com/profile/15324597917293343442noreply@blogger.com0828 Boulevard des Maréchaux, 91120 Palaiseau, France48.7107339 2.218050100000027748.3764194 1.5726031000000278 49.0450484 2.8634971000000276tag:blogger.com,1999:blog-2288532833176024489.post-24855178874975317402017-09-29T12:51:00.001+02:002017-10-02T12:46:37.586+02:00Enhanced commercial multicopter for research in autonomous navigation<div class="separator" style="clear: both; text-align: center;">
</div>
<br>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://yalneb.blogspot.com.es/2017/09/med15.html"><img alt="https://yalneb.blogspot.com.es/2017/05/med15" border="0" data-original-height="739" data-original-width="1000" height="472" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEibTx4Hc-4PqeEi5PcHQGVQUw_jAQPswd1-Hpu1FLxQiGLwHGDlnvBi7DFmVTeQhlRgVQF3Fahji-eAV_n9_kLoB7tRgh_AnDp-QjT5RT62NXneRZefKHKCyo_JXBz1PM3hcoLy5P7UzhU/s640/ar-droneSmallText2.png" width="640"></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br></div>
<div style="text-align: justify;">
I just wanted to share with you a fully autonomous drone I <a href="https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=2&ved=0ahUKEwjCtpnPmMrWAhXBVxoKHVt3DZYQFgguMAE&url=http%3A%2F%2Fmapir.isa.uma.es%2Fmapirwebsite%2Findex.php%2Fmobile-robotics%2F37-developments%2Frobot-developments%2F182-drone1.html&usg=AOvVaw0TsGBZnp-cTyOHHlOZepSe" target="_blank">built some time back </a>for my degree in electornic engineering. It was a time when there were no fully autonomous drones, as the needed hardware was still too heavy to be flown piggyback all around your backyard. Still, I managed to pack everything I needed on top of a commercial RTF-Y6 hexacopter, including an RGD-D camera and an ARM computer.</div>
<div style="text-align: justify;">
<br></div>
<div style="text-align: justify;">
If you feel like, <a href="http://mapir.uma.es/papersrepo/2015/2015_andresgongora_MED15.pdf" target="_blank">take a look at the corresponding paper</a> published during the <a href="http://med2015.uma.es/" target="_blank">23th Mediterranean Conference on Control and Automation, 2015</a>. Also, don't miss the video after the break.</div>
<br>
<a href="https://yalneb.blogspot.com/2017/09/med15.html#more">CONTINUE READING >></a>Andres Gongorahttp://www.blogger.com/profile/15324597917293343442noreply@blogger.com0Málaga, Torremolinos, Spain36.6265566 -4.516039599999999236.5755831 -4.5967205999999994 36.6775301 -4.4353585999999989tag:blogger.com,1999:blog-2288532833176024489.post-82371312472681238822017-05-24T10:00:00.000+02:002018-01-30T15:04:59.930+01:00Delete songs from HDD while listening to them on audacious<div class="separator" style="clear: both; text-align: center;">
<a href="http://yalneb.blogspot.com/2017/05/audacious-delete.html"><img alt="http://yalneb.blogspot.com/2017/05/audacious-delete.html" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgHCJLagT7WxpW5FjwTNRmZLr-rUVCXiIAyykkEw1aDqLUa_6ldclSjBcwlTACLLgGIl_evGgR7ett4vZjd8VW6Ofr67qnFJHm92Ln5pRpwwQxaMhDuLuXeGrpo8JV0B0TOXz4shTRPD3Q/s1600/Audacious+delete.png"></a></div>
<br>
<br>
<div style="text-align: justify;">
I digitalized my old CD music collection a (very) long time ago. And the other day ,listening to it, I stumbled over some tracks I did really not like. I used to simply ignore them (unless I was willing to stand up and press the next track on my Hi-Fi), but the time has come to... delete them!</div>
<div style="text-align: justify;">
<br></div>
<div style="text-align: justify;">
In this post I want to share a small script that can be bound to any key combination on your keyboard. When a song comes up that you don't like, simply invoke it and it will not only move the current song to the trash (you don't want to listen to it forever, right?) but also delete it from <a href="http://audacious-media-player.org/">Audaciou</a>'s playlist.</div>
<br>
<a href="https://yalneb.blogspot.com/2017/05/audacious-delete.html#more">CONTINUE READING >></a>Andres Gongorahttp://www.blogger.com/profile/15324597917293343442noreply@blogger.com0tag:blogger.com,1999:blog-2288532833176024489.post-18181036271853162242017-05-23T10:00:00.000+02:002017-05-23T12:03:15.874+02:00TMUX: useful key-bindings<div style="text-align: justify;">
<div class="separator" style="clear: both; text-align: center;">
<a href="http://yalneb.blogspot.com/2017/05/tmux-useful-key-bindings.html"><img alt="http://yalneb.blogspot.com/2017/05/tmux-useful-key-bindings.html" border="0" height="383" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEihIAonYduJHBOFxJAf7WrxDj2hmNpFqYg-epbPiN7wMZIKU7ae_DnSv0IMds_4IIFalSYIau8NgAo1ZnjUZjaY4qKiWj_H81RlBAMvBuZXsPHarGzpOofaFQ-njIOKL_8txdonWis0JoQ/s640/tmux_keybindings.png" width="640"></a></div>
<br>
Continuing my <a href="https://yalneb.blogspot.com.es/search/label/tmux">TMUX series</a>, this post will show you some useful keybindings which will make you much more productive, not only when working with TMUX, but also while configuring it to your liking.</div>
<div style="text-align: justify;">
<br>
<div>
</div></div><a href="https://yalneb.blogspot.com/2017/05/tmux-useful-key-bindings.html#more">CONTINUE READING >></a>Andres Gongorahttp://www.blogger.com/profile/15324597917293343442noreply@blogger.com0tag:blogger.com,1999:blog-2288532833176024489.post-50908054649318141272017-05-22T10:00:00.000+02:002020-02-11T20:35:40.040+01:00How to create tasks on FreeRTOS<div class="separator" style="clear: both; text-align: center;">
<a href="https://yalneb.blogspot.com/2017/05/how-to-create-tasks-on-freertos.html"><img alt="https://yalneb.blogspot.com/2017/05/how-to-create-tasks-on-freertos.html" border="0" height="121" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiLGvBUasWiTYWWCFzbPEDvJbCHPA9PIQKMLyDJIukMfPuipVWcMaLw_PWW5oKbmtasXqycs9YVSGGpCTqm0tp0xYmMeBWvB7hW4F06klHy9Wl_MWienBTX9vpNgtQpOE26Kd1myY1lnFc/s320/freertos.jpg" width="320"></a></div>
<div style="text-align: center;">
<span style="font-size: xx-small;"><i><a href="http://www.freertos.org/">Image from the FreeRTOS website</a></i></span></div>
<div style="text-align: justify;">
<br></div>
<div style="text-align: justify;">
FreeRTOS is a great tool for those of you who want to get the most out of their microcontrollers and do something more than blink a LED. It enables you to run several tasks concurrently (i.e. simultaneously, but no in parallel) and do things like, while one process is waiting for your I²C interface to finish (the task is blocked) let different process take advantage of the waiting time to do work.</div>
<div style="text-align: justify;">
<br></div>
<div style="text-align: justify;">
In this post we will take a look at how to create two simple FreeRTOS tasks that run concurrently on <a href="https://yalneb.blogspot.com/2017/05/run-freertos-on-arduino.html">Arduino</a>, although this is perfectly applicable to any other microcontroller you have lying around.</div>
<br>
<a href="https://yalneb.blogspot.com/2017/05/how-to-create-tasks-on-freertos.html#more">CONTINUE READING >></a>Andres Gongorahttp://www.blogger.com/profile/15324597917293343442noreply@blogger.com0tag:blogger.com,1999:blog-2288532833176024489.post-82269247419433329432017-05-21T10:00:00.002+02:002023-08-24T18:02:44.654+02:00Run FreeRTOS on Arduino UNO (ATMega328P)<div class="separator" style="clear: both; text-align: center;">
<a href="http://yalneb.blogspot.com/2017/05/run-freertos-on-arduino.html"><img alt="http://yalneb.blogspot.com/2017/05/run-freertos-on-arduino.html" border="0" height="273" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgbc-z0cM-niNriZ7jsefBbl1mAfFBMHrQtZ5mI1dv3ddL4IX1ZSjwoGlEwYMUwY4XryNvJ4nUNIXQXP-lKfuDzepCe4aZ2VUor4n0EfbTdc-zmrqMYK4Xc2-Iy4iUgpgS38f67ita5mE8/s400/ArduinoFREERTOS.png" width="400"></a></div>
<br>
<div style="text-align: justify;">
On one hand we have <a href="http://www.freertos.org/">FreeRTOS</a>, an awesome tiny operating system you can run on almost any microcontroller in order to run concurrent processes. It is also great to learn how more complex operating systems, say Linux, work under the hood. And on the other hand we have <a href="https://www.arduino.cc/">Arduino</a>, a small, low-cost and user-friendly microcontroller development board.</div>
<div style="text-align: justify;">
<br></div>
<div style="text-align: justify;">
So, why not combine both? Let's have a look at it.</div>
<br>
<a href="https://yalneb.blogspot.com/2017/05/run-freertos-on-arduino.html#more">CONTINUE READING >></a>Andres Gongorahttp://www.blogger.com/profile/15324597917293343442noreply@blogger.com2tag:blogger.com,1999:blog-2288532833176024489.post-16258108816569008932017-05-20T10:00:00.000+02:002017-05-22T09:38:28.533+02:00Supercapacitors VS Batteries<div style="text-align: justify;"><div class="separator" style="clear: both; text-align: center;"><a href="http://yalneb.blogspot.com/2017/05/supercapacitor-vs-battery.html" target="_blank"><img alt="http://yalneb.blogspot.com/2017/05/supercapacitor-vs-battery.html" border="0" height="307" src="https://c1.staticflickr.com/6/5537/14185406642_135ce510c7_b.jpg" width="400"></a></div><div style="text-align: center;"><span style="font-size: x-small;"><i><span style="font-size: xx-small;">image by <a href="https://www.flickr.com/photos/35434449@N08/14185406642" target="_blank">Adafruit</a></span></i></span></div><div class="separator" style="clear: both; text-align: center;"><br>
</div>By now you have probably hear about <a href="https://en.wikipedia.org/wiki/Supercapacitor" target="_blank">supercapacitors</a> and: an alternative to batteries, with ultra short charge times and high output-power peaks.Be assured that this is true, and that you can already buy supercapacitors for a relatively low price. </div><div style="text-align: justify;"><br>
However, supercapacitors are usually misunderstood, as they do not substitute batteries but offer a functionality for which most applications used to resort to them: short term (i.e. less than 1 minute) power storage. Also, do not confuse supercapacitors with <a href="https://en.wikipedia.org/wiki/Supercapacitor#Graphene" target="_blank">graphene-based ultracapacitors</a>, which do in fact have the potential to make chemical batteries obsolete. <br>
<br>
In this post I will cover the main differences between supercapacitors and batteries (e.g. lead-acid and LiPo/LiIon batteries), and show you a quick equivalence formula to compute how big a supercapacitor must be to replace a given battery.</div><br>
<a href="https://yalneb.blogspot.com/2017/05/supercapacitor-vs-battery.html#more">CONTINUE READING >></a>Andres Gongorahttp://www.blogger.com/profile/15324597917293343442noreply@blogger.com0tag:blogger.com,1999:blog-2288532833176024489.post-24380328833752212402017-05-19T10:00:00.000+02:002020-02-11T20:32:20.936+01:00How to program Arduino with Atmel Studio<div style="text-align: justify;">
<div class="separator" style="clear: both; text-align: center;">
<a href="http://yalneb.blogspot.com/2017/05/how-to-program-arduino-with-atmel-studio.html"><img alt="http://yalneb.blogspot.com/2017/05/how-to-program-arduino-with-atmel-studio.html" border="0" height="216" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhA4sYRZs8dRJ90NHNwW3RNFFabm7qu5jO8yxu8shVivDDvDvBwMSIVS39-gJ8LnMjRZZvkyFQYuRml-UZ6oIM-tKMcXmzXx0vFvE9EbZ7abLz3zXvXEfEWJ1zysXzFK4pkvKyDYe3xWC0/s640/ArduinoAndAVR.png" width="640"></a></div>
<br>
<a href="https://www.arduino.cc/">Arduino</a> is a fun entry point for those of you who want to program microcontrollers. It comes in two parts: the Arduino development board itself, and the Arduino IDE, a very easy to use notepad-like environment where you can write your code.The Arduino board itself is nothing more than a development board for an <a href="https://www.microchip.com/wwwproducts/en/ATmega328P">ATmega328P microcontroller</a> with some nice extras, while the Arduino IDE takes care of making programming a microcontroller a kid's game.<br>
<br>
However, the IDE can sometimes get in the way of a more advanced programmer, as it ads a lot of extra code we sometimes do not want (o prefer to do our self). The remedy is to program the ATmega328P with Ateml Studio 7, just as if it were a regular microcontroller. But for that, we first need to tell it how to "talk" to the Arduino to program it.</div>
<br>
<a href="https://yalneb.blogspot.com/2017/05/how-to-program-arduino-with-atmel-studio.html#more">CONTINUE READING >></a>Andres Gongorahttp://www.blogger.com/profile/15324597917293343442noreply@blogger.com0tag:blogger.com,1999:blog-2288532833176024489.post-25775494553142972672017-05-14T20:56:00.000+02:002019-01-15T10:29:06.160+01:00rsync: copy files the intelligent way<div class="separator" style="clear: both; text-align: center;">
</div>
<div style="text-align: justify;">
<div class="separator" style="clear: both; text-align: center;">
<a href="http://yalneb.blogspot.com.es/2017/05/rsync.html" target="_blank"><img alt="http://yalneb.blogspot.com.es/2017/05/rsync.html" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiFFVXIU2EOflV6RcPKxLkjQxv0zMbbLlydOyE3yiXsRDdmGrzodjyxXORnH7-c8ZsX1NvAyXKY3FaEsT40tqsei76ZHWE7gfUtZ3v4PS-6yzCMdPHYcorYm02QJmwsK6O2rcktv1WQEvY/s1600/rsync+header.png"></a></div>
<span id="goog_1491588596"></span><span id="goog_1491588597"></span><br></div>
<div style="text-align: justify;">
You probably heard about last Friday's massive cyber attack that affected millions of outdated machines that still run Windows XP, but also newer version. Luckily the pandemic got halted almost by sheer luck (<a href="http://hackaday.com/2017/05/13/global-cyber-attack-halted-autopsy-time/" target="_blank">read more at hackaday</a>).<br>
<br>
Anyway, it could have affected any of us (maybe dual-boot?), which alerted me of the fact that I had not backed up my files for quite some time now. This gave me two options. Either plug in my external backup HDD and copy everything with my file browser (overwriting old files), or do it the intelligent way: an incremental update to my backup with rsync to only copy modified files.</div>
<br>
<a href="https://yalneb.blogspot.com/2017/05/rsync.html#more">CONTINUE READING >></a>Andres Gongorahttp://www.blogger.com/profile/15324597917293343442noreply@blogger.com2tag:blogger.com,1999:blog-2288532833176024489.post-62019637717900464182017-04-16T20:05:00.000+02:002017-04-17T18:48:57.503+02:00Guns Of Icarus Online: weapons chart <div class="separator" style="clear: both; text-align: center;">
<a href="http://yalneb.blogspot.com/2017/04/guns-of-icarus-online-weapons-chart.html" target="_blank"><img alt="http://yalneb.blogspot.com/2017/04/guns-of-icarus-online-weapons-chart.html" border="0" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiaCKhhQOH1iJCmzRrOn88P-CX1IwL0_NupV-L-rLpa8WCIVypn4i_C7jLnTspVEfxpjqfce3SEjQuv9Y7BvYQkSdkd4_hecHCyDTmbBgNITQq16Ct3tML2YAn3ad-ZaA37ahD4An4b30I/s640/goioweaponschart.png" width="640"></a></div>
<div style="text-align: justify;">
<br></div>
<div style="text-align: justify;">
<a href="http://store.steampowered.com/app/209080" target="_blank">Guns of Icarus Online</a> is a steampunk-themed video game based on a new concept of cooperation. You and your friends share an armed airship and have to fight enemy for fun and glory, but instead of controlling your vessel directly, you have to move to the different components to steer the ship (helm), keep your ship airborne (balloon, engines, etc) and run from turret to turret during intensive air battles and dogfights. The game is very fun and really stands out from other video games in the way it works on cooperative team playing.<br>
</div>
<div style="text-align: justify;">
</div>
<a href="https://yalneb.blogspot.com/2017/04/guns-of-icarus-online-weapons-chart.html#more">CONTINUE READING >></a>Andres Gongorahttp://www.blogger.com/profile/15324597917293343442noreply@blogger.com0tag:blogger.com,1999:blog-2288532833176024489.post-71996588905410431372017-02-24T13:23:00.003+01:002017-02-24T13:30:02.568+01:00Run Linux shell commands sequentially<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://yalneb.blogspot.com/2017/02/run-linux-shell-commands-sequentially.html" target="_blank"><img alt="http://yalneb.blogspot.com/2017/02/run-linux-shell-commands-sequentially.html" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiiEccW7wGeSoaH4Foli1Fy_wrNO4yAhXdd4XrUVaZXiOgEeujDz36JjNRPLASLmJfe1nkcl3rveY_zB-mnf-G26rLhKfrhlE5kcLuCExdDejVBugLu0lsRJ6evKsVucziiNjagXMc5EfY/s1600/Run+linux+shell+commands+sequentially_black.png" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<br />
It is possible to concatenate Linux shell commands using either <span style="color: cyan;"><code>&&</code></span> or <span style="color: cyan;"><code>||</code></span> or <span style="color: cyan;"><code>;</code></span>.<br />
<ul>
<li><span style="color: cyan;"><code>&&</code></span> Run second command if the exit status of the first command is successful.</li>
<li><span style="color: cyan;"><code>||</code></span> Run second command if the exit status of the first command is not successful.</li>
<li><span style="color: cyan;"><code>;</code></span> Run second command no matter what the exit status of the previous command.</li>
</ul>
As shown in the figure above, this can become very handy to concatenate Linux commands depending on their exit status, specially if the first command is rather slow and you do not want to wait for it to finish. For example, I use <span style="color: cyan;"><code>&&</code></span> all the time to compile some source code from the terminal and run it as soon as it finishes.<br />
<br />
Note that you can run an arbitrary long number of commands sequentially, so go out and play while you leave your workstation finish a batch of commands.<br />
<br />Andres Gongorahttp://www.blogger.com/profile/15324597917293343442noreply@blogger.com0tag:blogger.com,1999:blog-2288532833176024489.post-26582330791030306072016-05-14T10:00:00.000+02:002020-01-23T12:44:34.281+01:00Colorize your terminal bash prompt<div class="separator" style="clear: both; text-align: center;">
<a href="http://yalneb.blogspot.com/2016/05/colorize-your-terminal-bash-prompt.html" target="_blank"><img alt="http://yalneb.blogspot.com/2016/05/colorize-your-terminal-bash-promt.html" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh3KeloOpZ7BAGBbywNFC5GhyphenhyphenIKSAsRi2e4P0G3bGgsP7ErwYPS9dTHlw2BD5XkYbmOUiinRYzlXjClr-KyLjgsAvO94KHVm6-gI0w2PfKvdcykaaJLYUpsPnTEAy2tyMU_ut71yqX9QMY/s1600/colorbash2.png"></a></div>
Do the colors of your terminal confuse you when trying to separate your bash promt from your commands and text output? Or are you simply bored of your terminal? Then spice things up with this bash script. Also, your productivity will benefit a lot from it.<br>
<br>
I use bash colors in my prompt for:<br>
<ul>
<li>Better identify my bash, my commands and terminal output</li>
<li>Identify each host my color to avoid confusions</li>
<li>Warn me with a bright color when logged in as root</li>
<li>Give my terminals a personal touch </li>
</ul>
<br>
<b>New post available: </b>you might want to check out <a href="https://yalneb.blogspot.com/2018/01/fancy-bash-promt.html" target="_blank">this post</a> to see all you can do to your terminal with a bit of color :) <br>
<ul>
</ul>
<br>
<div style="text-align: justify;">
<div>
</div></div><a href="https://yalneb.blogspot.com/2016/05/colorize-your-terminal-bash-prompt.html#more">CONTINUE READING >></a>Andres Gongorahttp://www.blogger.com/profile/15324597917293343442noreply@blogger.com1