The Register.com Trap

GoDaddy vs Register.comI’ve owned domains since the late 1990′s. Back then Register.com was one of the premier domain registration services. I’ve held domains with them for over 15 years, mostly due to loyalty. That all changed this past few weeks.
[Read more...]

facebooktwittergoogle_plusredditpinterestlinkedinmail

Validate E-mail Addresses With This Simple Perl Script

For websites that send out e-mails to members or new users, keeping your bounce rate low is a must in order to keep your deliverability rates high. This handy perl script below can help you scrub your new user registration e-mail addresses by checking for both a valid formatted address as well as making sure the domain has a valid/active MX record.
[Read more...]

facebooktwittergoogle_plusredditpinterestlinkedinmail

Build a Floating Menu Bar While Scrolling – Touch/Mobile Device Compatible

I recently had the need to float one of my site’s static top menu, but only when someone scrolled down. I needed it to work on both desktop and mobile devices like iPhones/iPads, etc.

The most common solution I found utilized the window’s scroll event:

1
$(window).scroll(myFunction);

This worked (for the most part). However on touch devices, the event would not trigger until the scrolling was completely finished. Which caused a visible lag on most touch devices while it waited for the swiped scroll to slow down and stop.
[Read more...]

facebooktwittergoogle_plusredditpinterestlinkedinmail

Linux Tip: Find the Path to any Executable

Just a quick tip for those who are not familiar with the which command. You can use it to easily find the location of an executable in your system.

For instance, if you are looking for which python executable is running by default you can type:

1
which python

Result:

1
/usr/bin/python
facebooktwittergoogle_plusredditpinterestlinkedinmail

Linux Command to Remove Files Older Than X Minutes

Here is a handy little command to remove files older than 5 minutes. Could be useful for files that are temporarily generated. I’ve included a few variations that may be helpful.

To find and remove files older than 5 minutes in the current directory:

1
find ./*.* -type f -mmin +5 -exec rm {} \;

[Read more...]

facebooktwittergoogle_plusredditpinterestlinkedinmail