Cut and paste in Finder

Mac doesn’t support Cut and Paste from Finder using: CMD-X CMD-V But you can achieve exactly the same results by using: CMD-C and then CMD-OPT-V This isn’t very intuitive as most OS’s use Ctrl-X and Ctrl-V, but the functionality is there if a little hidden. For a bonus tip: if you hold press ALT/OPTION over the open Menu Bar you will see alternative functions appear. There is at least one plugin on the App Store, that turns this into CMD-X, but to be honest, I don’t think CMD-OPTION-V too hard a combination to master....

18 June 2023 · 1 min · Mark

Purge git repo history

I mentioned in a previous post that I had used git and git hooks to upload Hugo blog posts to my server, and that I am now using rsync as a faster more succinct alternative. This has left me with lot of git history in my .git folder, which I really don’t need. I don’t think I am ever going to want to recover a blog post version, ever. So I thought why not just delete all the history and reduce the junk in the site directories....

28 March 2023 · 2 min · Mark

Hugo Google-News Error

The Hugo theme template partial google-news has been deprecated for quite some time. A warning message has been posted on build for just that very reason. After the last update of Hugo v0.111.2+extended the partial appears causes Hugo to fail while building. This is the error thrown on my Mac: ❯ hugo Start building sites … hugo v0.111.2+extended darwin/arm64 BuildDate=unknown ERROR 2023/03/07 23:21:02 render of "page" failed: "/Users/mark/websites/markbtomlinson.com/themes/PaperMod/layouts/_default/baseof.html:5:8": execute of template failed: template: _default/single....

8 March 2023 · 2 min · Mark

Git Hooks to Rsync

Getting un-hooked You Git I have been using Git Hooks to sync local Hugo website files to my remote server. This has worked well, mostly, but I wondered if it was the most efficient way of syncing up. I use Git on the local web structure and so have version control. Using Hooks allows me to upload to a remote location and then have the remote server copy the modified file into the live site directory,....

1 March 2023 · 2 min · Mark

Open - command Mac terminal

Open, command Mac terminal: Most Mac users will know that the open command in the Terminal will open files in the GUI or open a directory in Finder for example open . will open Finder in the current directory, this is useful, but there are a few more things it can do including opening in a specified application. Here is the usage dump from the tool: Usage: open [-e] [-t] [-f] [-W] [-R] [-n] [-g] [-h] [-s <partial SDK name>][-b <bundle identifier>] [-a <application>] [-u URL] [filenames] [--args arguments] Help: Open opens files from a shell....

2 February 2023 · 2 min · Mark

Who will read this

This post appeared in my feed: # 7 Reasons why I don’t write Nobody’s going to read it anyway Let’s be honest: nobody likes to shout into the void. Everyone wants their content to be seen, and social validation is the sweet sweet dopamine reward we all crave. … Don’t underestimate how many people actively read personal blogs though! The web dev community is especially fond of RSS, and with the Fediverse gaining more and more popularity, original content on your own domain has a much better reach now than before....

30 January 2023 · 3 min · Mark

Cloud Storage Reduction

Cloud storage, for me at least, is becoming too vulnerable and time consuming to manage. It is also a huge pit for data hording, take Photos for example, so many old and irrelevant images going back years just sitting there on the cloud gathering pixel dust. With that in mind I have decided, that this year I am moving back to local storage and away from the likes of Google and One Drive....

20 January 2023 · 2 min · Mark

Linux Mint Login Loop

The default installation of Linux Mint on my iMac went very well right up until the moment it didn’t. I don’t know the cause, but I did find a few posts online about the problem I had, namely a login loop: whereby the login screen appeared to accept the login details only to show a blank screen momentarily, and then return to the login prompt. There were comments online proffering a solution in the form of ALT-CTRL-F1 etc....

15 January 2023 · 2 min · Mark

iMac 2012 Recovery

I am currently in the process of resetting an old 2012 iMac after deciding trying to set up the Fusion Drive in there was too much hassle. I think it can be done but as it is a proprietary RAID setup I decided to reinstall MacOS and then use an external drive as a dual boot Linux/Mac setup. I had this before and it worked well enough, the only requirement was to hit the boot drive selector shortcut....

4 January 2023 · 2 min · Mark

Bring Back Blogging

Bring back personal blogging This post from the Verge appeared on my feed this morning: Twitter is creaking. Social media seems less fun than ever. Maybe it’s time to get a little more personal. In the beginning, there were blogs, and they were the original social web. We built community. We found our people. We wrote personally. We wrote frequently. We self-policed, and we linked to each other so that newbies could discover new and good blogs....

1 January 2023 · 1 min · Mark