Skip to content

Instantly share code, notes, and snippets.

View branquito's full-sized avatar
🌴
On vacation

Branchito de Munze branquito

🌴
On vacation
View GitHub Profile
@branquito
branquito / wincmd.ini
Created January 21, 2013 21:00
INI -- wincmd.ini
[Configuration]
InstallDir=c:\totalcmd
firstmnu=3001
FirstTime=0
test=101
onlyonce=1
TrayIcon=1
UseRightButton=0
Savepath=1
Savepanels=1
@branquito
branquito / instructions-pdv-custom-comments.md
Created January 24, 2013 02:19
VIM -- PHPdoc custom commenting

Vim search and replace PHPdoc comments

install vim plugin

--> [pdv-standalone](https://github.com/mikehaertl/pdv-standalone)

..set working dir where you want to do striping/inserting phpdoc comments, then..

@branquito
branquito / configuration.php
Created January 27, 2013 17:02
configuration-J-generic.php file
<?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!'
@branquito
branquito / view.html.php
Created February 4, 2013 21:56
JOOMLA1.5--ScriptMoveImages
<?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
@branquito
branquito / view.html.php
Created February 10, 2013 23:47
+event image move
<?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
@branquito
branquito / view.html.php
Created February 11, 2013 21:15
WORKS--image-move-script-joomla1.5
<?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
@branquito
branquito / keytweak
Created February 12, 2013 19:28
KeyTweak Installation
http://ge.tt/5IIibHY/v/0?c
@branquito
branquito / submodules-win-vim.txt
Created February 25, 2013 17:19
submodules for Vim on windows
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
@branquito
branquito / #J-component-renaming
Created March 1, 2013 18:46
#JOOMLA comp-rename-script
## 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