Best Web Template for Admin Interface! AdminLTE

AdminLTE is the best free admin template based on Bootstrap 3.x. It is the best choice for frontend developer who want to make admin interface more faster. But now, AdminLTE only supplies less for...

How to solve SSL error of RubyGems 0

How to solve SSL error of RubyGems

When you exeucte gem command, you may see SSL error like bellow.

This error is produced because of changes in rubygems.org infrastructure. How to solve it? 1. Downlaod update package Download update package...


Setup Virtual Development Environment for PHP Project

To make development environment in programmers computer, There are so many applications which have to install. But If we use Virtual development environment, we can install thoese applications to separeted operating system and also...


How To Block DNS Request From Outside Network in Mikrotik Router


How To Block Brute Force Attack in Mikrotik Router


PHP Tutorial to Send Direct Message to Rocket.Chat User

1. Overview I need to send direct message to target user to notify user action in my PHP application. My company already has Rocket.Chat messaging system as a Company Messenger. So I decide to...


Complex unique validation rule in Laravel

Laravel provides unique validation rule for check unique value on a given database table. Ref : https://laravel.com/docs/5.1/validation#rule-unique Syntax unique:table,column,except,idColumn,whereColumn1,whereValue1,whereColumn2,whereValue2,… Ex1. Validate unique value in given database table

Ex2. Validate unique value except given...


How to add a new options by user to Select2 dropdown

If you want to give user can add new options to select tag in runtime, you can use Select2 jQuery library to do it. Final result is like this: 1. Enable tags option