Replace string in all textfiles in directory

I needed to find and replace string in all php files of current folder.
This is simple perl command:

find <path to directory> -type f | xargs perl -pi -e 's/old_string/new_string/g'

Error: headphones and speakers playing together on Linux Mint

I have an issue when headphones and speakers on my Acer Aspire 7720ZG are playing together. This happens on Linux Mint 13 but it’s not an issue for Windows. So this is not hardware issue.

I checked lot of posts, bugs and manuals, but only one happened. Here it is:
Continue reading

Edit remote files via FTP

I had this workable on MacOS because my source code editor supported FTP.
But on Linux Mint I found that my code editor (Geany) doesn’t support FTP and I needed solution (don’t want to switch to another editor).

The way is to mount remote ftp folder as local and edit files locally.

First of all install “curlftpfs”:

sudo apt-get install curlftpfs

Continue reading