text:
body,
html {
  width: 100%;
  height: 100%; }

body {
  font-family: 'Merriweather', 'Helvetica Neue', Arial, sans-serif; }

hr {
  max-width: 50px;
  border-width: 3px;
  border-color: #533d67; }

hr.light {
  border-color: white; }

a {
  color: #FFF;
  -webkit-transition: all 0.2s;
  -moz-transition: all 0.2s;
  transition: all 0.2s; }
  a:focus, a:hover {
    color: #efc954; }

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Open Sans', 'Helvetica Neue', Arial, sans-serif; }

p {
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 20px; }

li {
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 10px;
}

.bg-primary {
  background-color: #533d67 !important; }

.bg-dark {
  color: white;
  background-color: #efc954 !important; }

.bg-light {
  color: white;
  background-color: #f9bac5 !important; }

.text-faded {
  color: rgba(255, 255, 255, 0.8);
  text-align: justify;
}

section {
  padding: 100px 0; }

.section-heading {
  margin-top: 0; }

::-moz-selection {
  color: white;
  background: #653f32;
  text-shadow: none; }

::selection {
  color: white;
  background: #653f32;
  text-shadow: none; }

img::selection {
  color: white;
  background: transparent; }

img::-moz-selection {
  color: white;
  background: transparent; }

body {
  -webkit-tap-highlight-color: #653f32; }

#mainNav {
  border-color: rgba(34, 34, 34, 0.05);
  background-color: white;
  font-family: 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
  -webkit-transition: all 0.2s;
  -moz-transition: all 0.2s;
  transition: all 0.2s; }
  #mainNav .navbar-brand {
    font-weight: 700;
    text-transform: uppercase;
    color: #533d67;
    font-family: 'Open Sans', 'Helvetica Neue', Arial, sans-serif; }
    #mainNav .navbar-brand:focus, #mainNav .navbar-brand:hover {
      color: #533d67; }
  #mainNav .navbar-toggle {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: #653f32; }
  #mainNav .navbar-nav > li.nav-item > a.nav-link:focus,
  #mainNav .navbar-nav > li.nav-item > a.nav-link {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    color: #653f32; }
    #mainNav .navbar-nav > li.nav-item > a.nav-link:focus:hover,
    #mainNav .navbar-nav > li.nav-item > a.nav-link:hover {
      color: #533d67; }
    #mainNav .navbar-nav > li.nav-item > a.nav-link:focus.active,
    #mainNav .navbar-nav > li.nav-item > a.nav-link.active {
      color: #533d67 !important;
      background-color: transparent; }
      #mainNav .navbar-nav > li.nav-item > a.nav-link:focus.active:hover,
      #mainNav .navbar-nav > li.nav-item > a.nav-link.active:hover {
        background-color: transparent; }
  @media (min-width: 992px) {
    #mainNav {
      border-color: rgba(255, 255, 255, 0.3);
      background-color: transparent; }
      #mainNav .navbar-brand {
        color: rgba(255, 255, 255, 0.7); }
        #mainNav .navbar-brand:focus, #mainNav .navbar-brand:hover {
          color: white; }
      #mainNav .navbar-nav > li.nav-item > a.nav-link,
      #mainNav .navbar-nav > li.nav-item > a.nav-link:focus {
        color: rgba(255, 255, 255, 0.7); }
        #mainNav .navbar-nav > li.nav-item > a.nav-link:hover,
        #mainNav .navbar-nav > li.nav-item > a.nav-link:focus:hover {
          color: white; }
      #mainNav.navbar-shrink {
        border-color: rgba(34, 34, 34, 0.05);
        background-color: white; }
        #mainNav.navbar-shrink .navbar-brand {
          font-size: 16px;
          color: #533d67; }
          #mainNav.navbar-shrink .navbar-brand:focus, #mainNav.navbar-shrink .navbar-brand:hover {
            color: #533d67; }
        #mainNav.navbar-shrink .navbar-nav > li.nav-item > a.nav-link,
        #mainNav.navbar-shrink .navbar-nav > li.nav-item > a.nav-link:focus {
          color: #653f32; }
          #mainNav.navbar-shrink .navbar-nav > li.nav-item > a.nav-link:hover,
          #mainNav.navbar-shrink .navbar-nav > li.nav-item > a.nav-link:focus:hover {
            color: #533d67; } }

