Category: Tech
-
Use Python to automate the Microsoft Word Weekly Report Task
I need to figure a workflow to automate the process of creating a new Microsoft Word document as weekly report. Althrough I’ve written an article about using Python to handle the task of generating powerpoint slides based on a template, this blog dicusses mainly on Microsoft Word document and how to use previous weeks report…
-
USB Hub with Ethernet Capability Driver needed on a computer?
I’ve never thought that in 2024 I still have to manually download and install driver for a USB Hub with ethernet functionality. I bought the UGreen USB Hub, in the beginning when I connected it to my Mac, I could not be able to find it in Settings app. Normally when a USB2Ethernet device is…
-
Revolutionizing Academic Workflows: AI-Powered Equation Extraction from PDFs to LaTeX
In the fast-paced world of academia and technical writing, efficiency is key. As researchers, students, and professionals, we often grapple with the tedious task of extracting equations from PDF papers and converting them into LaTeX code. This process, while crucial for writing papers, blogging, or taking comprehensive notes, has long been a bottleneck in our…
-
Interact with Python virtual environment
Using python for mahcine learning projects is totally different from utilizing the language for productivity on daily tasks. Python official website provides the documentations for venv1. This post2 contains a comprehensive guide on how to use the virtual environment. There are lots of tutorials on how to setup, manage and dispose a python virtual environment…
-
a glimpse of ssh remote servers via sshls
Suppose one has access to many servers via ssh, the config file has been properly managed, sometimes it is still difficult to remember the alias for each server. It would be much better to run a command line to print out a list of server names and public key comments associated with the server from…
-
Read and write most commonly used config files
Configuration files are crucial for setting up software applications, specifying settings, and managing operational parameters. In this article, we will explore the top most commonly used configuration file formats, understand their history, advantages, and disadvantages, and provide Python snippets for reading and writing these formats. These config files include JSON, conf, XML, HCL, YAML, TOML,…
-
Expanding volume of VMs
Sometimes it would be useful to extend certain volumes on VMWare or other VMs on the guest machine due to development requirements. In this tutorial, the logical volume on Rocky Linux 9 guest machine will be extended on VMWare. Generally speaking, there are 2 steps to do so: first the spaces need to be added…
-
Install Microsoft Visio on macOS M series Chips via Parallels Desktop
I’m trying to incorporate Microsoft Visio in my workflow as I underestimated its power. One problem for me is that I use a Macintosh which is not able to use the app natively, even through there’s a web based app, it is still far from acceptable in terms of user experience. Thus I decide that…
-
A Tutorial on scikit-learn
Scikit-learn is one of the most fundamental machine learning tools. You could access its official website here. It may not as fancy as pytorch or tensorflow, but scikit-learn is a good starting point for beginners to learn about machine learning algorithms. In this tutorial, several aspects will be shown, including installation, datasets as well as…