All posts tagged 'Automation'
-
Backing Up WSL2 part 3 of 3
Last time, I automated my backup script with a cron job, but realized it still wasn't automated enough. So I had to automate the automation. Well, that's what I started doing, at least. Then I did something easier. Start cron service with Windows Task Scheduler Following this how to I scheduled a...
Read article -
Backing Up WSL2 part 2 of 3
In my previous entry, I detailed a simple Bash script I wrote to backup my WSL files. I noted that there was still one major problem with the setup — it wasn't automated. This post explains how I resolved that. My first attempt involved writing a cronjob. I'll summarize that attempt here. How to set...
Read article -
Backing Up WSL2 part 1 of 3
This is the first in a three part series detailing my setup for backing up WSL2 files. I'm sure it's not optimal, but it's been working for me so far. The Basic Script First, I started off by writing a simple bash script, based off of one found in this great article: Automatic Backups for WSL2. The...
Read article -
Accessing Windows User Directory in WSL2
Not as easy as it sounds.
Read article -
Command Line Notes
I've never been a very good note taker, but I've always appreciated the art. When I got my undergraduate degree in math I tried to be studious. I produced massive quantities of notes in Microsoft OneNote. I suppose they were helpful in a way, etching the concepts in my brain. But ultimately the...
Read article -
Automating the Creation of New Github Repos
Today I'm going to walk you through writing a Bash script to automate a common task: creating a new repo on GitHub, setting it as the remote of a local repo, and making your first push to the new repo. This will require you to use GitHub's command line interface, so make sure you've got that set up...
Read article -
A Script to Create React Components. Part 2 of 2
This is the second part of this post on writing a bash script to automate some parts of creating React components. In the first part, we left off with a functioning, but pretty much useless, bash script. Now, let's make it useful. Recall that our proposed script will take an argument representing...
Read article -
A Script to Create React Components. Part 1 of 2
After creating new React components manually for the umpteenth time I decided that the process could be automated a bit. We have CRA for React apps. Why not CRC, for React components? This is part one of a two part article that will walk you through writing a Bash script to automatically create the...
Read article