User:Pckizer
From reSIProcate
Sysadmin for Tekelec (was Estacado) that manages the reSIProcate infrastructure.
Contents |
[edit] Below is my personal testing ground for wiki code
[edit] Test syntax highlighting
HTML:
<table align=center style="background: ivory;color:maroon;font-style:italic;font-family:arial;font-weight:bold;font-size:10pt;"><tr><th> Heading 1 </th><th> Heading 2 </th></tr>
<tr><td style="padding:10px;"> This is cell 1 text </td>
<td style="padding:10px;"> This is cell 2 text </td>
</tr></table>
DOT:
digraph depends { gen -> snmp; snmp -> gen; tnl -> gen; tnl -> snmp; gsm -> gen; diameter -> gen; diameter -> snmp; mxp -> gen; mxp -> snmp; mxp -> tnl; sctp -> gen; IIW -> diameter; IIW -> snmp; IIW -> gen; IIW -> gsm; IIW -> mxp; IIW -> tnl; IIW -> sctp;
Perl:
# Split the addr-tuple into IP address and port (@split_data) = split(/:/, $address); if (@split_data == 2) { # IPv4 address and port ($address,$port) = @split_data; } elsif (@split_data > 2) { # IPv6 address and port $port = pop(@split_data); $address = join(":",@split_data); # This converts any proper [ip:v6::add:ress:es] to remove the brackets $address =~ s/[\[\]]//g; } else { print STDERR "Error, not in the form of address:port: $key\n"; }
[edit] Test of an in-wiki dot/graphviz markup
[edit] Simple Graph
[edit] Digraph
[edit] Digraph with clusters
[edit] Colours!
[edit] Message sequence graph
[edit] Show more message-sequence commands