home

SVN: Revert changes on an entire folder

In a former project, I needed to deal with a SVN repo. To revert changes in an entire folder, I used the following command: 1 svn revert somefolder --recursive To revert to a specific revision, you

Tip: Nginx with SSL

A fast tip, I needed to install a SSL certificate on a Nginx server. I followed this tutorial and everything worked fine: https://www.digitalocean.com/community/tutorials/how-to-create-a-ssl-certific

reset-mysql-password

Sometimes on Linux, you need to change the MySQL password. You can do it easly following those steps below. First of all, you need to stop the MySQL daemon. 1 /etc/init.d/mysql stop After that, star

Change commits message on git

Did you commit with a wrong message? Do you wanna change it? Simple, after your commit command, just do: 1 git commit --amend -m "New commit message" Source:http://stackoverflow.com/questions/179123

INI files for PHP

It might happen with you to have problems or can not see errors because of wrong configuration in php.ini file. You can check on PHP.net site, two versions of php.ini, one for development and another

Mounting shared folder on virtual box

Sometimes is hard to understand each parameter of a command. I had to do a long research when I was trying to mount a folder inside of a virtual machine built with Virtualbox. The command needs a lit

Installing Nginx, PHP and PHP-FPM from source

You may want to choose your exactly PHP configuration and extra components when you are creating a PHP server, right? To do so, the best approach is installing from the source. A good advice when you

Killing the audio process in a Mac OS

Did your audio leak and don’t you know what to do in your MacOS? I had a problem where I was coding and suddenly the audio leaked and stopped. It happened several times a day, so the restart process