Sunday, September 4, 2016¶
I love Free Software¶
I liked the following graphic from the Artwork page of the I love Free Software Day campaign:

But I wanted to play with the idea. Since I didn’t find anywhere the
plain text version of it, I used my fingers to type that sequence of
0 and 1 into a text file ilovefs-ascii.txt
:
11111111111111111111111111111111111111111111111111
11111111111111111111111111111111111111111111111111
11111110000000000001111111000000111110000001111111
11111110000000000001111100000000001000000000011111
11111111111000011111111000000000000000000000001111
11111111111000011111111000000000000000000000001111
11111111111000011111111100000000000000000000011111
11111111111000011111111110000000000000000000111111
11111111111000011111111111000000000000000001111111
11111111111000011111111111110000000000000111111111
11111110000000000001111111111110000000111111111111
11111110000000000001111111111111110111111111111111
11111111111111111111111111111111111111111111111111
11111111111111111111111111111111111111111111111111
11111000000000000000000111111110000000001000111111
11111000000000000000000111111000000000000000111111
11111110000111111111000111110000111111110000111111
11111110000111000111000111111000011111111000111111
11111110000000000111111111111100000000011111111111
11111110000000000111111111111111100000000000111111
11111110000111000111111111110001111111111000011111
11111110000111111111111111110000111111111100001111
11111000000000001111111111110000000000000000011111
11111000000000001111111111110001000000000001111111
11111111111111111111111111111111111111111111111111
11111111111111111111111111111111111111111111111111
Then I wrote a little script ilovefs-ascii.py
:
s = open('ilovefs-ascii.txt', 'rt').read()
s2 = ''
for c in s:
if c == '0':
s2 += '<b><font color="blue">0</font></b>'
elif c == '\n':
s2 += "<br>\n"
else:
s2 += c
s2 = '<html><font face="Courier">\n%s\n</font></html>' % s2
open('ilovefs-ascii.html', 'wt').write(s2)
And now I have it in colored:
