Skip to content

Instantly share code, notes, and snippets.

View kagerouttepaso's full-sized avatar

kitsunai yuki kagerouttepaso

View GitHub Profile

これを元に勉強した ChefDKハンズオン with すごい広島の資料

point プロキシ設定が含まれているときはdockerにもろもろの設定を追加しないといけない

sudo apt-get update
sudo apt-get upgrade
sudo apt-get install curl
curl -sSL https://get.docker.com/ | sh
#/etc/default/docker でdockerのプロキシの設定

bashの色設定

#how to use
#echo -e "${COLOR_YELLOW} test test ${COLOR_END}"
COLOR_ESC="\e["
COLOR_ESCEND="m"
COLOR_END="${COLOR_ESC}${COLOR_ESCEND}"

Ubuntu14.04にChefでソフト入れる

環境

  • VertualBox 4.3.10
  • Ubuntu 14.04 Desktop

ハード構成

// Formの設定プロパティを実行ファイルのあるディレクトリに"アプリケーション名.conf"で保存するための設定プロバイダー。
// Settings.csでSettingsクラスに属性として[SettingsProvider(typeof(MyNamespace.ConfigSettingsProvider))]のように指定する。
// Settings.csはかなり見付けにくい。プロジェクトのプロパティから「設定」を選んで表示されるデザイナーからコードの表示を選ぶと開ける。
// This program is licensed under the MIT License:
// http://fujieda.mit-license.org/2013
using System;
using System.Collections.Generic;
using System.Configuration;
using System.IO;