Nuxt.js mkdir nuxtjs cd nuxtjs npm install vue-cli mkdir nuxt_test ./node_modules/vue-cli/bin/vue init nuxt-community/starter-template nuxt_test/src cd nuxt_test/src npm install npm install @nuxtjs/pwa vi .gitignore sw.* vi nuxt.config.js }, modules: [ ['@nuxtjs/pwa', { icon: false }], ], manifest: { name: 'nuxt_test', lang: 'ja' } } cd nuxt_test/src npm run build npm run start npm run dev Reference https://inside.dmm.com/entry/2018/04/10/nuxt-firebase

OSS License ライセンス問題(GNU AGPLv3 について) GPL と AGPL GPL クラウドサービス(SaaS)で OSS 利用時、コード公開不要 AGPL クラウドサービス(SaaS)で OSS 利用時、コード公開必要 社内利用では不問(あくまでライセンスは「他者へのソースコード公開の強制」なので、他者=社外の人間となる) reference IoT 時代における OSS の利用と法的諸問題 Q&A 集

Raspberry Pi 3 Model B(+) 開封時 https://kureuetan.com/web/raspberrypi/4236/ 初期設定 sudo raspi-config キーボードレイアウト タイムゾーン Wifi [2 Network Options] -> [N2 Wi-Fi] SSID と Key を入力する hostname -I SSH [5 Interfacing Options] -> [P2 SSH] アップデート sudo apt-get update sudo apt-get upgrade 初期設定 http://ykubot.com/2017/01/17/raspberry-pi-3-initialize/ https://qiita.com/diskn/items/cb06b7d81ec068febc5e 初期パスワード pi / raspberry Turn Off Bluetooth Desktop の右上から無効化する(不要な場合は) keyboard Layout 変更(Japan > Japanese) [4 Localisation Options] -> [I3 Change Keyboard Layout] Keyboard Model : Generic 105-Key (Intl) PC Keyboard layout : Other -> Japanese Key to function as AltGr : The default for keyboard layout Compose key : No compose key Wifi 接続設定

raspberry pi bluetooth $ sudo adduser pi bluetooth $ newgrp bluetooth $ sudo adduser t-tsuji bluetooth $ newgrp bluetooth $ sudo shutdown -r now $ rfkill list $ sudo rfkill unblock bluetooth $ sudo setcap cap_net_raw+eip $(eval readlink -f `which node`) $ sudo systemctl status hciuart $ sudo hciconfig hci0 $ sudo hciconfig hci0 up $ sudo hciconfig hci0 reset $ sudo hcitool lescan $ bluetoothctl $ scan on $ node-red #$ sudo node-red $ sudo hcitool lescan $ sudo gatttool -b C9:12:2F:D7:A1:D8 --interactive -t random $ connect $ char-write-cmd 0x0016 570100 $ char-write-cmd 0x0016 570101 $ char-write-cmd 0x0016 570102 $ sudo gatttool -b C9:12:2F:D7:A1:D8 -t random --char-write-req -a 0x0016 -n 570100 $ sudo gatttool -b C9:12:2F:D7:A1:D8 -t random --char-write-req -a 0x0016 -n 570101 $ sudo gatttool -b C9:12:2F:D7:A1:D8 -t random --char-write-req -a 0x0016 -n 570102 Reference Raspberry Piでbluezを使ってBLESerialとつなぐ

React React は React.js(ReactJS) と記載されることもある JSX と呼ばれる記法を使う React と React Native のコードをある程度共通化する方法 https://qiita.com/tuttieee/items/7c66691fe6cc244053de#electron React を理解するためには webpack(バンドラ), babel(トランスパイラ) も理解する必要がある Create dev environment https://vitalify.jp/app-lab/react-js-20170911/ create-react-app は簡単に環境を作成できる反面、デフォルトの設定を簡単にカスタマイズできない create-react-app のボイラーテンプレートになっている registerServiceWorker とは $ export PATH=$PATH:./node_modules/.bin $ npm i --save-dev create-react-app $ create-react-app testapp $ cd testapp $ npm start ## ブラウザが開いて localhost:3000 でReactアプリが起動する $ npm run build $ ls -l build Develop $ npm start $ vi src/App.

swagger express で swagger を利用する swagger Generating documentation Client API examples in index.html

switch bot $ sudo gatttool -b C9:12:2F:D7:A1:D8 -t random --char-write-req -a 0x0016 -n 570100 $ sudo gatttool -b C9:12:2F:D7:A1:D8 -t random --char-write-req -a 0x0016 -n 570101 $ sudo gatttool -b C9:12:2F:D7:A1:D8 -t random --char-write-req -a 0x0016 -n 570102

tensorflow Google Colaboratory Google Colaboratory の無料 GPU 環境を使ってみた 5 分で体験するディープラーニング

tool document RedPen でわかりやすい技術文書を書こう 快適?ブログ執筆環境構築 Excel 仕様書と Gitbook 技術文書をソフトウェア開発する話 git ViewVC Gitiles - A simple JGit repository browser etc Pomotodo A Time Management App for the Creators