Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am zankard on github.
  • I am zankard (https://keybase.io/zankard) on keybase.
  • I have a public key ASDffpWT_rtsvnKCMj4uiQp-u30fH_Sw4Rv9o7-S6PvU3Ao

To claim this, I am signing this object:

@startdot
digraph g {
graph [bgcolor="transparent"];
rankdir=TB;
ranksep=0.1;
"application" [ shape=circle style = "filled" penwidth = 1 fillcolor = "white" label="app" ];
"cache" [ style="filled,rounded" shape=mrecord color="#9c27b0" fillcolor="#9c27b0" xlabel="Cache" label=<<table border="0" cellborder="1" cellpadding="10" bgcolor="white"><tr><td bgcolor="red" PORT="entry"></td><td></td><td></td><td></td></tr><tr><td></td><td></td><td></td><td></td></tr><tr><td></td><td></td><td></td><td></td></tr><tr><td></td><td></td><td></td><td></td></tr></table>> ];
"data_store" [ style="filled" shape=folder color="#64b5f6" fillcolor="#64b5f6" xlabel="Data Store" label=<<table border="0" cellborder="1" cellpadding="10" bgcolor="white"><tr><td bgcolor="red" PORT="entry"></td><td></td><td></td><td></td><td></td></tr><tr><td></td><td></td><td></td><td></td><td></td></tr><tr><td></td><td></td><td></td><td></td><td></td></tr><tr><td></td><td></td><td></td><td></td><td></td></tr><tr><td></td><td></td><td></td><td
@startdot
digraph g {
graph [bgcolor="transparent"];
rankdir=TB;
ranksep=0.1;
"application" [ shape=circle style = "filled" penwidth = 1 fillcolor = "white" label="app" ];
"cache" [ style="filled,rounded" shape=mrecord color="#9c27b0" fillcolor="#9c27b0" xlabel="Cache" label=<<table border="0" cellborder="1" cellpadding="10" bgcolor="white"><tr><td bgcolor="red" PORT="entry"></td><td></td><td></td><td></td></tr><tr><td></td><td></td><td></td><td></td></tr><tr><td></td><td></td><td></td><td></td></tr><tr><td></td><td></td><td></td><td></td></tr></table>> ];
"data_store" [ style="filled" shape=folder color="#64b5f6" fillcolor="#64b5f6" xlabel="Data Store" label=<<table border="0" cellborder="1" cellpadding="10" bgcolor="white"><tr><td bgcolor="red" PORT="entry"></td><td></td><td></td><td></td><td></td></tr><tr><td></td><td></td><td></td><td></td><td></td></tr><tr><td></td><td></td><td></td><td></td><td></td></tr><tr><td></td><td></td><td></td><td></td><td></td></tr><tr><td></td><td></td><td></td><td
@startdot
digraph foo {
program [shape=box, label="Your Program"]
io_object [shape=box, label="IO Object"]
io_service [shape=box, label="IO Service"]
system [shape=ellipse, label="Operating System"]
program -> io_object [label="1"]
io_object -> program [label="6"]
@zankard
zankard / request-response.dot
Last active October 5, 2016 14:41
servlet&jsp puml
@startdot
digraph foo {
container [shape=box]
servlet [fillcolor=grey, style="filled", shape=hexagon]
clientA [shape=box, color=gray58, style="filled"]
clientB [shape=box, color=gray58, style="filled"]
threadA [shape=ellipse, color=gray90, style="filled"]
threadB [shape=ellipse, color=gray90, style="filled"]
response1 [shape=point]
request1 [shape=point]
@zankard
zankard / install.sh
Created November 4, 2015 04:13
rabbitmq deploy in debian/ubuntu
echo "deb http://www.rabbitmq.com/debian/ testing main" >> /etc/apt/sources.list
wget https://www.rabbitmq.com/rabbitmq-signing-key-public.asc
sudo apt-key add rabbitmq-signing-key-public.asc
apt-get update
apt-get install -y rabbitmq-server
@zankard
zankard / .vimrc
Created October 1, 2015 06:19
.vimrc
set nocompatible " be iMproved, required
filetype off " required
" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
" alternatively, pass a path where Vundle should install plugins
"call vundle#begin('~/some/path/here')
" let Vundle manage Vundle, required