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/sh | |
| set -e | |
| _NAME=u-root-nezha | |
| _DIR=/tmp/$_NAME | |
| _FLAGS=-build=bb | |
| # Get u-root, module workaround is necessary as of now | |
| # see also https://github.com/u-root/u-root#warning-go-modules-are-a-work-in-progress-warning |
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
| from PIL import Image, ImageDraw, ImageFont | |
| import PIL.features | |
| # ! brew install libraqm | |
| print('libraqm:', PIL.features.check('raqm')) | |
| size = (320, 16) | |
| """ | |
| FORMAT = "RGB" |