text:
namespace Ui
{
class Box;
}

class QSizeGrip;

namespace csapex
{
class CSAPEX_QT_EXPORT NodeBox : public QWidget, public Observer
{
    Q_OBJECT

    Q_PROPERTY(QString class READ cssClass)

public:
    typedef std::shared_ptr<NodeBox> Ptr;

    QString cssClass()
    {
        return QString("NodeBox");
    }

public:
    /// CONSTRUCTION
    NodeBox(Settings& settings, NodeFacadePtr node_facade, QIcon icon, GraphView* parent = 0);

    void setAdapter(NodeAdapterPtr adapter);

    ~NodeBox() override;
    virtual void construct();
    void destruct();
    virtual void init();

    /// MODIFIER
    Port* createPort(ConnectorPtr connector, QBoxLayout* layout);
    void removePort(ConnectorWeakPtr connector);

    bool isGraph() const;

    /// ACCESSORS
    NodeFacadePtr getNodeFacade() const;
    NodeAdapterPtr getNodeAdapter() const;

    GraphView* getGraphView() const;

    void setLabel(const std::string& label);
    void setLabel(const QString& label);
    std::string getLabel() const;

    bool isMinimizedSize() const;
    bool isFlipped() const;

    bool isError() const;
    ErrorState::ErrorLevel errorLevel() const;
    std::string errorMessage() const;

    QBoxLayout* getInputLayout();
    QBoxLayout* getOutputLayout();
    QBoxLayout* getSlotLayout();
    QBoxLayout* getEventLayout();

    /// UI CALLBACKS
    void moveEvent(QMoveEvent*) override;

    bool isSelected() const;
    virtual void setSelected(bool selected);

    void keyPressEvent(QKeyEvent* e) override;

    void stop();

protected:
    void setupUi();
    void paintEvent(QPaintEvent* e) override;
    bool eventFilter(QObject*, QEvent*) override;

public:
    void updateBoxInformation(GraphFacade* graph);

public Q_SLOTS:
    void getInformation();
    void triggerMinimized();
    void triggerEnabledChanged();
    void changeColor();
    void refreshStylesheet();
    virtual void refreshTopLevelStylesheet();
    void triggerFlipSides();
    void showProfiling(bool show);

    virtual void updateComponentInformation(GraphFacade* graph);
    virtual void updateThreadInformation();
    virtual void updateFrequencyInformation();
    void contextMenuEvent(QContextMenuEvent* e) override;

    void nodeStateChangedEvent();
    void enabledChangeEvent(bool val);

    void updateVisuals();
    void updatePosition();

Q_SIGNALS:
    void toggled(bool);
    void flipped(bool);
    void minimized(bool);

    void renameRequest(NodeBox*);
    void helpRequest(NodeBox*);

    void clicked(NodeBox*);
    void moveSelectionToBox(NodeBox*);

    void showContextMenuForBox(NodeBox* box, const QPoint& pos);

    void showSubGraphRequest(UUID graphid);

    void updateVisualsRequest();

    void nodeStateChanged();
    void enabledChange(bool val);

    void portAdded(Port*);
    void portRemoved(Port*);

    void createPortRequest(ConnectorDescription request);
    void createPortAndConnectRequest(ConnectorDescription request, ConnectorPtr);
    void createPortAndMoveRequest(ConnectorDescription request, ConnectorPtr);

protected:
    void setStyleForId(QLabel* label, int id);
    void resizeEvent(QResizeEvent* e) override;

    QString getNodeState();

    virtual void updateStylesheetColor();

    virtual void startResize();
    virtual void stopResize();

protected:
    GraphView* parent_;

    QObserver observer_;

    Ui::Box* ui;
    QSizeGrip* grip_;

    Settings& settings_;

    NodeFacadePtr node_facade_;
    NodeAdapterPtr adapter_;

    std::unordered_map<UUID, Port*, UUID::Hasher> port_map_;

    QIcon icon_;

    QIcon minimize_icon_;
    QIcon maximize_icon_;

    QLabel* info_exec;
    QLabel* info_compo;
    QLabel* info_thread;
    QLabel* info_frequency;
    QLabel* info_error;

    bool initialized_;
    bool moved_;

    QTimer* frequency_timer_;

    ExecutionState cached_state_;
    using stamp_t = std::chrono::high_resolution_clock::time_point;
    static const std::chrono::milliseconds cache_update_rate_;
    stamp_t last_state_request_;
};

}  // namespace csapex
#endif  // BOX_H


text:
using System.Threading.Tasks;

namespace Octokit
{
    /// <summary>
    /// GitHub Search Api Client
    /// </summary>
    public interface ISearchClient
    {
        /// <summary>
        /// search repos
        /// http://developer.github.com/v3/search/#search-repositories
        /// </summary>
        /// <param name="search"></param>
        /// <returns>List of repos</returns>
        Task<SearchRepositoryResult> SearchRepo(SearchRepositoriesRequest search);

        /// <summary>
        /// search users
        /// http://developer.github.com/v3/search/#search-users
        /// </summary>
        /// <param name="search"></param>
        /// <returns>List of users</returns>
        Task<SearchUsersResult> SearchUsers(SearchUsersRequest search);

        /// <summary>
        /// search issues
        /// http://developer.github.com/v3/search/#search-issues
        /// </summary>
        /// <param name="search"></param>
        /// <returns>List of issues</returns>
        Task<SearchIssuesResult> SearchIssues(SearchIssuesRequest search);

        /// <summary>
        /// search code
        /// http://developer.github.com/v3/search/#search-code
        /// </summary>
        /// <param name="search"></param>
        /// <returns>List of files</returns>
        Task<SearchCodeResult> SearchCode(SearchCodeRequest search);
    }
}

redpajama_set_name: RedPajamaGithub


text:
const { EventEmitter } = require("events");

class AssetWatcher extends EventEmitter {
  /**
   * @param {AssetCollection} assets The assets
   */
  constructor(assets) {
    super();

    this.assets = assets;
  }

  /**
   * Watches all the assets and pipes everything into the given writable
   * @param {Writable} writable The writable
   * @param {Object} options The options
   * @param {string} options.base The default base path of the asset
   */
  watchAndPipe(writable, options) {
    options = options || {};

    this.assets.forEach((asset) => {
      asset.getStream().pipe(writable);

      asset.watch(() => {
        this.emit("changed", asset);

        asset.reflow(
          { end: false, base: options.base },
          () => this.emit("ready", asset),
        );
      });

      this.emit("reading", asset);

      asset.reflow(
        { end: false, base: options.base },
        () => this.emit("ready", asset),
      );
    });
  }

  /**
   * Unwatches the assets
   */
  unwatch() {
    this.assets.forEach((asset) => asset.unwatch());
  }
}

module.exports = AssetWatcher;


text:
import sys

class StripeError(Exception):

    def __init__(self, message=None, http_body=None, http_status=None,
                 json_body=None, headers=None):
        super(StripeError, self).__init__(message)

        if http_body and hasattr(http_body, 'decode'):
            try:
                http_body = http_body.decode('utf-8')
            except:
                http_body = ('<Could not decode body as utf-8. '
                             'Please report to support@stripe.com>')

        self._message = message
        self.http_body = http_body
        self.http_status = http_status
        self.json_body = json_body
        self.headers = headers or {}
        self.request_id = self.headers.get('request-id', None)

    def __unicode__(self):
        if self.request_id is not None:
            msg = self._message or "<empty message>"
            return u"Request {0}: {1}".format(self.request_id, msg)
        else:
            return self._message

    if sys.version_info > (3, 0):
        def __str__(self):
            return self.__unicode__()
    else:
        def __str__(self):
            return unicode(self).encode('utf-8')

class APIError(StripeError):
    pass

class APIConnectionError(StripeError):
    pass

class CardError(StripeError):

    def __init__(self, message, param, code, http_body=None,
                 http_status=None, json_body=None, headers=None):
        super(CardError, self).__init__(
            message, http_body, http_status, json_body,
            headers)
        self.param = param
        self.code = code

class InvalidRequestError(StripeError):

    def __init__(self, message, param, http_body=None,
                 http_status=None, json_body=None, headers=None):
        super(InvalidRequestError, self).__init__(
            message, http_body, http_status, json_body,
            headers)
        self.param = param

class AuthenticationError(StripeError):
    pass

class RateLimitError(StripeError):
    pass


text:
<!DOCTYPE html>

    <meta charset="utf-8">
    <title>Trabalho Final</title>
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
    <link rel="stylesheet" href="styles/style.css">
    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous">
    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap-theme.min.css" integrity="sha384-fLW2N01lMqjakBkx3l/M9EahuwpSfeNvV63J5ezn3uZzapT0u7EYsXMjQV+0En5r" crossorigin="anonymous">

            Projeto Crescer

                LOGOUT

Action

Lucas Lentz

lucas.lentz@hotmail.com

DASHBOARDS

Home

CADASTROS

Contato

Usuário

Cadastro

Usuario

Home

Cadastro

