Author Archives: Brennan

Integrate the Google Maps API Into Your Website

By | October 22, 2016

Are you building an application that needs to calculate the cycling, walking or driving distance between two addresses? Google offers a handy service called the Google Maps Distance Matrix API that you can use to get this information and present it to your users. The service is free, and you can specify the mode of… Read More »

Move WordPress Sidebar Widgets Above Content in Responsive Mode

By | October 12, 2016

Do you have a sidebar that contains essential widgets that your visitors must see when they visit your site from a mobile device? Perhaps a search box, product categories, an advertisement, or something else? A lot of WordPress themes display the sidebar below the content on mobile devices, so visitors have to scroll all the… Read More »

Youtube-dl-WebUI jQuery and PHP customizations

By | October 5, 2016

Youtube-dl-WebUI is a web interface for the program Youtube-dl, which allows you to download audio and video from streaming sites, and save them to your computer in a variety of formats. Youtube-dl-WebUI is a convenient interface to Youtube-dl but was missing some key features such as previewing the video and selecting the format. The customizations… Read More »

Mailx: /usr/lib/sendmail: No such file or directory

By | August 30, 2016

Symptom Trying to send mail through mailx, echo “Testing mailx” | mailx -s “Testing 1 2 3” test@example.com yields the following error: /usr/lib/sendmail: No such file or directory “/home/username/dead.letter” 9/261 . . . message not sent. Possible Cause Name of mailx configuration file is set incorrectly. Solution Rename mailx configuration file from /etc/mail.rc to /etc/nail.rc… Read More »

Contact Form 7 Cannot Send Emails from DigitalOcean Server

By | April 3, 2016

“Failed to send your message. Please try later or contact the administrator by another method.” Are you seeing the above error when trying to send a message via the Contact Form 7 plugin for WordPress? The Contact Form 7 plugin sends email using a mail server installed on your DigitalOcean server. If no mail server… Read More »