ZEMNA.NET Blog

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...

0

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 0

How To Block DNS Request From Outside Network in Mikrotik Router

How To Block Brute Force Attack in Mikrotik Router 0

How To Block Brute Force Attack in Mikrotik Router

0

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...

0

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

...

0

Use –create option when create migration

To create migration, we can use this artisan command.

Laravel will create a new migration file in database/migrations directory. Generated file is like this:

up() method is used to create a new...