Usuário

              Cadastro de Usuario

              Nome PESSOA FÍSICA
              <input type="text" class="form-control">

             CPF
             <input type="text" class="form-control" placeholder="000 000 000-00">

             EMAIL
             <input type="text" class="form-control" placeholder="readonly value">

             DISABLED
             <input type="text" class="form-control" placeholder="disabled value">

             HELP BLOCK
             <input type="text" class="form-control">

             TEXT AREA WRITE SOME TEXT
             <textarea  type="text" class="form-control" placeholder="placeholder" rows="3"></textarea>

             SELECT LIST OF ITEMS
             <select class="form-control">
              <option>1</option>
              <option>2</option>
              <option>3</option>
              <option>4</option>
              <option>5</option>
            </select>

             SELECT DEFAULT
             <select class="form-control">
              <option>1</option>
              <option>2</option>
              <option>3</option>
              <option>4</option>
              <option>5</option>
            </select>

             SELECT MULTIPLE
             <select class="form-control">
              <option>1</option>
              <option>2</option>
              <option>3</option>
              <option>4</option>
              <option>5</option>
            </select>

             SELECT GROUP
             <select class="form-control">
              <option>1</option>
              <option>2</option>
              <option>3</option>
              <option>4</option>
              <option>5</option>
            </select>

             SELECT SEARCH
             <select class="form-control">
              <option>1</option>
              <option>2</option>
              <option>3</option>
              <option>4</option>
              <option>5</option>
            </select>


text:
using System;

namespace Khipu.Api
{
	public class ApiException : ApplicationException
	{
		private readonly String _errorType;

		public String ErrorType {
			get {
				return _errorType;
			}
		}

		public ApiException (String erroType, String errorMessage) :base(errorMessage)
		{
			this._errorType = erroType;
		}
	}
}


text:
title:  Połączmy to w całość
date:   12/05/2022
---

>
Przeczytaj Przyp. 12,12-23.

Przypomnij sobie tekst pamięciowy.

Czy zastanawiałeś się kiedyś, dlaczego każda twoja rozmowa z rodzicami lub rodzeństwem kończy się kłótnią? Może to dlatego, że jesteś zbyt poważny? Zagraj w grę z samym sobą pt. "Co oni tak naprawdę chcieli powiedzieć?". Przypomnij sobie rozmowy, które potoczyły się w złym kierunku w ostatnich dniach i pomyśl, jak mogłeś zareagować, żeby polepszyć sytuację. Pomyśl o tym, co druga osoba tak naprawdę mogła chcieć przekazać nie tylko swoimi słowami, ale także tonem głosu i mimiką twarzy.

Przykład 1: Twoja siostra (z którą dzielisz pokój) mówi do Ciebie: "Jesteś takim bałaganiarzem. Zawsze rzucasz ubrania na
podłogę i nigdy ich nie sprzątasz. Nikt nigdy z tobą nie będzie chciał  mieszkać.
Grając w tę grę, powiedziałbyś: To, co naprawdę miała na myśli, to:
"Kiedy rzucasz ubrania na podłogę po powrocie z domu
do szkoły i ich nie sprzątam, to czuję się sfrustrowana i jakbym tylko ja chciała utrzymać porządek w pokoju. Kiedy przychodzą moi przyjaciele, wstydzę się tym, jak wygląda nasz pokój."

Przykład 2: Twój brat mówi do ciebie: "Nigdy na mnie nie zwracasz uwagi. Zawsze robisz coś ze swoimi przyjaciółmi. Grając w gre,
powiedziałbyś: Tak naprawdę chciał powiedzieć: "Kiedy ciągle spędzasz czas ze swoimi przyjaciółmi, czuję się pominięty. Czuję, że już nie lubisz ze mną spędzać czasu."


text:
package EightCh.test1;

/**
 * Created by lvrh on 15/12/6.
 */
public class Parent {
    private void test() {
        System.out.println("this is parent test");
    }

    public static void main(String[] args) {
        Parent p = new Child();
        p.test();
    }
}

class Child extends Parent {
    public void test() {
        System.out.println("this is child test");
    }
}


text:
use zoo::{duck, goose}; //~ ERROR failed to resolve import

mod zoo {
    pub enum bird {
        pub duck,
        priv goose
    }
}

fn main() {
    let y = goose;
}


text: A web app to keep track of the SM lunch schedule!?


text:
import { ExtHostHeapServiceShape } from './extHost.protocol';

export class ExtHostHeapService implements ExtHostHeapServiceShape {

	private static _idPool = 0;

	private _data = new Map<number, any>();

	keep(obj: any): number {
		const id = ExtHostHeapService._idPool++;
		this._data.set(id, obj);
		return id;
	}

	delete(id: number): boolean {
		return this._data.delete(id);
	}

	get<T>(id: number): T {
		return this._data.get(id);
	}

	$onGarbageCollection(ids: number[]): void {
		for (const id of ids) {
			this.delete(id);
		}
	}
}


text:
package goweb

import (
	"github.com/MG-RAST/golib/stretchr/goweb/paths"
	"net/http"
)

const (
	// headerKeyLocation is the header key for Location.
	headerKeyLocation string = "Location"
)

// Status writes the header with the specified status.
func Status(response http.ResponseWriter, status int) {
	response.WriteHeader(status)
}

// RedirectTo writes the Location header.
func RedirectTo(response http.ResponseWriter, pathOrURLSegments ...interface{}) {
	response.Header().Set(headerKeyLocation, paths.PathFromSegments(pathOrURLSegments...))
}

// redirectWithStatus writes the Location header and sets the specified
// status in the response.
func redirectWithStatus(response http.ResponseWriter, status int, pathOrURLSegments ...interface{}) {
	RedirectTo(response, pathOrURLSegments...)
	Status(response, status)
}

// Redirect writes the Location header and sets the http.StatusFound
// response.
func Redirect(response http.ResponseWriter, pathOrURLSegments ...interface{}) {
	redirectWithStatus(response, http.StatusFound, pathOrURLSegments...)
}

// RedirectTemp writes the Location header and sets the http.StatusTemporaryRedirect
// response.
func RedirectTemp(response http.ResponseWriter, pathOrURLSegments ...interface{}) {
	redirectWithStatus(response, http.StatusTemporaryRedirect, pathOrURLSegments...)
}

// RedirectPerm writes the Location header and sets the http.StatusMovedPermanently
// response.
func RedirectPerm(response http.ResponseWriter, pathOrURLSegments ...interface{}) {
	redirectWithStatus(response, http.StatusMovedPermanently, pathOrURLSegments...)
}


text:
#ifndef zenic_Timer_h
#define zenic_Timer_h

#if defined(ZENIC_WIN32)
	#include "Win32/Timer.h"
#elif defined(ZENIC_PS2)
	#include "Ps2/Timer.h"
#else
	#error "Unsupported platform"
#endif

#endif


text:
<!DOCTYPE html>

  <meta http-equiv="X-UA-Compatible" content="IE=edge" />
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
    <meta name="referrer" content="origin-when-cross-origin"/>
  <title>Ginkgo Biloba for the Treatment of Vitiligo Vulgaris in Adolescents - Full Text View - ClinicalTrials.gov</title>
    <link href="/ct2/show/NCT00907062" rel="canonical"/>

  <link rel="shortcut icon" href="/ct2/html/images/favicon.ico" />
  <link rel='apple-touch-icon-precomposed' href='/apple-touch-icon-144x144.png' sizes='144x144'>
  <link rel='apple-touch-icon-precomposed' href='/apple-touch-icon-114x114.png' sizes='114x114'>
  <link rel='apple-touch-icon-precomposed' href='/apple-touch-icon-72x72.png'   sizes='72x72'>
  <link rel='apple-touch-icon-precomposed' href='/apple-touch-icon-precomposed.png' >
  <link rel='apple-touch-icon-precomposed' href='/apple-touch-icon.png' >

  <link rel="stylesheet" type="text/css" href="/ct2/html/ct3/jquery/css/superfish.css" media="screen" />
  <link rel="stylesheet" type="text/css" href="/ct2/html/ct3/jquery/css/superfish-vertical.css" media="screen" />
  <link rel="stylesheet" type="text/css" href="/ct2/html/ct3/css/base.css?v=d" />
  <link rel="stylesheet" type="text/css" href="/ct2/html/ct3/css/print.css" media="print" />
  <link rel="stylesheet" href="/ct2/html/ct3/css/w3-ct.css" type="text/css" />

<link href="/ct2/html/ct3/css/trial-record.css?v=d" rel="stylesheet" type="text/css" />
<link href="/ct2/html/ct3/css/ct2Header.css" rel="stylesheet" type="text/css" />

  <meta name="ncbi_sid" content="86169a3a96650eb6_14f2aSID"/>
  <meta name="ncbi_app" content="ctgov"/>
  <meta name="ncbi_db" content="ctgov"/>
  <meta name="ncbi_pdid" content="show_study"/>
  <meta name="ncbi_pcid" content="NCT00907062"/>
  <meta name="ncbi_ctreqid" content="RRe00MJu"/>
  <meta name="ncbi_ctsessid" content="SRe00EZx"/>
  <meta name="ncbi_ctipid" content="I1CW1Z3RI"/>
  <meta name="ncbi_cthost" content="wp2"/>

 Skip to Main Content

This site became the new ClinicalTrials.gov on June 19th. Learn more.

Show more

We will be updating this site in phases. This allows us to move faster and to deliver better services.

Show less

    IMPORTANT: Listing of a study on this site does not reflect endorsement by the National Institutes of Health. Talk with a trusted healthcare professional before volunteering for a study.  Read more...

    IMPORTANT: Talk with a trusted healthcare professional before volunteering for a study. Read more...

