Author Archives: Mark Rainford

Daft Terminal Tricks

Google Maps? Apple Maps? pfffft, I say nae nae!! how about ASCII maps. launch terminal type telnet mapscii.me  (will work on any telnet client that uses xterm)

Ascii Map Europe

Ascii Map Europe

– use A & Z to zoom in and out

Ascii Map Scotland

Ascii Map Scotland

How about the weather?

Still in terminal, use the command finger cityname@graph.no – example finger edinburgh@graph.no

Ascii Terminal Weather

Ascii Terminal Weather

To much time on my hands? maybe! 😉

Banner Terminal Command

Another, probably somewhat useless command,  is ‘banner’ this will output a banner of inputted text. I can’t really imagine a use for this.

you can change the width with the -w switch,  here I used banner -w84

Banner Terminal Aye

Banner Terminal Aye

 

 

Updating macOS / OSX Terminal

You can Update macOS / OSX Terminal.app – I recently had a iMac that refused to update from the App Store.  It would appear to download the updates, reboot the system but the updates were not installed.   After some troubleshooting, I found that I could install these from terminal.

After opening terminal.app run the command softwareupdate -l
The -l switch will list all available updates

Mac Software Update Terminal Command

Mac Software Update Terminal Command

This will check and list any available updates that are available for the system.
the next command must be run as root, sudo softwareupdate -iva

-i switch installs updates.
-v switch is verbose, and will display a percentage as they are installed
-a switch is for all available updates

you could use -r to install only recommended updates

Mac Software Update Terminal Reboot

Mac Software Update Terminal Reboot

Once downloaded and installed you will be prompted to reboot the system, while in terminal why not reboot with sudo reboot

Obviously while using sudo be careful, a wrong command can do a lot of damage!
other that broked systems, this could be useful writing scripts / SSH to remote systems…..

perhaps its just me, but it seemed a wee bit faster than using the App store. maybe 🙂
This command should also work an all revisions of macOS / OSX

Berlin 2018

I was lucky enough to spend a few nights in the wonderful city of Berlin! but, alas I only managed to take a fraction of photos I’d normally take as to my cameras cr1220 battery died on me (had it since 2010, didn’t know it existed until I was there)

using Photoshop, I did use the content aware fill to remove unwanted objects, can you tell what photos these were?

 

Berlin Edit

It’s one of ‘em Before and after shots!

This was taken on the river Spree, passing museum island looking towards the Fernsehturm, but there is a big ugly crane above the museum! – by the power of photoshop crane be gone!!

I didn’t take as many photos as I usually do, as unfortunately I had some issues with my camera. Anyway I’ll edit some and upload a new album

Berlin Edin

Berlin Edit

Berlin Wall 10316 Days

Today I learned – The Berlin Wall has now been down as long as it was up, the wall stood for 10316 days, and today (February 5th 2018) it is 10316 days since it fell.

Two Photos East Side Gallery and a bit of it near Checkpoint Charlie, taken back in 2011.

Berlin Wall

Berlin Wall

Super Blue Moon 2018

Today we were promised a unique celestial event – not just a super moon! but a super blue moon!! My imagination ran wild. Earlier this evening I looked up to the heavens in anticipation, and high hopes.

But wait… it’s just a regular full moon! heading back to the flat disappointed, fearing the evening was fair ruined, one turned to Photoshop for help as – I really wanted to see a Super Blue moon.

Super Blue Moon 2018

Super Blue Moon 2018

ahhhhh that’s better!

Super Blue Moon 2018

Blackness Castle

Blackness Castle, on a very dreich and snowy Scottish day. A 15th-century castle looks apparently like a ‘ship that never sailed’… Closed today, I wonder why! thwarted by the weather – pffft!!!

Blackness Castle

Blackness Castle

Probably the best of the bunch – I’ll upload a few more photos soon…