This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//已发送邮件的标记内容 | |
var EMAIL_SENT = "EMAIL_SENT"; | |
//记录已发送记录的列,一般为原有数据的后面一列,从0开始 | |
var EMAIL_SENT_COLUMN = 9; | |
// 发送的邮件主题 | |
var SUBJECT = "北京GDG之编程语言沙龙参会确认函"; | |
// email 所在的列,从0开始算 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// email 所在的列,从0开始算。email 作为唯一标示,用于去重。 | |
var emailColumn = 1; | |
// 电子表格的 doc key | |
key = "0AhIp-TG_44qxdHFnTDFUeDNOUEp2LVVpbmVMa25QQVE"; | |
/** | |
* 统计报名人数,根据 email 唯一标示去除重复的报名。 | |
*/ | |
function countUniqueRows() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<link rel="import" href="../polymer/polymer.html"> | |
<polymer-element name="my-element" attributes="owner"> | |
<template> | |
<style> | |
:host { | |
position: absolute; | |
width: 100%; | |
height: 100%; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<link rel="import" href="../core-icon-button/core-icon-button.html"> | |
<link rel="import" href="../core-toolbar/core-toolbar.html"> | |
<link rel="import" href="../core-scroll-header-panel/core-scroll-header-panel.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
:host { | |
position: absolute; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<link rel="import" href="../topeka-elements/theme.html"> | |
<link rel="import" href="../topeka-elements/topeka-resources.html"> | |
<link rel="import" href="../topeka-elements/topeka-app.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
:host { | |
position: absolute; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 方法一:最简单的方法是直接在页面末尾加上这句话。 | |
// 请替换具体文字内容。还可以为文字添加样式。 | |
console && console.log("%cWelcome to here!\n", "font-size:1.5em;color:#4558c9;"); | |
// 方法二:在打开 DevTools 时才提示,将下面代码添加到页面末尾。 | |
(function(){ | |
try{ | |
function detect(){ | |
if ((window.outerHeight - window.innerHeight) > 100 || (window.outerWidth - window.innerWidth) > 100){ | |
// replace your text |