A service of the U.S. National Institutes of Health

				    ×

Find Studies

New Search

Advanced Search

See Studies by Topic

See Studies on Map

How to Search

How to Use Search Results

How to Find Results of Studies

How to Read a Study Record

About Studies

Learn About Studies

Other Sites About Studies

Glossary of Common Site Terms

Submit Studies

Why Should I Register and Submit Results?

FDAAA 801 Requirements

How to Apply for an Account

How to Register Your Study

How to Edit Your Study Record

How to Submit Your Results

Frequently Asked Questions

Support Materials

Training Materials

Resources

Selected Publications

Clinical Alerts and Advisories

RSS Feeds

Trends, Charts, and Maps

Downloading Content for Analysis

About Site

ClinicalTrials.gov Background

About the Results Database

History, Policies, and Laws

Media/Press Resources

Linking to This Site

Terms and Conditions

Disclaimer

		  	<button class="savedStudiesEnabled" id="open-cart-link" type="button"
		  		onclick="location.href=('/ct2/results'+cartToURL()); showWorking();"
		  		title="Show previously saved studies.">Saved Studies</button>

			<button class="savedStudiesDisabled" id="cart-disabled" type="button" disabled
				title="There are no saved studies to show. You can save studies to visit later from the search results page">Saved Studies (0)</button>

			Give us feedback

Find Studies

New Search

Advanced Search

See Studies by Topic

See Studies on Map

How to Search

How to Use Search Results

How to Find Results of Studies

How to Read a Study Record

About Studies

Learn About Studies

Other Sites About Studies

Glossary of Common Site Terms

Submit Studies

Why Should I Register and Submit Results?

FDAAA 801 Requirements

How to Apply for an Account

How to Register Your Study

How to Edit Your Study Record

How to Submit Your Results

Frequently Asked Questions

Support Materials

Training Materials

Resources

Selected Publications

Clinical Alerts and Advisories

RSS Feeds

Trends, Charts, and Maps

Downloading Content for Analysis

About Site

ClinicalTrials.gov Background

About the Results Database

History, Policies, and Laws

Media/Press Resources

Linking to This Site

Terms and Conditions

Disclaimer

Home

Study Record Detail

Ginkgo Biloba for the Treatment of Vitiligo Vulgaris in Adolescents

      This study has been completed.

Sponsor:

 University of Toronto

Collaborator:

Canadian Interdisciplinary Network Complementary & Alternative Medicine Research

Information provided by:

University of Toronto

ClinicalTrials.gov Identifier:

NCT00907062

First received: May 21, 2009

Last updated:  July 7, 2010

Last verified:  July 2010

 History of Changes

Full Text View

Tabular View

No Study Results Posted

Disclaimer

How to Read a Study Record

  Purpose

Vitiligo is a common hypopigmentation disorder with significant psychological impact if occurring before adulthood. One study investigating the use of Ginkgo biloba for the treatment of vitiligo in adults reports effectiveness, but has significant flaws. We endeavor to conduct an open label pilot clinical trial replicating the previous trial on 12 adolescents 12 to 18 years old. The purpose of the pilot is to test the feasibility of recruitment and patient retention, variability of outcome measures, and identify major safety concerns. The pilot will use 60 mg of standardized G. biloba two times per day (BID) for 12 weeks. The primary outcome will be the validated Vitiligo European Task Force (VETF) evaluation form, secondary outcomes will include the Vitiligo Area Scoring Index (VASI), assess repigmentation via photographs, and will monitor and report adverse reactions.

        Condition

        Intervention

        Phase

                Vitiligo Vulgaris

                Dietary Supplement: Ginkgo biloba

                Phase 1

      Study Type:

        Interventional

      Study Design:
      Allocation: Non-Randomized
Intervention Model: Single Group Assignment
Masking: Open Label
Primary Purpose: Treatment

      Official Title:
      Ginkgo Biloba for the Treatment of Vitiligo Vulgaris in Adolescents: an Open Label Pilot Clinical Trial

Resource links provided by NLM:

    Genetics Home Reference related topics:
            vitiligo

    MedlinePlus related topics:
            Vitiligo

    Drug Information available for:
            Ginkgo biloba

    Genetic and Rare Diseases Information Center resources:
            Hypomelanotic Disorder

  U.S. FDA Resources

Further study details as provided by University of Toronto:

Primary Outcome Measures:

Vitiligo European Task Force assessment form [ Time Frame: 12 weeks ]

Secondary Outcome Measures:

Vitiligo Area Scoring Index [ Time Frame: 12 weeks ]

Health Canada - Canada Vigilence Adverse Reaction Form [ Time Frame: 12 weeks ]

         Enrollment:
        12

          Study Start Date:
        May 2009

          Study Completion Date:
        November 2009

          Primary Completion Date:
        October 2009 (Final data collection date for primary outcome measure)

             Arms

            Assigned Interventions

          Experimental: Gingko biloba

60 mg of Ginkgo biloba (standardized to 15 mg ginkgofavonglycosides) given 2 times per day, with food, for 12 weeks.

                      Dietary Supplement: Ginkgo biloba

60 mg Ginkgo biloba per capsule, standardized to 15 mg ginkgofavonglycosides per pill

    Eligibility

        Ages Eligible for Study:
        12 Years to 18 Years   (Child, Adult)

        Sexes Eligible for Study:
        All

        Accepts Healthy Volunteers:
        Yes

Criteria

Inclusion Criteria:

• males and females

12 to 18 years old

self selected candidates identifying themselves to suffer with vitiligo vulgaris of any duration

minimum VASI score of 4, no maximum score (corresponding to a 3cm2 completely (100%) depigmented lesion, or a 6cm2 50% depigmented lesion)

stable or progressing vitiligo

mentally competent subjects able to adhere to the given protocol and treatments administered as interventions

normal on physical examination at the pre-study intake, and in the case of abnormalities the health care practitioner considers them to be clinically insignificant

written and informed consent

the potential candidate must have a family doctor that they have seen in the last 12 months

negative pregnancy test for menstruating women and if sexually active, a willingness to practice adequate birth control for the duration of the trial

diagnosis of vitiligo confirmed by supervising medical doctor

Exclusion Criteria:

• use of medications contraindicated with Ginkgo biloba:

daily use of acetylsalicylic acid, ibuprofen, NSAIDs, fish oils, vitamin E

any prescription or use of blood thinners, anticoagulants, anti-platelet drugs, pentoxifylline, clotting factor replacements, antihypertensive medications, Thiazide diuretics, Acetylcholinesterase inhibitors, anticonvulsants, hypoglycemic agents, MAOI, SSRI, Nifedipine, Papaverine, Yohimgine, Sildenafil

history of diabetes, seizures, haemophilia

allergy or sensitivity to Ginkgo biloba or other constituents in the capsule

any treatment for vitiligo within the last 2 months

current use of Ginkgo biloba or within the last 2 months

mentally or physically incapacitated such that assent or informed consent cannot be obtained.

any history or other condition which the study physician regards as clinically significant to the study

a major illness considered to be clinically significant by the study physician within 2 months of the study start date

current participation in another intervention trial.

pregnancy or intent to become pregnant in the next 4 months

current alcoholism or substance abuse.

current history of tumors, any history of skin cancer

any current serious disorders determined to be clinically significant to the study.

breast feeding women

no prior skin grafts or surgeries, or scheduled surgeries of any kind.

any abnormalities on the INR, PTT, or CBC tests at baseline

  Contacts and Locations

Choosing to participate in a study is an important personal decision. Talk with your doctor and family members or friends about deciding to join a study.
To learn more about this study, you or your doctor may contact the study research staff using the Contacts provided below.
For general information, see Learn About Clinical Studies.

    Please refer to this study by its ClinicalTrials.gov identifier: NCT00907062

Locations

Canada, Ontario

            Noumena Naturopathic Health Clinic

Mississauga, Ontario, Canada, L5H 1H2

Sponsors and Collaborators

University of Toronto

Canadian Interdisciplinary Network Complementary & Alternative Medicine Research

Investigators

      Principal Investigator:
      Orest Szczurko, ND MSc(cand)
            University of Toronto, Leslie Dan Faculty of Pharmacy

      Principal Investigator:
      Heather Boon, PhD
            University of Toronto, Leslie Dan Faculty of Pharmacy

  More Information

    Additional Information:

        study recruitment website, providing study details, consent forms, etc

    Publications:

            Parsad D, Pandhi R, Juneja A. Effectiveness of oral Ginkgo biloba in treating limited, slowly spreading vitiligo. Clin Exp Dermatol. 2003 May;28(3):285-7.

    Publications automatically indexed to this study by ClinicalTrials.gov Identifier (NCT Number):

            Szczurko O, Shear N, Taddio A, Boon H. Ginkgo biloba for the treatment of vitilgo vulgaris: an open label pilot clinical trial. BMC Complement Altern Med. 2011 Mar 15;11:21. doi: 10.1186/1472-6882-11-21.

      Responsible Party:
      Heather Boon, Associate Professor, Leslie Dan Faculty of Pharmacy, University of Toronto

      ClinicalTrials.gov Identifier:

        NCT00907062
        History of Changes

      Other Study ID Numbers:

                                    NHPD#-137767

                                                REB 23373

      Study First Received:
      May 21, 2009

      Last Updated:
      July 7, 2010

    Keywords provided by University of Toronto:

                    vitiligo

                    leucoderma

  Additional relevant MeSH terms:

                    Vitiligo

                    Hypopigmentation

                    Pigmentation Disorders

                    Skin Diseases

    ClinicalTrials.gov processed this record on July 12, 2017

