Skip to content

Instantly share code, notes, and snippets.

View laughk's full-sized avatar
💭
I may be slow to respond.

Kei IWASAKI laughk

💭
I may be slow to respond.
View GitHub Profile
@veuncent
veuncent / docker_debugging.md
Last active April 8, 2026 20:47
Debugging Django apps running in Docker using ptvsd - Visual Studio (Code)

Remote debugging in Docker (for Django apps)

In order to enable debugging for your Django app running in a Docker container, follow these steps using Visual Studio (Code):

  1. Add ptvsd to your requirements.txt file
ptvsd == 4.3.2
  1. To your launch.json, add this:
@feiz
feiz / dcon
Created March 10, 2017 08:09
dockerコンテナにガッとつなぐやつ
#!/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) {
@taichi
taichi / code_review_basics.md
Last active November 17, 2025 18:46
チームでコードを書き始めた後、「どうやらレビューってやつをした方が良いらしい」くらいの若手に向けた資料です。

コードレビューの基本


一番大事な事

ソースコードはプロジェクトの共同所有物である

  • 誰かだけが触れるコードを無くす
@mono0926
mono0926 / commit_message_example.md
Last active July 1, 2026 06:37
[転載] gitにおけるコミットログ/メッセージ例文集100
@nownabe
nownabe / .commit_template
Created July 5, 2016 06:54
Emojiで楽しく綺麗なコミットを手に入れる
# ==== Emojis ====
# 🐛 :bug: バグ修正
# 👍 :+1: 機能改善
# ✨ :sparkles: 部分的な機能追加
# 🎉 :tada: 盛大に祝うべき大きな機能追加
# ♻️ :recycle: リファクタリング
# 🚿 :shower: 不要な機能・使われなくなった機能の削除
# 💚 :green_heart: テストやCIの修正・改善
@voluntas
voluntas / erlang.rst
Last active September 5, 2025 05:30
Erlang/OTP (仮)

Erlang/OTP (仮)

日時:2016-09-21
作:@voluntas
バージョン:1.0.1
url:https://voluntas.github.io/

2016 年 6 月 24 日に行われる BPStudy の発表資料です

@Shinichi-Nakagawa
Shinichi-Nakagawa / Dockerfile
Last active May 7, 2017 06:52
DockerのPython Imageとparse-crontabを使ってシンプルな定時処理batchを作る ref: http://qiita.com/shinyorke/items/77cd54bc836227b2416a
# 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/
@hashrock
hashrock / diag.md
Last active April 30, 2026 06:23
作図系ツール・ライブラリまとめ

シーケンス図とかフローチャートをしごとで描画することになった場合、 テキストから生成できたら楽なので、それ系のツールまとめ

GraphViz

http://www.graphviz.org/

  • C製
  • Doxygen, Moinmoinなどと連携可能
  • ブロック図、クラス図、ネットワーク図など