Find Your Local IP Address on Your Mac ipconfig getifaddr en0 (primary) or ipconfig getifaddr en1 (secondary) How do I know which to use? It is common for Mac laptops to have one (wireless only) or two (wired and wireless) network connections. When a wired connection is present, it is the primary connection (with wireless […]
I had a client contact me with the problem that on his site a jpg will not display in IE8, but is showing up in other browsers. After checking the code and viewing the image in multiple browsers, including IE8 mode (using IE10’s web developer tools), I was convinced it was a problem with the […]
Sometimes you want to search for a long string in Vim. When using a GUI interface you may be able to get away with CTRL+c, CTRL+v but when you are in a terminal, it is a little trickier to use Vim Visual Mode search for a selection. Here is how to search in Vim using […]
UPDATE: This wonderful ability to ignore updates has been removed in Mavericks ( OS X 10.9 ). https://discussions.apple.com/thread/5509820 Mac Updates Available has been an annoying reoccurring message for me ever since we got a new printer replacing the HP model we had previously. With the old printer gone there is no reason to install updates to […]
When your line-breaks are WONKY, try this. :%s/\r//g Definition of “WONKY” Some (or all) of the lines have ^M at the end of them. This is a product of mixed line endings (DOS and UNIX).