いつもいつもいつもRe:VIEWの記法に悩んでぐぐってしまう皆さんへ送るチートシートです。
| 名称 | ルール | 概要・備考 |
|---|---|---|
| 段落 | 1行以上の空行をはさむと別の段落になる | HTMLでいうP |
| 見出し | =ではじまる行 | =の個数で、章・節・項・段という感じで増えます。HTMLで言うH1, H2, H3, H4, H5 |
| -- | |
| -- Slack Verifying request filter | |
| -- see: https://api.slack.com/docs/verifying-requests-from-slack | |
| -- | |
| -- Setup: | |
| -- cd /path/to/lua | |
| -- curl -sL https://github.com/jkeys089/lua-resty-hmac/archive/master.tar.gz | tar zxf - | |
| -- | |
| -- Usage: | |
| -- ```nginx.conf |
| #!/usr/bin/env python | |
| # vim: set fileencoding=utf-8 | |
| # | |
| # USAGE: | |
| # Back up your tmux old config, run the script and redirect stdout to your conf | |
| # file. Example: | |
| # | |
| # $ cp ~/.tmux.conf ~/.tmux.conf.orig | |
| # $ python ./tmux-migrate-options.py ~/.tmux.conf.orig > ~/.tmux.conf | |
| # |
いつもいつもいつもRe:VIEWの記法に悩んでぐぐってしまう皆さんへ送るチートシートです。
| 名称 | ルール | 概要・備考 |
|---|---|---|
| 段落 | 1行以上の空行をはさむと別の段落になる | HTMLでいうP |
| 見出し | =ではじまる行 | =の個数で、章・節・項・段という感じで増えます。HTMLで言うH1, H2, H3, H4, H5 |
| #! /usr/bin/perl | |
| # | |
| # Written in 2017 by Kazuho Oku | |
| # | |
| # To the extent possible under law, the author(s) have dedicated all copyright and related and neighboring rights to this software to the public domain worldwide. This software is distributed without any warranty. | |
| # You should have received a copy of the CC0 Public Domain Dedication along with this software. If not, see <http://creativecommons.org/publicdomain/zero/1.0/>. | |
| # | |
| use strict; | |
| use warnings; |
シーケンス図とかフローチャートをしごとで描画することになった場合、 テキストから生成できたら楽なので、それ系のツールまとめ
| #include <chrono> | |
| #include <iostream> | |
| namespace detail | |
| { | |
| namespace chrono | |
| { | |
| template<typename P> | |
| struct UnitName; |
| #!/usr/bin/ruby | |
| #数値を16進数文字列に | |
| p 65.to_s(16) #=> "41" | |
| #数値をASCII文字に | |
| p 65.chr #=> "A" | |
| #文字列を16進数とみなして数値に | |
| p "41".hex #=> 65 |