Category: Windows

My personal .gitignore file

Lesson learned After doing this file many times, I decided to build my personal .gitignore file; I use to add it in my very fist commit as a good practice in every single git repository I create. Currently we are ignoring: Operating systems’ temporary files: Mac OS X, GNU/Linux, Windows. IDEs and editors’ configuration: Vim, Sublime […]

Read More

Solving Drupal error: PDOException: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away

The problem After downloading a Drupal project I am working on, and importing its database I got this kind of message related with a PDO Exception: Additional uncaught exception thrown while handling exception. PDOException: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away: SELECT s.lid, t.translation, s.version FROM {locales_source} s LEFT JOIN {locales_target} t ON s.lid = t.lid […]

Read More

Some useful Git commands

Hi friends, Today I would like to share you a list of Git commands that I consider really useful when we work with this great version control  system. Enjoy it! Configuring your Git // Disable autocrlf to avoid warnings in command line git config –global core.autocrlf false // Set username and email (global) git config […]

Read More