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
#!/bin/bash -e | |
# ECS環境でコマンドを実行するためのタスク | |
# | |
# 以下の設定が事前に必要 | |
# * aws-cliのインストール | |
# * ecs-cliのインストール | |
# * jqのインストール | |
# | |
# usage: run_task env command... |
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
"Settings | |
"set nohud | |
"set autohidecursor | |
"set noinsertmappings | |
set smoothscroll | |
set autoupdategist | |
set noautofocus | |
"let scrollstep = 30 | |
let fullpagescrollpercent = 90 |
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
" general | |
set autoupdategist " gistの設定を自動反映 | |
let scrollstep = 150 | |
let fullpagescrollpercent = 100 | |
set smoothscroll | |
set noautofocus " サイトを開いた時に入力欄にフォーカスが奪われるのを抑止 | |
let searchlimit = 20 | |
let barposition = "bottom" |
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
# Borrowed from: | |
# https://github.com/silven/go-example/blob/master/Makefile | |
# https://vic.demuzere.be/articles/golang-makefile-crosscompile/ | |
BINARY = superdo | |
VET_REPORT = vet.report | |
TEST_REPORT = tests.xml | |
GOARCH = amd64 | |
VERSION?=? |
Go has excellent build tools that mitigate the need for using make
.
For example, go install
won't update the target unless it's older
than the source files.
However, a Makefile can be convenient for wrapping Go commands with
specific build targets that simplify usage on the command line.
Since most of the targets are "phony", it's up to you to weigh the
pros and cons of having a dependency on make
versus using a shell
script. For the simplicity of being able to specify targets that
can be chained and can take advantage of make
's chained targets,
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
"==={general}=== | |
let scrollstep = 150 | |
let fullpagescrollpercent = 100 | |
"set nohud | |
"set autohidecursor | |
"eで検索窓へ | |
map e goToInput | |
"open link in new tab (active) |
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
The problem: | |
I wanted to use the jinja 'map' filter to modify each item in a string, in this simple | |
example, adding '.conf' to each item. | |
The 'format' filter in jinja takes arguments (value, *args, **kwargs). Unfortunately, | |
it uses 'value' as the pattern. When called inside map 'value' is the current item in | |
the list, or in other words *args as far as format is concerned. So it's the wrong way | |
around. |
ここに記載している情報は間違えている可能性があります。ご注意ください。
Embulkアウトプットプラグイン覚書
NewerOlder