Adding Prettify JSON to Sublime

In Ubuntu, open preferences, browse packages, to get location of packages folder, and open a terminal and change into that folder

$ git clone https://github.com/dzhibas/SublimePrettyJson.git

Ubuntu: /username/.config/sublime-text-2/Packages

The use [Ctrl]+[Alt]+[j] to run the prettify command

or in iOS us [Ctrl]+[Cmd]+[j]

Refer: https://github.com/dzhibas/SublimePrettyJson

Change your Computer Name in Ubuntu

Ran into trouble when using the same VirtualBox appliance on the same network.

1. Open a terminal window.

2. Input the following command and hit Enter:
gksudo gedit /etc/hostname

3. When prompted, enter the administrator password and click the OK button.

4. The hostname file will open, displaying the current computer name. Replace the current computer name with the desired new name.

5. Click Save.

6. Close all open windows and restart your system.

After your system has restarted, it will have the new computer name.

Use Python to format JSON

Easier way to format JSON instead of JSONLINT

With Python 2.6+ you can just do:
echo '{"foo": "lorem", "bar": "ipsum"}' | python -mjson.tool