This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| LOGFILESYSLOG=/var/log/syslog | |
| if [ -f "$LOGFILESYSLOG" ]; then | |
| echo "" > $LOGFILESYSLOG | |
| fi | |
| LOGFILESYSLOG1=/var/log/syslog.1 | |
| if [ -f "$LOGFILESYSLOG1" ]; then | |
| echo "" > $LOGFILESYSLOG1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # pip install pillow | |
| # pip install pillow-avif-plugin | |
| # add image files to Input folder and run the script | |
| # converted files will be stored in output folder | |
| # change folder path at the end of file | |
| import os | |
| from PIL import Image | |
| import glob | |
| import pillow_avif |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # pip install pillow | |
| # pip install pillow-avif-plugin | |
| # add square large size files JPG and PNG in Input folder and run the script | |
| # converted files will be stored in output folder | |
| # change folder path at the end of file | |
| import os | |
| from PIL import Image | |
| import glob | |
| import pillow_avif |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| This program provides cartesian type graph function | |
| Revisions | |
| rev date author description | |
| 1 12-24-2015 kasprzak initial creation | |
| Updated by Bodmer to be an example for the library here: | |
| https://github.com/Bodmer/TFT_eSPI |