Skip to content

Instantly share code, notes, and snippets.

@ironah2o
ironah2o / todoist_slack.js
Last active April 9, 2016 08:47
google apps script for pushing a tasks list to slack
// 参考:
// http://ma13.hateblo.jp/entry/2015/11/29/151235
// http://tech.camph.net/slack-bot-with-gas/
var todoistApiURL = "https://todoist.com/API/v6/sync";
var slackToken = PropertiesService.getScriptProperties().getProperty('SLACK_ACCESS_TOKEN');
var todoistToken = PropertiesService.getScriptProperties().getProperty('TODOIST_ACCESS_TOKEN')
var bot_name = "todoist";
@ironah2o
ironah2o / toolbar.cson
Last active October 4, 2016 04:44
Atom flex-tool-bar setting
[
{
type: "button"
icon: "document"
callback: "application:new-file"
tooltip: "New File (Ctrl+N)"
iconset: "ion"
}
{
type: 'button'