install vim plugin
--> [pdv-standalone](https://github.com/mikehaertl/pdv-standalone)
..set working dir where you want to do striping/inserting phpdoc comments, then..
<?php | |
class JConfig { | |
public $offline = '0'; | |
public $offline_message = 'This site is down for maintenance.<br /> Please check back again soon.'; | |
public $display_offline_message = '1'; | |
public $offline_image = ''; | |
public $sitename = 'fidra'; | |
public $editor = 'tinymce'; | |
public $captcha = '0'; | |
public $list_limit = '20'; |
#!/bin/sh | |
echo 'Importing *.sql into database..' | |
mysql -u user -ppassword dbname < /path/to/site/dbname-git.sql | |
echo '..done!' |
<?php | |
/** | |
* @version $Id: view.html.php 11393 2009-01-05 02:11:06Z ian $ | |
* @package Joomla | |
* @subpackage Contact | |
* @copyright Copyright (C) 2005 - 2008 Open Source Matters. All rights reserved. | |
* @license GNU/GPL, see LICENSE.php | |
* Joomla! is free software. This version may have been modified pursuant to the | |
* GNU General Public License, and as distributed it includes or is derivative | |
* of works licensed under the GNU General Public License or other free or open |
<?php | |
/** | |
* @version $Id: view.html.php 11393 2009-01-05 02:11:06Z ian $ | |
* @package Joomla | |
* @subpackage Contact | |
* @copyright Copyright (C) 2005 - 2008 Open Source Matters. All rights reserved. | |
* @license GNU/GPL, see LICENSE.php | |
* Joomla! is free software. This version may have been modified pursuant to the | |
* GNU General Public License, and as distributed it includes or is derivative | |
* of works licensed under the GNU General Public License or other free or open |
<?php | |
/** | |
* @version $Id: view.html.php 11393 2009-01-05 02:11:06Z ian $ | |
* @package Joomla | |
* @subpackage Contact | |
* @copyright Copyright (C) 2005 - 2008 Open Source Matters. All rights reserved. | |
* @license GNU/GPL, see LICENSE.php | |
* Joomla! is free software. This version may have been modified pursuant to the | |
* GNU General Public License, and as distributed it includes or is derivative | |
* of works licensed under the GNU General Public License or other free or open |
http://ge.tt/5IIibHY/v/0?c |
git://github.com/garbas/vim-snipmate.git | |
https://github.com/tomtom/tlib_vim.git | |
https://github.com/MarcWeber/vim-addon-mw-utils.git | |
https://github.com/honza/snipmate-snippets.git | |
git://github.com/tpope/vim-surround.git | |
git://github.com/ervandew/supertab.git | |
git://github.com/Lokaltog/vim-powerline.git | |
git://github.com/kien/ctrlp.vim.git | |
git://github.com/wgibbs/vim-irblack.git | |
git://github.com/tomtom/tcomment_vim.git |
command to find recursively files {can be modified for folders too, change -type f}, and renamed them by specfying regex pattern | |
find . -type f -maxdepth [depth] -name "[filepattern]" | while read FNAME; do mv "$FNAME" "${FNAME//search/replace}"; done | |
example: | |
find . -type f -maxdepth 1 -name "domain*.php" | while read FNAME; do mv "$FNAME" "${FNAME//domain/lead}"; done | |
before: after: |
## Substitution facility script for VIM, useful in JOOMLA developing: | |
_by branquito de munze | |
# go into folder where you will be processing substitutions on files | |
cd vim-processing\com_somecomponent\ | |
# load files in which you want changes to occure, filtered by extension |