/explore
|
You are here |
cyberchris.xyz | ||
| | | | |
hackaday.io
I've posted the scripts used to generate the anti-aliased text used in the User Interface. The first is a Photoshop script,CreateFontData.jsx. This makes a set of PNG files, one for each character. The second isConvertText.py, a Python script that takes the output of CreateFontData and generates C code for display the characters on the Epson LCD used in the project. Note these scripts have some hard-coded pathnames in them (to the development folder) but this is pretty easy to find and modify. |
|
| | | | | ||
| | | | |
bluebones.net
[AI summary] The post shares shell scripts for counting non-blank lines of code in Python and JavaScript project directories. |
|
| | | | | ||
| | | | |
ericlathrop.com
I often need to view a bunch of static HTML files in my browser locally, and I often need to open them with http:// rather than file:// URLs so related CSS or JavaScript files load correctly. Luckily, Python provides a simple web server, and most Linux distros include Python. |
|
| | | | | ||
| | | | |
blog.michal.pawlik.dev
This is a second post in the Smart Home series. See the previous post if you haven't already: https://blog.michal.pawlik.dev/posts/smarthome/smart-home-getting-started/. Last time we have set up the HA (Home Assistant), in this post we'll learn about Zigbee and control some devices. Zigbee Zigbee is a specification for wireless communication protocols, very common solution for building home automation networks. Explaining new terms is always easier when there's something well known you can relate to, so before describing Zigbee let's recall something familiar, the typical WiFi network. |
|
| | | |||