Skip to content

Instantly share code, notes, and snippets.

View entr's full-sized avatar

Zlatko Zlatev entr

  • Yotpo SMSBump
  • Burgas, Bulgaria
View GitHub Profile
@entr
entr / composer.json
Last active May 20, 2016 10:15 — forked from spivurno/gw-gravity-forms-submission-limit.php
Gravity Wiz // Gravity Forms // Limit Submissions Per Time Period (by IP, User, Role, Form URL, or Field Value)
{
"name": "wptailor/gform-class-submission-limit",
"description": "Limit the number of times a form can be submitted per a specific time period. You modify this limit to apply to the visitor's IP address, the user's ID, the user's role, a specific form URL, or the value of a specific field.",
"require": {
},
"license": "GPL-2.0+",
"authors": [
{
"name": "Mark Jaquith",
"email": "[email protected]"
@entr
entr / rbenv-install.sh
Created December 7, 2015 15:31 — forked from milmih/rbenv-install.sh
Setting rbenv up globally
#!/usr/bin/env bash
if [ "$UID" -ne 0 ]
then echo "Please run this script as root user"
exit
fi
apt-get -y update
apt-get -y upgrade
apt-get -y install build-essential zlib1g-dev libssl-dev libreadline6-dev libyaml-dev git sqlite3 libsqlite3-dev
@entr
entr / gw-gravity-forms-post-content-merge-tags-usage.php
Created November 16, 2015 15:32 — forked from spivurno/gw-gravity-forms-post-content-merge-tags-usage.php
Gravity Wiz // Add Support for Gravity Form Merge Tags in your Post Content (when an entry ID is passed)
<?php
# Basic
gw_post_content_merge_tags();
# With Parameters
gw_post_content_merge_tags( array(
'auto_append_eid' => false,
'encrypt_eid' => true
) );
@entr
entr / class-cws-fragment-cache.php
Last active October 28, 2015 09:39 — forked from markjaquith/gist:2653957
WordPress Fragment Caching convenience wrapper
<?php
/**
* WordPress Fragment Caching convenience wrapper.
*
* @author Mark Jaquith, packed by WPTailor
*/
defined('ABSPATH') or exit;
/*
@entr
entr / composer.json
Last active August 29, 2015 14:26 — forked from spivurno/gw-calc-subtotal.php
Gravity Wiz // Gravity Forms // Calculation Subtotal Merge Tag
{
"name": "wptailor/gravityforms-subtotal-mergetag",
"description": "Adds a {subtotal} merge tag which calculates the subtotal of the form. This merge tag can only be used",
"type": "wordpress-plugin",
"license": "GPL3+",
"authors": [
{
"name": "David Smith",
"email": "[email protected]"
},