How to reset forgotten password phpmyadmin in Ubuntu

In the latest version of MySQL Database Server, the password field of user table has been removed so the newest way with old server compatibility is given below. Just follow the instruction as follows it works for me.

Start the mysql server:

   sudo [...]

Continue reading

  • 249
  • 308
  • By Bablu Ahmed
  • Posted 5 months ago

Regex Quantifiers +, *, ? and {} in Javascript

Let’s get started first using {} quantifier.

Exact count: {5}

\d{5} denotes exactly 5 digits, the same as \d\d\d\d\d.

The example below looks for a 5-digit number:

console.log( "I'm 123456 years old".match(/\d{5}/) ); // "12345"

Short [...]

Continue reading

  • 249
  • 308
  • By Bablu Ahmed
  • Posted 8 months ago

Model in Laravel

The Eloquent ORM included with Laravel provides a beautiful, simple ActiveRecord implementation for working with your database. Each database table has a corresponding "Model" which is used to interact with that table. Models allow you to query for data in your tables, as w [...]

Continue reading

  • 249
  • 308
  • By Bablu Ahmed
  • Posted 9 months ago