2017-01-01から1年間の記事一覧
vagrant-host-shellプラグインを導入 $ vagrant plugin install vagrant-host-shell Vagrantfileに実行したいコマンドを記述する Vagrant.configure("2") do |config| ... config.vm.provision :host_shell do |host_shell| host_shell.inline = 'echo hogeh…
git管理対象から一括で除外する方法は以下を参照 Git:.gitignoreに後から追記したファイルを一括で管理対象からはずす 関連投稿: git rm –cachedした後、他の人が除外commitをgit pullしたときにファイルが消える 概要 これを実行する git rm --cached `gi…
概要 emacs .gitignore git rm --cached file git commit -m "ignore file" の後に自分のファイルは残っている。 誰かがこのcommitをpullすると、その人は除外したファイルが消える。 当たり前? 除外commitにファイルの削除が含まれているので当たり前かも…
10/21(土)に、チーム爆アドというチーム名にて、earshttpというハンドルネームで参加させていただきました。 予選概要 予選合計参加者数 合計 407組、1132名 10月21日(土) 204組 , 577名 一般 173組 [2名:28組 , 3名:145組] 学生 31組 [2名:5組 , 3名:26組…
概要 Ansible 2.4.0.0のansible.cfgで、 hostfile = ./hosts みたいに書いていると、以下のエラーが出力されplaybookを実行できない [DEPRECATION WARNING]: [defaults]hostfile option, The key is misleading as it can also be a list of hosts, a direct…
経緯 WindowsでAnsibleを使いたかったので、VagrantでAnsible用VMを立ててそこからplaybookを流す vagrant-host-shellを導入 $ vagrant plugin install vagrant-host-shell insert_keyをfalseにする Vagrant.configure("2") do |config| ....... box = "ubun…
参考サイト Vagrantfileを分割する 子Vagrant的な使い方 ./Vagrantfile Vagrant.configure("2") do |config| config.ssh.insert_key = false config.vm.define "ansible-main" do |vagrant| box = "ubuntu/trusty64" vagrant.vm.box = box vagrant.vm.networ…
GitHub https://github.com/gowong/material-sheet-fab LicenseはMIT。 Gradle CardViewを別途追記する。 dependencies { compile 'com.android.support:cardview-v7:26.0.1' compile 'com.gordonwong:material-sheet-fab:1.2.1' } ProGuard MaterialSheetFa…