
Perpetually under 🚧 software dev and content creator @https://thisdavej.com with learning focus on Node.js, .NET, Python, IoT, Raspberry Pi + more. Titus 3:5-7
San Diego, CA
Joined February 2016
- Tweets3.4K
- Following970
- Followers1.1K
- Likes7.2K
Just published my next article on building Python command-line apps with uv: thisdavej.com/packaging-pyth…
#Python #pythonlearning #uv
Built a simple web app for converting text from Word or text editors into HTML bullet point lists (<ul>). It's a very focused use case. Perfect when you want HTML bullet points without using full-on Markdown tools. thisdavej.com/html-bullet-po…
#office #html #WebDesign #JavaScript
Dave Johnson (thisDaveJ.com) retweeted
Share Python Scripts Like a Pro thisdavej.com/share-python-s…
PEP 723 + uv = Single-file Python scripts with embedded dependencies! 🐍 Streamlined distribution and execution without requirements.txt.
Check out my latest post here: thisdavej.com/share-python-s…
#python #pep723 #uv
I have been familiar with the dmesg command in Linux to view kernel log messages, but today I learned I can do:
$ dmesg -H
which provides a pager option like less and continues to colorize the output. (-H = human readable output)
#linuxtips
Installed @Fedora Linux on my home laptop 💻 that previously ran Windows. It's now a dual boot system. I'm running this for 30 days to see if it can become my daily driver. Have you taken the Linux plunge? Any words of wisdom?
I'm all about Python 3, but that's some impressive commitment by Red Hat to patch Python 2 for all of the legacy Python 2 code that has yet to be converted.
Since Python 2.7 sunset (January 1st, 2020), Red Hat is still maintaining it and backported 7 security fixes: CVE-2019-20907, CVE-2020-26116, CVE-2021-3177, CVE-2021-23336, CVE-2020-27619, CVE-2021-3733, CVE-2021-3737. Fedora Python 2.7 fork with fixes: github.com/fedora-python/cpy…
Taking @ManjaroLinux for a spin. It feels well designed.
For people who have used this distro, do you prefer using pamac or pacman to manage packages?
Dave Johnson (thisDaveJ.com) retweeted
What have I done for you lately? Well, after several months of back-breaking work, the results of what has internally been called "documentation-ng," launches today. Welcome to the new #RaspberryPi documentation site. raspberrypi.org/blog/bring-o…
Dave Johnson (thisDaveJ.com) retweeted
Looking to scrape JSON API responses?
It's as quick and simple as copy/pasting this script in Google Sheets (for up to 5M cells).
thisdavej.com/fetching-filte…
Thank you very much @thisDaveJ for sharing your code.
For longer lists, your best bet is to go with Python.
.@endlesstrax you're not the only one who learned today that @code can sort #Python import statements. Thanks for sharing this useful tip!
Dave Johnson (thisDaveJ.com) retweeted
Happy birthday Daniel, I appreciate you😀
This day 23 years ago, I uploaded the first ever curl release. Happy birthday to all of us who use and appreciate curl. I love you all.
daniel.haxx.se/blog/2021/03/…
Dave Johnson (thisDaveJ.com) retweeted
WOOT WOOT WOOT!
I am sooooo excited to see that @cinnamon_msft and the Terminal team have landed a goal that we've wanted to deliver since Terminal was still a dream. Another step forward in Windows becoming the default Terminal on Windows :) Great work!
Twitter friends, please consider upvoting this VS Code feature request so @fcrespo82 can align the columns in sorting of markdown tables in marketplace.visualstudio.com…. We need 20 upvotes for the feature to make the VS Code backlog.
github.com/microsoft/vscode/…
If you work with markdown tables in @code, this extension from @fcrespo82 provides the ability to sort rows and move columns left and right. Very handy. marketplace.visualstudio.com…
Dave Johnson (thisDaveJ.com) retweeted
An alternative to saving your secret information to the environment variable is to save it to .env file. The easiest way to load the environment variables from .env file is to use python-dotenv library.
Find how to use python-dotenv in the code below.
bit.ly/2Zziahk
An excellent article on my new favorite Python library called rich which allows you to take your #Python CLI apps to new heights.
You can make your terminal output by using Rich. With Rich, you can create the output pretty like below in a few lines of Python code. Find the link to my article on Rich at @TDataScience here: bit.ly/3a4YSX1
#Python
Dave Johnson (thisDaveJ.com) retweeted
I'm writing a new book, "#Pandas Workout" (for @ManningBooks), to help improve your fluency with this amazing #Python package.
So: What are your biggest pain points with Pandas? What don't you understand? The more feedback I get, the better the book can be.
















