From PlantUML Q&A. This fixes the issue where defining different border colors with stereotypes has no effect:
skinparam frame {
borderColor Yellow
borderColor<<good>> Green
borderColor<<bad>> Red
}
| default.target.wants/ | |
| nexus |
| dconf write /org/gnome/desktop/input-sources/xkb-options "['caps:swapescape']" |
| #!/bin/bash | |
| sudo ln -s /usr/bin/true /etc/sysconfig/bash-prompt-screen |
| #!/bin/bash | |
| OPENDJ_HOME=~/.local/opt/opendj | |
| if [ -z "$1" ] ; then | |
| echo "Usage: $0 <command>" | |
| echo | |
| echo "Where <command> is one of:" | |
| echo | |
| ls -1 $OPENDJ_HOME/bin |
| gsettings set org.gnome.shell.app-switcher current-workspace-only true |
| #!/bin/sh | |
| # Credits to: | |
| # - http://vstone.eu/reducing-vagrant-box-size/ | |
| # - https://github.com/mitchellh/vagrant/issues/343 | |
| aptitude -y purge ri | |
| aptitude -y purge installation-report landscape-common wireless-tools wpasupplicant ubuntu-serverguide | |
| aptitude -y purge python-dbus libnl1 python-smartpm python-twisted-core libiw30 | |
| aptitude -y purge python-twisted-bin libdbus-glib-1-2 python-pexpect python-pycurl python-serial python-gobject python-pam python-openssl libffi5 |
| FROM centos:7 | |
| RUN yum install -y openssh-server openssh-clients sudo | |
| RUN yum clean all | |
| RUN sed -ri 's/#PermitRootLogin yes/PermitRootLogin yes/g' /etc/ssh/sshd_config | |
| RUN sed -i "s/Defaults requiretty.*/#Defaults requiretty/g" /etc/sudoers | |
| RUN ssh-keygen -t rsa -f /etc/ssh/ssh_host_rsa_key -N '' | |
| RUN ssh-keygen -t ecdsa -f /etc/ssh/ssh_host_ecdsa_key -N '' | |
| RUN useradd vagrant |
| import java.lang.reflect.Field; | |
| import java.io.Console; | |
| public class Secret { | |
| public static void main(String[] args) throws Exception { | |
| Console console = System.console(); | |
| String secret = console.readLine("secret: "); | |
| System.out.println("Capture secret in heap"); |
| import com.google.common.collect.ComparisonChain; | |
| import com.google.common.collect.Ordering; | |
| import java.util.ArrayList; | |
| import java.util.Collection; | |
| import java.util.HashMap; | |
| import java.util.List; | |
| import java.util.TreeSet; | |
| import net.sourceforge.plantuml.SkinParam; | |
| /** |
From PlantUML Q&A. This fixes the issue where defining different border colors with stereotypes has no effect:
skinparam frame {
borderColor Yellow
borderColor<<good>> Green
borderColor<<bad>> Red
}