Mac Medisを使う
git clone https://github.com/luin/medis.git && cd medis npm install npm run-script build npm start
There is no tracking information for the current branch.
Git pullした時にremoteブランチに関連付けできていない場合に表示される。
確認
$ git branch -vv * master b3384d7 first commit
設定 masterブランチをorigin/masterに設定する例
$ git branch --set-upstream-to=origin/master master Branch 'master' set up to track remote branch 'master' from 'origin'. $ git branch -vv master b3384d7 [origin/master] first commit
Gitlab-runnerで正規表現が使える
.gitlab-ci.yml
stages: - build build: stage: build script: - echo "Hello World!" only: - /^dev/ tags: - testbuild
gitでtagを付与してpushすることでpipelineが生成されるようになる。 上記の例だと、"dev"から始まるtagが対象
Action: Consider marking one of the beans as @Primary, updating the consumer to accept multiple beans, or using @Qualifier to identify the bean that should be consumed
*************************** APPLICATION FAILED TO START *************************** Description: Field sampleInterface in ******** required a single bean, but 3 were found: - oneExecutor: defined by method 'oneExecutor' in class path resource [***************] - twoExecutor: defined by method 'twoExecutor' in class path resource [***************] - threeExecutor: defined by method 'threeExecutor' in class path resource [***************] Action: Consider marking one of the beans as @Primary, updating the consumer to accept multiple beans, or using @Qualifier to identify the bean that should be consumed
sampleInterfaceをimplementしているクラスが3つ(oneExecutor, twoExecutor, threeExecutor)ある。 sampleInterfaceをDIした際(@Autowired)、実装クラスを明示してあげる(@ Qualifier)必要がある。
というError
docke stop all
docker stop $(docker ps -q)
EC2インスタンスのボリュームが増えない場合はresizeする
コンソール画面でvolume増設したら、以下のコマンドを実行する
$ sudo resize2fs /dev/xvda1
余っているvolumeをよしなに割り当てる