To Top

For Patients and Families

For Researchers

For Study Record Managers

Home

RSS Feeds

Site Map

Terms and Conditions

Disclaimer

Customer Support

Copyright

Privacy

Accessibility

Viewers and Players

Freedom of Information Act

USA.gov

U.S. National Library of Medicine

U.S. National Institutes of Health

            U.S. Department of Health and Human Services


text:
require_relative '../memcached_helper'

describe 'adapter_activesupportcache_with_default_expires', adapter: :ActiveSupportCache do
  before :all do
    require 'active_support'
    require 'active_support/cache/moneta_store'
  end

  shared_examples :adapter_activesupportcache_with_default_expires do
    moneta_build do
      Moneta::Adapters::ActiveSupportCache.new(backend: backend, expires: min_ttl)
    end

    moneta_specs ADAPTER_SPECS.without_concurrent.without_create.with_native_expires.with_default_expires
  end

  context 'using MemoryStore' do
    let(:t_res) { 0.125 }
    let(:min_ttl) { t_res }
    use_timecop

    let(:backend) { ActiveSupport::Cache::MemoryStore.new }
    include_examples :adapter_activesupportcache_with_default_expires
  end

  context 'using MemCacheStore', memcached: true do
    let(:t_res) { 1 }
    let(:min_ttl) { 2 }
    use_timecop

    include_context :start_memcached, 11223

    let(:backend) { ActiveSupport::Cache::MemCacheStore.new('127.0.0.1:11223') }
    include_examples :adapter_activesupportcache_with_default_expires
  end

  context 'using RedisCacheStore' do
    let(:t_res) { 1 }
    let(:min_ttl) { t_res }
    use_timecop

    let(:backend) { ActiveSupport::Cache::RedisCacheStore.new(url: "redis://#{redis_host}:#{redis_port}/2") }
    include_examples :adapter_activesupportcache_with_default_expires
  end

  context 'using MonetaStore' do
    let(:t_res) { 0.125 }
    let(:min_ttl) { t_res }
    use_timecop

    let(:backend) { ActiveSupport::Cache::MonetaStore.new(store: Moneta.new(:Memory)) }
    include_examples :adapter_activesupportcache_with_default_expires
  end
end


text:
HostProvider.find_or_create_by(name: 'mega') do |m|
  m.url = 'https://mega.nz'
  m.default_storage_limit = 50.gigabytes
end

HostProvider.find_or_create_by(name: 'backblaze') do |m|
  m.url = 'https://www.backblaze.com/b2/cloud-storage.html'
end

User.find_or_create_by(username: 'admin') do |m|
  m.password = 'password'
  m.email = 'admin@example.com'
  m.role = 'admin'
end

User.find_or_create_by(username: 'contributor') do |m|
  m.password = 'password'
  m.email = 'contributor@example.com'
  m.role = 'contributor'
end

User.find_or_create_by(username: 'consumer') do |m|
  m.password = 'password'
  m.email = 'consumer@example.com'
  m.role = 'consumer'
end


text:
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
      package="com.sforce.android.sample"
      android:versionCode="1"
      android:versionName="1.0">
    <application android:icon="@drawable/icon" android:label="@string/app_name">
        <activity android:name=".SF8"
                  android:label="@string/app_name">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
        <activity android:name="com.sforce.android.sample.SforceLogin">
        </activity>
        <activity android:name="com.sforce.android.sample.SforceDisplayLoginResult">
        </activity>
        <activity android:name="com.sforce.android.sample.SforceQuery">
        </activity>
        <activity android:name="com.sforce.android.sample.SforceRetrieve">
        </activity>
        <activity android:name="com.sforce.android.sample.SforceCreate">
        </activity>
        <activity android:name="com.sforce.android.sample.SforceCreateContact">
        </activity>
        <activity android:name="com.sforce.android.sample.SforceCreateAccount">
        </activity>
        <activity android:name="com.sforce.android.sample.SforceUpdate">
        </activity>
        <activity android:name="com.sforce.android.sample.SforceUpdateContact">
        </activity>
        <activity android:name="com.sforce.android.sample.SforceUpdateAccount">
        </activity>
        <activity android:name="com.sforce.android.sample.SforceDelete">
        </activity>
        <activity android:name="com.sforce.android.sample.SforceUpsertAccount">
        </activity>
        <activity android:name="com.sforce.android.sample.SforceQueryMoreExample">
        </activity>
        <activity android:name="com.sforce.android.sample.SforceQueryAllExample">
        </activity>
        <activity android:name="com.sforce.android.sample.SforceLogout">
        </activity>
        <activity android:name="com.sforce.android.sample.SforceThanks">
        </activity>
        <activity android:name="com.sforce.android.sample.SforceOAuthLogin">
        </activity>
		<activity android:name="com.sforce.android.sample.PicSample"
						android:label="@string/app_name"
						android:configChanges="keyboardHidden|orientation"
						android:screenOrientation="landscape"
						android:theme="@android:style/Theme.NoTitleBar.Fullscreen"/>
    </application>

	<uses-permission android:name="android.permission.INTERNET" />
	<uses-feature android:name="android.hardware.camera" />
	<uses-permission android:name="android.permission.CAMERA" />
</manifest>


text:
title:  Histori misioni
date:  25/02/2022
---

#### Histori misionare nga Laosi

E përndjekur për shkak të besimit

Kina, 14 vjeç

Kina, duke gulçuar dhe djersitur, vrapoi deri tek shtëpia e pastorit të Kishës Adventiste, në Laos, dhe e goditi derën fort. Vajza, 14 vjeçare, kishte arritur të priste litarin, që prindërit kishin përdorur për të lidhur duart e saj.

Prindërit e saj e kishin rrahur dhe vëllai i madh e kishte goditur në fytyrë dhe në trup.

Krimi i saj?

Jeta e vajzës u kthye me kokë poshtë sepse ajo kishte vendosur të pagëzohej dhe t'i bashkohej Kishës Adventiste.

Prindërit, që kishin qënë të dashur dhe të kujdesshëm, u kthyen kundër saj dhe filluan ta rrihnin, që ta detyronin të kthehej në besimin e tyre tradicional.

Por Kina ishte e vendosur dhe refuzoi të hiqte dorë nga besimi i saj.

Kurajoja e saj, para vuajtes, ishte e habitshme. Miqtë e saj të rinj Adventistë, nuk i ofronin ndonjë privilegj. Ata ishin një grup i vogël besimtarësh, pjesa më e madhe gra, që ishin punëtore dhe fermere të varfra, që mezi paguanin shpenzimet mujore.

Ndoshta Kina ishte prekur nga dashuria e tyre. Ndoshta Jezusi, nëpërmjet Frymës së Shenjtë, e kishte bekuar me një paqe të brendshme dhe shpresë që i jepte forcë të qëndronte e fortë, para presionit dhe persekutimit nga vetë familja e saj. Diçka rreth Jezusit i kishte bërë kaq shumë përshtypje, sa ajo ishte e gatshme të rrezikonte gjithçka për Të.

Por, sa kohë mund të kalonte ashtu? Sa kohë mund të duronte të rrahurat nga prindërit dhe i vëllai? Ku mund të shkonte për ndihmë dhe strehë?

Kina nuk kishte ku të shkonte dhe kishte frikë të kthehej në shtëpi. Ajo nuk mund të shkonte as në shtëpitë e të afërmve sepse edhe ata mendonin se ajo duhet të hiqte dorë nga besimi tek Jezusi. Ajo nuk mund të shkonte as tek shefi i fshatit sepse ai ishte i një i afërmi i tyre dhe ai mendonte se vajza duhej t'u bindej prindërve në gjithçka.

Bindja ndaj prindërve është diçka e mirë dhe duhet bërë. Është gjëja më normale në Laos dhe është edhe Biblike. Tek Efesianëve 6:1 thuhet "Fëmijë, binduni prindërve tuaj në Zotin, sepse kjo është e drejtë". Por deri në ç'pikë fëmijët duhet t'u binden prindërve?

Me trupin e mbuluar me të vrara, Kina shkoi në shtëpinë e pastorit. Por ajo nuk mund të rrinte aty gjatë. Pastori e dërgoi të rrinte me një nga të afërmit e tij të besuar, para se prindërit të vinin ta kërkonin.

Pesë ditë më vonë, Kina vazhdontë të fshihej nga prindërit. Ajo nuk mund të shkonte në shtëpi. Ajo kishte frikë të kthehej sepse ata e kishin rrahur shumë herë. Herën e fundit, i ati kishte marrë një armë dhe kishte qëlluar mbi kokën e saj.

Megjithëse e lënduar fizikisht, impakti i kërcënimeve dhe të rrahurave në gjendjen mendore të Kinës janë ende të paqarta.

