While adding a linter to an old project, I wrote the following bash script to convert 4-space indentations to 2-space indentations. This example recursively looks for *.js files starting at the script’s location. Of course, it can be used for any type of file though by simply changing the extension.
Category Archives: Server
I have written before about having to work in Windows 7 with Docker which only runs natively on Linux, macOS or Windows 10. The solution I have used until now has always been to run Xubuntu in VirtualBox and work directly with Docker inside the virtual machine. This has several advantages, but also many detriments … more »
Between several of my own websites as well as the websites I’ve done for other people and am hosting, the number of WordPress installations on my server has climbed exponentially. There are people that will say that’s a terrible thing and there are others that will argue it’s perfectly fine. Either way, it’s a fact … more »
As I recently mentioned when introducing the new design for my portfolio, it and several other websites of mine now use a secure connection by default. Not only does my portfolio take advantage of the increase in security by using HTTPS, but also History Rhymes as well as this blog. For some people it may … more »