I hereby claim:
- I am elivz on github.
- I am elivz (https://keybase.io/elivz) on keybase.
- I have a public key whose fingerprint is 69E9 5FCB 5A09 8722 86AD DFFC 917F A52D BBB7 DC5B
To claim this, I am signing this object:
{if logged_in} | |
{preload_replace:entry_status='open'} | |
{if:else} | |
{preload_replace:entry_status='closed'} | |
{/if} | |
{exp:channel:entries status="{entry_status}"} | |
... | |
{/exp:channel:entries} |
{% set allEvents = craft.entries('events') %} | |
{% for month, events in allEvents|group('startDate|date("F Y")') %} | |
{% set eventsByDate = events|group('startDate|date("j")') %} | |
<section id="{{ month|slugify }}" class="month{% if loop.first %} currentMonth{% endif %}"> | |
<h1 class="monthName">{{ month }}</h1> | |
<div class="eventList"> | |
<table class="calendar"> | |
<thead> |
I hereby claim:
To claim this, I am signing this object:
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); | |
/** | |
* ExpressionEngine - by EllisLab | |
* | |
* @package ExpressionEngine | |
* @author ExpressionEngine Dev Team | |
* @copyright Copyright (c) 2003 - 2011, EllisLab, Inc. | |
* @license http://expressionengine.com/user_guide/license.html | |
* @link http://expressionengine.com |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); | |
/** | |
* Store Discount Extension | |
* | |
* @package ExpressionEngine | |
* @subpackage Addons | |
* @category Extension | |
* @author Eli Van Zoeren | |
* @link http://elivz.com |
$(document).ready(function() { | |
// Load the Stripe script | |
$.getScript('https://js.stripe.com/v1/', function() { | |
Stripe.setPublishableKey('pk_MoKd7A4QHY6s7OJBXUghBQQN3uCT2'); | |
$('#checkout').show(); | |
}); | |
var $form = $("form[name='checkout']").submit(function(event) { | |
// Disable the submit button to prevent repeated clicks | |
$('.submit').attr("disabled", true); |
server { | |
# Redirect yoursite.com to www.yoursite.com | |
server_name yoursite.com; | |
rewrite ^(.*) http://www.yoursite.com$1 permanent; | |
} | |
server { | |
# Tell nginx to handle requests for the www.yoursite.com domain | |
server_name www.yoursite.com; |