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 […]
A little girl says to her father, “Look at me Daddy, I’m a buttercup.” He replies, “Don’t be ranunculus.” And thus ends my segment of jokes for horticulturists. Relevant link (Wikipedia Ranunculus).
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 […]
What does a gymnast put on her french fries in July? somersault (summer salt)
This problem arises from a difference in how WordPress 3.5.2 and 3.6 handle the case where there is both a searchform.php template AND a filter on the hook get_search_form. In WordPress 3.5.2 in the presence of a searchform.php template, any filters on the hook get_search_form were ignored. With the upgrade to 3.6, filters on get_search_form are now […]
Did you hear about the spice dealer whose mother liked his convertible? He lent the cardamom.
Stops outgoing emails. Any outgoing emails will fail silently (i.e. WordPress will operate as if the email was sent successfully but no email will actually be sent). Why I’ve found when doing development work, sometimes I want to work on a site (often locally) but I don’t want it sending out any emails. Now with […]
It is tough enough to convince a one-year-old to take a nap on vacation, without the added disadvantage of a bright room. This year we took a contractor bag and painter’s tape with us on vacation. It made a perfect blackout shade. I could have developed film in that room. I’ve already added these items […]
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).