Lutuni për Kinën. Lutuni që ajo të ketë forcë të durojë vështirësitë e sjella nga familja e saj. Lutuni që ajo të mbrohet nga engjëjt e Perëndisë. Lutuni për prindërit e saj dhe anëtarët e tjerë të familjes; që zemrat e tyre të zbuten dhe ata të mund të shohin dritën e ungjillit ose që, të paktën, të lejojnë vajzën e tyre të jetë e lirë të ndjekë ndërgjegjen e saj. Lutuni gjithashtu, që anëtarët e kishës të mund të gjejnë mënyrë që kjo vajzë të gjejë një vend të sigurt. Ndoshta ajo mund të marrë pasaportën dhe të studiojë në ndonjë shkollë Adventiste, jashtë vendit. Lutuni që anëtarët e kishës të mund t'i përballojnë këto situata me dituri.

Një pjesë e Ofertave të Sabatit të 13të të këtij tremujori do ndihmojnë në hapjen e një shkolle, në Laos, ku vajza si Kina të mund të studiojnë. Faleminderit për ofertat tuaja misionare, që ndihmojnë në përhapjen e ungjillit, rreth e rrotull botës.

*Kina është pseudonim, jo emri i vërtetë i vajzës.

Shënime nga Misioni:

-	Territori i Laosit është pjesë e Unionit të Azisë Juglindore, në Divizionin e Azisë dhe Paqësorit Jugor. Vendi i parë i misionit Adventist, u hap nga Richard C. Hall dhe familja e tij, në vitin 1957, në Nam Tha, në një nga provincat veriperëndimore. Pak kohë më vonë, Nai Mun Lansri dhe Abel Pangan me bashkëshorten e tij u bashkuan me ta dhe, në 1961, u organizua një kishë me 44 anëtarë, pjesa më e madhe nga grupi etnik Maeo. Në 1962, i gjithë stafi i misionit u largua nga Laosi, për shkak të luftës. Pak pasi misionarët u larguan, ndërtesa e misionit u shkatërrua.

-	Rajoni i Laosit ka 1.908 anëtarë, të cilët adhurojnë në ky kisha dhe tre grupe. Më një popullsi prej 7.242.000 banorësh, ka një Adventist për çdo 3.796 banorë.


text:
const util = require('util'),
    moment = require('moment'),
    request = require('superagent'),
    debug = require('ghost-ignition').debug('scheduling-default'),
    SchedulingBase = require('./SchedulingBase'),
    common = require('../../lib/common');

/**
 * allJobs is a sorted list by time attribute
 */
function SchedulingDefault(options) {
    SchedulingBase.call(this, options);

    this.runTimeoutInMs = 1000 * 60 * 5;
    this.offsetInMinutes = 10;
    this.beforePingInMs = -50;
    this.retryTimeoutInMs = 1000 * 5;

    this.rescheduleOnBoot = true;
    this.allJobs = {};
    this.deletedJobs = {};
    this.isRunning = false;
}

util.inherits(SchedulingDefault, SchedulingBase);

/**
 * add to list
 */
SchedulingDefault.prototype.schedule = function (object) {
    this._addJob(object);
};

/**
 * remove from list
 * add to list
 */
SchedulingDefault.prototype.reschedule = function (object) {
    this._deleteJob({time: object.extra.oldTime, url: object.url});
    this._addJob(object);
};

/**
 * remove from list
 * deletion happens right before execution
 */
SchedulingDefault.prototype.unschedule = function (object) {
    this._deleteJob(object);
};

/**
 * check if there are new jobs which needs to be published in the next x minutes
 * because allJobs is a sorted list, we don't have to iterate over all jobs, just until the offset is too big
 */
SchedulingDefault.prototype.run = function () {
    const self = this;
    let timeout = null,
        recursiveRun;

    if (this.isRunning) {
        return;
    }

    this.isRunning = true;

    recursiveRun = function recursiveRun() {
        timeout = setTimeout(function () {
            const times = Object.keys(self.allJobs),
                nextJobs = {};

            times.every(function (time) {
                if (moment(Number(time)).diff(moment(), 'minutes') <= self.offsetInMinutes) {
                    nextJobs[time] = self.allJobs[time];
                    delete self.allJobs[time];
                    return true;
                }

                // break!
                return false;
            });

            clearTimeout(timeout);
            self._execute(nextJobs);

            recursiveRun();
        }, self.runTimeoutInMs);
    };

    recursiveRun();
};

/**
 * each timestamp key entry can have multiple jobs
 */
SchedulingDefault.prototype._addJob = function (object) {
    let timestamp = moment(object.time).valueOf(),
        keys = [],
        sortedJobs = {},
        instantJob = {},
        i = 0;

    // CASE: should have been already pinged or should be pinged soon
    if (moment(timestamp).diff(moment(), 'minutes') < this.offsetInMinutes) {
        debug('Imergency job', object.url, moment(object.time).format('YYYY-MM-DD HH:mm:ss'));

        instantJob[timestamp] = [object];
        this._execute(instantJob);
        return;
    }

    // CASE: are there jobs already scheduled for the same time?
    if (!this.allJobs[timestamp]) {
        this.allJobs[timestamp] = [];
    }

    debug('Added job', object.url, moment(object.time).format('YYYY-MM-DD HH:mm:ss'));
    this.allJobs[timestamp].push(object);

    keys = Object.keys(this.allJobs);
    keys.sort();

    for (i = 0; i < keys.length; i = i + 1) {
        sortedJobs[keys[i]] = this.allJobs[keys[i]];
    }

    this.allJobs = sortedJobs;
};

SchedulingDefault.prototype._deleteJob = function (object) {
    const {url, time} = object;

    if (!time) {
        return;
    }

    const deleteKey = `${url}_${moment(time).valueOf()}`;

    if (!this.deletedJobs[deleteKey]) {
        this.deletedJobs[deleteKey] = [];
    }

    debug('Deleted job', url, moment(time).format('YYYY-MM-DD HH:mm:ss'));
    this.deletedJobs[deleteKey].push(object);
};

/**
 * ping jobs
 * setTimeout is not accurate, but we can live with that fact and use setImmediate feature to qualify
 * we don't want to use process.nextTick, this would block any I/O operation
 */
SchedulingDefault.prototype._execute = function (jobs) {
    const keys = Object.keys(jobs),
        self = this;

    keys.forEach(function (timestamp) {
        let timeout = null,
            diff = moment(Number(timestamp)).diff(moment());

        // awake a little before
        timeout = setTimeout(function () {
            clearTimeout(timeout);

            (function retry() {
                let immediate = setImmediate(function () {
                    clearImmediate(immediate);

                    if (moment().diff(moment(Number(timestamp))) <= self.beforePingInMs) {
                        return retry();
                    }

                    const toExecute = jobs[timestamp];
                    delete jobs[timestamp];

                    toExecute.forEach(function (job) {
                        const {url, time} = job;
                        const deleteKey = `${url}_${moment(time).valueOf()}`;

                        if (self.deletedJobs[deleteKey]) {
                            if (self.deletedJobs[deleteKey].length === 1) {
                                delete self.deletedJobs[deleteKey];
                            } else {
                                self.deletedJobs[deleteKey].pop();
                            }

                            return;
                        }

                        self._pingUrl(job);
                    });
                });
            })();
        }, diff - 70);
    });
};

/**
 * - if we detect to publish a post in the past (case blog is down), we add a force flag
 */
SchedulingDefault.prototype._pingUrl = function (object) {
    debug('Ping url', object.url, moment().format('YYYY-MM-DD HH:mm:ss'), moment(object.time).format('YYYY-MM-DD HH:mm:ss'));

    let timeout;
    const {url, time} = object;
    const httpMethod = object.extra ? object.extra.httpMethod : 'PUT',
        tries = object.tries || 0,
        requestTimeout = object.extra ? object.extra.timeoutInMS : 1000 * 5,
        maxTries = 30,
        req = request[httpMethod.toLowerCase()](url),
        self = this;

    if (moment(time).isBefore(moment())) {
        if (httpMethod === 'GET') {
            req.query('force=true');
        } else {
            req.send({
                force: true
            });
        }
    }

    req.timeout({
        response: requestTimeout
    });

    req.end(function (err, response) {
        if (err) {
            // CASE: post/page was deleted already
            if (response && response.status === 404) {
                return;
            }

            // CASE: blog is in maintenance mode, retry
            if (response && response.status === 503 && tries < maxTries) {
                timeout = setTimeout(function pingAgain() {
                    clearTimeout(timeout);

                    object.tries = tries + 1;
                    self._pingUrl(object);
                }, self.retryTimeoutInMs);

                common.logging.error(new common.errors.GhostError({
                    err,
                    context: 'Retrying...',
                    level: 'normal'
                }));

                return;
            }

            common.logging.error(new common.errors.GhostError({
                err,
                level: 'critical'
            }));
        }
    });
};

module.exports = SchedulingDefault;


text:
<?php

namespace Cinetic\HorarioBundle;

use Symfony\Component\HttpKernel\Bundle\Bundle;

class CineticHorarioBundle extends Bundle
{
}


text:
package tw.com.acceptance;

import org.junit.*;
import org.junit.rules.TestName;
import org.junit.rules.Timeout;
import software.amazon.awssdk.regions.providers.DefaultAwsRegionProviderChain;
import software.amazon.awssdk.services.cloudformation.CloudFormationClient;
import software.amazon.awssdk.services.cloudformation.model.StackStatus;
import software.amazon.awssdk.services.ec2.Ec2Client;
import software.amazon.awssdk.services.ec2.model.Vpc;
import tw.com.CLIArgBuilder;
import tw.com.DeletesStacks;
import tw.com.EnvironmentSetupForTests;
import tw.com.FilesForTesting;
import tw.com.commandline.Main;
import tw.com.entity.ProjectAndEnv;
import tw.com.exceptions.CannotFindVpcException;
import tw.com.providers.CloudClient;
import tw.com.repository.VpcRepository;

