Skip to content

Instantly share code, notes, and snippets.

View rameden's full-sized avatar

Ryley Ameden rameden

  • Oracle
  • Wilton, NH
View GitHub Profile
@rameden
rameden / Marketo_Bizible.js
Created April 2, 2018 15:55
A simple hook to hopefully apply the Bizible.Push function to a Marketo submit.
MktoForms2.loadForm("//app-sj08.marketo.com", "982-ASW-482", 3206, function(form) {
form.onSubmit(function(){
Bizible.Push('Form',$('#mktoForm_3206'));
});
});
<?php
// exit if accessed directly
if ( ! defined( 'ABSPATH' ) ) exit;
// check if class already exists
if ( !class_exists('acf_field_section_styles') ) :
class acf_field_section_styles extends acf_field {
@rameden
rameden / 5x5
Created February 7, 2014 18:55
$a = array
$k = 1;
for ($i=0; $i<=4; $i++) {
$a[$i] = array();
for ($j=0; $j<=4; $j++) {
$a[$i][$j] = $k++;
}
}