なんとかするから、なんとかなる

エンジニア関係のことを書きます

2019-01-01から1年間の記事一覧

【未完】Bot Framework Composerを使ってみたかった話

はじめに Bot Framework Composerが新たにプレビューででてきたので、試してみた。 ChatBotをGUIで作れるらしい。Previewなので注意。 リポジトリ https://github.com/microsoft/BotFramework-Composer 説明など https://github.com/microsoft/BotFramework-…

Macの内蔵マイクが反応しなくなった時の対処法

症状 オーディオ設定のマイクは反応している SkypeやSiriなどでマイクが一切反応しない NVRAM CSMやSMCのリセットをしたが治らない com.apple.assistant.plistを削除したが治らない 対処法 「Audio MIDI 設定」開く 内蔵マイクを選択 フォーマットを4ch から…

matplotlibで目盛りの色を変更する方法

English version is below https://hopita.hatenablog.com/entry/2019/01/03/225756 はじめに JupyterNotebookで背景を黒色にしたとき、matplotlibでグラフを描画したら目盛りが見ずらくなってしまいました。 そこで、Pythonのmatplotlibでグラフを描画する…

How to change a color of measurement labels in matplotlib

Introduction This article shows how to change a color of measurement labels in matplotlib. Solution It's a simply way to change a color of measurement labels. import matplotlib.pyplot as plt ax = plt.subplot(111) for item in ax.get_xtickla…

Swift 4.2 How to get a all values of enum

Introduction This article shows how to use "CaseIterable" protocol which introduced in Swift4.2. This protocol can provede all values of enum type. So, I do not need to implement such a property any more. Before Swift4.2 In Swift4.1 or ear…

Swift4.2 列挙型Enumで全ての要素を取得する

English version below https://hopita.hatenablog.com/entry/2019/01/02/195204 はじめに オブジェクトの状態を定義など、いろいろと便利な列挙型Enumですが、この度Swift4.2で新しい機能が追加されていました。 この記事にはSwift 4.2からの新機能、列挙型…