Archive for August, 2014

Open

Open
Command Line Tools

If you are like me and you spend some time in terminal then this awesome command line tool can if use correctly save you a chunk of time.

Usage: open [-e] [-t] [-f] [-b ] [-a ] [filenames]
Help: Open opens files from a shell.
Help: Open opens files from a shell.
By default, opens each file using the default application for that file.
If the file is in the form of a URL, the file will be opened as a URL.
Options:
-a Opens with the specified application.
-b Opens with the specified application bundle identifier.
-e Opens with TextEdit.
-t Opens with default text editor.
-f Reads input from standard input and opens with TextEdit.
-g Does not bring the application to the foreground.
-R Selects in the Finder instead of opening.

To open a file simply type open -a textedit.app ~/Desktop/text.txt. If you want to open this file in the background the simply type open -g textedit.app ~/Desktop/text.txt. If textedit is your default editor then save yourself a little more time by using open -e ~/Desktop/text.txt again add the -g flag to open in the background. Now to open the file in your default editor as determind by LaunchServices use open -t ~/Desktop/text.txt.

To reveal the location of the file insted use the -R flag as in open -R ~/Desktop/text.txt This I find extremely helpful editing a file that has a long path. Of course you can edit files in VIM but thats for another day.

For more info type man open.

August 31, 2014 | By | Reply More

Netflix on AppleTV. Possible? Yes.

I live outside of the UK. I have a UK AppleID which doesn’t help me in this instance. So how do I watch Netfilx on my AppleTV?

Simple.
1. Subscribe to unblock-us (7 day trial available)
2. Change your AppleTV network settings to use unblock-us DNS server
3. Setup your Netflix Account (30 Day Trial available)
4. Enjoy

Now to expand this a little. If you take a look at your unblock-us account you will see that you can change your Netflix region. Awesome for watching content from any country that has Netflix.

August 29, 2014 | By | Reply More

Activating iOS Voicemail on a PCCW Network

This has been bugging me for sometime now and well after two years I have decided to fix it. I’m on the PCCW Network and the voicemail button on my iPhone has never dailed my voicemail. The fix…

Dial from the keypad

#5005*86*+85263888892#

And as if my magic you have the voicemail button functioning.

If you need to cancel it dial

#5005*86#

[Update:]
The above doesn’t seem to be working at present. So another method which is as simple as it get is…

Dial *92

and you will be connected to your voicemail. Then your voice mail button will always connect to voicemail.
Wish I’d known this before…

August 25, 2014 | By | Reply More

OSX Server Revisited

Finally I have a decent broadband connection and my desire to roll my own iCloud type server has worked it’s way to the top of my to-do list once more. I’m not going to host any websites I just want to have my own private cloud. Now why make life difficult for myself and not just use ownCloud or similar? It’s a simple answer, that would be too easy. It’s about the challenge of doing it myself.

I obviosly can’t takle this project in one post so I’ll try to break it down in to smaller parts and deal with one service at a time. This will of course be running on my MacMini Server which at this moment is running Mavericks 10.9.3 & Server App. I have a clean install running and the Server App is not configured. My plan is to follow a simple workflow setting up each service one at a time and I will start with the Server configuration.

A note here and one to spend some time checking is the remote access to the Server and checking which ports are required and are open. Currently I have all the ports open from my ISP that I need and I hope that these stay open. But as always it’s purely at the discretion of my ISP and could change at any point. Generating a ton of web traffic will alert your ISP so be warned.

The steps I want to take and the order in which I will post about how I set them up will loosely follow

  • Server Setup
  • DNS
  • DHCP
  • Open Directory

Then moving on to

  • Contacts
  • Calendar
  • Messages

It may take me someting to get all these posts written and planned. So stay tunned while I get my post planned a written.

August 24, 2014 | By | Reply More