In my current research, a set of log files need to be processed by Logstash before sent to ElasticSearch. After a the first run, I realized that the log format was changed once, which made my Logstash configuration fail in processing half of the log lines. I updated the filter and ran Logstash again, hoping […]
Hieu Le Trung's personal tech blog
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 […]
Yesterday, I met a problem when installing Nodejs 4 on my 64-bit Windows 7 machine at the company. The installer exited with an error message telling me that: There is a problem with this Windows Installer package. A DLL required for this install to complete could not be run. Contact your support personnel or package […]
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 […]
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 […]
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 […]
Today, I’ll share you about one of my experiment when working with Laravel 4 application: distinguish Request, Route, and Router object of the application instance. All these object play a part in the routing phase, the step that decide which method of which controller will be call on each time the Laravel application run.