Boost Your Productivity with AI Agents: Cline + Gemini 2.5 Pro + Google AI Studio

Imagine having an AI agent inside your code editor — one that writes code, debugs, runs terminal commands, and even browses for you. Sounds ...

Setting up a Laravel project on Codeship

When  automate testing Laravel project on Codeship.  We need to set up environment variable (.env) and config some database information if n...

Useful php commandline Linux User Must Know

0. php-v $ php -v PHP 5.5.22 (cli) (built: Apr 7 2015 10:29:09) Copyright (c) 1997-2015 The PHP Group Zend Engine v2.5.0, Copyright (c)...

Upgrade Nodejs and npm

1. Upgrade nodejs Firstly, checkout the version of nodejs: $ node -v If it is not the latest version, use the following commands to ...

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

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

Sublime text 2 - Setting vertical line after 80 characters

Hold on !  Why 80 characters ? Well, I think It's common coding standard (May be it's a result of the IBM's 1928 80 column ...

Generate migration from existed database in Laravel 4

Laravel supports migration function which help us manage database and collaborate with team members better. We write code to define schema...

Auto complete for Phalcon framework in Eclipse

Phalcon is a web framework implemented as a C extension , every Phalcon's fan know that. It mean we cannot view source code of framewo...

Install Phalcon & Phalcon developer tool in Ubuntu 13.10

I installed  Phalcon on Ubuntu 13.10 from   Official manual  and faced some problems may make beginner confused. I.  install Phalcon  F...

Config Apache 2.4 in Ubuntu

From Ubuntu 12.04 LTS, Apche have new version 2.4 which is different from 2.2 and below. The configuration hierarchy is listed in apache2...

TCPDF ERROR: Some data has already been output, can't send PDF file

I faced an error when exporting PDF file: TCPDF ERROR: Some data has already been output, can't send PDF file and found the answer: ...