Sometimes after you prep and they spend the night in the fridge you just don’t feel like firing up the smoker. That’s why we have ovens. Not as smokey but just as tasty.
Employ open source networking to facilitate cloud-native apps.
Putting this here in case anyone finds themselves in need of something to scrape a Pipermail web archive of a Mailman mailing list. This bit of Python 3 is based on a a bit of Python 2 I found at Scraping GNU Mailman Pipermail Email List Archives. The only changes I made from the original are to update somethings to work in Python 3. It works well for my purposes, generating a single text file of the teknoids list archive from 2005 to today.
from lxml import html
from io import BytesIO
listname = 'teknoids'
url = 'https://lists.teknoids.net/pipermail/' + listname + '/'
response = requests.get(url)
tree = html.fromstring(response.text)
filenames = tree.xpath('//table/tr/td/a/@href')
response = requests.get(url + filename)
if filename[-3:] == '.gz':
contents = gzip.GzipFile(fileobj=BytesIO(response.content)).read()
contents = response.content
contents = [emails_from_filename(filename) for filename in filenames]
contents = b"\n\n\n\n".join(contents)
with open(listname + '.txt', 'wb') as filehandle:
I’ve always wanted to have room for a nice sized garden. When we had some of the pasture fence redone this spring we fenced a specific area for a vegetable garden. Turned out to be a bit over 40×20, just the right size to give everything room to grow.
It was a lot of work and took longer to get ready than I thought it would but I’m happy with the way it turned out. I hope it doesn’t turn into a buffet for the local rabbit population!
In the first article in this series, I introduced Home Assistant and why you might be interested in it. In short, Home Assistant is an automation hub for some of the most common smart devices on the market today. It enables centralized coordination of disparate hardware. By using it, you no longer have to choose suboptimal tech from a single vendor to manage your smart home from a single app.
Lets have a look on what we have on this article:
- Setting up Apache 2 in Linux Subsystem for Windows 10
- Setting up MySQL Server in Linux Subsystem for Windows 10
- Setting up PHP in Linux Subsystem for Windows 10
- Visual Studio Code and PHP Extensions
- Few tweaks to work on PHP, Visual Studio Code with Linux Subsystem for Windows
Hey, what good’s Ubuntu 18.04 for web dev without Apache, PHP, and MySQL? Getting the full LAMP stack up and running in WSL is a breeze and then you can get some work done. BTW, don’t forget Git.
There are some good pointers and excellent tips in Web Development and Advanced Techniques with Linux on Windows (WSL) that are useful if you’re using WSL as part of your dev toolkit. Getting the same envs, including PATH, running across both systems is handy. It’s cool to be able to develop in Windows and test in Ubuntu without mucking about with VMs or ssh or anything.
SMA30 A Simplified WiFi Throttle You Can Customize | Model Railroad Hobbyist magazine
Mashable: How to build your own Super NES Classic Edition. http://google.com/newsstand/s/CBIwwoqDsDU
Thinking about this for my next railroad.