Skip to content

Instantly share code, notes, and snippets.

View joelbradbury's full-sized avatar

Joel Bradbury joelbradbury

View GitHub Profile
£43.99
ch_1A4WhUJOG9s44O5lPIPAvEhD
https://dashboard.stripe.com/payments/ch_1A4WhUJOG9s44O5lPIPAvEhD
Transaction with an 18% discount
---
Ratable total (products) : £45.00
Mail
(Since it is significant, forward the following E-mail to your CEO or relevant responsible person. Thanks)
Dear CEO/Principal,
We are the department of Asian Domain Registration Service in China. Here I have something to confirm with you. We formally received an application on April 13, 2016 that a company claimed "CandLens Company" were applying to register "squarebit" as their Net Brand and some "squarebit" Asian countries top-level domain names through our firm.
Now we are handling this registration, and after our initial checking, we found the name were similar to your company's. Since now the cyber-squatting events and domain name abuse are very serious, in order to avoid such incidents cause unnecessary loss of benefits to your company. so we need to check with you whether your company has authorized that company to register these names. If you authorized this, we would finish the registration at once. If you did not authorize, please let us know within 7 workdays, so that we could handle this
@joelbradbury
joelbradbury / searchplus-basic.html
Created November 6, 2015 12:53
The Basic search template for SearchPlus. See it in action at http://demos.squarebit.co.uk/search/basic or read about the details at http://squarebit.co.uk/software/craft/searchplus/docs/frontend-setup
{% extends 'search/_layouts/main' %}
{% block content %}
<h3>Basic Search</h3>
<div class="row">
<div class="col-md-3">
<div class="well">
<p>This is a simple example of the most basic SearchPlus setup. It consists of just a single search input.</p>
</div>
</div>
{% header "Content-Type: application/json" %}
[
{% nav category in craft.categories.group('categories') %}
{
"name": "{{ category.title }}",
"url": "{{ category.url }}",
"loop": "{{ loop.index }}",
{% ifchildren %},
"children": [
{% children %}
{embed="includes/header"}
{if logged_out}
{redirect="teachers"}
{/if}
{exp:stash:parse parse_tags="yes"}
{exp:zoo_visitor:details}
{exp:stash:set name="id"}{entry_id}{/exp:stash:set} <br>
{exp:stash:set name="email"}{email}{/exp:stash:set}