Skip to content

Instantly share code, notes, and snippets.

View ryanmoorman's full-sized avatar

Ryan W. Moorman ryanmoorman

View GitHub Profile
@ryanmoorman
ryanmoorman / NGPVAN_basic_email.html
Last active January 13, 2020 20:23
NGP VAN Basic Email
<div align="center">
<table cellspacing="0" class="backgroundTable" width="100%">
<tbody>
<tr>
<td align="center" valign="top">
<table cellpadding="0" cellspacing="0" id="contentTable" style="border: 0px none rgb(0, 0, 0); margin-top: 10px;" width="600">
<tbody>
<tr>
<td>
<table cellpadding="0" cellspacing="0" width="600">

Keybase proof

I hereby claim:

  • I am ryanmoorman on github.
  • I am ryanmoorman (https://keybase.io/ryanmoorman) on keybase.
  • I have a public key whose fingerprint is A55B 7129 D342 EE16 7742 6EB5 BBBF DAC2 66B9 1819

To claim this, I am signing this object:

config = require '../config'
Connection = require('tedious').Connection
Request = require('tedious').Request
async = require('async')
#
# # If no error, then good to go...
# contributionReport()
# return
/* Detect-zoom
* -----------
* Cross Browser Zoom and Pixel Ratio Detector
* Version 1.0.4 | Apr 1 2013
* dual-licensed under the WTFPL and MIT license
* Maintained by https://github/tombigel
* Original developer https://github.com/yonran
* Utilised by NGP VAN for screen size detection through Google Tag Manager dataLayer push
* Implemented by Ryan Moorman (rmoorman@ngpvan.com)
*/
/* Detect-zoom
* -----------
* Cross Browser Zoom and Pixel Ratio Detector
* Version 1.0.4 | Apr 1 2013
* dual-licensed under the WTFPL and MIT license
* Maintained by https://github/tombigel
* Original developer https://github.com/yonran
* Utilised by NGP VAN for screen size detection through Google Tag Manager dataLayer push
* Implemented by Ryan Moorman (rmoorman@ngpvan.com)
*/
@ryanmoorman
ryanmoorman / emailsearch.sql
Created October 1, 2015 16:43
Email Field Usage in Search Query
--Mailing Date (From)
SELECT COUNT([Key]) AS 'Mailing Date (From)'
FROM dbo.QueryTemplateParameter (NOLOCK)
WHERE [Key] = 'xc5058da56e9f4f2fa106b7cdea923936';
--Mailing Date (To)
SELECT COUNT([Key]) AS 'Mailing Date (To)'
FROM dbo.QueryTemplateParameter (NOLOCK)
WHERE [Key] = 'xe4eb014c1fc8412781da08879a631144';
@ryanmoorman
ryanmoorman / gist:d4bffb77c31026595d6b
Last active August 29, 2015 14:08
2014 Post Election Email
<div align="center">
<table cellspacing="0" class="backgroundTable" width="100%">
<tbody>
<tr>
<td align="center" valign="top">
<table cellpadding="0" cellspacing="0" id="contentTable" style="border: 0px none rgb(0, 0, 0); margin-top: 10px;" width="600">
<tbody>
<tr>
<td>
<table cellpadding="0" cellspacing="0" width="600">
@ryanmoorman
ryanmoorman / VANEmail_Revised.html
Last active August 29, 2015 14:07
VAN Turfcutter Client Email Revised
<div align="center">
<table cellspacing="0" class="backgroundTable" width="100%">
<tbody>
<tr>
<td align="center" valign="top">
<table cellpadding="0" cellspacing="0" id="contentTable" style="border: 0px none rgb(0, 0, 0); margin-top: 10px;" width="600">
<tbody>
<tr>
<td>
<table cellpadding="0" cellspacing="0" width="600">