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
function listEmployee() { | |
//SmartHRのAPIキー(機密情報なのでプロパティで事前設定しておく) | |
const TOKEN = PropertiesService.getScriptProperties().getProperty("SMARTHR_APIKEY"); | |
//組織名(SmartHRで登録されているサブドメイン名) | |
const ORG = PropertiesService.getScriptProperties().getProperty("ORG"); | |
//一覧に表示するドメイン名(Gmailなどの個人アドレスを表示させないため) | |
const DOMAIN = PropertiesService.getScriptProperties().getProperty("DOMAIN"); | |
//シート名 | |
const SHEET = PropertiesService.getScriptProperties().getProperty("SHEET"); | |
//何ページ分取得するか(登録されている社員数に依存する) |
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
<!doctype html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<title>Video Rekognition Detect Person Bounding Box</title> | |
<script src="//d3js.org/d3.v3.min.js" charset="utf-8"></script> | |
<style> | |
#videoview { | |
z-index: 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
target_url=http://dev.classmethod.jp/ | |
curl --silent --head http://b.hatena.ne.jp/bc/de/$target_url | grep Location | cut -f4 -d. | cut -f7 -d/ |
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
#!/usr/bin/env python | |
import sys | |
import os | |
import errno | |
from datetime import datetime, date, timedelta | |
import urllib2 | |
import yaml | |
import cPickle as pickle | |
argvs = sys.argv |
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
(function (window) { | |
// This library re-implements setTimeout, setInterval, clearTimeout, clearInterval for iOS6. | |
// iOS6 suffers from a bug that kills timers that are created while a page is scrolling. | |
// This library fixes that problem by recreating timers after scrolling finishes (with interval correction). | |
// This code is free to use by anyone (MIT, blabla). | |
// Author: rkorving@wizcorp.jp | |
var timeouts = {}; | |
var intervals = {}; |