Prints SeLion Config Values
173586
public static void printSeLionConfigValues() {
        SeLionLogger.getLogger().entering();
        StringBuilder builder = new StringBuilder("SeLion configuration: {");
        boolean isFirst = true;
        for (ConfigProperty configProperty : ConfigProperty.values()) {
            if (!isFirst) {
                builder.append(", ");
            }
            builder.append(String.format("(%s: %s)", configProperty,
                    Config.getConfig().getString(configProperty.getName())));
            isFirst = false;
        }
        builder.append("}\n");
        SeLionLogger.getLogger().info(builder.toString());
        SeLionLogger.getLogger().exiting();
    }
375031
def _print_enum_opt(self, option, choices):
        
        for key in choices:
            if key == self.conf[option]:
                print("* %s" % key)
            else:
                print("  %s" % key)
909707
def choices(self):
        
        print("| {0}K{1}{2}eep the old and .new files, no changes".format(
            self.red, self.endc, self.br))
        print("| {0}O{1}{2}verwrite all old configuration files with new "
              "ones".format(self.red, self.endc, self.br))
        print("|  The old files will be saved with suffix .old")
        print("| {0}R{1}{2}emove all .new files".format(
            self.red, self.endc, self.br))
        print("| {0}P{1}{2}rompt K, O, R, D, M option for each single "
              "file".format(self.red, self.endc, self.br))
        print("| {0}Q{1}{2}uit from menu".format(self.red, self.endc, self.br))
        self.msg.template(78)
        try:
            choose = raw_input("\nWhat would you like to do [K/O/R/P/Q]? ")
        except EOFError:
            print("")
            raise SystemExit()
        print("")
        if choose in ("K", "k"):
            self.keep()
        elif choose in ("O", "o"):
            self.overwrite_all()
        elif choose in ("R", "r"):
            self.remove_all()
        elif choose in ("P", "p"):
            self.prompt()
1045727
def config(host, seq, option, value):
    """"""
    at(host, 'CONFIG', seq, [str(option), str(value)])
52378
def print_menuconfig_nodes(node, indent):
    
    while node:
        string = node_str(node)
        if string:
            indent_print(string, indent)

        if node.list:
            print_menuconfig_nodes(node.list, indent + 8)

        node = node.next
1340926
def print_config(_run):
    
    final_config = _run.config
    config_mods = _run.config_modifications
    print(_format_config(final_config, config_mods))
273951
def _print_stream_parameters(self, values):
        """"""
        cprint("{0}".format(*values), "magenta", attrs=["bold"])
        print("{4}".format(*values))
        cprint("  available formats:   {1}".format(*values), "blue")
        cprint("  mandatory selectors: {2}".format(*values), "red")
        cprint("  optional selectors:  {3}".format(*values), "green")
        print()
391151
def config_list(backend):
    
    click.secho('Print Configuration', fg='green')
    print str(backend.dki.get_config())
1221186
def print_setting(self) -> str:
        
        ret = "\n"
        ret += "==================== Setting of {} ============================\n".format(self.configuration['name'])
        ret += "{}".format(self.setting)
        ret += "===============================================================\n"
        ret += "{}".format(self._var_form.setting)
        ret += "===============================================================\n"
        return ret
