Skip to content

Instantly share code, notes, and snippets.

View pengjiayou's full-sized avatar
🏠
Working from home

Charles Peng pengjiayou

🏠
Working from home
View GitHub Profile

##Sendy on OpenShift

You can deploy Sendy on a free OpenShift using the following instructions.

##Steps

Thise are instructions for setting up the sendy server, you will still need to set everything else up as described in get started [https://sendy.co/get-started].

  1. Signup for a free Redhat OpenShift [https://www.openshift.com/] account
  2. Add a application and select a PHP cartridge, I used non scaling PHP 5.4.
@christiangenco
christiangenco / signup.html
Last active October 14, 2023 06:47
Bootstrap ajax email signup form for sendy.co
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script type="text/javascript" src="http://code.jquery.com/jquery-2.1.4.min.js" ></script>
<title>AJAX Signup</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css">
<!-- Optional theme -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap-theme.min.css">
@madeinnordeste
madeinnordeste / sendy-global-bounce-subscriber.php
Last active November 30, 2016 04:51
Sendy - Global bounce email - http://YOU-SEND-INSTALL/api/subscribers/global-bounce-subscriber.php
<?php include('../_connect.php');?>
<?php include('../../includes/helpers/short.php');?>
<?php
//-------------------------- ERRORS -------------------------//
$error_core = array('No data passed', 'API key not passed', 'Invalid API key');
$error_passed = array('Email not passed', 'List ID not passed', 'Email does not exist in list');
//-----------------------------------------------------------//
//--------------------------- POST --------------------------//
//api_key
@rdetert
rdetert / shopify_api.conf
Last active May 31, 2017 20:12
Sync Shopify Customers who Accept Marketing with Sendy Using ActiveRecord 4
SHOPIFY_API_KEY = 'my-key'
SHOPIFY_PASSWORD = 'my-pass'
STORE_NAME = 'my-store'