header.masthead {
  position: relative;
  width: 100%;
  min-height: auto;
  text-align: center;
  color: white;
  background-image: url("../img/header.jpg");
  background-position: center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover; }
  header.masthead .header-content {
    position: relative;
    width: 100%;
    padding: 150px 15px 100px;
    text-align: center; }
    header.masthead .header-content .header-content-inner h1 {
      font-size: 30px;
      font-weight: 700;
      margin-top: 0;
      margin-bottom: 0;
      text-transform: uppercase; }
    header.masthead .header-content .header-content-inner hr {
      margin: 30px auto; }
    header.masthead .header-content .header-content-inner p {
      font-size: 16px;
      font-weight: 400;
      margin-bottom: 50px;
      color: rgba(255, 255, 255, 1); }
  @media (min-width: 768px) {
    header.masthead {
      height: 100%;
      min-height: 600px; }
      header.masthead .header-content {
        position: absolute;
        top: 50%;
        padding: 0 50px;
        -webkit-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
        transform: translateY(-50%); }
        header.masthead .header-content .header-content-inner {
          max-width: 1000px;
          margin-right: auto;
          margin-left: auto; }
          header.masthead .header-content .header-content-inner h1 {
            font-size: 50px; }
          header.masthead .header-content .header-content-inner p {
            font-size: 18px;
            max-width: 80%;
            margin-right: auto;
            margin-left: auto; } }

.service-box {
  max-width: 400px;
  margin: 50px auto 0; }
  @media (min-width: 992px) {
    .service-box {
      margin: 20px auto 0; } }
  .service-box p {
    margin-bottom: 0; }

.portfolio-box {
  position: relative;
  display: block;
  max-width: 650px;
  margin: 0 auto; }
  .portfolio-box .portfolio-box-caption {
    position: absolute;
    bottom: 0;
    display: block;
    width: 100%;
    height: 100%;
    text-align: center;
    opacity: 0;
    color: white;
    background: rgba(239,201,84, 0.95);
    -webkit-transition: all 0.2s;
    -moz-transition: all 0.2s;
    transition: all 0.2s; }
    .portfolio-box .portfolio-box-caption .portfolio-box-caption-content {
      position: absolute;
      top: 50%;
      width: 100%;
      transform: translateY(-50%);
      text-align: center; }
      .portfolio-box .portfolio-box-caption .portfolio-box-caption-content .project-category,
      .portfolio-box .portfolio-box-caption .portfolio-box-caption-content .project-name {
        padding: 0 15px;
        font-family: 'Open Sans', 'Helvetica Neue', Arial, sans-serif; }
      .portfolio-box .portfolio-box-caption .portfolio-box-caption-content .project-category {
        font-size: 14px;
        font-weight: 600;
        text-transform: uppercase; }
      .portfolio-box .portfolio-box-caption .portfolio-box-caption-content .project-name {
        font-size: 18px; }
  .portfolio-box:hover .portfolio-box-caption {
    opacity: 1; }
  .portfolio-box:focus {
    outline: none; }
  @media (min-width: 768px) {
    .portfolio-box .portfolio-box-caption .portfolio-box-caption-content .project-category {
      font-size: 16px; }
    .portfolio-box .portfolio-box-caption .portfolio-box-caption-content .project-name {
      font-size: 22px; } }

.call-to-action {
  padding: 50px 0; }
  .call-to-action h2 {
    margin: 0 auto 20px; }

