Skip to content

Instantly share code, notes, and snippets.

💃

Dylan Moore demoore

💃
  • Victoria, BC
Block or report user

Report or block demoore

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View *response*.json
{
"totaltransactions": 5,
"newcustomers": 1,
"customers": [
"doomsday": {
"transactionsthisweek": 1,
"customerID": "doomsday",
"previoustransactions": 2
},
"bane": {
View *response*.txt
{
"totaltransactions": 5,
"newcustomers": 1,
"customers": [
"doomsday": {
"transactionsthisweek": 1,
"customerID": "doomsday",
"previoustransactions": 2
},
"bane": {
View sendwithus csharp example.cs
// 1) Set your API key
string api_key = "YOUR API KEY";
// Let's create a request
string url = "https://api.sendwithus.com/api/v1_0/send";
var httpWebRequest = (HttpWebRequest)WebRequest.Create(url);
httpWebRequest.ContentType = "text/json";
httpWebRequest.Method = "POST";
// set headers with api key
View mediaquery.css
<style type="text/css" media="only screen and (max-width: 600px)">
@media only screen and (max-width: 600px) {
table[class="container"] .block-grid td {
width: 100% !important;
}
}
</style>
View test.json
{
"firstname": "David",
"lastname": "Lee"
}
View test.rb
require 'rubygems'
require 'send_with_us'
begin
obj = SendWithUs::Api.new( api_key: 'API KEY', debug: true )
puts Time.now.to_i
customer_data = {:FirstName => "dylan"}
result = obj.customer_create("dylan@someplace.com", customer_data)
puts result
View example.html
<html>
<head></head>
<body>
<h2>Keys</h2>
<ul>
{% for key in items %}
<li>{{ key }}</li>
{% endfor %}
</ul>
<h2>iteritems</h2>
View example.java
import java.util.HashMap;
import java.util.Map;
import com.sendwithus.SendWithUs;
import com.sendwithus.SendWithUsSendRequest;
import com.sendwithus.exception.SendWithUsException;
import com.sendwithus.model.DeactivatedDrips;
import com.sendwithus.model.Email;
import com.sendwithus.model.SendReceipt;
View example.rb
require 'sendwithus_ruby_action_mailer'
module SomeModule
class Notifier < SendWithUsMailer::Base
def welcome
mail(
email_id: 'tem_RpQWPHNNuUoekvKEPEo',
recipient_address: 'moore.dylan@gmail.com',
from_name: 'Wut',
View test.json
{
"customer": {
"Name": "Charlie"
},
"worker": {
"Name": "Worker Charlie"
}
}
You can’t perform that action at this time.