Fundamentals, fundamentals, fundamentals. Everyone knows it, fundamentals are fundamental. It’s like saying water is wet, isn’t it? But again and again the greatest teachers of hard disciplines remind us that we need to master the fundamentals to become the best.
Vince Lombardi, said it:
Fundamentals win it. Football is two things; it’s blocking and tackling. I don’t care about formations or new defences or tricks on defence. If you block and tackle better than the team you’re playing, you’ll win.
The 23rd of April is a very special day in Catalonia. The legend of Saint George, in the Catalan version happens in a small town called Montblanc, and when the knight kills the Dragon from its spilled blood grows a red rose he gave to the princess. Since medieval times, men give their a rose to his significant other, and in 1923 something was added to this story.
A bookseller wanted to spice the celebration, and as Miguel de Cervantes and William Shakespeare died on this same day, he promoted the giving of books as a present.
Yes, you can! Adding colors to terminal output is possible. You already know it, from ls –color In this post I show you a script that does it, in a simple way. I don’t have a full range of colors implemented, but you can find all here.
This is the sed-processed output given by Gcal. The original source looks like
As you can see, I used as identifiers XML-like expressions.
Introducing LeechBlock
You arrive to your office. Quickly check urgent mails, close the mail program and browser and put a nice solid hour, hour and a half, even two straight hours of work. Then decide that you deserve a break, and maybe with a fresh cup of coffee from the coffee machine you decide to browse idly for a few minutes. And then a co-worker knocks at your door and asks if you are coming to lunch.
Below you can find a non exhaustive list of the best programming books I have read so far. I have read a lot more books about programming, but most of them I read and promptly forgot about them. I am reading currently a few more (Code Complete, Thinking Forth), and maybe they can make it into a list like this that my future self writes.
And now, the list of the best programming books I have read so far.
The Ben NanoNote has very few applications, as of now. And one it has (among a few nice others), is Gcal. I didn’t know what Gcal was, and the Qi hardware wiki page on Gcal pointed me to this quite nice tutorial: The many uses of Gcal.
The tutorial is quite good, but somewhat long, and lacks a few specific examples, so I decided to write just what I read in that tutorial, mixed with the uses I am putting it to, so it is more a Gcal use cases than a full blown tutorial like that.