更新: | 2017-09-26 |
---|---|
作者: | @voluntas |
作者サイト: | http://voluntas.github.io/ |
バージョン: | 1.2.1 |
セッション日時: | 2017-09-24 14:20 - 15:00 |
セッション場所: | 5号館3F |
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
// Amazonの注文履歴をTSV形式で出力するスクリプト | |
// | |
// 2015-01-01 時点での DOM 構造に対応, GoogleCrome, Opera でテスト済。 | |
// formatEntry関数を書き換えれば自由な書式で出力できます。 | |
// | |
// 参考: | |
// - Amazonの注文履歴をCSV形式にして出力するスクリプト | |
// https://gist.github.com/arcatdmz/8500521 | |
// - Amazon で使った金額の合計を出す奴 (2014 年バージョン) | |
// https://gist.github.com/polamjag/866a8af775c44b3c1a6d |
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 | |
require 'find' | |
target_dir = ARGV[0] | |
all_string = [] | |
Find.find(target_dir) do |file| | |
if File.extname(file) == ".html" | |
content = File.open(file).read |
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
https://tsuchinoko.dmmlabs.com/?p=4175 | |
"IPv4トランスポート、Aレコードを問い合わせ | |
IPv4トランスポート、AAAAレコードを問い合わせ | |
IPv6トランスポート、Aレコードを問い合わせ | |
IPv6トランスポート、AAAAレコードを問い合わせ" |
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
version: '3' | |
services: | |
db: | |
container_name: composed-mysql | |
image: mysql:5.7 | |
volumes: | |
- db_data:/var/lib/mysql | |
restart: always | |
environment: |