Skip to content

Instantly share code, notes, and snippets.

View flangofas's full-sized avatar
🎯
Focusing

Antonis Flangofas flangofas

🎯
Focusing
View GitHub Profile
@flangofas
flangofas / gist:dcbb0cdc3bc4d795c1c1
Last active August 29, 2015 14:02
Find replace bash executable PHP script
#!/usr/bin/php
<?php
/**
* Find replace tool
* Place it in the executable folder "/usr/local/sbin/"
* Also, add an alias in the ~/.bashrc
* Option should be -e for execute
* Otherwise view the files only that contain the search term
* Author: Antonis Flangofas
* Date: 01/06/2014