Hieu Le Trung's personal tech blog

Laravel Active version 3 released!

Laravel Active is rewritten with a absolutely new API and  released with the new major version. This document explains the new API and gives some examples about its usage. Installation This version is compatible with the Laravel 5 only. Require it as one of your application dependencies via Composer: composer require hieu-le/active Add its service […]

Mailtrap vs Mandrill: sending emails in development

After a long time using Gmail SMTP as my main service for sending email in development environment. I switched to Mailtrap and Mandrill for some recent projects. This post will introduce my experiment when working with these two awesome mailing services. Mailtrap.io Mailtrap is a fake SMTP server for development teams to test, view and […]

Solve the Akismet problem with CloudFlare SSL

Today, I’ve spent time on diving in the solve the problem when using Akismet anti-spam plugin over the HTTPS with the setup using CloudFlare flexible SSL. Problems Akismet is one of most common anti spam plugin used in WordPress. I’ve used this plugin for years and really been satisfied with it. The problem occurs when […]

Symfony Dom Crawler Component and UTF-8 HTML

I have used the Dom Crawler Component of Symfony to parse some result from Google SERP pages. After the first try, I learned that the result of $crawler->html() is not as I expected: all UTF-8 characters was displayed incorrectly.  The problem can be reproduced easily via this script (supposed that all classes has been loaded […]

HTML Checkbox enhancement: iCheck and Shift-Click

iCheck plug-in When other HTML form elements can be formatting so easily, checkboxes and radio buttons need some javascript to be more beautiful. iCheck is a jQuery plug-in that: Highly customizable checkboxes and radio buttons for jQuery and Zepto. Damir Sultanov – iCheck author You can see how checkboxes and radio buttons are formatted by iCheck in […]