In another post I showed you
some tricks you can do from command mode.  If you aren’t familiar with it, most
standard Linux distros ship with json_pp, which is a pretty-printer for JSON.
Today I discovered this tool makes for a fantastic quick tool in Vim when you
want to sharpen up some JSON.  It can take output like this:
| 
 | 
And turns it into this:
| 
 | 
Using the following command
| 
 | 
In this case the 1,1 part of the command is the range of lines that you want
to send to json_pp.  This also works with visual mode as well.  After
selecting the text you want, if you press : it will pre-populate the correct
range for you!
 I’ve been spending a lot of downtime thinking about how I can stay in better
contact now that I’m working remotely.  I have a whole basement to work out of
so I’ve decided to start looking into making my own wifi enabled, remote
control vehicle.  My goal is to have a working prototype by mid December, and I
want to use my blog to document how it’s going.  What I would like to
accomplish is a car that you can view through and control remotely via
a web-site.  Some of my “stretch goals” would be to have a rechargeable
docking station, the ability to move the webcam independently of the car, and a
small two-way display screen that can be activated.
I’ve been spending a lot of downtime thinking about how I can stay in better
contact now that I’m working remotely.  I have a whole basement to work out of
so I’ve decided to start looking into making my own wifi enabled, remote
control vehicle.  My goal is to have a working prototype by mid December, and I
want to use my blog to document how it’s going.  What I would like to
accomplish is a car that you can view through and control remotely via
a web-site.  Some of my “stretch goals” would be to have a rechargeable
docking station, the ability to move the webcam independently of the car, and a
small two-way display screen that can be activated.