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

Ubuntu 14.04 CMake Error qmake: could not exec

I built sqlitebrowser in Ubuntu 14.04 and foud qmake could not exec when run cmake command. $ cmake .. qmake: could not exec '/usr/lib...

[Laravel 4] change column name in Migration

In Laravel 3, you can change column name in migration file. From Laravel 4, If you are using the renameColumn function in your migrations, y...

[Laravel 4] Class not Found error when using migrate:rollback

Run composer dump-autoload   in terminal to update autoload class file. After that, run migrate:rollback again