Skip to content

Instantly share code, notes, and snippets.

Josh Pollock Shelob9

Block or report user

Report or block Shelob9

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View 1.js
const attributes = {
defaultValue : {
type: 'string',
required: false,
default: 'Default Default Value'
blockId: {
type: 'string'
# create webserver called webserver
docker run --detach --publish 80:80 --name webserver nginx
#List all containers (only IDs)
docker ps -aq
#Stop all running containers
docker stop $(docker ps -aq)
#Remove all containers
docker rm $(docker ps -aq)
View 1.js
import {Editor} from '../components/Editor';
export const block = {
edit({attributes, setAttributes}) {
//Get attributes
const {
} = attributes;
View 1.js
const string = 'Hi Roy';
console.log(string);//logs a string
console.log(string.slice(4));//logs result of the slice method of string
View force-https.php
function forceHttps($url){
return preg_replace("/^http:/i", "https:", $url);
Shelob9 / total-entries.php
Last active Apr 19, 2019
Get the total number of saved entry for a Caldera Forms form
View total-entries.php
$total = Caldera_Forms_Entry_Bulk::count( 'CF12456' );
View composer.json
"name": "shelob9/futurecapable",
"minimum-stability": "dev",
"repositories": [
"type": "composer",
"url": ""
"type": "git",
View composer.json
"name": "shelob9/contact-form",
"license": "GPL-2.0",
"type": "wordpress-muplugin"
Shelob9 /
Created Mar 21, 2019
Caldera -> wp-content/mu-plugins/edd_recurring_create_subscription_args.php

I got this error with the EDD add-on Error: E00003: The 'AnetApi/xml/v1/schema/AnetApiSchema.xsd:name' element is invalid - The value 'Caldera Forms Pro Basic Monthly - Basic (Billed Monthly)' is invalid according to its datatype 'String' - The actual length is greater than the MaxLength value.

The automatically generated subscription name was too long.

View .lando.yml
name: caldera
recipe: wordpress
env: dev
xdebug: true
php: '7.2'
via: nginx
webroot: wordpress
You can’t perform that action at this time.