Laravel 5 customize Authentication model

I migrated a application from Laravel 4 to Laravel 5.1. In Laravel 4 , we have User eloquent class in app/models folder. So I keep it in...

[Git] Delete multiple branches in one command

We have git branch -D BRANCH_NAME command to delete a specific branch in git repository. But How should we clean up a repository which...

Ruby Bundle update vs Bundle install

bundle update and bundle install can all install the gems you specified in Gemfile but missing in gems. But bundle update does one th...

GIT revert to Previous Commit

This depends a lot on what you mean by "revert". Temporarily switch to a different commit If you want to temporarily go ba...

Merge specific files from another git branch

In Git, branches may be a part of your everyday development process. When you want to add a new feature or fix a bug - you spawn a new bra...

CSRF Vulnerability In Laravel 4

News from Laravel blog  On November 7th, Chris Smith (@chrismsnz) of Insomnia Security alerted the Laravel development team of a metho...

Change user folders paths in Ubuntu

To change the paths to the user folders (Music, Documents, Videos, etc).Open user-dirs.dirs file in terminal by command: nano ~/.config/u...