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

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