Archivio della categoria: Tutorial

Project Euler: problem 20


Sometimes there is just no clever trick, no obscure theorem, no alternative method one can use to solve a problem: this is the case for problem 20 from Project Euler’s collection, that is only a matter of crunching numbers in

Project Euler: problem 20


Sometimes there is just no clever trick, no obscure theorem, no alternative method one can use to solve a problem: this is the case for problem 20 from Project Euler’s collection, that is only a matter of crunching numbers in

Blocks of i3blocks: stuff that rocks


Just sharing my current configuration of i3blocks because someone asked, down there in the Tiling WM community on G+ (seriously, I do use G+).  If you are reading this, you probably know what Linux, a (tiling) WM (specifically i3 but

Blocks of i3blocks: stuff that rocks


Just sharing my current configuration of i3blocks because someone asked, down there in the Tiling WM community on G+ (seriously, I do use G+).  If you are reading this, you probably know what Linux, a (tiling) WM (specifically i3 but

Project Euler: problem 6


Problem 6 from Project Euler list is so easy, it only requires pen & paper (a pocket calculator would help, maybe) and basic knowledge about series to solve, without writing a single line of code: The sum of the squares

Project Euler: problem 6


Problem 6 from Project Euler list is so easy, it only requires pen & paper (a pocket calculator would help, maybe) and basic knowledge about series to solve, without writing a single line of code: The sum of the squares

A starter in Python: finding “curious numbers”


After so much procrastination (an art I seem to master quite well…), at last I started messing with Python. The final kick-start came from a short post about “curious numbers”  on gorgeous John D. Cook’s blog. In short, a number

A starter in Python: finding “curious numbers”


After so much procrastination (an art I seem to master quite well…), at last I started messing with Python. The final kick-start came from a short post about “curious numbers”  on gorgeous John D. Cook’s blog. In short, a number

Project Euler – Problem 2


The first problem from Project Euler collection was quite a tasty appetizer. I have moved on to the second one looking for another challenge and I found four (almost five…)! Looking more deeply into the solutions and their implications often

Project Euler – Problem 2


The first problem from Project Euler collection was quite a tasty appetizer. I have moved on to the second one looking for another challenge and I found four (almost five…)! Looking more deeply into the solutions and their implications often

S.P.Q.R.: Script Per Quisquilie Riservate


Ovvero: Il Cifrario di Cesare Per la serie: “Reazioni a scoppio ritardato“, ecco uno scriptino fesso fesso che mi è venuto in mente dopo aver letto questo post di Bit3Lux (al secolo Luigi Iannoccaro, accerchiatelo / followatelo / socialnetworkizzatelo come

S.P.Q.R.: Script Per Quisquilie Riservate


Ovvero: Il Cifrario di Cesare Per la serie: “Reazioni a scoppio ritardato“, ecco uno scriptino fesso fesso che mi è venuto in mente dopo aver letto questo post di Bit3Lux (al secolo Luigi Iannoccaro, accerchiatelo / followatelo / socialnetworkizzatelo come

Window managers -5- 2bwm


So… you want a lighter-than-air window manager, something that takes the least possible amount of system resources. You want no frills but still enough ease to get your stuff done. Well, look no further: here is 2bwm, floating/stacking window manager

Window managers -5- 2bwm


So… you want a lighter-than-air window manager, something that takes the least possible amount of system resources. You want no frills but still enough ease to get your stuff done. Well, look no further: here is 2bwm, floating/stacking window manager

Project Euler and bash: maths for fun!


This article has been originally published in Italian (here). Feedbacks on content and translation are appreciated. Contributions are welcome. The original article must be considered the reference in case of updates. Some time ago I’ve come across Project Euler, a

Project Euler and bash: maths for fun!


This article has been originally published in Italian (here). Feedbacks on content and translation are appreciated. Contributions are welcome. The original article must be considered the reference in case of updates. Some time ago I’ve come across Project Euler, a

Project Euler e bash: un passatempo matematico


Nel mio solito girovagare in Rete mi ero imbattuto tempo fa nel Project Euler, una collezione di problemini/problemoni di matematica da risolvere con l’aiuto di qualche riga di codice: “Oh che bello!” esclamò Cappuccetto Geek, e ben presto, raffazzonati un

Project Euler e bash: un passatempo matematico


Nel mio solito girovagare in Rete mi ero imbattuto tempo fa nel Project Euler, una collezione di problemini/problemoni di matematica da risolvere con l’aiuto di qualche riga di codice: “Oh che bello!” esclamò Cappuccetto Geek, e ben presto, raffazzonati un

Firefox: managing Google+ shares with multiple Google profiles


“Sharing is caring” they say, but you should be able to decide how! One of the latest features in Firefox (I am always running latest “stable” FF/Iceweasel release on my dual-boot Windows/Linux boxes) is the “Share button” (that little paper

Firefox: managing Google+ shares with multiple Google profiles


“Sharing is caring” they say, but you should be able to decide how! One of the latest features in Firefox (I am always running latest “stable” FF/Iceweasel release on my dual-boot Windows/Linux boxes) is the “Share button” (that little paper