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 | |
| /** | |
| * @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 |
| #!/bin/sh | |
| echo 'Importing *.sql into database..' | |
| mysql -u user -ppassword dbname < /path/to/site/dbname-git.sql | |
| echo '..done!' |
| <?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'; |
| [Configuration] | |
| InstallDir=c:\totalcmd | |
| firstmnu=3001 | |
| FirstTime=0 | |
| test=101 | |
| onlyonce=1 | |
| TrayIcon=1 | |
| UseRightButton=0 | |
| Savepath=1 | |
| Savepanels=1 |
| ## source .bashrc ## | |
| alias reload='. .bashrc' | |
| ## handy shortcuts ## | |
| alias h='history' | |
| alias h.20='history 20' | |
| ## create a new set of commands ## | |
| alias path='echo -e ${PATH//:/\\n}' | |
| alias now='date +"%T"' |
| # files to ignore in typical Joomla installation | |
| # also with some exclusions useful for SublimeText editor | |
| *~ | |
| configuration.php | |
| *.sublime-project | |
| *.sublime-workspace | |
| tags | |
| .tags* | |
| logs/ |
| #!/bin/bash | |
| # Shell script to backup MySql database | |
| # To backup Nysql databases file to /backup dir and later pick up by your | |
| # script. You can skip few databases from backup too. | |
| # For more info please see (Installation info): | |
| # http://www.cyberciti.biz/nixcraft/vivek/blogger/2005/01/mysql-backup-script.html | |
| # Last updated: Aug - 2005 | |
| # -------------------------------------------------------------------- | |
| # This is a free shell script under GNU GPL version 2.0 or above | |
| # Copyright (C) 2004, 2005 nixCraft project |