Differences between revisions 2 and 3
Revision 2 as of 2011-11-09 12:46:19
Size: 371
Editor: jaromil
Comment:
Revision 3 as of 2011-11-09 12:49:05
Size: 352
Editor: jaromil
Comment:
Deletions are marked like this. Additions are marked like this.
Line 8: Line 8:
p=0; n=1; echo $p p=0; n=1
Line 10: Line 10:
 echo $n

Cozy computing

just wrote a shell script that pushes the cpu to 100% overheating some ARM boxes to warm my hands: scaldamani.sh

Twitted on 8 Nov 2011 -jrml

p=0; n=1
while true; do
 r=$(($p+$n))
 p=$n; n=$r
done

guess what? good ol' Fibonacci always warms my heart

scaldamani.sh (last edited 2011-11-09 12:49:05 by jaromil)