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
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
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
Getting my new @Fedora system set up with some time-saving shortcuts such as:
alias gno='gnome-open'
I did not want to use "go" since I will be installing golang. What is your favorite #bash alias for your Linux system?
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…
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…
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.
TIL: @code can sort your #Python import statements for you!
It splits them by standard library and 3rd party and then alphabetizes them.
Why am I only finding out about this now?!
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/…
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!
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…
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
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
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.