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
<iframe id="ad" src="http://secondary-domain.com/hoge.html"> | |
// 広告コンテンツをここに展開する。 | |
// secondary-domain.com のiframe なので、 | |
// クロスドメイン制約によりiframeの外のbaitai.comにはアクセスできない。 | |
</iframe> |
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
# -*- coding: utf-8 -*- | |
from PIL import Image | |
import os | |
import shutil | |
# exists src_dir/hoge.jpg, fuga.png, etc... | |
src_dir = "/Users/name/hoge/" | |
# create dst_dir/yyyymmdd/ | |
dst_dir = "/Users/name/fuga/" |