Displays information about a Tibia guild.
175296
def cli_guild(name, tibiadata, json):
    """"""
    name = " ".join(name)
    guild = _fetch_and_parse(Guild.get_url, Guild.from_content,
                             Guild.get_url_tibiadata, Guild.from_tibiadata,
                             tibiadata, name)
    if json and guild:
        print(guild.to_json(indent=2))
        return
    print(get_guild_string(guild))
329371
public function showTeamView()
    {
        $team = User::all();

        return View::make('dashboard.team.index')
            ->withPageTitle(trans('dashboard.team.team').' - '.trans('dashboard.dashboard'))
            ->withTeamMembers($team);
    }
779905
def show_info(self):
        
        bytecode._PrintSubBanner("Method Information")
        bytecode._PrintDefault("%s->%s%s [access_flags=%s]\n" % (
            self.get_class_name(), self.get_name(), self.get_descriptor(),
            self.get_access_flags_string()))
928476
def show(self):
        """"""
        for rule in self.rules_list:
            result = ", ".join([str(check) for check, deny in rule])
            print(result)
936345
public function display()
    {
        extract($this->args);

        $this->display_tablenav('top');

?>
<table class="wp-list-table <?php echo implode(' ', $this->get_table_classes()) ?>" cellspacing="0">
    <thead>
    <tr>
        <?php $this->print_column_headers(); ?>
    </tr>
    </thead>

    <tfoot>
    <tr>
        <?php $this->print_column_headers( false ); ?>
    </tr>
    </tfoot>

    <tbody id="the-list"<?php if ( $singular ) echo " data-wp-lists='list:$singular'"; ?>>
        <?php $this->display_rows_or_placeholder(); ?>
    </tbody>
</table>
<?php
        $this->display_tablenav('bottom');
    }
48209
def show(thing, domain=(0, 1), **kwargs):
  
  if isinstance(thing, np.ndarray):
    rank = len(thing.shape)
    if rank == 4:
      log.debug("Show is assuming rank 4 tensor to be a list of images.")
      images(thing, domain=domain, **kwargs)
    elif rank in (2, 3):
      log.debug("Show is assuming rank 2 or 3 tensor to be an image.")
      image(thing, domain=domain, **kwargs)
    else:
      log.warning("Show only supports numpy arrays of rank 2-4. Using repr().")
      print(repr(thing))
  elif isinstance(thing, (list, tuple)):
    log.debug("Show is assuming list or tuple to be a collection of images.")
    images(thing, domain=domain, **kwargs)
  else:
    log.warning("Show only supports numpy arrays so far. Using repr().")
    print(repr(thing))
604523
def display(self):
        """"""
        if self.title and self.organization:
            disp = self.title + u' at ' + self.organization
        else:
            disp = self.title or self.organization or None
        if disp and self.industry:
            if self.date_range is not None:
                disp += u' (%s, %d-%d)' % ((self.industry,) + \
                                           self.date_range.years_range)
            else:
                disp += u' (%s)' % self.industry
        else:
            disp = ((disp or u'') + u' ' + (self.industry or u'')).strip()
            if disp and self.date_range is not None:
                disp += u' (%d-%d)' % self.date_range.years_range
        return disp
391347
def member_info(self, cluster_id, member_id):
        """"""
        cluster = self._storage[cluster_id]
        return cluster.member_info(member_id)
34419
def display(self):
        """"""

        table_list = []
        table_list.append(("Text","Orig. Text","Start time","End time", "Phonetic"))
        for unit in self.unit_list:
            table_list.append((unit.text,
                               "/".join(unit.original_text),
                               unit.start_time,
                               unit.end_time,
                               unit.phonetic_representation))
        print_table(table_list)
1185895
def members(self):
        """"""
        ret = []
        for user_id, state in self.guild._voice_states.items():
            if state.channel.id == self.id:
                member = self.guild.get_member(user_id)
                if member is not None:
                    ret.append(member)
        return ret
