シーケンス図とかフローチャートをしごとで描画することになった場合、 テキストから生成できたら楽なので、それ系のツールまとめ
- C製
- Doxygen, Moinmoinなどと連携可能
- ブロック図、クラス図、ネットワーク図など
http://meteortips.com/tutorial/twitter-login-provider/ | |
// https://blog.svpino.com/2015/05/08/solution-to-problem-5-and-some-other-thoughts-about-this-type-of-questions | |
function generatePattern(result, nowList, chars, n){ | |
if(n > 0){ | |
chars.forEach(function(item){ | |
generatePattern(result, nowList.concat(item), chars, n-1) | |
}) | |
}else{ | |
result.push(nowList); | |
} |
// pure js version of http://qiita.com/higuma/items/5af4e62bdf4df42ce673 | |
function perm(result, l, r, n){ | |
if(n > 0){ | |
r.forEach(function(item, i){ | |
var rest = r.slice(0); | |
var e = rest.splice(i, 1); | |
perm(result, l.concat(e), rest, n - 1); | |
}) | |
}else{ |
//リストは全体がclickableであるべき | |
ul.sidemenu li a { | |
display: block; | |
} | |
//ロゴずれてる | |
.navbar .brand { | |
padding-top: 9px; | |
padding-bottom: 6px; |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Document</title> | |
</head> | |
<body> | |
<div id="taskapp" v-repeat="task :tasks"> | |
{{task.title}} |
シーケンス図とかフローチャートをしごとで描画することになった場合、 テキストから生成できたら楽なので、それ系のツールまとめ
<!-- | |
http = require('http'), | |
fs = require('fs'), | |
qs = require('querystring'); | |
http.createServer(function (req, res) { | |
var someFile = "index.html"; | |
if (req.method === 'POST') { | |
var body = ''; |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Sanitize Sample</title> | |
</head> | |
<body> | |
<main> | |
<h1>Sanitize Sample</h1> | |
<ul> |
filters: { | |
formatDate: function (v) { | |
return v.replace(/T|Z/g, ' ').replace(/\.[0-9][0-9][0-9]/, "") | |
} | |
} |