Author Archives: Hoan Huynh


About Hoan Huynh

Hoan Huynh is the founder and head of 4rapiddev.com. Reach him at hoan@4rapiddev.com


JavaScript Detect Protocol (HTTP/ HTTPS) To Load Or Handle Accordingly Posted by in Javascript | Leave a comment

If you site’s running on both HTTP and HTTPS, we will need to determine whether the HTTP protocol for the requested page is either secure (HTTPS) or standard (HTTP) to load/write the appropriate external assets files or handle process correspondingly. Continue reading

Encrypt With MD5, SHA Or SHA1 In MS SQL Server Posted by in SQL Server | Leave a comment

This article shows SQL statements that encrypt an input string by using MD5/SHA/SHA1 algorithm. And you should play with these SQL statements in the Microsoft SQL Server Management Studio (New Query) to see the results. Continue reading

WordPress Get Recent Posts And Recent Comments Posted by in PHP | 2 Comments

In this article, I’ll show pieces of PHP script that retrieve and display Recent/Latest Published Posts and Recent/Latest Approved Comments. They’re being used in my current WordPress template and placed in the footer. Continue reading

Display Technorati Media Ads In Iframe Posted by in Tips And Tricks | Leave a comment

I’ve just realized that Technorati Media Banner Ads load very slow compare to Google AdSense Ads and all pages are not rendered properly until Technorati Media Banner Ads appear. Meaning users have to wait few seconds to see a complete page with all style sheets and assets. Continue reading

WordPress Get All Custom Fields Posted by in PHP | Leave a comment

This article shows a piece of PHP code that query all Custom Fields (extra fields or meta data) of a particular post instead of hitting the WordPress database for every custom field. Continue reading

Share Link/ Url Of Facebook, Twitter, Google Plus, Stumbleupon, Reddit, Digg and Tumblr Posted by in Internet | 1 Comment

This article just provides share link/url of Facebook, Twitter, Google Plus, Stumbleupon, Reddit, Digg and Tumblr and instruct How to add share link/url of the most popular social media websites in WordPress detail post. Continue reading

Display User Current Location On Google Map Posted by in Google API | Leave a comment

This article provides a simple HTML example which automatically detects the current location of the user based on the latitude/longitude then display a marker on the Google Map that is tied to latitude/longitude coordinates. Continue reading

Which Browsers And Mobile Devices Support Geolocation API Posted by in Internet | Leave a comment

Before using and implementing Geolocation API to get the geographical location information of the current user on your websites or mobile applications, you should need to know which browsers and mobile devices Support Geolocation API. Continue reading

Google Map Supported Type And Simple Example Posted by in Google API | 1 Comment

There are 4 Google Map Types that we can specify: ROADMAP, SATELLITE, HYBRID and TERRAIN. And below is a simple example that displays Google Map with MapTypeId is ROADMAP on a web page. Continue reading

iPhone 4s Cannot Get Mail imap.gmail.com Posted by in Problem Issue Error | 2 Comments

I had a problem with setting up Google Mail (Gmail account) in my iPhone, it works in few days then stop working. It works again then stop working all the time. And I get the error message: Cannot Get Mail. The mail server ‘imap.gmail.com’ is not responding. Verify that you have entered the correct account info in Mail settings. Continue reading