Skip to content

Instantly share code, notes, and snippets.


Chad Windnagle drmmr763

View GitHub Profile
jneubauer / masterplugin.php
Last active Feb 16, 2018
Joomla! plugin that fires all possible plugin events
View masterplugin.php
// no direct access
defined( '_JEXEC' ) or die( 'Restricted access' );
class PlgSystemMasterplug extends JPlugin
function onUserAuthenticate()
error_log('onUserAuthenticate', 0);
renekreijveld / jfindfiles
Last active Mar 11, 2021
Find unused and used content files in your Joomla website
View jfindfiles
# jfindfiles -- Find used and unused content files in your Joomla website
# This scripts supports Joomla versions 2.5 - 3.x
# Copyright 2014 Rene Kreijveld -
# This program is free software; you may redistribute it and/or modify it.
phproberto / .gitconfig
Last active Feb 4, 2022
My git config file
View .gitconfig
status = auto
diff = auto
branch = auto
interactive = auto
ui = true
amend = !"git commit --amend -C HEAD"
st = status
ci = commit
maxrice / us-state-names-abbrevs.php
Created May 23, 2012
US State Names & Abbreviations as PHP Arrays
View us-state-names-abbrevs.php
/* From */
$us_state_abbrevs_names = array(
betweenbrain / gist:2644421
Created May 9, 2012
Add heading to absolute first article of first page of Joomla 2.5 category blog
View gist:2644421
Add the following to your /com_content/category/blog.php template override just before <?php $this->item = &$item; echo $this->loadTemplate('item'); ?> of the class="leading" item.
<?php if ($this->pagination->get('pages.current') == 1) echo '<h1>Absolute First Article</h1>' ?>
jimbojsb / gist:1630790
Created Jan 18, 2012
Code highlighting for Keynote presentations
View gist:1630790

Step 0:

Get Homebrew installed on your mac if you don't already have it

Step 1:

Install highlight. "brew install highlight". (This brings down Lua and Boost as well)

Step 2: