Posts

Showing posts with the label Mac

Acrobat Reader: how to restore last page read when opening a pdf

On OSX, Preview, by default, displays the last page you have read when you open a pdf. This is a pretty handy feature when you start reading a long pdf and do not want to search manually for the last page when you re-open the file. Today I found out how to easily set this behavior even on Acrobat Reader. Just launch Acrobat Reader and go to the menu Edit-> Preferences... , In the new window that will prompt, select the category Documents and check the option Restore last view settings when reopening documents available under the tab Open Settings. That's it. Enjoy your readings.

How to type a tilde on a Mac (for the NOT operator in C)

If you have found this post probably you are in dire need of typing a simple tilde ~ on  a Mac, for example, because you are writing some code in C ... And yes, I refer to the f**king "~", the NOT operator in C .  So how to do it? First of all, keep in mind that the magic combination depends on the keyboard-layout you are using. If you are not using a PRO layout (check or change it in System Preferences -> Language & Text -> Input ) the combination is simply: Alt + N + SPACE = ~ with a PROfessional layout the combination is - usually - different. For example with the Italian PRO, the combination is Alt + 5 = ~ Now you can write all the NOT operators you need ;) NOTE #1 Please note that "~" is not equal to " ˜ " the latter is used to type the fancy spanish latter ñ ;) NOTE #2 In Windows, use the shurtcut Alt + Fn + 126 That's all Folk! GO TO THE HOME PAGE

Magic words to update MacPorts

I sistematically forget the command to type in the terminal to update MacPorts... So I decided to make this small reminder...  Type in the terminal window the following line   sudo port -d selfupdate That's it! This command will start the update in a verbose mode. GO TO THE HOME PAGE

MAC: Keyboard shortcut to switch among different windows of the same program

Hello Everybody, today I want to share with you this little trick I have just found, i.e. (as the title says) how to switch among different windows of the same program in MacOS. So... As you know the combination cmd + TAB in Mac OS allows you to switch among different programs, but what if you have multiple windows of the same program (for example Firefox or Safari)? Well in this case the combination you are looking for is:   cmd + '  if you have an Italian layout for your keyboard... otherwise it is   cmd + 1 for all the other layouts  I have tested (American, German) The " ' " is above the TAB key in the American keyboard and next to 0 in the Italian one. The little annoying thing is that while with " cmd + TAB " you get a row with all the icons of the open programs in the middle of the screen, in the case of " cmd + ' " you just switch sequencially among all the different windows while, I think, it would have been much nic...

An A-Z Index of the Apple OS X command line

There is not need to re-invent the wheel, so a quite complete list of useful OSX terminal commands can be found here : http://ss64.com/osx/ I stumbled on this link simply because I was looking for "which" :), the beloved command "which"... GO TO THE HOME PAGE

Siri for Mac... a kind of :)

SIRI for Mac will arrive sometime in the future, but for the moment you can play, or better to say, talk to your Mac using the built-in Speech Recognition. I know, it's not exactly like SIRI but is still funny :) http://lifehacker.com/215764/hack-attack-make-your-macs-speech-recognition-work-for-you GO TO THE HOME PAGE

Typing the Apple Logo with a keyboard shortcut

I have discovered, accidentally, that if you press Option + Shift + 8 on the keyboard, you get the Apple Logo (): Option + Shift + 8 =  Tested on my MacBook Pro + OS X 10.6.8 ----- On Windows you cannot see the logo :( GO TO THE HOME PAGE