Skip to content

Instantly share code, notes, and snippets.

View jewlofthelotus's full-sized avatar

Julie Cameron jewlofthelotus

View GitHub Profile
@jewlofthelotus
jewlofthelotus / CustomSlickQuizFilters.phtml
Last active August 23, 2016 10:22
An example WordPress plugin that hooks into the SlickQuiz WordPress plugin. Thanks to @phh for his contribution and example from which this is modified. https://github.com/jewlofthelotus/SlickQuiz-WordPress/pull/37
class CustomSlickQuizFilters {
function __construct()
{
add_filter( 'slickquiz_admin_options', array( &$this, 'custom_admin_options' ) );
add_filter( 'slickquiz_after_options', array( &$this, 'custom_after_options' ) );
add_filter( 'slickquiz_after_result', array( &$this, 'custom_after_result' ) );
}
function custom_admin_options( $options )
// ----
// Sass (v3.4.4)
// Compass (v1.0.1)
// ----
$foo: 10;
$foo: 20; // redeclare to overwrite
$foo: 30 !default; // ONLY set if not already, this is the !default
$bar: 10;
@jewlofthelotus
jewlofthelotus / hack15.rb
Last active October 12, 2017 09:08
Sonic Pi Hackathon Track
######################################################
# Drums
######################################################
define :boom do
with_fx :reverb, room: 1 do
sample :bd_boom, amp: 8
end
sample :ambi_choir, rate: 0.1