.text-primary {
  color: #533d67 !important; }

.no-gutter > [class*='col-'] {
  padding-right: 0;
  padding-left: 0; }

.btn-default {
  color: #653f32;
  border-color: white;
  background-color: white; }
  .btn-default.focus, .btn-default:focus {
    color:#653f32;
    border-color: #bfbfbf;
    background-color: #e6e6e6; }
  .btn-default:hover {
    color: #653f32;
    border-color: #e0e0e0;
    background-color: #e6e6e6; }
  .btn-default.active, .btn-default:active,
  .open > .btn-default.dropdown-toggle {
    color: #653f32;
    border-color: #e0e0e0;
    background-color: #e6e6e6; }
    .btn-default.active.focus, .btn-default.active:focus, .btn-default.active:hover, .btn-default:active.focus, .btn-default:active:focus, .btn-default:active:hover,
    .open > .btn-default.dropdown-toggle.focus,
    .open > .btn-default.dropdown-toggle:focus,
    .open > .btn-default.dropdown-toggle:hover {
      color: #653f32;
      border-color: #bfbfbf;
      background-color: #d4d4d4; }
  .btn-default.active, .btn-default:active,
  .open > .btn-default.dropdown-toggle {
    background-image: none; }
  .btn-default.disabled.focus, .btn-default.disabled:focus, .btn-default.disabled:hover, .btn-default[disabled].focus, .btn-default[disabled]:focus, .btn-default[disabled]:hover,
  fieldset[disabled] .btn-default.focus,
  fieldset[disabled] .btn-default:focus,
  fieldset[disabled] .btn-default:hover {
    border-color: white;
    background-color: white; }
  .btn-default .badge {
    color: white;
    background-color: #653f32; }

.btn-primary {
  color: white;
  border-color: #f9bac5;
  background-color: #f9bac5; }
  .btn-primary.focus, .btn-primary:focus {
    color: white;
    border-color: #533d67;
    background-color: #533d67; }
  .btn-primary:hover {
    color: white;
    border-color: #f6c49c;
    background-color: #f6c49c; }
  .btn-primary.active, .btn-primary:active,
  .open > .btn-primary.dropdown-toggle {
    color: white;
    border-color: #533d67;
    background-color: #533d67; }
    .btn-primary.active.focus, .btn-primary.active:focus, .btn-primary.active:hover, .btn-primary:active.focus, .btn-primary:active:focus, .btn-primary:active:hover,
    .open > .btn-primary.dropdown-toggle.focus,
    .open > .btn-primary.dropdown-toggle:focus,
    .open > .btn-primary.dropdown-toggle:hover {
      color: white;
      border-color: #533d67;
      background-color: #533d67; }
  .btn-primary.active, .btn-primary:active,
  .open > .btn-primary.dropdown-toggle {
    background-image: none; }
  .btn-primary.disabled.focus, .btn-primary.disabled:focus, .btn-primary.disabled:hover, .btn-primary[disabled].focus, .btn-primary[disabled]:focus, .btn-primary[disabled]:hover,
  fieldset[disabled] .btn-primary.focus,
  fieldset[disabled] .btn-primary:focus,
  fieldset[disabled] .btn-primary:hover {
    border-color: #533d67;
    background-color: #533d67; }
  .btn-primary .badge {
    color: #533d67;
    background-color: white; }

.btn {
  font-weight: 700;
  text-transform: uppercase;
  border: none;
  border-radius: 300px;
  font-family: 'Open Sans', 'Helvetica Neue', Arial, sans-serif; }

.btn-xl {
  padding: 15px 30px; }

.colomn-head {
  font-size: 25px;
  color: #fff;
}

.navbar-brand {
  background-origin: content-box;
  display: inline-block;
  opacity: 1;
  width: 120px;
}

.profile {
  width: 300px;
  border-color: #f9bac5;
  border-width: 10px;
  border-style: solid;
  border-radius: 5%;
}


text:
package org.apache.ignite.internal.processors.cache.extras;

import org.apache.ignite.internal.processors.cache.GridCacheMvcc;
import org.apache.ignite.internal.processors.cache.version.GridCacheVersion;
import org.apache.ignite.internal.util.typedef.internal.CU;
import org.apache.ignite.internal.util.typedef.internal.S;

/**
 * Extras where TTL and expire time are set.
 */
public class GridCacheTtlEntryExtras extends GridCacheEntryExtrasAdapter {
    /** TTL. */
    private long ttl;

    /** Expire time. */
    private long expireTime;

    /**
     * Constructor.
     *
     * @param ttl TTL.
     * @param expireTime Expire time.
     */
    public GridCacheTtlEntryExtras(long ttl, long expireTime) {
        assert expireTime != CU.EXPIRE_TIME_ETERNAL;

        this.ttl = ttl;
        this.expireTime = expireTime;
    }

    /** {@inheritDoc} */
    @Override public GridCacheEntryExtras mvcc(GridCacheMvcc mvcc) {
        return mvcc != null ? new GridCacheMvccTtlEntryExtras(mvcc, ttl, expireTime) : this;
    }

    /** {@inheritDoc} */
    @Override public GridCacheEntryExtras obsoleteVersion(GridCacheVersion obsoleteVer) {
        return obsoleteVer != null ? new GridCacheObsoleteTtlEntryExtras(obsoleteVer, ttl, expireTime) : this;
    }

    /** {@inheritDoc} */
    @Override public long ttl() {
        return ttl;
    }

    /** {@inheritDoc} */
    @Override public long expireTime() {
        return expireTime;
    }

    /** {@inheritDoc} */
    @Override public GridCacheEntryExtras ttlAndExpireTime(long ttl, long expireTime) {
        if (expireTime != CU.EXPIRE_TIME_ETERNAL) {
            this.ttl = ttl;
            this.expireTime = expireTime;

            return this;
        }
        else
            return null;
    }

    /** {@inheritDoc} */
    @Override public int size() {
        return 16;
    }

    /** {@inheritDoc} */
    @Override public String toString() {
        return S.toString(GridCacheTtlEntryExtras.class, this);
    }
}

redpajama_set_name: RedPajamaGithub


text:
<?php
/**
 * Created by PhpStorm.
 * User: Pushpita
 * Date: 8/5/14
 * Time: 10:17 PM
 */

namespace Admin\Model;

use Zend\Db\TableGateway\TableGateway;

class AdminTable
{
    protected $tableGateway;

    public function __construct(TableGateway $tableGateway)
    {
        $this->tableGateway = $tableGateway;
    }

    public function fetchAll()
    {
        $resultSet = $this->tableGateway->select();
        return $resultSet;
    }

    public function getAdmin($id)
    {
        $id  = (int) $id;
        $rowset = $this->tableGateway->select(array('id' => $id));
        $row = $rowset->current();
        if (!$row) {
            throw new \Exception("Could not find row $id");
        }
        return $row;
    }

    public function saveAlbum(Admin $admin)
    {
        $data = array(
            'artist' => $admin->artist,
            'title'  => $admin->title,
        );

        $id = (int) $admin->id;
        if ($id == 0) {
            $this->tableGateway->insert($data);
        } else {
            if ($this->getAdmin($id)) {
                $this->tableGateway->update($data, array('id' => $id));
            } else {
                throw new \Exception('Admin id does not exist');
            }
        }
    }

    public function deleteAdmin($id)
    {
        $this->tableGateway->delete(array('id' => (int) $id));
    }
}


text:
using namespace std;
namespace po = boost::program_options;

int stop = 0;

void shutdown(int sigid) {
  LOG(INFO) << "Exiting.";
  stop = 1;
}

po::variables_map parse_options(po::options_description desc, int argc, char **argv) {
  po::variables_map vm;
  po::store(po::parse_command_line(argc, argv, desc), vm);

  po::notify(vm);

  return vm;
}

int main(int argc, char **argv) {
  struct sigaction sa;

  FLAGS_logtostderr = 1;
  google::InitGoogleLogging(argv[0]);

  po::options_description desc("Options");
  desc.add_options()
    ("help", "produce help message")
    ("config", po::value<std::string>()->default_value(DEFAULT_CONFIG_FILE), "specify location of config file");

  po::variables_map vm = parse_options(desc, argc, argv);

  if (vm.count("help")) {
    std::cout << desc << std::endl;
    return 1;
  }

  std::string conf_path = vm["config"].as<std::string>();
  SSEConfig conf;
  conf.load(conf_path.c_str());

  sa.sa_handler = shutdown;
  sa.sa_flags   = 0;

  sigemptyset(&(sa.sa_mask));
  sigaction(SIGINT, &sa, NULL);

  SSEServer server(&conf);
  server.Run();

  return 0;
}


text:
/**
 * Blob.h
 *
 *      Author: swale
 */

#ifndef BLOB_H_
#define BLOB_H_

#include "LobBase.h"

namespace com
{
  namespace pivotal
  {
    namespace gemfirexd
    {
      namespace client
      {
        namespace types
        {

          class Blob : public LobBase
          {
          public:
            Blob();
            ~Blob();
          };

        } /* namespace types */
      } /* namespace client */
    } /* namespace gemfirexd */
  } /* namespace pivotal */
} /* namespace com */

#endif /* BLOB_H_ */


text:
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision: 297028 $ -->
<!-- splitted from ./en/functions/pgsql.xml, last change in rev 1.61 -->
<refentry xml:id='function.pg-escape-bytea' xmlns="http://docbook.org/ns/docbook">
 <refnamediv>
  <refname>pg_escape_bytea</refname>
  <refpurpose>
   Escape a string for insertion into a bytea field
  </refpurpose>
 </refnamediv>

 <refsect1 role="description">
  &reftitle.description;
  <methodsynopsis>
   <type>string</type><methodname>pg_escape_bytea</methodname>
   <methodparam choice="opt"><type>resource</type><parameter>connection</parameter></methodparam>
   <methodparam><type>string</type><parameter>data</parameter></methodparam>
  </methodsynopsis>
  <para>
   <function>pg_escape_bytea</function> escapes string for
   bytea datatype.  It returns escaped string.
  </para>
  <note>
   <para>
    When you <literal>SELECT</literal> a bytea type, PostgreSQL returns octal byte values
    prefixed with '\' (e.g. \032). Users are supposed to convert back to
    binary format manually.
   </para>
   <para>
    This function requires PostgreSQL 7.2 or later. With PostgreSQL
    7.2.0 and 7.2.1, bytea values must be cast when you enable
    multi-byte support. i.e. <literal>INSERT INTO test_table (image)
    VALUES ('$image_escaped'::bytea);</literal> PostgreSQL 7.2.2 or
    later does not need a cast. The exception is when the client and backend
    character encoding does not match, and there may be multi-byte
    stream error. User must then cast to bytea to avoid this error.
   </para>
  </note>
 </refsect1>

<refsect1 role="parameters">
  &reftitle.parameters;
  <para>
   <variablelist>
    <varlistentry>
     <term><parameter>connection</parameter></term>
     <listitem>
      <para>
       PostgreSQL database connection resource.  When
       <parameter>connection</parameter> is not present, the default connection
       is used. The default connection is the last connection made by
       <function>pg_connect</function> or <function>pg_pconnect</function>.
      </para>
     </listitem>
    </varlistentry>
    <varlistentry>
     <term><parameter>data</parameter></term>
     <listitem>
      <para>
       A <type>string</type> containing text or binary data to be inserted into a bytea
       column.
      </para>
     </listitem>
    </varlistentry>
   </variablelist>
  </para>
 </refsect1>

 <refsect1 role="returnvalues">
  &reftitle.returnvalues;
  <para>
   A <type>string</type> containing the escaped data.
  </para>
 </refsect1>

 <refsect1 role="changelog">
  &reftitle.changelog;
  <para>
   <informaltable>
    <tgroup cols="2">
     <thead>
      <row>
       <entry>&Version;</entry>
       <entry>&Description;</entry>
      </row>
     </thead>
     <tbody>
      <row>
       <entry>5.2.0</entry>
       <entry><parameter>connection</parameter> added</entry>
      </row>
     </tbody>
    </tgroup>
   </informaltable>
  </para>
 </refsect1>

 <refsect1 role="examples">
  &reftitle.examples;
  <para>
   <example>
    <title><function>pg_escape_bytea</function> example</title>
    <programlisting role="php">
<![CDATA[
<?php
  // Connect to the database
  $dbconn = pg_connect('dbname=foo');

  // Read in a binary file
  $data = file_get_contents('image1.jpg');

  // Escape the binary data
  $escaped = pg_escape_bytea($data);

  // Insert it into the database
  pg_query("INSERT INTO gallery (name, data) VALUES ('Pine trees', '{$escaped}')");
?>
]]>
    </programlisting>
   </example>
  </para>
 </refsect1>

 <refsect1 role="seealso">
  &reftitle.seealso;
  <para>
   <simplelist>
    <member><function>pg_unescape_bytea</function></member>
    <member><function>pg_escape_string</function></member>
   </simplelist>
  </para>
 </refsect1>
</refentry>

<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->


text:
using JetBrains.Annotations;

namespace NCaseFramework.Back.Api.CombinationSet
{
    public class PairwiseProdId : ProdId
    {
        public PairwiseProdId()
        {
        }

        public PairwiseProdId([NotNull] string name)
            : base(name)
        {
        }

        public override string TypeName
        {
            get { return "Pairwise Product"; }
        }
    }
}


text:
@echo off &MODE CON: COLS=75 LINES=20 &color 1e
:: All my thanks to hilander999 and Siegfried for their help
:: Original code from hilander999
: edit and modified to fit this plugin by Xtreme

SETLOCAL ENABLEEXTENSIONS
cd /d %~dp0

set INFname=Testdisk.inf
::SET NOW=2
::SET TOPBOX=?
::SET MIDBOX= ????????????????????????????????????????????????????????????????????????¸
::SET NUMROW= 0%%                25%%               50%%               75%%              100%%

echo ===================================== > "%cd%\File_Grabber.log"
echo Testdisk and PhotoRec 7.1 Plugin >> File_Grabber.log
echo Plugin by: Xtreme (Ahmed Hossam) >> File_Grabber.log
echo Collector by: Xtreme >> File_Grabber.log
echo Plugin for: Windows Xpire Rd CD >> File_Grabber.log
echo Website: http://xtreme.boot-land.net >> File_Grabber.log
echo  -mirror: http://xtremee.orgfree.com >> File_Grabber.log
echo Copyright © Windows Xpire Tech Center. All rights reserved. >> File_Grabber.log
echo ===================================== >> File_Grabber.log

IF NOT EXIST cd ..\..\63\cygwin GOTO :error1

cls&CALL :BRANDH
echo  Please wait till Grabber finish Testdisk and PhotoRec grabbing process...

IF NOT EXIST "%cd%\TestDisk_PE\files" md "TestDisk_PE\files"
IF NOT EXIST "%cd%\TestDisk_PE\files\63" md "TestDisk_PE\files\63"

echo.&echo   -Grabbing file: Copy Testdisk files... &FOR %%A IN (
..\..\cygwin1.dll
..\..\cyggcc_s-1.dll
..\..\cygiconv-2.dll
..\..\cygjpeg-8.dll
..\..\cygncursesw-10.dll
..\..\cygssp-0.dll
..\..\cygwin1.dll
..\..\cygz.dll
..\..\iconv.dll
..\..\libgcc_s_sjlj-1.dll
..\..\libjpeg-62.dll
..\..\libpng16-16.dll
..\..\libssp-0.dll
..\..\libstdc++-6.dll
..\..\libwinpthread-1.dll
..\..\QtCore4.dll
..\..\QtGui4.dll
..\..\zlib1.dll
..\..\photorec_win.exe
..\..\qphotorec_win.exe
..\..\testdisk_win.exe
..\..\fidentify_win.exe
	)DO (ECHO. Grabbing file:%%~A >>"%cd%\File_Grabber.log"
		Copy /Y "%%~A" TestDisk_PE\files >NUL
		if errorlevel 1 (SET ERRORLEVEL=1&echo. *ERROR: File_Grabber can't find %%~A >>"%cd%\File_Grabber.log")
		)

FOR %%B IN (
..\..\63\cygwin
	)DO (ECHO. Grabbing file:%%~B >>"%cd%\File_Grabber.log"
		Copy /Y "%%~B" TestDisk_PE\files\63 >NUL
		if errorlevel 1 (SET ERRORLEVEL=1&echo. *ERROR: File_Grabber can't find %%~B >>"%cd%\File_Grabber.log")
		)

CALL :PROGRESS

::pause
MODE CON: COLS=76 LINES=23
IF "%ERRORLEVEL%"=="1" (GOTO :error2)else goto :done
GOTO :END

:PROGRESS
::SET /A NOW+=1
::IF %NOW% LEQ 2 GOTO :EOF
cls&CALL :BRANDH
::echo.&echo.   File: %~1&echo.&echo.%TOPBOX%&echo.%MIDBOX%&echo.%NUMROW%
::SET TOPBOX=%TOPBOX%U
::SET NOW=1
copy SCRIPTS\StaticINF.dat TestDisk_PE\"%INFname%"
copy testdisk_nu2menu.xml TestDisk_PE\
if exist start.inf del start.inf
GOTO :EOF

:error1
MODE CON: COLS=78 LINES=28 &COLOR 4F &cls

echo.&echo. >> File_Grabber.log
echo   TestDisk and PhotoRec can't be localized on your system >> File_Grabber.log
echo.  >> File_Grabber.log
echo You can download TestDisk and PhotoRec from here  >> File_Grabber.log
echo.&echo -TestDisk Official website:  >> File_Grabber.log
echo   	   https://www.cgsecurity.org/wiki/TestDisk_Download/ >> File_Grabber.log
echo. >> File_Grabber.log
echo For help you can check Help.html >> File_Grabber.log

CALL :BRANDH
echo.&echo.	   TestDisk and PhotoRec can't be localized on your system
echo.&echo.       You need to download TestDisk and DON'T change the download folders         structure then try again
echo.&echo.     You can download TestDisk and PhotoRec from here
echo.&echo.       -TestDisk Official website:
echo            https://www.cgsecurity.org/wiki/TestDisk_Download/&echo.
CALL :BRAND2
GOTO :END

:error2
cls&COLOR 4F
CALL :BRANDH
echo.&echo 		One or more required files was not found.
echo.&echo.	Check the log for details...&echo.	"%cd%\File_Grabber.log"&echo.
CALL :BRAND2
pause
IF EXIST %systemroot%\system32\notepad.exe (start %systemroot%\system32\notepad.exe "%cd%\File_Grabber.log")
endlocal
exit

:done
cls&CALL :BRANDH
echo.&echo.	TestDisk and PhotoRec Files have been succesfully collected
echo.&echo.		You can now start build your PE version &echo.
CALL :BRAND2
GOTO :END

:BRANDH
MODE CON: COLS=75 LINES=35 &color 1e
echo.
ECHO          ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»
ECHO          º                                                      º
ECHO          º      TestDisk and PhotoRec plugin Files Collector    º
ECHO          º                                                      º
ECHO          º      Plugin by Xtreme ( Xtremesony_xp@yahoo.com )    º
ECHO          º                                                      º
ECHO          ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ
echo.
GOTO :EOF

:BRAND2
echo.       - For more help and update you Can join us in our group
echo.           http://groups.yahoo.com/group/Windows-Xpire/
echo.
echo.       - For more BartPE Plugin go to our website:
echo.                    http://xtreme.boot-land.net
echo.           (mirror) http://xtremee.orgfree.com
echo.
echo.       - Send all comments about plugin to Xtreme Xtremesony_xp@yahoo.com
echo.
echo.
ECHO          ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»
ECHO          º       Copyright (C) Windows Xpire Tech Center        º
ECHO          ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ

GOTO :EOF

:END
ENDLOCAL
echo.
PAUSE&EXIT


text:
using System.IO;
using Common.Logging;
using NCmdLiner;
using NMultiTool.Library.Module.Commands.ConvertAllSvgToIco;

namespace NMultiTool.Library.Module.Commands.ConvertSvgToIco
{
    public class ConvertSvgToIcoCommandProvider : IConvertSvgToIcoCommandProvider
    {
        private readonly IInkscapeProvider _inkscapeProvider;
        private readonly IImageMagicProvider _imageMagicProvider;
        private readonly IProcessProvider _processProvider;

        private readonly ILog _logger;

        public ConvertSvgToIcoCommandProvider(IInkscapeProvider inkscapeProvider, IImageMagicProvider imageMagicProvider, IProcessProvider processProvider, ILog logger)
        {
            _inkscapeProvider = inkscapeProvider;
            _imageMagicProvider = imageMagicProvider;
            _processProvider = processProvider;
            _logger = logger;
        }

        public Result<int> ConvertSvgToIco(string svgFileName, int[] sizes, bool refresh)
        {
            var exitCode = 0;
            VerifySvgFile(svgFileName);

            var iconInfo = new IconInfo(svgFileName, sizes);

            if (refresh || iconInfo.NeedUpdate())
            {
                _inkscapeProvider.ExportSvgToPngs(iconInfo);
                _imageMagicProvider.CreateIconFromPngFilesFromSvg(iconInfo);
            }
            else
            {
                _logger.Info("Icon up to date: " + iconInfo.IconFile.FullName);
            }
            return Result.Ok(exitCode);
        }

        private void VerifySvgFile(string svgFileName)
        {
            if (!File.Exists(svgFileName))
                throw new FileNotFoundException("Svg file not found.", svgFileName);
        }
    }
}


text:
<bill session="115" type="hj" number="24" updated="2017-06-08T07:15:30Z">
  <state datetime="2017-01-09">REFERRED</state>
  <status>
    <introduced datetime="2017-01-09"/>
  </status>
  <introduced datetime="2017-01-09"/>
  <titles>
    <title type="official" as="introduced">Proposing an amendment to the Constitution of the United States to limit the number of years an individual may serve as a Member of Congress.</title>
    <title type="display">Proposing an amendment to the Constitution of the United States to limit the number of years an individual may serve as a Member of Congress.</title>
  </titles>
  <sponsor bioguide_id="M001179"/>
  <cosponsors>
    <cosponsor bioguide_id="H001074" joined="2017-06-07"/>
  </cosponsors>
  <actions>
    <action datetime="2017-01-09">
      <text>Introduced in House</text>
    </action>
    <action datetime="2017-01-09" state="REFERRED">
      <text>Referred to the House Committee on the Judiciary.</text>
    </action>
    <action datetime="2017-01-12">
      <text>Referred to the Subcommittee on the Constitution and Civil Justice.</text>
    </action>
  </actions>
  <committees>
    <committee subcommittee="" code="HSJU" name="House Judiciary" activity="Referral"/>
    <committee subcommittee="Constitution and Civil Justice" code="HSJU10" name="House Judiciary" activity="Referral"/>
  </committees>
  <relatedbills>
    <bill type="hj" session="115" relation="unknown" number="7"/>
  </relatedbills>
  <subjects>
    <term name="Congress"/>
    <term name="Congressional elections"/>
    <term name="Constitution and constitutional amendments"/>
    <term name="House of Representatives"/>
    <term name="Members of Congress"/>
    <term name="Senate"/>
  </subjects>
  <amendments/>
  <summary date="2017-01-09T05:00:00Z" status="Introduced in House">Constitutional Amendment

This joint resolution proposes a constitutional amendment limiting the total period an individual may serve as a Member of Congress to 12 years.</summary>
  <committee-reports/>
</bill>


text:
package br.com.caelum.tubaina.parser.html.desktop;

import java.io.File;
import java.io.IOException;
import java.util.ArrayList;

import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;

import br.com.caelum.tubaina.Book;
import br.com.caelum.tubaina.Section;
import br.com.caelum.tubaina.SectionsManager;
import br.com.caelum.tubaina.TubainaBuilder;
import br.com.caelum.tubaina.builder.BookBuilder;
import br.com.caelum.tubaina.builder.SectionBuilder;
import br.com.caelum.tubaina.parser.Parser;
import br.com.caelum.tubaina.parser.RegexConfigurator;
import br.com.caelum.tubaina.resources.Resource;
import freemarker.ext.beans.BeansWrapper;
import freemarker.template.Configuration;

public class SectionToStringTest {
	private SectionToString sectionToString;

	@Before
	public void setUp() throws IOException {
		Configuration cfg = new Configuration();
		cfg.setDirectoryForTemplateLoading(new File(TubainaBuilder.DEFAULT_TEMPLATE_DIR, "html/"));
		cfg.setObjectWrapper(new BeansWrapper());

		Parser parser = new HtmlParser(new RegexConfigurator().read("/regex.properties", "/html.properties"));
		ArrayList<String> dirTree = new ArrayList<String>();
		dirTree.add("livro");
		dirTree.add("livro/01-capitulo");
		dirTree.add("livro/01-capitulo/01-primeira");
		dirTree.add("livro/01-capitulo/02-segunda");
		sectionToString = new SectionToString(parser, cfg, dirTree);
	}

	private Section createSection(final String sectionText) {
		SectionsManager sectionsManager = new SectionsManager();
		return new SectionBuilder("Title", sectionText, new ArrayList<Resource>(), sectionsManager).build();
	}

	private int countOccurrences(final String text, final String substring) {
		String[] tokens = text.split(substring);
		return tokens.length - 1;
	}

	@Test
	public void testSection() {
		Section section = createSection("este é o texto da seção");
		Book book = new BookBuilder("livro", new SectionsManager()).build();
		new HtmlModule().inject(book);
		new HtmlModule().inject(section);
		String string = sectionToString.generateSection(book, "capitulo", 7, section, 4, 2).toString();
		Assert.assertEquals(1, countOccurrences(string, "class=\"sectionChapter\">(\\s)*capitulo(\\s)*<"));
		Assert.assertEquals(1, countOccurrences(string, "7.4 - Title"));
		Assert.assertEquals(1, countOccurrences(string, "este é o texto da seção"));
	}

	@Test
	public void testFlatSection() {
		Section section = createSection("este é o texto da seção");
		Book book = new BookBuilder("livro", new SectionsManager()).build();
		new HtmlModule().inject(book);
		new HtmlModule().inject(section);

		String string = sectionToString.generateSection(book, "capitulo", 7, section, 4, 2).toString();
		Assert.assertEquals(1, countOccurrences(string, "class=\"sectionChapter\">(\\s)*capitulo(\\s)*<"));
		Assert.assertEquals(1, countOccurrences(string, "7.4 - Title"));
		Assert.assertEquals(1, countOccurrences(string, "este é o texto da seção"));
	}

}