In order to enable debugging for your Django app running in a Docker container, follow these steps using Visual Studio (Code):
- Add
ptvsdto your requirements.txt file
ptvsd == 4.3.2
- To your
launch.json, add this:
| #!/bin/sh | |
| # usage | |
| # dcon PIECE_OF_CONTAINER_NAME [COMMAND [ARGUMENTS...]] | |
| # | |
| # example | |
| # $ dcon app1 | |
| # $ dcon postg psql -U myuser mydatabase | |
| name=$1 | |
| shift 1 |
| <pre id='hoge'></pre> | |
| <input id='foobar' /> | |
| <button id='send'>send</button> | |
| <script> | |
| const hoge = document.getElementById('hoge'); | |
| const foobar = document.getElementById('foobar'); | |
| const send = document.getElementById('send'); | |
| let target; | |
| if (window.opener) { |
以下転載:
| # ==== Emojis ==== | |
| # 🐛 :bug: バグ修正 | |
| # 👍 :+1: 機能改善 | |
| # ✨ :sparkles: 部分的な機能追加 | |
| # 🎉 :tada: 盛大に祝うべき大きな機能追加 | |
| # ♻️ :recycle: リファクタリング | |
| # 🚿 :shower: 不要な機能・使われなくなった機能の削除 | |
| # 💚 :green_heart: テストやCIの修正・改善 |
| 日時: | 2016-09-21 |
|---|---|
| 作: | @voluntas |
| バージョン: | 1.0.1 |
| url: | https://voluntas.github.io/ |
2016 年 6 月 24 日に行われる BPStudy の発表資料です
| # Python crontab sample | |
| FROM python:3.5.1 | |
| MAINTAINER Shinichi Nakagawa <spirits.is.my.rader@gmail.com> | |
| # add to application | |
| RUN mkdir /app | |
| WORKDIR /app | |
| ADD requirements.txt /app/ |
シーケンス図とかフローチャートをしごとで描画することになった場合、 テキストから生成できたら楽なので、それ系のツールまとめ