シーケンス図とかフローチャートをしごとで描画することになった場合、 テキストから生成できたら楽なので、それ系のツールまとめ
- C製
- Doxygen, Moinmoinなどと連携可能
- ブロック図、クラス図、ネットワーク図など
| on run {input, parameters} | |
| set logPath to "Dropbox/Dictionary/words.txt" | |
| set lookUpWord to quoted form of (input as string) | |
| tell application "System Events" to tell (process 1 where frontmost is true) | |
| set windowTitle to name | |
| try | |
| set windowTitle to windowTitle | |
| set titleBar to name of window 1 | |
| end try |
シーケンス図とかフローチャートをしごとで描画することになった場合、 テキストから生成できたら楽なので、それ系のツールまとめ
This simple script will take a picture of a whiteboard and use parts of the ImageMagick library with sane defaults to clean it up tremendously.
The script is here:
#!/bin/bash
convert "$1" -morphology Convolve DoG:15,100,0 -negate -normalize -blur 0x1 -channel RBG -level 60%,91%,0.1 "$2"
| augroup auto_comment_off | |
| autocmd! | |
| autocmd BufEnter * setlocal formatoptions-=ro | |
| augroup END |
MessagePackが文字列とバイナリをわけないのは問題?
Objective Cの実装使ってるとある問題にぶちあたった.なので,文字列をちゃんとバイナリ(Raw)と分けるべき,という提案
(*) 俺は熟読したわけではないので,中身が気になる人はちゃんと本スレを読みましょう
| #!/usr/bin/env python | |
| ''' | |
| must intall PyObjC, pyobjc-framework-DictionaryServices | |
| source from http://sakito.jp/mac/dictionary.html | |
| ''' | |
| import sys | |
| from DictionaryServices import * |
| body { | |
| font-family: Helvetica, arial, sans-serif; | |
| font-size: 14px; | |
| line-height: 1.6; | |
| padding-top: 10px; | |
| padding-bottom: 10px; | |
| background-color: white; | |
| padding: 30px; } | |
| body > *:first-child { |
| package main | |
| import ( | |
| "fmt" | |
| "math" | |
| ) | |
| const Delta = 0.0001 | |
| func isConverged(d float64) bool { |