Category Archives: Web Development

Detecting OS and Redirect to a specify site

There will be some instance where we need to redirect user to different site based on their platform. As such the following javascript will do the job to which OS the user is on. In this case, Android, iOS, and … Continue reading

Posted in Web Development | Tagged , , , , , , , | Leave a comment

Correctly switch between 2 Column and 1 Column grid on iPhone Landscape/Portrait mode

I had been designing a website with 4 banner that each takes┬ácol-md-3 for desktop-sized screen and takes┬ácol-xs-12 on portrait mode on the iPhone. //screenshot will be added in a short moment. It turned out that it looks horrible on landscape … Continue reading

Posted in Web Development | Tagged , , , | Leave a comment

Master Page concept for html

I was used to the concept of Master Page when I was dealing with ASP.NET in the past. When I dived into bootstrap, I was surprised that there isn’t a thing called “Master Page”. I am reluctant to having to … Continue reading

Posted in Web Development | Tagged , , , , , | Leave a comment

smtp relayhost in OS X Yosemite

In order to send mail from a localhost, you would need to enable the smtp server as a host. First you would have to edit the main.cf file to add in the relayhost sudo vim /etc/postfix/main.cf //Add the below code … Continue reading

Posted in Web Development | Tagged , , | Leave a comment