Skip to content

Instantly share code, notes, and snippets.

Avatar

Ryan W. Moorman ryanmoorman

View GitHub Profile
View keybase.md

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:

View tedious.coffee
config = require '../config'
Connection = require('tedious').Connection
Request = require('tedious').Request
async = require('async')
#
# # If no error, then good to go...
# contributionReport()
# return
View detect-zoom.js
/* 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)
*/
View dataLayerScreenSize.js
/* 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 Oct 1, 2015
Email Field Usage in Search Query
View emailsearch.sql
--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 Aug 29, 2015
2014 Post Election Email
View gist:d4bffb77c31026595d6b
<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 Aug 29, 2015
VAN Turfcutter Client Email Revised
View VANEmail_Revised.html
<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">
View NGPVAN_basic_email.html
<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">