916685
def _print mode, text, opts, caler, bind, cfg
      log_ = opts&NOLOG==0
      print_ = opts&NOPRINT==0
      str = cfg.fmt.dup
      str.gsub! "%mode", @highlight[mode]
      if bind
        text = bind.report text
      elsif !text.is String
        text = text.inspect
      elsif cfg.detect_comments and text =~ /\A[ \t]*#[ \t]+\S/
        text = "\n" + @c.green(text.gsub(/^([ \t]*#[ \t])?/, cfg.precede_comments).chop)
      end
      out = cfg.out
      if cfg._time or cfg.path_format
        now = Time.now
        if cfg._time
          time = now.strftime cfg.tf[0]
          time << ".#{cfg.tf[1]%[now.usec/1000]}" if cfg.tf[1]
          str.gsub! "%time", time
        end
        out = now.strftime cfg.out if cfg.path_format
      end
      if caler
        caler.sub!(/block (?:\((\d+) levels\) )?in/) {"{#{$1||1}}"}
        str.gsub! "%caller", caler.sub(String::SIMPLE_CALLER_RE, cfg.cf)
      end
      str.gsub! "%text", text
      str << "\n" if opts&INLINE==0
      log_str = cfg.color_out ? str : @c.clean(str)
      RMTools.write out, log_str if log_
      Kernel::print str if print_
    end
1218219
def print_prompt_values(values, message=None, sub_attr=None):
    """"""
    if message:
        prompt_message(message)

    for index, entry in enumerate(values):
        if sub_attr:
            line = '{:2d}: {}'.format(index, getattr(utf8(entry), sub_attr))
        else:
            line = '{:2d}: {}'.format(index, utf8(entry))

        with indent(3):
            print_message(line)
472026
def write_conf(self):
        
        f = open(self.output_filename, 'w')
        print(self.t.render(prefixes=self.prefixes), file=f)
        f.close()
650139
def run_show_config(args):
    """"""
    # TODO Proposal: remove the "hidden" configuration. Only show config. If
    # the system needs to be configured, then display information on how to
    # configure the system.
    config = copy.deepcopy(bigchaindb.config)
    del config['CONFIGURED']
    print(json.dumps(config, indent=4, sort_keys=True))
804186
static void firstTimeSetup() {
        LOGGER.entering();

        String msg = "Setting up SeLion Grid for first time use...\n";
        if (new File(SeLionConstants.SELION_HOME_DIR).exists()) {
            msg = "Verifying SeLion Grid installation...\n";
        }
        System.out.println(msg);

        try {
            FileUtils.forceMkdir(new File(DOWNLOADS_DIR));
            FileUtils.forceMkdir(new File(LOGS_DIR));
            copyFileFromResources(DOWNLOAD_JSON_FILE_RESOURCE, DOWNLOAD_JSON_FILE);
            copyFileFromResources(SELION_CONFIG_FILE_RESOURCE, SELION_CONFIG_FILE);
        } catch (IOException e) {
            throw new IllegalStateException("Unable to install required components. Please make sure you have write "
                    + "access to " + SeLionConstants.SELION_HOME_DIR + " or specify a different home directory with -DselionHome.", e);
        }

        LOGGER.exiting();
    }
859528
private static void printSystemProperties() {
    System.out.println("System properties: ");
    java.util.Properties p = System.getProperties();
    java.util.Enumeration keys = p.keys();
    while(keys.hasMoreElements()) {
      String thiskey = (String)keys.nextElement();
      String value = p.getProperty(thiskey);
      System.out.println(thiskey + " = " + value);
    }
  }
1256227
def do_list():
    
    dirs =  os.walk(CONFIG_ROOT).next()[1]
    if dirs:
        print "List of available configurations:\n"
        for d in dirs:
            print "  * {}".format(d)
    else:
        print "No configurations available."
680261
def zbar_config=(config_value)
      case config_value
      when String
        symbology = FFI::MemoryPointer.new :int
        config_t = FFI::MemoryPointer.new :int
        value = FFI::MemoryPointer.new :int
      
        if ZBar.zbar_parse_config(config_value, symbology, config_t, value) == 0
          # parsed successfully
          if ZBar.zbar_processor_set_config(@processor, symbology.read_int, config_t.read_int, value.read_int) == 0
            true
          else
            raise ArgumentError, "config string #{config_value.inspect} parsed but could not be set"
          end
        else
          raise ArgumentError, "config string #{config_value.inspect} was not recognized"
        end
        
      when Enumerable
        config_value.each { |value|
          self.zbar_config = value
        }
        
      else
        raise ArgumentError, "unsupported config value"
      end
    end