PlantUMLのシーケンス図(他)の公開手順
- 新規Gist
- ベースのMarkdown記事を作る、PlantUMLなソースも作る
- Gistをclone
- cloneしたリポジトリに、PlantUMLから生成した画像をadd
- commit&push
- 画像のURLを確認
- Markdownにリンク追加 ""
- 必要なら、更新の都度、pull->edit->plantuml generate->add->commit->pushで更新
| # Github | |
| Host github.com | |
| # Alt/Use for Over HTTPS at 443 | |
| # Hostname ssh.github.com | |
| # Port 443 | |
| Hostname github.com | |
| # gist(use ssh) | |
| Host gist.github.com | |
| # Over HTTPS |
| --- | |
| BasedOnStyle: 'Google' | |
| AccessModifierOffset: -2 | |
| AlignEscapedNewlinesLeft: true | |
| AlignConsecutiveAssignments: false | |
| AlignEscapedNewlinesLeft: true | |
| AlignTrailingComments: true, | |
| AllowShortBlocksOnASingleLine: true | |
| AllowShortCaseLabelsOnASingleLine: false | |
| AllowShortFunctionsOnASingleLine: 'Inline' |
| /* based on https://qiita.com/griffin_stewie/items/95026360fdfca1bd8e33 */ | |
| /* https://gist.github.com/griffin-stewie/9755783 */ | |
| /* http://griffin-stewie.hatenablog.com/entry/2014/03/28/125029 */ | |
| /* https://gist.github.com/andyferra/2554919 */ | |
| body { | |
| font-family: Helvetica, arial, sans-serif; | |
| font-size: 14px; | |
| line-height: 1.6; | |
| padding-top: 10px; |
| /* package whatever; // don't place package name! */ | |
| import java.util.*; | |
| import java.lang.*; | |
| import java.io.*; | |
| import java.util.function.*; | |
| interface Searchable { | |
| public static <T extends Enum,N extends Comparable> Optional<T> getByCode(Supplier<T[]> v,Function<T,N> s,N code) | |
| { |
| // ==UserScript== | |
| // @name Mastodon 鱒丼君 masudon-kun | |
| // @namespace http://userstyles.org | |
| // @description 鱒丼でオフパオしようぜ! | |
| // @author 生駒菜々(やっきゅん) | |
| // @homepage https://userstyles.org/styles/141271 | |
| // @include http://mastodon.network/* | |
| // @include https://mastodon.network/* | |
| // @include http://*.mastodon.network/* | |
| // @include https://*.mastodon.network/* |
| -- comment | |
| -- prompt | |
| -- 関数定義がうまくいかないので、クロージャ内のローカル関数にする | |
| nyagos.prompt = function(this) | |
| ------------------------------------------------ | |
| -- strをpatで分割しテーブルを返す | |
| -- code from 'http://lua-users.org/wiki/SplitJoin' | |
| local function split(str, pat) | |
| local t = {} -- NOTE: use {n = 0} in Lua-5.0 |
| コントロール パネル\ネットワークとインターネット\ネットワークと共有センター\共有の詳細設定 |
| #!/bin/bash | |
| # Event check | |
| event="$1" | |
| if [ -z "${event}" ];then | |
| # fail | |
| exit 1 | |
| fi | |
| # Key |