Skip to content

Instantly share code, notes, and snippets.

Avatar

Ben Parizek BenParizek

View GitHub Profile
@BenParizek
BenParizek / gist:7108347
Created Oct 22, 2013
Example Custom Redactor Button in a Craft Plugin
View gist:7108347
<?php
namespace Craft;
class RedactorStylesPlugin extends BasePlugin
{
public function getName()
{
return Craft::t('Redactor Styles');
}
View mysql2graffle.py
#! /usr/bin/pythonw
#
# Modified by Michael Bianco <info@cliffsidedev.com> on June 26, 2009
# Written by Thomas Pan at January 21, 2007
# mysql2graffle for Omnigraffle 5 is based on
# MyDBGraffle for OmniGraffle 4 which is based on Paul Davis' work at http://www.visualdistortion.org
#
# Requires:
#
# OmniGraffle 5
@BenParizek
BenParizek / config.php
Created Jul 5, 2010 — forked from leevigraham/config_bootstrap.php
Custom configuration file for ExpressionEngine 2
View config.php
<?php
/**************************************************
Custom configuration bootstrap file for ExpressionEngine
1) Place config.php above site root
2) Require this bootstrap file at the bottom of the config and database files:
system/expressionengine/config/config.php
Example: require(realpath(dirname(__FILE__) . '/../../../config.php'));