155292
function _gd_info()
    {
        $array = array(
            "GD Version" => "",
            "FreeType Support" => false,
            "FreeType Linkage" => "",
            "T1Lib Support" => false,
            "GIF Read Support" => false,
            "GIF Create Support" => false,
            "JPG Support" => false,
            "PNG Support" => false,
            "WBMP Support" => false,
            "XBM Support" => false
        );

        $gif_support = 0;
        ob_start();
        eval("phpinfo();");
        $info = ob_get_contents();
        ob_end_clean();

        foreach (explode("\n", $info) as $line)
        {
            if (strpos($line, "GD Version") !== false)
            {
                $array["GD Version"] = trim(str_replace("GD Version", "", strip_tags($line)));
            }
            if (strpos($line, "FreeType Support") !== false)
            {
                $array["FreeType Support"] = trim(str_replace("FreeType Support", "", strip_tags($line)));
            }
            if (strpos($line, "FreeType Linkage") !== false)
            {
                $array["FreeType Linkage"] = trim(str_replace("FreeType Linkage", "", strip_tags($line)));
            }
            if (strpos($line, "T1Lib Support") !== false)
            {
                $array["T1Lib Support"] = trim(str_replace("T1Lib Support", "", strip_tags($line)));
            }
            if (strpos($line, "GIF Read Support") !== false)
            {
                $array["GIF Read Support"] = trim(str_replace("GIF Read Support", "", strip_tags($line)));
            }
            if (strpos($line, "GIF Create Support") !== false)
            {
                $array["GIF Create Support"] = trim(str_replace("GIF Create Support", "", strip_tags($line)));
            }
            if (strpos($line, "GIF Support") !== false)
            {
                $gif_support = trim(str_replace("GIF Support", "", strip_tags($line)));
            }
            if (strpos($line, "JPG Support") !== false)
            {
                $array["JPG Support"] = trim(str_replace("JPG Support", "", strip_tags($line)));
            }
            if (strpos($line, "PNG Support") !== false)
            {
                $array["PNG Support"] = trim(str_replace("PNG Support", "", strip_tags($line)));
            }
            if (strpos($line, "WBMP Support") !== false)
            {
                $array["WBMP Support"] = trim(str_replace("WBMP Support", "", strip_tags($line)));
            }
            if (strpos($line, "XBM Support") !== false)
            {
                $array["XBM Support"] = trim(str_replace("XBM Support", "", strip_tags($line)));
            }
        }

        if ($gif_support === "enabled")
        {
            $array["GIF Read Support"] = true;
            $array["GIF Create Support"] = true;
        }

        if ($array["FreeType Support"] === "enabled")
        {
            $array["FreeType Support"] = true;
        }

        if ($array["T1Lib Support"] === "enabled")
        {
            $array["T1Lib Support"] = true;
        }

        if ($array["GIF Read Support"] === "enabled")
        {
            $array["GIF Read Support"] = true;
        }

        if ($array["GIF Create Support"] === "enabled")
        {
            $array["GIF Create Support"] = true;
        }

        if ($array["JPG Support"] === "enabled")
        {
            $array["JPG Support"] = true;
        }

        if ($array["PNG Support"] === "enabled")
        {
            $array["PNG Support"] = true;
        }

        if ($array["WBMP Support"] === "enabled")
        {
            $array["WBMP Support"] = true;
        }

        if ($array["XBM Support"] === "enabled")
        {
            $array["XBM Support"] = true;
        }

        return $array;
    }
120829
def _parse_guild_guildhall(self, info_container):
        
        m = guildhall_regex.search(info_container.text)
        if m:
            paid_until = parse_tibia_date(m.group("date").replace("\xa0", " "))
            self.guildhall = GuildHouse(m.group("name"), self.world, paid_until_date=paid_until)
751084
def cli_char(name, tibiadata, json):
    """"""
    name = " ".join(name)
    char = _fetch_and_parse(Character.get_url, Character.from_content,
                            Character.get_url_tibiadata, Character.from_tibiadata,
                            tibiadata, name)
    if json and char:
        print(char.to_json(indent=2))
        return
    print(get_character_string(char))
502952
def _get_info(self, layout):
        """"""
        info = str(self.tk.call(layout, 'info', self._w)).split("-")
        dic = {}
        for i in info:
            if i:
                key, val = i.strip().split()
                dic[key] = val
        return dic
358575
def display(self):
        '''
        
        '''
        voc_list = []
        doc_ids = self.term_count_n.keys()
        doc_ids.sort()
        for doc_id in doc_ids:
            ngrams = len(self.term_count_n[doc_id]['ngrams'])
            print 'n-Grams (doc %s): %d' % (str(doc_id), ngrams)
            ngrams1 = len(self.term_count_n_1[doc_id]['ngrams'])
            print '(n-1)-Grams (doc %s): %d' % (str(doc_id), ngrams1)
            voc_list.append(ngrams)
        print 'Classed Vocabularies:', voc_list
        print ''
        corpus_ngrams = len(self.corpus_count_n['ngrams']) 
        print 'n-Grams (collection): %d' % (corpus_ngrams)
        corpus_ngrams1 = len(self.corpus_count_n_1['ngrams']) 
        print '(n-1)-Grams (collection): %d' % (corpus_ngrams1)
        self.unseen_counts.display()
1222183
def report(mount):
    '''
    
    '''
    ret = {mount: {}}
    ret[mount]['User Quotas'] = _parse_quota(mount, '-u')
    ret[mount]['Group Quotas'] = _parse_quota(mount, '-g')
    return ret
392351
def display_movements_stats(ct, base_assignment):
    
    movement_count, movement_size, leader_changes = \
        stats.get_partition_movement_stats(ct, base_assignment)
    print(
        'Total partition movements: {movement_count}\n'
        'Total partition movement size: {movement_size}\n'
        'Total leader changes: {leader_changes}'
        .format(
            movement_count=movement_count,
            movement_size=movement_size,
            leader_changes=leader_changes,
        )
    )