Juan Garcés

Personal Blog

Replace With VIM

August 17th, 2014

Many times I have seen the need to replace text with VIM. Here I leave the way to do.

First, we open the file to edit:

We press ESC and insert colon “:”. After that, we insert the instruction:

The characters 1,$ indicate that should search from the first to the last line of the file. After, just replace “search_text” and “replacement_text” for that we need.

Connect MySQL with PDO

August 17th, 2014

Connection to MySQL using PDO library.

Crypt with SHA1

August 9th, 2014

Method to crypt with SHA1

Arrays with SPL

August 9th, 2014

Using SPL to work with an array.

C# isNumeric

August 9th, 2014

Visual Basic IsNumeric method for C#.

Juan Garcés

Personal Blog