How To: Getting Mail.app to accept ‘Command-Return’ as a Shortcut for Sending Mail

Uncategorized No Comments »

So I’ve recently acquired a shiny new bit of tech from Apple (13″ Air) to play with and I’m in the middle of getting it set just how I like it. You know the score; making sure the terminal is just how I like it instead of that ugly default white, editing PS1 and making some new SSH keys.

Anyways… I have an email based alert system which uses Curl to monitor a website for updates (new work available) and then alerts me if there is a matching position. The system periodically checks the site to make sure I’m one of the first people to hear about these positions.

So what happens when I’m not interested in the job? I need a way of silencing the email. I obviously don’t want to keep getting emails about things (in this case work) I am not interested in. I simply have to reply / send an email back with a specific trigger and the job (through the magic of a postfix transport) will be silenced (Yay for MySQL).

This happened to me today. I quickly created a response to put an end to the disinteresting position and hit Command-Return on my new Mac Air. It abruptly responded with a dull tone. How rude I thought. When I looked at the menu the option to ‘Send’ under the Message section of the menubar was set to something like ‘Command-Shift-D’. That’s just ridiculous though isn’t it?! Why would you want to hit three keys when two will perfectly suffice?!

Custom Keyboard Shortcuts ‘Command-Return’ do not work for Mail.app under Mountain Lion

Read the rest of this entry »

Pushing to Remote Repository from Xcode: no remotes found (Solved)

Uncategorized No Comments »

When adding remote repositories to your projects in Xcode you might find that you are unable to push to the remote repository depending on how you have set the remote repository up.

In my situation I have set up my own git repository for a few reasons:

  • Because I can
  • To learn more about git
  • To have my projects backed up remotely
  • To have a private solution I control
  • There is no additional cost for the above benefits

I opened Xcode and selected the second option on the welcome splash screen ‘Connect to a repository’ and entered my git server and project details. Xcode kindly created a local version on my hard drive and I was content to code away and make commits as usual.

That was all fine and dandy but I noticed a problem when I wanted to sync with the original ‘remote repository’.

So I was expecting to go:

File > Source Control > Push

and the dialog comes up as expected but it says no remotes found.

Read the rest of this entry »

GIT from command line (Xcode Installed)

Uncategorized No Comments »

If you’ve installed a reasonably recent version of Xcode on your mac then it will have git repository features included but by default you will not be able to use the git from the terminal (command line).

Xcode will place git here:

/Applications/Xcode.app/Contents/Developer/usr/libexec/git-core/

To be able to use git from the command line then you need to add this directory to your PATH variable.
You will need to open the terminal and edit your bash profile (or whatever shell you’re using’s profile).

Add the following statement to your .bash_profile and save it…

export PATH=”/Applications/Xcode.app/Contents/Developer/usr/libexec/git-core/”:$PATH

You will need to open a new tab in the terminal or quit and re-open the terminal in order for the change to take effect. Alternatively you can use the following command…

user $ source ./bash_profile

Now you will be able to use git commands in any terminal window.

Credit where credit is due this information was adapted from git-from-command-line-after-installing-xcode-on-os-x-lion.

WP Theme & Icons by N.Design Studio | Akismet has gobbled 335,630 spam comments...Mmmm Tasty :-)
Entries RSS Comments RSS Log in