md2reviewでRe:VIEWに変換したときに表示が崩れないこと
マークダウン原稿(.mdファイル)を受け渡すときにチェックしてください
# arg0: dump file | |
dump = [] | |
f = open(ARGV[0]) | |
while line = f.gets | |
dump.push(line) | |
end | |
f.close | |
create_table = [] |
# arg0: dump file | |
require 'json' | |
dump = [] | |
f = open(ARGV[0]) | |
while line = f.gets | |
dump.push(line) | |
end | |
f.close |
FORMAT_DATE('%Y%m%d', DATE_SUB(CURRENT_DATE, INTERVAL 0 DAY))
# ruby big_csv_print_debug.rb input_file=test.csv output_file=result.csv line_number=10 | |
arg = {} | |
ARGV.each do |s| | |
k, v = s.split('=') | |
arg[k] = v | |
end | |
p arg | |
target_lines = [] |
$ gcloud composer environments run ${instance_name} --location="${location}" list_dags |
import re | |
magic_word = '{{{{{converted_by_yuzutas0_dataflow}}}}}' | |
text = text.replace('\\\"', '\"\"').replace('\\\\', magic_word) \ | |
.replace('\\\"', '\\').replace(magic_word, '\\\\') | |
text = re.sub(r'\\$', '', text, flags=re.MULTILINE) | |
if text.startswith('""') and not text.startswith('"""'): | |
text = text[1:] |