I hereby claim:
- I am dabernathy89 on github.
- I am dabernathy89 (https://keybase.io/dabernathy89) on keybase.
- I have a public key ASBoFatFFwKWw1_xz99UcyHPVG_3rJSp-yyWJdlvab_kjQo
To claim this, I am signing this object:
<?php | |
/* | |
Insert this script into functions.php in your WordPress theme (be cognizant of the opening and closing php tags) to allow field groups in Gravity Forms. The script will create two new field types - Open Group and Close Group. Add classes to your Open Group fields to style your groups. | |
Note that there is a stray (but empty) <li> element created. It is given the class "fieldgroup_extra_li" so that you can hide it in your CSS if needed. | |
*/ | |
add_filter("gform_add_field_buttons", "add_fieldgroup_fields"); | |
function add_fieldgroup_fields($field_groups){ | |
foreach($field_groups as &$group){ |
<?php | |
/* | |
Plugin Name: Gravity Forms Queue Listener | |
*/ | |
class GravityFormsQueueListener { | |
function __construct() { | |
add_action('wp_loaded', array($this,'process_push_queue_msg'), 10 ); | |
add_action('gform_after_submission', array( $this, 'send_to_ironio'), 10, 2); |
{"scrollwheel":false,"styles":[{"featureType":"landscape","stylers":[{"saturation":-100},{"lightness":65},{"visibility":"on"}]},{"featureType":"poi","stylers":[{"saturation":-100},{"lightness":51},{"visibility":"simplified"}]},{"featureType":"road.highway","stylers":[{"saturation":-100},{"visibility":"simplified"}]},{"featureType":"road.arterial","stylers":[{"saturation":-100},{"lightness":30},{"visibility":"on"}]},{"featureType":"road.local","stylers":[{"saturation":-100},{"lightness":40},{"visibility":"on"}]},{"featureType":"transit","stylers":[{"saturation":-100},{"visibility":"simplified"}]},{"featureType":"administrative.province","stylers":[{"visibility":"off"}]},{"featureType":"water","elementType":"labels","stylers":[{"visibility":"on"},{"lightness":-25},{"saturation":-100}]},{"featureType":"water","elementType":"geometry","stylers":[{"hue":"#ffff00"},{"lightness":-25},{"saturation":-97}]}]} |
class SimpleEndpoint { | |
public function hooks() { | |
add_action( 'init', array( $this, 'add_endpoint' ) ); | |
add_action( 'template_redirect', array( $this, 'handle_request' ) ); | |
} | |
public function add_endpoint() { | |
add_rewrite_tag( '%foobar%', '([^&]+)' ); | |
add_rewrite_rule( '^(foobar)/?$', 'index.php?$matches[1]=1', 'top' ); | |
} |
/* | |
Ex: | |
stringifyQuery({foo: "bar", baz: ['a','b'], fizz: {foo: [1,2,3], bar: {bees: "knees"}}}); | |
-> ?foo=bar&baz[]=a&baz[]=b&fizz[foo][]=1&fizz[foo][]=2&fizz[foo][]=3&fizz[bar][bees]=knees | |
Square brackets will be URL encoded; I didn't do so in this example for readability. | |
*/ | |
function stringifyQuery (obj, parentName) { | |
const res = obj ? Object.keys(obj).map(key => { |
I hereby claim:
To claim this, I am signing this object:
In addition to normal conference discussion that happens on Twitter, I think that having a dedicated place for conference discussion (Slack, Discord, or something else) would be useful.
There are a few limitations with Twitter:
Here are the benefits of using a messaging app in addition to Twitter:
<v-server-table | |
:columns="columns" | |
:options="mergedOptions" | |
:name="tableName" | |
:ref="tableName"> | |
<template slot="beforeFilter"> | |
<slot name="beforeFilter"></slot> | |
</template> | |
<template slot="afterFilter"> |