iMac running Linux Mint from Debian

Minting an iMac

Sadly, Apple has retired my 2012 iMac, after 10 years. The iMac is still working, has a decent CPU and memory and a nice display, albeit not retina, so the retirement does feel somewhat premature to me. Apple puts things out to pasture far too quickly in my opinion, Microsoft is a lot better in this regard, and Linux is top. Due to concerns about the aging MacOS version on the machine, it limits my application upgrade path, how long will developers keep compiling for older systems 2 or 3 versions, maybe, often they want the latest and greatest version immediately, who can blame them....

10 December 2022 · 2 min · Mark

Affinity - What Next

At the beginning of this month, November, Affinity Serif announced the imminent release of version 2 of its graphic software suit. I, like many, was excited by prospect and the hype that hinted at possibility of finally seeing some long awaited features. Unfortunately, for me at least, the release didn’t live up to the hype and frankly didn’t have features I had expected. Promised features going back years, but I am not here to talk about that, though....

15 November 2022 · 3 min · Mark

Typora Symbolic Links Mac

Unfortunately Symbolic Links and shortcuts don’t work within Typora’s file listing. I found a work around though: Create a symbolic link to the folder you wish to add in the default Typora markdown directory, this will then show up in the the file listing, it won’t do anything though if you click on it, as it isn’t implemented or supported in Typora yet. But, if you right click on the icon link in the file list and choose Open in New Window it will load the linked directories contents....

1 October 2022 · 1 min · Mark

Multiple Symbolic Links Windows

Create a batch file, for example: symlink.bat with the following content and edit the source and target locations to suit. @echo off set "source=c:\source\directory" set "target=c:\target\directory" set "exclude=%temp%\exclude.txt" ( rem exclude files/dires with these strings into full path echo .txt echo pipe.cmd rem escaped backslash and initial and final quotes to avoid partial matches echo "c:\\source\\directory\\something.txt" rem exclude thisNot file/directory from source directory echo "%source:\=\\%\\thisNot" )> "%exclude%" forfiles /P "%source%" /C "cmd /c (echo @path|findstr /i /v /g:"%exclude%" >nul) && if @isdir==TRUE (mklink /d \"%target%\\\"@file @path) else (mklink \"%target%\\\"@file @path)" del "%exclude%" > nul Original answer posted on: stackoverflow

2 November 2021 · 1 min · Mark

FrontMatter for VSC

I recently set up a addon for Visual Studio Code, for editing Markdown files in HUGO. The addon was from Elio Struyf called FrontMatter. I got it working quickly enough. Although I had problems with the media paths not showing correctly in the media browser. The reason for this was, I’d used the default setting (as mentioned in the documentation) which assumes media will be in the root static folder, where as I had media in an assets folder under the content folder....

1 November 2021 · 1 min · Mark

Git Version Control Setup

After a few false starts I have finally got my Hugo site setup to use git submodule to push the HTML output to the remote webserver. It was a little involved at first, but once I got my head around the idea of a git repo within a git repo, not being a git repo but rather just a folder marked as a submodule of some parent module… you get the idea....

25 October 2021 · 1 min · Mark

Change Mac Machine Name via Terminal

I needed to change the name of one of my Macs remotely and this is the command to do it: sudo scutil --set HostName [NewHostNameHere]

22 October 2021 · 1 min · Mark

SSH copy keys from Windows

I have recently been setting up an old Mac Mini as Webserver and NAS server. One of the things I wanted to do was enable ssh key pair login and wondered how one used ssh-copy-id on a Windows machine to get the public key from a local machine to the server. It turns out you can’t but the cat command can do it just fine. Here is the template: type C:\Users\<user>\....

22 October 2021 · 1 min · Mark

SMB Mac 11.3.1

Apple in its infinite wisdom changed the settings for Samba ‘SMB’ protocol and killed access to my NAS server, thanks Apple not like I wasn’t using it all the time. I found a fix online, don’t trust me check if there are any risks in this fix: Create or edit this following file and add the 2 lines to the file. ~/Library/Preferences/nsmb.conf [default] protocol_vers_map=2

8 May 2021 · 1 min · Mark