One of the struggles that you hear time and time again is the one of management that wants software produced at an overly fast pace. I can of course sympathize with this; however, when the quality of a developer’s work is sacrificed in the name of speed things start to get tense. The outlook on any software project under negative tensions normally isn’t favorable.
I get so frustrated when Ubuntu automatically connects to
xfinitywifi. It is
not much to connect back to my work or home wifi; however, it wastes time and
sometimes can really disrupt my train of thought. Finally today I had enough
and I looked into how to stop this from happening. It turns out it’s not that
difficult and I wish I would have done this months ago!
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.
When coding sometimes it’s difficult to think through edge cases of what will
happen when. Instead of thinking too hard about it let RSpec do the heavy
lifting for you! Pretend you have the following
Fetcher class responsible for
performing http requests and retrying when the host sever has problems:
I’m sure most power developers have their tests bound to hot-keys in their favorite IDE, and having them in Vim is no different. I fell in love with the vim-rspec that Thoughtbot put out. It has served me well over the years and has saved me countless hours in running tests by allowing me to run them from a few short key strokes. Times have moved on however; and I needed a way to run tests in other languages.
After watching some of my fellow comrades on OSX use Alfred I simply had to get this into my toolkit. I have added a fantastic Linux clone named Mutate to my standard install and have begun writing in custom macros to help boost my productivity. If you want to take a peek at the scripts I’ve been writing to get ideas I’ve been adding them in under my dotfiles.
Today was my last day in Tennessee as a resident! I’ve made the exodus back to Indiana to be closer to the family and take a break from the rest of the world. It’s amazing how refreshing it is to be writing this post on the farm with no worry about driving back in a couple days. This change of pace is exactly what I’ve been looking for and I intend to make it count.
In my previous post I showed how
you can pipe lines from the buffer and have a command like
sort filter them.
After playing around some more with it I found a way to have
xargs filter the
lines with whatever command you want.
For those who aren’t familiar with Vim I urge you to get at least familiar with
it. It’s capabilities at the command line are awesome when working on a remote
box. This week I stumbled upon a couple new tricks you can do in command mode (
the mode you enter after pressing