Following on from my directory renaming program I have written some more code to renumber my video training and music files. Once again this is something that I have been doing for years and should have automated as some of the training materials can take around 10 to 45 minutes of manual work. I have a backlog of files that I wasn’t going to finish so I had to come up with a better way of doing the task.
I often have to rename directories in the training materials that I download. They never seem to have a consistent file structure so I manually create a batch file to rename the directories. This takes me around 2-3 minutes each time I do it and I find that I am constantly creating batch files to do this task.
Today I spent around 2 hours to automate this process and have run the program on a number of directories to test that it works correctly.
I am currently creating all of my documentation in Markdown format and then converting to HTML with dillinger.io for viewing. I had a Visual Studio extension that could do this but every time I saved a page edit it would shift focus from Visual Studio to Chrome and that was very disconcerting. I disabled that extension.
I always seem to have a lot of typos and would like a method of viewing my Markdown files before converting them to HTML.
Today I was setting up a new project to use 127.0.0.1:3000 and when I went to run the development server I got an error stating that the port was in use.
The strange thing was that I had been using port 3000 about two days previously. I can’t be sure if my PC had been turned off during that period. I have to assume that it hadn’t been turned off.
I downloaded some files recently and every file contained a prefix with the website’s name in it. This included all of the source code files which rendered the code useless.
I tried using my Name utility program to remove the offending phrase but it ended up changing the names of some files. I need to remove the prefix without changing the rest of the filename. My first option was to search the web for a free file renaming program.
In the last couple of days I have been watching videos on how to use Babel in my workflow.
I have conflicting feelings on why I need to bother with Babel but am prepared to use it. The reason projects like Babel and Webpack came about is because web browsers are not keeping up with JavaScript development. There have been a number of updates to JavaScript and each browser seems to implement the new features in different timeframes.
Build a new template for my documents I write a fair number of documents in Markdown format with the intention of eventually getting the notes into HTML format so that I can view them in a browser. I have been using Bootstrap 3 as a template for my pages to make them a bit more user friendly.
Today I decided that it was about time to update my template into Bootstrap 4.
I am going to keep a diary of the programming work that I do on my computer. This will give me an idea on how I am progressing with my learning and the projects that I am building.
I may also write random music notes and other thoughts as well. The idea is not to publish these notes as a blog but in future that might change.