Here is the complete list of available replacements: (Examples given with 2017-01-05 17:04:05.084512) Code Example Description OD 5 Day number with alternative numbers such as 三 for 3 if locale [...]
One of the cool things about MySQL 5.7 is the fact that it supports a few spatial convenience functions (since 5.7.6), allowing one to do operations on geometric values. One of those convenience [...]
Because of the near-spherical shape of the Earth (technically an oblate spheroid) , calculating an accurate distance between two points requires the use of spherical geometry and trigonometric [...]
We have all been doing email address validation for a very long time to make sure that the email is correctly formatted. This is to avoid users entering wrongly formatted email address but still [...]
MailCatcher is a great Ruby gem that provides you with a simple SMTP server and web interface to preview the output of HTML emails sent. I’ve been using it recently for testing our Laravel [...]
Match everything except for specified strings You could use a look-ahead assertion: (?!999)\d{3} This example matches three digits other than 999. But if you happen not to have a regular [...]
One of the more difficult things to test when you’re developing a website on your local setup is emails. Whether it’s order confirmation emails for an ecommerce site or an email [...]
In a nutshell Web site owners use the /robots.txt file to give instructions about their site to web robots; this is called The Robots Exclusion Protocol. It works likes this: a robot wants to [...]
Each time you type the name of a site, your computer’s operating system retrieves the corresponding IP address from your Internet Service Provider. In order to speed up the connection to [...]
Here is an extensive list of MIME types broken up by the content they define. MIME (Multipurpose Internet Mail Extensions) is an internet standard that is used to identify the types of content [...]