import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.PrintStream;
import java.nio.charset.Charset;
import java.util.concurrent.TimeUnit;

import static org.junit.Assert.assertEquals;

public class TestCommandLineStackOperations {

	private Vpc altEnvVPC;
	private VpcRepository vpcRepository;
	private ProjectAndEnv altProjectAndEnv;
	private static Ec2Client ec2Client;
	private static CloudFormationClient cfnClient;
	private DeletesStacks deletesStacks;

	@BeforeClass
	public static void beforeAllTestsRun() {
		ec2Client = EnvironmentSetupForTests.createEC2Client();
		cfnClient = EnvironmentSetupForTests.createCFNClient();
	}

	@Rule public TestName test = new TestName();
	String testName = "";

	@Rule
    public Timeout globalTimeout = new Timeout(5*60, TimeUnit.SECONDS);

	@Before
	public void beforeEveryTestRun() {
		vpcRepository = new VpcRepository(new CloudClient(ec2Client, new DefaultAwsRegionProviderChain()));
		altProjectAndEnv = EnvironmentSetupForTests.getAltProjectAndEnv();
//		EnvironmentSetupForTests.getMainProjectAndEnv();

		altEnvVPC = EnvironmentSetupForTests.findAltVpc(vpcRepository);
		deletesStacks = new DeletesStacks(cfnClient);
		deletesStacks.ifPresent(EnvironmentSetupForTests.TEMPORARY_STACK)
			.ifPresent("CfnAssistTest01createSubnet")
			.ifPresent("CfnAssistTest02createAcls")
			.ifPresent("CfnAssistTestsimpleStack")
			.ifPresent("CfnAssistTestsubnetWithParam")
			.ifPresent("CfnAssistTestsubnet")
			.ifPresent("CfnAssist876TestelbAndInstance")
            .ifPresent("CfnAssistTestsimpleStackWithAZ");
		deletesStacks.act();
		testName = test.getMethodName();
	}

	@After
	public void afterEachTestIsRun() {
		deletesStacks.act();
	}

	@Test
	public void testInvokeViaCommandLineDeployWithFile() {
		String[] args = CLIArgBuilder.createSimpleStack(testName);

		Main main = new Main(args);
		int result = main.parse();
		deletesStacks.ifPresent("CfnAssistTestsimpleStack");
		assertEquals(0, result);
	}

	@Test
	public void testInvokeViaCommandLineDeployWithFileAndBuildNumber() {
		String[] args = CLIArgBuilder.createSimpleStackWithBuildNumber(testName, "876");
		Main main = new Main(args);
		int result = main.parse();
		deletesStacks.ifPresent("CfnAssist876TestsimpleStack");
		assertEquals(0,result);
	}

	@Test
	public void testListStacks() {
        PrintStream origStream = System.out;

		String[] create = CLIArgBuilder.createSimpleStack(testName);
		Main main = new Main(create);
		main.parse();

		String[] list = CLIArgBuilder.listStacks();

		ByteArrayOutputStream stream = new ByteArrayOutputStream();
		PrintStream output = new PrintStream(stream);
		System.setOut(output);

		main = new Main(list);
		int status = main.parse();

		System.setOut(origStream);

		String outputText = stream.toString(Charset.defaultCharset());
		CLIArgBuilder.checkForExpectedLine(outputText, "CfnAssistTestsimpleStack", "CfnAssist", "Test", StackStatus.CREATE_COMPLETE.toString());

		deletesStacks.ifPresent("CfnAssistTestsimpleStack");
		assertEquals(0, status);
	}

	@Test
	public void testInvokeDiagramGenViaCLI() {
		String[] create = CLIArgBuilder.createDiagrams("./diagrams");
		Main main = new Main(create);
		int status = main.parse();
		assertEquals(0, status);
	}

	@Test
	public void testDeleteViaCommandLineDeployWithFileAndBuildNumber() {
		String buildNumber = "0915";

		String[] createArgs = CLIArgBuilder.createSimpleStackWithBuildNumber(testName, buildNumber);
		Main main = new Main(createArgs);
		int createResult = main.parse();
		assertEquals(0,createResult);

		String[] deleteArgs = CLIArgBuilder.deleteSimpleStackWithBuildNumber(buildNumber);
		main = new Main(deleteArgs);
		int deleteResult = main.parse();
		assertEquals(0,deleteResult);

		deletesStacks.ifPresent("CfnAssistTestsimpleStack");
	}

	@Test
	public void testDeleteViaCommandLineDeployWithFile() {
		String[] createArgs = CLIArgBuilder.createSimpleStack(testName);
		Main main = new Main(createArgs);
		int createResult = main.parse();
		assertEquals(0,createResult);

		String[] deleteArgs = CLIArgBuilder.deleteSimpleStack();
		main = new Main(deleteArgs);
		int deleteResult = main.parse();
		assertEquals(0,deleteResult);

		deletesStacks.ifPresent("CfnAssistTestsimpleStack");
	}

    @Test
    public void shouldDeleteViaCommandLineDeployWithName() {
        String[] createArgs = CLIArgBuilder.createSimpleStack(testName);
        Main main = new Main(createArgs);
        int createResult = main.parse();
        assertEquals(0,createResult);

        String[] deleteArgs = CLIArgBuilder.deleteByNameSimpleStack("simpleStack");
        main = new Main(deleteArgs);
        int deleteResult = main.parse();
        assertEquals(0,deleteResult);

        deletesStacks.ifPresent("CfnAssistTestsimpleStack");
    }

	@Test
	public void testInvokeViaCommandLineDeploySwitchELBInstancesAndWhitelistIP() {
		Integer buildNumber = 876;
		String typeTag = "web";

		String[] createELBAndInstance = {
				"-env", EnvironmentSetupForTests.ENV,
				"-project", EnvironmentSetupForTests.PROJECT,
				"-build", buildNumber.toString(),
				"-file", FilesForTesting.ELB_AND_INSTANCE,
				"-comment", testName
				};
		Main main = new Main(createELBAndInstance);
		int result = main.parse();
		deletesStacks.ifPresent("CfnAssist876TestelbAndInstance");
		assertEquals(0,result);

		String[] updateELB = CLIArgBuilder.updateELB(typeTag, buildNumber);
		main = new Main(updateELB);
		result = main.parse();
		assertEquals(0,result);

		Integer port = 8080;
		String[] allowlistCurrentIP = CLIArgBuilder.allowlistCurrentIP(typeTag, port);
		main = new Main(allowlistCurrentIP);
		result = main.parse();
		assertEquals(0,result);

		String[] blockCurrentIP = CLIArgBuilder.blockCurrentIP(typeTag, port);
		main = new Main(blockCurrentIP);
		result = main.parse();
		assertEquals(0,result);

	}

	@Test
	public void testInvokeViaCommandLineDeployWithFileAndSNS() {
		String[] args = CLIArgBuilder.createSimpleStackWithSNS(testName);
		Main main = new Main(args);
		int result = main.parse();
		deletesStacks.ifPresent("CfnAssistTestsimpleStack");
		assertEquals(0,result);
	}

	@Test
	public void testInokeViaCommandLineWithAutoPopulatedAvailabilityZones() {
		String[] args = CLIArgBuilder.createSubnetStackWithZones(testName);
		Main main = new Main(args);
		int result = main.parse();
		deletesStacks.ifPresent("CfnAssistTestsimpleStackWithAZ");
		assertEquals(0, result);
	}

	@Test
	public void testUpdateViaCommandLineDeployWithFileAndSNS() {
		String[] create = CLIArgBuilder.createSubnetStack(testName); // no sns
		Main main = new Main(create);
		main.parse();

		String[] update = CLIArgBuilder.updateSimpleStack(testName, "-sns");
		main = new Main(update);
		int result = main.parse();

		deletesStacks.ifPresent("CfnAssistTestsubnet");
		assertEquals(0,result);
	}

	@Test
	public void testInvokeViaCommandLineDeployWithFilePassedInParam() {
		String[] args = CLIArgBuilder.createSubnetStackWithParams(testName);
		Main main = new Main(args);
		int result = main.parse();
		deletesStacks.ifPresent("CfnAssistTestsubnetWithParam");
		assertEquals(0,result);
	}

	@Test
	public void shouldListInstances() {
		String[] args = CLIArgBuilder.listInstances();
		Main main = new Main(args);
		int result = main.parse();
		assertEquals(0,result);
	}

	@Test
	public void testInvokeViaCommandLineDeployWholeDirAndThenRollback() throws CannotFindVpcException {
		ProjectAndEnv projAndEnv = new ProjectAndEnv(EnvironmentSetupForTests.PROJECT, EnvironmentSetupForTests.ENV);
		invokeForDirAndThenPurge(projAndEnv, "", FilesForTesting.ORDERED_SCRIPTS_FOLDER);
	}

	@Test
	public void testInvokeViaCommandLineDeployWholeDirAndThenRollbackWithSNS() throws CannotFindVpcException {
		ProjectAndEnv projAndEnv = new ProjectAndEnv(EnvironmentSetupForTests.PROJECT, EnvironmentSetupForTests.ENV);
		invokeForDirAndThenPurge(projAndEnv, "-sns", FilesForTesting.ORDERED_SCRIPTS_FOLDER);
	}

