テンプレートエンジンののコードをコードとして管理したくない
-
テンプレート化されたコードを読み解くコストは高い
- コードは書くよりも読まれる時間の方が長い
-
テンプレートのコードは lint/formatter/コード補完などの静的解析ツールの相性が悪い
テンプレートエンジンののコードをコードとして管理したくない
テンプレート化されたコードを読み解くコストは高い
テンプレートのコードは lint/formatter/コード補完などの静的解析ツールの相性が悪い
| #!/bin/bash -e | |
| CIRCLE_WORKING_DIRECTORY="${CIRCLE_WORKING_DIRECTORY/#\~/$HOME}" | |
| [[ ! -d $CIRCLE_WORKING_DIRECTORY ]] && mkdir -p $CIRCLE_WORKING_DIRECTORY | |
| cd $CIRCLE_WORKING_DIRECTORY | |
| git init | |
| git remote add origin $CIRCLE_REPOSITORY_URL | |
| git config core.sparsecheckout true |
| SELECT * | |
| FROM `sitemap_acp_tree_fixed_to_xml` | |
| WHERE `tree` = '1002' | |
| ORDER BY RAND() | |
| LIMIT 50 |
| #!/usr/bin/env python2 | |
| # -*- coding:utf-8 -*- | |
| # | |
| # Picaro: An simple command-line alignment visualization tool. | |
| # | |
| # picaro.py | |
| # Visualize alignments between sentences in a grid format. | |
| # | |
| # Jason Riesa <[email protected]> | |
| # version: 01-16-2010 |
| sed -sn 'N,+10p' * |
| $ cat text.txt | mecab-all | |
| IPADIC :私大 ファン な ん です | |
| JUMAN :私大 ファン な んです | |
| JUMANDIC:私大 ファン な んです | |
| JUMANPP :私大 ファン な んです | |
| KYTEA :私大 ファン な ん で す | |
| NEOLOG :私大 ファン な ん です | |
| SNOW :私大ファン な ん です | |
| UNIDIC :私大 ファン な ん です |
| #!/usr/bin/env zsh | |
| # This script prints a bell character when a command finishes | |
| # if it has been running for longer than $zbell_duration seconds. | |
| # If there are programs that you know run long that you don't | |
| # want to bell after, then add them to $zbell_ignore. | |
| # | |
| # This script uses only zsh builtins so its fast, there's no needless | |
| # forking, and its only dependency is zsh and its standard modules | |
| # |
| #!/usr/bin/env python3 | |
| # -*- coding: utf-8 -*- | |
| from tornado import ioloop, httpserver, web, httpclient | |
| import json | |
| import urllib.parse | |
| import logging | |
| import time |
| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| """ | |
| NLP 主要会議のGoogle Calendar日程作成用のscript | |
| http://www.cs.rochester.edu/~tetreaul/conferences.html | |
| """ | |
| import pandas as pd | |
| import dateutil as du |
| #!/usr/bin/env python | |
| # -*- coding:utf-8 -*- | |
| import subprocess | |
| import itertools as itt | |
| class MeCab(): | |
| def __init__(self, opts=[]): |