James Dennes jdennes

View link-header.sh
1 2 3
View request.sh
1 2 3 4 5
curl -G https://api.github.com/search/repositories \
--data-urlencode "q=stars:>1000" \
--data-urlencode "sort=stars" \
--data-urlencode "order=desc" \
-H "Accept: application/vnd.github.preview"
View CreateSendOAuthTest.java
1 2 3 4 5 6 7 8 9 10
// Ensure you set the CREATESEND_CLIENT_ID, CREATESEND_CLIENT_SECRET,
// and CREATESEND_REDIRECT_URI environment variables for your registered
// OAuth application.
 
import static spark.Spark.*;
import spark.*;
import com.createsend.General;
import com.createsend.models.clients.ClientBasics;
import com.createsend.models.OAuthTokenDetails;
import com.createsend.util.AuthenticationDetails;
View createsend-oauth.php
1 2 3 4 5 6 7 8 9 10
<?php
# 1. Ensure you have Slim installed and in your include path.
# 2. Ensure you have createsend-php installed and in your include path.
# 3. Set CREATESEND_CLIENT_ID, CREATESEND_CLIENT_SECRET,
# and CREATESEND_REDIRECT_URI environment variables for
# your registered OAuth application.
 
require 'createsend/csrest_general.php';
require 'Slim/Slim.php';
\Slim\Slim::registerAutoloader();
View Gemfile
1 2 3 4
source :rubygems
gem 'sinatra'
gem 'createsend'
View Procfile
1
web: python app.py
View Procfile
1
web: python app.py
View Gemfile
1 2 3 4 5
source :rubygems
 
gem 'sinatra'
gem 'omniauth-createsend'
gem 'createsend'
View HISTORY.md

createsend-ruby history

v2.3.0 - 10 Oct, 2012 (6639c1f6)

  • Added support for creating campaigns from templates.
  • Updated shoulda dependency.
  • Added support for unsuppressing an email address.
  • Adding custom field data to expected output from getting active subscribers. This clearly documents the data structure to be expected for multi option multi select fields.
  • Removed Alt field from Singleline elements in test (singleline tags don't support alt text).
  • Version 2.3.0
View cm-basic-subscribe.html
1 2 3 4 5 6
<!-- The most basic Campaign Monitor subscribe form -->
<form action="http://jamesd.createsend.com/t/r/s/hujtkt/" method="post" id="subForm">
<label for="hujtkt-hujtkt">Email:</label><br />
<input type="text" name="cm-hujtkt-hujtkt" id="hujtkt-hujtkt" /><br />
<input type="submit" value="Subscribe" />
</form>
Something went wrong with that request. Please try again.