	@Test
	public void testInvokeViaCommandLineDeployWholeDirDeltasAndThenRollback() throws CannotFindVpcException {
		ProjectAndEnv projAndEnv = new ProjectAndEnv(EnvironmentSetupForTests.PROJECT, EnvironmentSetupForTests.ENV);
		invokeForDirAndThenPurge(projAndEnv, "", FilesForTesting.ORDERED_SCRIPTS_WITH_UPDATES_FOLDER.toString());
	}

	@Test
	public void testInvokeViaCommandLineDeployWholeDirDeltasAndThenRollbackWithSNS() throws CannotFindVpcException {
		ProjectAndEnv projAndEnv = new ProjectAndEnv(EnvironmentSetupForTests.PROJECT, EnvironmentSetupForTests.ENV);
		invokeForDirAndThenPurge(projAndEnv, "-sns", FilesForTesting.ORDERED_SCRIPTS_WITH_UPDATES_FOLDER.toString());
	}

	@Test
	public void testInvokeViaCommandLineAndThenStepBackWithSNS() throws CannotFindVpcException {
		ProjectAndEnv projAndEnv = new ProjectAndEnv(EnvironmentSetupForTests.PROJECT, EnvironmentSetupForTests.ENV);
		vpcRepository.setVpcIndexTag(projAndEnv, "0");

		String[] argsDeploy = CLIArgBuilder.deployFromDir(FilesForTesting.ORDERED_SCRIPTS_FOLDER, "-sns", testName);
		Main main = new Main(argsDeploy);
		int result = main.parse();
		assertEquals("deploy failed",0,result);

		String[] stepback = CLIArgBuilder.back("-sns");

		// step back first stack
		main = new Main(stepback);
		int resultA = main.parse();
		// step back second stack
		main = new Main(stepback);
		int resultB = main.parse();

		vpcRepository.initAllTags(altEnvVPC.vpcId(), altProjectAndEnv);

		assertEquals("first back failed",0,resultA);
		assertEquals("second back failed",0,resultB);
	}

	private void invokeForDirAndThenPurge(ProjectAndEnv projAndEnv,
										  String sns, String orderedScriptsFolder) throws CannotFindVpcException {
		vpcRepository.setVpcIndexTag(projAndEnv, "0");

		String[] argsDeploy = CLIArgBuilder.deployFromDir(orderedScriptsFolder, sns, testName);
		Main main = new Main(argsDeploy);
		int result = main.parse();
		assertEquals("deploy failed",0,result);

		String[] rollbackDeploy = CLIArgBuilder.purge(sns);
		main = new Main(rollbackDeploy);
		result = main.parse();

		//clean up as needed
		vpcRepository.initAllTags(altEnvVPC.vpcId(), altProjectAndEnv);
		//cfnClient.setRegions(EnvironmentSetupForTests.getRegion());

		// check
		assertEquals("purge failed",0,result);
	}

	@Ignore("cant find way to label at existing stack via apis")
	@Test
	public void testInvokeViaCommandLineTagExistingStack() throws IOException {
		EnvironmentSetupForTests.createTemporarySimpleStack(cfnClient, altEnvVPC.vpcId(),"");

		String[] argslabelStack = {
				"-env", EnvironmentSetupForTests.ENV,
				"-project", EnvironmentSetupForTests.PROJECT,
				"-labelstack", "todoNotWorking"
		};
		Main main = new Main(argslabelStack);
		int result = main.parse();
		deletesStacks.ifPresent("CfnAssistTestsimpleStack");
		assertEquals(0, result);
	}

}


text:
from django.contrib import admin

import profiles.models as models

admin.site.register(models.UserProfile)
admin.site.register(models.UserEmail)
admin.site.register(models.UserPhone)
admin.site.register(models.UserAddress)
admin.site.register(models.UserExternalSite)

class MemberStatusChangeAdmin(admin.ModelAdmin):
    list_display = ("profile", "changed_on", "new_status", "old_status")
    list_filter = ("changed_on", "new_status", "profile")
admin.site.register(models.MemberStatusChange, MemberStatusChangeAdmin)


text:
class IloDevice < ActiveRecord::Base
end


text:
/**
 * Created by jt on 11/23/16.
 */

import { Router } from 'express';
import jwt from 'jsonwebtoken';
import config from 'config';
import account from '../models/account';

const secret = config.get('secret');

const router = new Router();

const check = (req, res) => {
  jwt.verify(req.headers.authorization || req.params.token || req.body.token, secret, (err, decoded) => {
    if (err) {
      return res.status(401).send();
    }
    return account.findOne({ username: decoded._username }, (error, user) => { // eslint-disable-line no-underscore-dangle
      if (error || !user) {
        return res.status(500).send('failure');
      }
      console.log(`user: ${user}`);
      return res.status(200).json({ username: user.username, userID: user._id }); // eslint-disable-line no-underscore-dangle
    });
  });
};

router.post('/check', check);

router.get('/test', (req, res) => {
  res.end('hi');
});

router.get('/tester', (req, res) => {
  res.json({ test: 'test', what: 'what' });
});

router.post('/register', (req, res) => {
  console.log('Req.body: ', req.body);
  account.create({ username: req.body.username, email: req.body.email, password: req.body.password }, (err, user) => {
    if (err) {
      res.sendStatus(400).send();
    }
    res.sendStatus(201).send(user.username);
  });
});

router.post('/login', (req, res) => {
  console.log('Trying login: ', req.body);
  return account.findOne({ username: req.body.username }, (err, user) => {
    if (err) {
      return res.status(400).send();
    }
    console.log('Logging in with user: ', user);
    if (!req.body.password) {
      console.log('no password');
      return res.status(400).send();
    }
    return user.comparePassword(req.body.password, (error, result) => {
      if (error) {
        return res.status(400).send();
      }
      if (!result) {
        return res.status(401).send();
      }
      const token = jwt.sign({ _username: user.username, userID: user._id }, secret, { // eslint-disable-line no-underscore-dangle
        expiresIn: 1440, // expires in 24 hours
      });
      return res.json({
        success: true,
        message: 'Logged in',
        userID: user._id, // eslint-disable-line no-underscore-dangle
        token,
      });
    });
  });
});

router.post('/logout', (req, res) => {
  console.log('Logout Server Side');
  res.json({ message: 'Logged out' });
});

export default router;


text:
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
  xmlns:android="http://schemas.android.com/apk/res/android"
  android:orientation="vertical"
  android:layout_width="match_parent"
  android:layout_height="match_parent" android:weightSum="1">
    <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:id="@+id/threadreply_layout_buttons" android:orientation="horizontal">
        <Button android:layout_height="wrap_content" android:id="@+id/postmessage_button_post" android:text="@string/postmessage_button_post" android:layout_weight="1" android:layout_width="0dp"></Button>
        <Button android:layout_height="wrap_content" android:id="@+id/postmessage_button_dismiss" android:text="@string/postmessage_button_dismiss" android:layout_weight="1" android:layout_width="0dp"></Button>
    </LinearLayout>
    <EditText android:layout_below="@+id/threadreply_layout_buttons" android:id="@+id/postmessage_edittext" android:layout_width="match_parent" android:inputType="textMultiLine" android:layout_height="match_parent">
        <requestFocus></requestFocus>
    </EditText>

</RelativeLayout>


text:
package com.game.src.main;

import java.awt.Rectangle;

public class GameObject {

	public double x, y;

	public GameObject(double x, double y)
	{
		this.x = x;
		this.y = y;
	}

	public Rectangle getBounds(int width, int height)
	{
		return new Rectangle((int)x, (int) y, width, height);
	}

}


text:
<?php
/**
 * Container for list of headers.
 *
 * @package     stubbles
 * @subpackage  peer
 * @version     $Id: stubHeaderList.php 2857 2011-01-10 13:43:39Z mikey $
 */
stubClassLoader::load('net::stubbles::lang::exceptions::stubIllegalArgumentException',
                      'net::stubbles::peer::stubURL'
);
/**
 * Container for list of headers.
 *
 * @package     stubbles
 * @subpackage  peer
 */
class stubHeaderList extends stubBaseObject implements IteratorAggregate
{
    /**
     * list of headers
     *
     * @var  array<string,string>
     */
    private $headers = array();

    /**
     * creates headerlist from given string
     *
     * @param   string          $headers  string to parse for headers
     * @return  stubHeaderList
     */
    public static function fromString($headers)
    {
        $headerList = new self();
        $matches    = array();
        preg_match_all('=^(.+): ([^\r\n]*)=m', $headers, $matches, PREG_SET_ORDER);
        foreach ($matches as $line) {
            $headerList->put($line[1], $line[2]);
        }

        return $headerList;
    }

    /**
     * creates header with value for key
     *
     * @param   string          $key    name of header
     * @param   string          $value  value of header
     * @return  stubHeaderList
     * @throws  stubIllegalArgumentException
     */
    public function put($key, $value)
    {
        if (is_string($key) == false) {
            throw new stubIllegalArgumentException('Argument 1 passed to ' . __METHOD__ . ' must be an instance of string.');
        }

        if (is_scalar($value) == false) {
            throw new stubIllegalArgumentException('Argument 2 passed to ' . __METHOD__ . ' must be an instance of a scalar value.');
        }

        $this->headers[$key] = (string) $value;
        return $this;
    }

