Skip to content

Instantly share code, notes, and snippets.

{!FirstName},
I have some great ideas you could immediately put into action that will increasing revenues, retention of customers and staff, and of course: your customer’s experience I'd like to share with you.
Essentially, my team develops Continuous Customer Experience Improvement Programs. We take the Undercover Boss TV Show's idea, deliver high ROI, leveraging our technology and experience.
Below you'll find an example of one of our videos. Please consider the bullets as you watch.
Hi {!FirstName},<br><br>I thought you'd like to know that your business is important to us - So, we're offering you 20% off <br>the entire product lines of some of our biggest and best Lighting Brands for the rest of this month. <br>The selection includes indoor lighting, outdoor lighting, and even ceiling fans. <br><br>This deal is only good until the end of August and is exclusive to our Professional customers only. <br><br>Give me a call when you know what you need or email me a cart if you have one ready.<br><br><table cellpadding=\"0\" cellspacing=\"0\" style=\"font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-align: center; font-family: Verdana, Arial, sans-serif; border: 0px solid rgb(225, 225, 225); color: rgb(84, 84, 84); font-size: 16px; width: 680px; margin: 0px; disp
@austinwang
austinwang / gist:3bd66f61166534020833
Created March 13, 2015 00:27
ordering email threads
var histories = [];
this.state.currentObject.activities.forEach(function(activityHistory) {
// TYPE FILTER
if (thisComponent.state.typeFilter && thisComponent.state.typeFilter.indexOf(activityHistory.ActivityType) === -1) {
return;
}
histories.push(activityHistory);
});
// Get all the emails
@austinwang
austinwang / schema
Created August 6, 2012 22:47
TimeStamp Project Schema
<?xml version="1.0" encoding="utf-8" ?>
<!-- SQL XML created by WWW SQL Designer, http://code.google.com/p/wwwsqldesigner/ -->
<!-- Active URL: http://socrates.devbootcamp.com/sql -->
<sql>
<datatypes db="mysql">
<group label="Numeric" color="rgb(238,238,170)">
<type label="Integer" length="0" sql="INTEGER" re="INT" quote=""/>
<type label="Decimal" length="1" sql="DECIMAL" re="DEC" quote=""/>
<type label="Single precision" length="0" sql="FLOAT" quote=""/>
<type label="Double precision" length="0" sql="DOUBLE" re="DOUBLE" quote=""/>
@austinwang
austinwang / in_words
Created June 15, 2012 21:10
in_words
module InWords
def in_words
ones = ["", "one","two","three","four","five","six","seven","eight","nine"]
tens = ["","","twenty","thirty","forty","fifty","sixty","seventy","eighty","ninety","ten","eleven","twelve","thirteen","fourteen","fifteen","sixteen","seventeen","eighteen","nineteen"]
big_nums = ["hundred","thousand", "million", "billion",]
numStr = self.to_s
numLength = numStr.length
word = ""
@austinwang
austinwang / hashclass
Created June 13, 2012 19:42
interesting ruby problem
# why does this not work? It throws an unexpected association error.
# The puts xxxxxx.class works with every other variable type tried, but not this one.
# further strangeness, in terminal if you remove the puts, it will indicate that it is indeed a Hash
puts {:key => "value"}.class