Synaptic shock

Preamble

I bought a HP Compaq NC4200 a while back and the track pad didn’t work, and after trying to get it working I gave up and just used a USB mouse.

Yesterday I thought I’d give it another go.

Running:

Continue reading Synaptic shock

Trouble getting homebrew working on Mountain Lion

Preamble

This has been happening for a while (a few years now) – it used to work fine, then after updating to OS X 10.8.5 (years ago), when I went to use it again I found that it had died. My brew stopped working. Finally tonight I decided to try to get it working as I need to install stlink, for an STLink v2 that I have purchased for a couple of STM32 based DIY oscilloscope projects (STM32-O-Scope (see Pocket ‘scope) and Miniscope).

The issue that I am having is

localhost:~ user$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
-e:224: syntax error, unexpected '.', expecting $end
               .map { |d| File.join(HOMEBREW_PREFIX, d) }

Continue reading Trouble getting homebrew working on Mountain Lion