    /**
     * removes header with given key
     *
     * @param   string  $key    name of header
     * @return  stubHeaderList
     */
    public function remove($key)
    {
        if (isset($this->headers[$key]) == true) {
            unset($this->headers[$key]);
        }

        return $this;
    }

    /**
     * creates header for user agent
     *
     * @param   string          $userAgent  name of user agent
     * @return  stubHeaderList
     */
    public function putUserAgent($userAgent)
    {
        $this->put('User-Agent', $userAgent);
        return $this;
    }

    /**
     * creates header for referer
     *
     * @param   string          $referer  referer url
     * @return  stubHeaderList
     */
    public function putReferer($referer)
    {
        $this->put('Referer', $referer);
        return $this;
    }

    /**
     * creates header for cookie
     *
     * @param   array           $cookieValues  cookie values
     * @return  stubHeaderList
     */
    public function putCookie(array $cookieValues)
    {
        $cookieValue = '';
        foreach ($cookieValues as $key => $value) {
            $cookieValue .= $key . '=' . urlencode($value) . ';';
        }

        $this->put('Cookie', $cookieValue);
        return $this;
    }

    /**
     * creates header for authorization
     *
     * @param   string          $user      login name
     * @param   string          $password  login password
     * @return  stubHeaderList
     */
    public function putAuthorization($user, $password)
    {
        $this->put('Authorization', 'BASIC ' . base64_encode($user . ':' . $password));
        return $this;
    }

    /**
     * adds a date header
     *
     * @param   int             $date  optional  timestamp to use as date
     * @return  stubHeaderList
     */
    public function putDate($date = null)
    {
        if (null === $date) {
            $date = gmdate('D, d M Y H:i:s');
        } else {
            $date = gmdate('D, d M Y H:i:s', $date);
        }

        $this->put('Date', $date . ' GMT');
        return $this;
    }

    /**
     * creates X-Binford header
     *
     * @return  stubHeaderList
     */
    public function enablePower()
    {
        $this->put('X-Binford', 'More power!');
        return $this;
    }

    /**
     * removes all headers
     *
     * @return  stubHeaderList
     */
    public function clear()
    {
        $this->headers = array();
        return $this;
    }

    /**
     * returns value of header with given key
     *
     * @param   string  $key      name of header
     * @param   mixed   $default  optional  value to return if given header not set
     * @return  string
     */
    public function get($key, $default = null)
    {
        if ($this->containsKey($key) == true) {
            return $this->headers[$key];
        }

        return $default;
    }

    /**
     * returns true if an header with given key exists
     *
     * @param   string  $key  name of header
     * @return  bool
     */
    public function containsKey($key)
    {
        return isset($this->headers[$key]);
    }

    /**
     * returns an iterator object
     *
     * @return  ArrayObject
     */
    public function getIterator()
    {
        return new ArrayObject($this->headers);
    }

    /**
     * returns amount of headers
     *
     * @return  int
     */
    public function size()
    {
        return count($this->headers);
    }
}
?>


text:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
    <title>Document</title>


text:
import json
import tarfile

from .exceptions import DockerError, DockerContainerError
from .jsonstream import json_stream_result
from .multiplexed import multiplexed_result
from .utils import identical, parse_result

from .logs import DockerLog

class DockerContainers(object):
    def __init__(self, docker):
        self.docker = docker

    async def list(self, **kwargs):
        data = await self.docker._query_json(
            "containers/json", method="GET", params=kwargs
        )
        return [DockerContainer(self.docker, **x) for x in data]

    async def create_or_replace(self, name, config):
        container = None

        try:
            container = await self.get(name)
            if not identical(config, container._container):
                running = container._container.get("State", {}).get("Running", False)
                if running:
                    await container.stop()
                await container.delete()
                container = None
        except DockerError:
            pass

        if container is None:
            container = await self.create(config, name=name)

        return container

    async def create(self, config, *, name=None):
        url = "containers/create"

        config = json.dumps(config, sort_keys=True).encode("utf-8")
        kwargs = {}
        if name:
            kwargs["name"] = name
        data = await self.docker._query_json(
            url, method="POST", data=config, params=kwargs
        )
        return DockerContainer(self.docker, id=data["Id"])

    async def run(self, config, *, name=None):
        """
        Create and start a container.

        If container.start() will raise an error the exception will contain
        a `container_id` attribute with the id of the container.
        """
        try:
            container = await self.create(config, name=name)
        except DockerError as err:
            # image not find, try pull it
            if err.status == 404 and "Image" in config:
                await self.docker.pull(config["Image"])
                container = await self.create(config, name=name)
            else:
                raise err

        try:
            await container.start()
        except DockerError as err:
            raise DockerContainerError(
                err.status, {"message": err.message}, container["id"]
            )

        return container

    async def get(self, container, **kwargs):
        data = await self.docker._query_json(
            "containers/{container}/json".format(container=container),
            method="GET",
            params=kwargs,
        )
        return DockerContainer(self.docker, **data)

    def container(self, container_id, **kwargs):
        data = {"id": container_id}
        data.update(kwargs)
        return DockerContainer(self.docker, **data)

class DockerContainer:
    def __init__(self, docker, **kwargs):
        self.docker = docker
        self._container = kwargs
        self._id = self._container.get(
            "id", self._container.get("ID", self._container.get("Id"))
        )
        self.logs = DockerLog(docker, self)

    async def log(self, *, stdout=False, stderr=False, follow=False, **kwargs):
        if stdout is False and stderr is False:
            raise TypeError("Need one of stdout or stderr")

        params = {"stdout": stdout, "stderr": stderr, "follow": follow}
        params.update(kwargs)

        inspect_info = await self.show()
        is_tty = inspect_info["Config"]["Tty"]

        response = await self.docker._query(
            "containers/{self._id}/logs".format(self=self), method="GET", params=params
        )
        return await multiplexed_result(response, follow, is_tty=is_tty)

    async def copy(self, resource, **kwargs):
        # TODO: this is deprecated, use get_archive instead
        request = json.dumps({"Resource": resource}, sort_keys=True).encode("utf-8")
        data = await self.docker._query(
            "containers/{self._id}/copy".format(self=self),
            method="POST",
            data=request,
            headers={"content-type": "application/json"},
            params=kwargs,
        )
        return data

    async def get_archive(self, path: str) -> tarfile.TarFile:
        response = await self.docker._query(
            "containers/{self._id}/archive".format(self=self),
            method="GET",
            params={"path": path},
        )
        data = await parse_result(response)
        return data

    async def put_archive(self, path, data):
        response = await self.docker._query(
            "containers/{self._id}/archive".format(self=self),
            method="PUT",
            data=data,
            headers={"content-type": "application/json"},
            params={"path": path},
        )
        data = await parse_result(response)
        return data

    async def show(self, **kwargs):
        data = await self.docker._query_json(
            "containers/{self._id}/json".format(self=self), method="GET", params=kwargs
        )
        self._container = data
        return data

    async def stop(self, **kwargs):
        response = await self.docker._query(
            "containers/{self._id}/stop".format(self=self), method="POST", params=kwargs
        )
        await response.release()
        return

    async def start(self, **kwargs):
        response = await self.docker._query(
            "containers/{self._id}/start".format(self=self),
            method="POST",
            headers={"content-type": "application/json"},
            data=kwargs,
        )
        await response.release()
        return

    async def restart(self, timeout=None):
        params = {}
        if timeout is not None:
            params["t"] = timeout
        response = await self.docker._query(
            "containers/{self._id}/restart".format(self=self),
            method="POST",
            params=params,
        )
        await response.release()
        return

    async def kill(self, **kwargs):
        response = await self.docker._query(
            "containers/{self._id}/kill".format(self=self), method="POST", params=kwargs
        )
        await response.release()
        return

    async def wait(self, *, timeout=None, **kwargs):
        data = await self.docker._query_json(
            "containers/{self._id}/wait".format(self=self),
            method="POST",
            params=kwargs,
            timeout=timeout,
        )
        return data

    async def delete(self, **kwargs):
        response = await self.docker._query(
            "containers/{self._id}".format(self=self), method="DELETE", params=kwargs
        )
        await response.release()

    async def websocket(self, **params):
        path = "containers/{self._id}/attach/ws".format(self=self)
        ws = await self.docker._websocket(path, **params)
        return ws

    async def port(self, private_port):
        if "NetworkSettings" not in self._container:
            await self.show()

        private_port = str(private_port)
        h_ports = None

        # Port settings is None when the container is running with
        # network_mode=host.
        port_settings = self._container.get("NetworkSettings", {}).get("Ports")
        if port_settings is None:
            return None

        if "/" in private_port:
            return port_settings.get(private_port)

        h_ports = port_settings.get(private_port + "/tcp")
        if h_ports is None:
            h_ports = port_settings.get(private_port + "/udp")

        return h_ports

    async def stats(self, *, stream=True):
        if stream:
            response = await self.docker._query(
                "containers/{self._id}/stats".format(self=self), params={"stream": "1"}
            )
            return await json_stream_result(response)
        else:
            data = await self.docker._query_json(
                "containers/{self._id}/stats".format(self=self), params={"stream": "0"}
            )
            return data

    def __getitem__(self, key):
        return self._container[key]

    def __hasitem__(self, key):
        return key in self._container