Skip to content

Instantly share code, notes, and snippets.

@promediacorp
promediacorp / aea_chicago.json
Last active June 23, 2017 18:16
JSON+LD - AEA Chicago
{
"@context": "http://schema.org",
"@type": "Event",
"location": {
"@type": "Place",
"address": {
"@type": "PostalAddress",
"addressLocality": "Chicago",
"addressRegion": "IL",
"postalCode": "60654",
@promediacorp
promediacorp / aea_example_sitemap.xml
Last active June 23, 2017 18:35
AEA Example Sitemaps XML
<?xml version="1.0" encoding="UTF-8"?>
<urlset
xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://aneventapart.com</loc>
<lastmod>2017-06-23</lastmod>
<changefreq>weekly</changefreq>
<priority>1.0</priority>
</url>
<url>
@promediacorp
promediacorp / email_from_sheet.js
Last active June 23, 2017 19:10
email from google sheet script
// https://developers.google.com/apps-script/articles/sending_emails
var EMAIL_SENT = "EMAIL_SENT";
function sendEmails() {
var body = DocumentApp.openById('1BHx9yBH9zTo27w35B2iSwXzHfn1UWS_KOAIo2OEugsE'); //this is the google doc id for the email body
var sheet = SpreadsheetApp.getActiveSheet();
var startRow = 2; // First row of data to process
var numRows = 25; // Number of rows to process
// Fetch the range of cells A2:B3
var dataRange = sheet.getRange(startRow, 1, numRows, 3)
@promediacorp
promediacorp / avi_wilensky.json
Last active June 24, 2017 01:32
Avi Wilensky
{
"basics": {
"name": "Avi Wilensky",
"label": "Entrepreneur / Web Applications Developer",
"email": "wilensky [at] gmail [dot] [com]",
"phone": "917-546-4170",
"website": "aviwilensky.com",
"summary": [
"Founder and developer of the travel app Up Hail, used by millions of people and featured in Mashable's Most Useful Web Tools of 2014, Fox News, Gizmodo, Entrepreneur, Inc., and VentureBeat.",
"Founder of Promediacorp - a digital agency and web development shop - working with the largest brands in the world, including Samsung, Sony and Mattel.",
@promediacorp
promediacorp / aea gtm
Last active June 28, 2017 20:17
aea gtm
//Paste this code as high in the <head> of the page as possible.
<!-- Google Tag Manager -->
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-MC7ZJCV');</script>
<!-- End Google Tag Manager -->
@promediacorp
promediacorp / AEA Titles and Descriptions
Last active June 29, 2017 14:15
AEA Titles and Descriptions
# Homepage
###Current Title:
```<title>An Event Apart - the premiere web & interaction design conference</title>```
###Suggested Title:
```<title>An Event Apart: The Premiere Web, Interaction Design, & UX Conference</title>```
--or--
```<title>An Event Apart: The Premiere Web Design, IxD, & UX Conference</title>```