Wednesday, 13 April 2011

Why I blog

When I first started this blog, back in the mists of January 2007, part of my rationale was to write things down in a safe place ( well, the Internet is a safe place, right ? ) to allow me to stop trying to remember everything that I have ever learned :-)

I always consider my memory to be similar to a bucket of water, once it's full, it's full, unless I empty something out first.

Well, it's not the best analogy / metaphor / simile in the world, but it works for me :-)

As my blog tagline now says: -

In the words of Dr Cathy Ryan, "If you don't write it down, it never happened". The postings on this site are my own and don't necessarily represent IBM's positions, strategies or opinions. My blog is PERSONAL, and is a repository of the stuff that I learn, play with, enjoy and want to share. If you follow one of my tips, your mileage MAY well vary - Here be dragons :-)

Anyway, having switched back to using my Apple Macbook Pro in the past month or so ( partly because it's less weighty than my Thinkpad W500, which is important when you travel as much as we do ), I was struggling to remember how to take screenshots, without needing to load up the ever useful Grab application.

Well, this morning, I actually remembered (!) to Google for the answer, and found this: -

There are several keyboard combinations that can be used to take screenshots in Mac OS X. The SystemUIServer process handles these commands.

Shortcuts

• Command-Shift-3: Take a screenshot of the screen, and save it as a file on the desktop
• Command-Shift-4, then select an area: Take a screenshot of an area and save it as a file on the desktop
• Command-Shift-4, then space, then click a window: Take a screenshot of a window and save it as a file on the desktop
• Command-Control-Shift-3: Take a screenshot of the screen, and save it to the clipboard
• Command-Control-Shift-4, then select an area: Take a screenshot of an area and save it to the clipboard
• Command-Control-Shift-4, then space, then click a window: Take a screenshot of a window and save it to the clipboard

In Leopard and later, the following keys can be held down while selecting an area (via Command-Shift-4 or Command-Control-Shift-4):

Space, to lock the size of the selected region and instead move it when the mouse moves
Shift, to resize only one edge of the selected region
Option, to resize the selected region with its center as the anchor point

Thanks to MacRumours:Guides for the tip :-)

2 comments:

Unknown said...

Hello Dave,

I am glad that you post, I do read them often but this is my first comment. I too keep forgetting the mac commands for taking a screenshot but I found a program called Skitch on my travels - it is free and does an awesome job. Check it out.

Regards,

Michael.

Dave Hay said...

Hi Michael

Thanks for your comments. I think I've heard of Skitch, but haven't used it. I'll go Google for it right now ....

All the best

Dave

Note to self - use kubectl to query images in a pod or deployment

In both cases, we use JSON ... For a deployment, we can do this: - kubectl get deployment foobar --namespace snafu --output jsonpath="{...