I had two situations, the first one adding all unversioned files in a development svn repo and the second deleting all unversioned files for security reason (via a cronfile):
I had two situations, the first one adding all unversioned files in a development svn repo and the second deleting all unversioned files for security reason (via a cronfile):
If you need a build number that is related to you code commits via GIT, one good idea is to get the revision list number:
I was looking for PHP files that I worked on that week. After some searches I come up with this command :
The Gnumeric spreadsheet application comes with a commandline utility called ssconvert that can convert between a variety of spreadsheet formats on the commandline:
First you need to dump the database the safe way using --default-character-set and --result-file
This is the command I use looking for backdoors or webshells and it works all the time.
1. First, we need to download xdebug:
$ wget http://pecl.php.net/get/xdebug-2.2.2.tgz
This is how to create a MySQL database, username and password from the command line:
Many times I had to remember how to display PHP errors when it's disabled on the web server. So I wrote a reminder.