Every time I am cooking sometig from the recipe I first need to translate it from the long text to a chart where one axis is time and second is what to do.
I do quite a lot of code reviews and usually all the files contain newline at the end - so github is happy and does not show warning icon. But sometimes - new person joins the project and is not aware of this, or somebody does small change in misconfigured ide or file is generated and in these cases newline is missing. My original way of handling this was to just edit the file directly but then I would have to wait for tests to run again, so at the end I gave up. Linters can usually help but they are always tied to one type of text files and do not cover config files.
I wanted to write a simple python script that will go through all text files (with white and blacklist) and ensures there is exactly one newline at the end. I also wanted for script to be able to fix the file or just report issues.
The current version works quite well - atleast for my 1 day of limited testing. Please take a look and happy to hear what you think.
I actually built one myself, but used raspberry pi so it needs usb cable for power. It works well but contrast on the display is not that good for photos. Would work well for text or like smart home panel.
Nice work. Getting rid of the cable was actually the most important feature for me. It is almost impossible to spot that this is actually an electronic device if one doesn't notice the small button at the bottom.
For me, I found that the display I'm using works reasonably well for photos, but you need to slightly boost the contrast of the image before updating the display, to compensate for the darkness of the display. If you're using PIL in python, this is just something like "image = PIL.ImageEnhance.Contrast(image).enhance(1.3)"
I do that immediately before dithering into 16-greys, and get entirely acceptable photo displays that way.
I am using simple shell script and imagemagick to convert folder full of images and then randomly rotate the pictures. I tried playing with contrast but after dithering and that did not produce good results.