text:
<!DOCTYPE html>

  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="viewport" content="width=device-width">
  <meta name="google" value="notranslate">
  <title>Configuration</title>
  <link rel="stylesheet" href="css/grafana.dark.min.21253ffa.css" title="Dark">
  <link rel="icon" type="image/png" href="img/fav32.png">

Configuration

    <form class="form-horizontal">

Arduino

            COM Port

              <input style="margin-left: 1%;" type="text" class="form-control" id="arduino-com_port" placeholder="">

            Baudrate

              <input style="margin-left: 1%;" type="number" class="form-control" id="arduino-baudrate" placeholder="">

            Read Sensors Timer

              <input style="margin-left: 1%;" type="number" class="form-control" id="arduino-read_sensors_timer" placeholder="">

            Read Sensors Fast Timer

              <input style="margin-left: 1%;" type="number" class="form-control" id="arduino-read_sensors_fast_timer" placeholder="">

            Meteo Timer

              <input style="margin-left: 1%;" type="number" class="form-control" id="arduino-get_meteo_timer" placeholder="">

Database (InfluxDB)

            Host

              <input style="margin-left: 1%;" type="text" class="form-control" id="db-host" placeholder="">

            Port

              <input style="margin-left: 1%;" type="number" class="form-control" id="db-port" placeholder="">

            Name

              <input style="margin-left: 1%;" type="text" class="form-control" id="db-name" placeholder="">

            Password

              <input style="margin-left: 1%;" type="password" class="form-control" id="db-password" placeholder="">

            Username

              <input style="margin-left: 1%;" type="text" class="form-control" id="db-username" placeholder="">

Forecast.io

            API Key

              <input style="margin-left: 1%;" type="text" class="form-control" id="forecast-api" placeholder="">

            Latitute

              <input style="margin-left: 1%;" type="text" class="form-control" id="forecast-lat" placeholder="">

            Longitute

              <input style="margin-left: 1%;" type="text" class="form-control" id="forecast-long" placeholder="">

            Local

              <input style="margin-left: 1%;" type="text" class="form-control" id="forecast-local" placeholder="">

Twilio

            To

              <input style="margin-left: 1%;" type="text" class="form-control" id="twilio-to" placeholder="">

            From

              <input style="margin-left: 1%;" type="text" class="form-control" id="twilio-from" placeholder="">

            SID

              <input style="margin-left: 1%;" type="text" class="form-control" id="twilio-sid" placeholder="">

            Token

              <input style="margin-left: 1%;" type="text" class="form-control" id="twilio-token" placeholder="">

Mandrill

            To

              <input style="margin-left: 1%;" type="text" class="form-control" id="mandrill-to" placeholder="">

            From

              <input style="margin-left: 1%;" type="text" class="form-control" id="mandrill-from" placeholder="">

            Token

              <input style="margin-left: 1%;" type="text" class="form-control" id="mandrill-token" placeholder="">

    </form>

Alerts/Warnings

            If <select name="type" style="margin-left: 5px;  margin-right: 5px; width: unset;">
                <option value="temperature">temperature</option>
                <option value="humidity">humidity</option>
                <option value="brightness">brightness</option>
                <option value="heat">heat index</option>
                <option value="sound">sound level</option>
              </select> is <select name="op" style="margin-left: 5px; margin-right: 5px; width: unset;">
                <option value=">=">higher or equal</option>
                <option value=">">higher</option>
                <option value="=">equal</option>
                <option value="<">lower or equal</option>
                <option value="<=">lower</option>
              </select> than <input name="value" type="number" style="margin-left: 5px;  margin-right: 5px; width: 50px;"> send <select name="action" style="margin-left: 5px; width: unset;">
                <option value="sms">SMS</option>
                <option value="mail">email</option>
              </select>

    <button id="submit" class="btn btn-primary large" style="float: right;">Submit</button>


text:
Cumulative Rainfall Review
==========================
Background
----------
Daily rainfall totals can be compared to long term averages. Daily totals will vary depending on prevailing weather conditions and will show wetter or dryer periods than average.

This routine sets out to present trends around the long term average over a Jul-Jun 12 month period (southern hemisphere Winter-Spring-Summer-Autumn-Winter period). This is useful in assessing likelihood of droughty conditions if prevailing rainfall is trending low from the beginning of a period.

Description
-----------
Two scripts are provided here. The first, **DailyRainfall_CreateReferenceData_10yrs.R**, creates reference data for a user-specified time period (10 years is used in the script). This reference data is stored locally on a file share and then re-used in the second script, **DailyRainfall_Accumulation_Outputs.R** for comparison against daily rainfalls and the output of charts for each rainfall station.

**DailyRainfall_CreateReferenceData_10yrs.R**'s function is to:

1. Discover those sites with the requisite measurements contained within the referenced file based on the collection name
2. Determine which of those sites has requisite period of record
3. Retrieve daily rainfall records for that period
4. Rearrange the data from a Jan-Dec to a Jul-Jun year
5. Calculate cummulative rainfall totals
6. Calculate cummulative rainfall percentiles
7. Save as reference data

**DailyRainfall_Accumulation_Outputs.R** function is to:

1. Load the reference data
2. Retrieve daily rainfall for current and previous year
3. Munge data for plotting
4. Plot
  * Cummulative rainfall totals
  * Compare cummulative rainfall to median and previous year
  * Monthly rainfall totals

Note
-----
1. Scripts are written for data in a Hilltop Server environment. For other time series servers, you will need to ammend
  * the arguments used in the URL's to query the data
  * the XPATH used to extract data from the XML responses
2. You will need to modify most of variables specified at the top of the scripts to match your local enviroments.

Acknowledgements
----------------
Thanks to the Catchment Data team of Horizons Regional Council for review and helpful comments in the development of this script. Many thanks also to the creators and maintainers of the XML, reshape2, zoo and hydroTSM library's.

redpajama_set_name: RedPajamaGithub


text:
<?php

namespace ExampleApp\DependencyInjection;

use Symfony\Component\Config\FileLocator;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\DependencyInjection\Extension\Extension;
use Symfony\Component\DependencyInjection\Loader\XmlFileLoader;

class ExampleAppExtension extends Extension
{
    /**
     * Loads a specific configuration.
     *
     * @param array $configs An array of configuration values
     * @param ContainerBuilder $container A ContainerBuilder instance
     *
     * @throws \InvalidArgumentException When provided tag is not defined in this extension
     */
    public function load(array $configs, ContainerBuilder $container)
    {
        $loader = new XmlFileLoader($container, new FileLocator([
            __DIR__.'/../Resources/config',
        ]));

        $loader->load('services.xml');
    }
}


text:
module.exports = {
  'content-sniff-size': {
    alias: ['content-sniff', 'sniff-size'],
    type: 'number',
    describe: 'Specify the size of the content sniff',
    default: 5,
  },

  'print-response-data': {
    alias: ['print-data'],
    type: 'boolean',
    describe: 'Print response data',
    default: false,
  },

  'download-response-data': {
    alias: ['download-data'],
    type: 'boolean',
    describe: 'Download response data',
    default: false,
  },
}


text:
<!DOCTYPE html>

        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <meta name="description" content="">
        <meta name="viewport" content="width=device-width, initial-scale=1">

        <title></title>

        <link href="css/sidebar.css" rel="stylesheet">
        <link rel="stylesheet" href="css/bootstrap.min.css">
        <link rel="stylesheet" href="css/bootstrap-theme.min.css">
        <link rel="stylesheet" href="css/main.css">

                    CS Assess

                <form class="navbar-text navbar-right" style="float: right">
                     Testy
                        Jones
                     Logout
                </form>

 Home

 My Profile

 CS402 - Morrison

 CS404 - Boyarsky

 AS305 - Miller

 Question Database

View Question

 Add Question

 Create an Assessment

 General Info

                        <input placeholder="Assignment Name" id="assignmentName"> </input>
                        <select class="practiceElement" id="assesmentType" name="assessmentTypeSelect">
                            <option value="default" selected="selected"> Assessment Type</option>
                            <option value="test">test</option>
                            <option value="quiz">quiz</option>
                        </select>

 Section(s)

 Topic(s)

 Difficulty

                        <input type="checkbox" name="1" value="1"> 1

                        <input type="checkbox" name="2" value="2"> 2

                        <input type="checkbox" name="3" value="3"> 3

                        <input type="checkbox" name="4" value="4"> 4

                        <input type="checkbox" name="5" value="5"> 5

                        <input type="checkbox" name="6" value="6"> 6

                        <input type="checkbox" name="7" value="7"> 7

                        <input type="checkbox" name="8" value="8"> 8

                        <input type="checkbox" name="9" value="9"> 9

                        <input type="checkbox" name="10" value="10"> 10

 # of Questions

                        <input id="qNum" type="number" min="1" max="100"></input>

                        <button type="button btn-default" name="submitAssignment" onclick="getSectionIds()"
                                style="width:90px;height:40px;"> Submit
                        </button>

© NCSSM CS 2015


text:
require 'rubygems'

class Fuchikoma
  class Gem
    attr_accessor :name, :old_version, :new_version, :tag_prefx

    def initialize(name, versions, tag_prefx = 'v')
      @name = name
      @old_version, @new_version = versions.sort_by { |version|
        ::Gem::Version.new(version)
      }
      @tag_prefx = tag_prefx
    end

    def homepage
      ::Gem::Specification.find_by_name(@name).homepage.to_s.sub(/\Ahttps?/, 'https')
    rescue ::Gem::LoadError
    end

    def tag_prefx
      @tag_prefx
    end
  end
end


text:
#ifndef RPGSS_GRAPHICS_FONT_HPP_INCLUDED
#define RPGSS_GRAPHICS_FONT_HPP_INCLUDED

#include <string>
#include <vector>

#include "../common/RefCountedObject.hpp"
#include "../common/RefCountedObjectPtr.hpp"
#include "Image.hpp"

namespace rpgss {
    namespace graphics {

        class Font : public RefCountedObject {
        public:
            typedef RefCountedObjectPtr<Font> Ptr;

        public:
            static Font::Ptr New(Image* atlas);

        public:
            int getMaxCharWidth() const;
            int getMaxCharHeight() const;

            int getTabWidth() const;
            void setTabWidth(int tabWidth);

            const Image* getCharImage(char c) const;

            int getTextWidth(const char* str, int len);
            void wordWrapText(const char* str, int len, int max_line_width, std::vector<std::pair<int, int> >& lines);

        private:
            // use New()
            Font();
            ~Font();

            bool initFromImage(Image* fontImage);

        private:
            std::vector<Image::Ptr> _chars;
            int _maxCharWidth;
            int _maxCharHeight;
            int _tabWidth;
        };

        //-----------------------------------------------------------------
        inline int
        Font::getMaxCharWidth() const
        {
            return _maxCharWidth;
        }

        //-----------------------------------------------------------------
        inline int
        Font::getMaxCharHeight() const
        {
            return _maxCharHeight;
        }

        //-----------------------------------------------------------------
        inline int
        Font::getTabWidth() const
        {
            return _tabWidth;
        }

        //-----------------------------------------------------------------
        inline void
        Font::setTabWidth(int tabWidth)
        {
            _tabWidth = (tabWidth >= 0 ? tabWidth : 0);
        }

        inline const Image*
        Font::getCharImage(char c) const
        {
            return _chars[(u8)c];
        }

    } // namespace graphics
} // namespace rpgss

#endif // RPGSS_GRAPHICS_FONT_HPP_INCLUDED


text:
require 'spec_helper'

describe Formulator::Token do
  it 'should have a category and a value' do
    token = Formulator::Token.new(:numeric, 5)
    token.category.should eq(:numeric)
    token.value.should eq(5)
    token.is?(:numeric).should be_true
  end

end


text:
//
// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
//
// Arjuna Technologies Ltd.,
// Newcastle upon Tyne,
// Tyne and Wear,
// UK.
//
// $Id: ResourceImpl02.java,v 1.2 2003/06/26 11:43:37 rbegg Exp $
//

package org.jboss.jbossts.qa.CrashRecovery05Impls;

/*
 * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
 *
 * HP Arjuna Labs,
 * Newcastle upon Tyne,
 * Tyne and Wear,
 * UK.
 *
 * $Id: ResourceImpl02.java,v 1.2 2003/06/26 11:43:37 rbegg Exp $
 */

/*
 * Try to get around the differences between Ansi CPP and
 * K&R cpp with concatenation.
 */

/*
 * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
 *
 * HP Arjuna Labs,
 * Newcastle upon Tyne,
 * Tyne and Wear,
 * UK.
 *
 * $Id: ResourceImpl02.java,v 1.2 2003/06/26 11:43:37 rbegg Exp $
 */

import org.jboss.jbossts.qa.CrashRecovery05.*;
import org.omg.CosTransactions.*;

public class ResourceImpl02 implements ResourceOperations
{
	public ResourceImpl02(int objectNumber, int resourceNumber)
	{
		_objectNumber = objectNumber;
		_resourceNumber = resourceNumber;
		_status = Status.StatusNoTransaction;
	}

	public Vote prepare()
			throws HeuristicMixed, HeuristicHazard
	{
		System.err.print("ResourceImpl02.prepare [O" + _objectNumber + ".R" + _resourceNumber + "]: ");

		if (_resourceTrace == ResourceTrace.ResourceTraceNone)
		{
			_resourceTrace = ResourceTrace.ResourceTracePrepare;
		}
		else
		{
			_resourceTrace = ResourceTrace.ResourceTraceUnknown;
		}

		_status = Status.StatusPrepared;

		System.err.println("ReturnVoteCommit");

		return Vote.VoteCommit;
	}

	public void rollback()
			throws HeuristicCommit, HeuristicMixed, HeuristicHazard
	{
		System.err.print("ResourceImpl02.rollback [O" + _objectNumber + ".R" + _resourceNumber + "]: ");

		if (isComplete())
			return;

		if (_resourceTrace == ResourceTrace.ResourceTraceNone)
		{
			_resourceTrace = ResourceTrace.ResourceTraceRollback;
		}
		else if (_resourceTrace == ResourceTrace.ResourceTracePrepare)
		{
			_resourceTrace = ResourceTrace.ResourceTracePrepareRollback;
		}
		else
		{
			_resourceTrace = ResourceTrace.ResourceTraceUnknown;
		}

		_status = Status.StatusRolledBack;

		System.err.println("Return");
	}

	public void commit()
			throws NotPrepared, HeuristicRollback, HeuristicMixed, HeuristicHazard
	{
		System.err.print("ResourceImpl02.commit [O" + _objectNumber + ".R" + _resourceNumber + "]: ");

		if (isComplete())
			return;

		if (_resourceTrace == ResourceTrace.ResourceTraceNone)
		{
			_resourceTrace = ResourceTrace.ResourceTraceCommit;
		}
		else if (_resourceTrace == ResourceTrace.ResourceTracePrepare)
		{
			_resourceTrace = ResourceTrace.ResourceTracePrepareCommit;
		}
		else
		{
			_resourceTrace = ResourceTrace.ResourceTraceUnknown;
		}

		_status = Status.StatusCommitted;

		System.err.println("Return");
	}

	public void commit_one_phase()
			throws HeuristicHazard
	{
		System.err.print("ResourceImpl02.commit_one_phase [O" + _objectNumber + ".R" + _resourceNumber + "]: ");

		if (isComplete())
			return;

		if (_resourceTrace == ResourceTrace.ResourceTraceNone)
		{
			_resourceTrace = ResourceTrace.ResourceTraceCommitOnePhase;
		}
		else
		{
			_resourceTrace = ResourceTrace.ResourceTraceUnknown;
		}

		_status = Status.StatusCommitted;

		System.err.println("Return");
	}

	public void forget()
	{
		System.err.print("ResourceImpl02.forget [O" + _objectNumber + ".R" + _resourceNumber + "]: ");

		if (_resourceTrace == ResourceTrace.ResourceTracePrepare)
		{
			_resourceTrace = ResourceTrace.ResourceTracePrepareForget;
		}
		else if (_resourceTrace == ResourceTrace.ResourceTracePrepareRollback)
		{
			_resourceTrace = ResourceTrace.ResourceTracePrepareRollbackForget;
		}
		else if (_resourceTrace == ResourceTrace.ResourceTracePrepareCommit)
		{
			_resourceTrace = ResourceTrace.ResourceTracePrepareCommitForget;
		}
		else if (_resourceTrace == ResourceTrace.ResourceTraceCommitOnePhase)
		{
			_resourceTrace = ResourceTrace.ResourceTraceCommitOnePhaseForget;
		}
		else
		{
//			_resourceTrace = ResourceTrace.ResourceTraceUnknown;
		}

		System.err.println("Return");
	}

	public boolean isCorrect()
	{
		return true;
	}

	public ResourceTrace getTrace()
	{
		return _resourceTrace;
	}

	public boolean isComplete() {
		return _status == Status.StatusCommitted || _status == Status.StatusRolledBack;
	}

	public Status getStatus() {
		return _status;
	}

	public Status updateStatus(Status hint) {
		Status prev = _status;

		System.err.printf("ResourceImpl01.updateStatus [O%d.R%d]: status=%d -> %d%n",
				_objectNumber, _resourceNumber, _status.value(), hint.value());

		if (_status == Status.StatusUnknown || _status == Status.StatusNoTransaction) {
			try {
				if (hint == Status.StatusCommitted) {
					System.err.printf("ResourceImpl01.updateStatus call commit()%n");
					commit();
				} else if (hint == Status.StatusRolledBack) {
					System.err.printf("ResourceImpl01.updateStatus call rollback()%n");
					rollback();
				} else {
					_status = hint;
				}
			} catch (Exception e) {
				_status = hint;
			}
		}

		return prev;
	}

	private Status _status;
	private int _objectNumber;
	private int _resourceNumber;
	private ResourceBehavior _resourceBehavior;
	private ResourceTrace _resourceTrace = ResourceTrace.ResourceTraceNone;
}


text:
namespace BriefingUtil
{
int addShip( string name, string faction, Vector vec )
{
    return mission->briefing->AddStarship( name.c_str(),
                                           FactionUtil::GetFactionIndex( faction ),
                                           vec );
}
void removeShip( int whichship )
{
    mission->briefing->RemoveStarship( whichship );
}
void enqueueOrder( int whichship, Vector vec, float time )
{
    mission->briefing->EnqueueOrder( whichship, vec, time );
}
void replaceOrder( int whichship, Vector vec, float time )
{
    mission->briefing->OverrideOrder( whichship, vec, time );
}
Vector getShipPosition( int whichship )
{
    return mission->briefing->GetPosition( whichship );
}
void setShipPosition( int whichship, Vector vec )
{
    mission->briefing->SetPosition( whichship, vec );
}
void terminate()
{
    mission->BriefingEnd();
}
void setCamPosition( QVector p )
{
    mission->briefing->cam.SetPosition( p, Vector( 0, 0, 0 ), Vector( 0, 0, 0 ), Vector( 0, 0, 0 ) );
}
void setCamOrientation( Vector p, Vector q, Vector r )
{
    mission->briefing->cam.SetOrientation( p, q, r );
}
void setCloak( int whichship, float cloak )
{
    mission->briefing->SetCloak( whichship, cloak );
}
}
PYTHON_BEGIN_MODULE( Briefing )
PYTHON_DEFINE_GLOBAL( Briefing, &BriefingUtil::addShip, "addShip" );
PYTHON_DEFINE_GLOBAL( Briefing, &BriefingUtil::removeShip, "removeShip" );
PYTHON_DEFINE_GLOBAL( Briefing, &BriefingUtil::enqueueOrder, "enqueueOrder" );
PYTHON_DEFINE_GLOBAL( Briefing, &BriefingUtil::replaceOrder, "replaceOrder" );
PYTHON_DEFINE_GLOBAL( Briefing, &BriefingUtil::getShipPosition, "getShipPosition" );
PYTHON_DEFINE_GLOBAL( Briefing, &BriefingUtil::setShipPosition, "setShipPosition" );
PYTHON_DEFINE_GLOBAL( Briefing, &BriefingUtil::terminate, "terminate" );
PYTHON_DEFINE_GLOBAL( Briefing, &BriefingUtil::setCamPosition, "setCamPosition" );
PYTHON_DEFINE_GLOBAL( Briefing, &BriefingUtil::setCamOrientation, "setCamOrientation" );
PYTHON_DEFINE_GLOBAL( Briefing, &BriefingUtil::setCloak, "setCloak" );
PYTHON_END_MODULE( Briefing )

void InitBriefing()
{
    Python::reseterrors();
    PYTHON_INIT_MODULE( Briefing );
    Python::reseterrors();
}

///////////////////////////////////////////////
//END C++
///////////////////////////////////////////////
//below replace ~ with enter
#else
#define MYPRINT( nam ) print #nam
#define WRAPPED0( type, name, aff ) def name( self ) : ~MYPRINT( name ) ~return aff
#define WRAPPED1( type, name, atype, a, aff ) def name( self, a ) : ~MYPRINT( name )  ~return aff
#define WRAPPED2( type, name, atype, a, btype, b, aff ) def name( self, a, b ) : ~MYPRINT( name ) ~return aff
#define WRAPPED3( type, name, atype, a, btype, b, ctype, c, aff ) def name( self, a, b, c ) : ~MYPRINT( name ) ~return aff
#define voidWRAPPED0( name ) def name( self ) : ~MYPRINT( name )
#define voidWRAPPED1( name, atype, a ) def name( self, a ) : ~MYPRINT( name )
#define voidWRAPPED2( name, atype, a, btype, b ) def name( self, a, b ) : ~MYPRINT( name )
#define voidWRAPPED3( name, atype, a, btype, b, ctype, c ) def name( self, a, b, c ) : ~MYPRINT( name )

WRAPPED3( int
          , addShip
          , string
          , name
          , string
          , faction
          , Vector
          , vec
          , 0 )
voidWRAPPED1( removeShip
              , int
              , ship )
voidWRAPPED3( enqueueOrder
              , int
              , ship
              , Vector
              , dest
              , float
              , time )
voidWRAPPED3( replaceOrder
              , int
              , ship
              , Vector
              , dest
              , float
              , time )
WRAPPED1( Vector
          , getShipPosition
          , int
          , ship
           , (50, 75, 100) )
voidWRAPPED2( setShipPosition
              , int
              , ship
              , Vector
              , vec )
voidWRAPPED0( terminate )
voidWRAPPED1( setCamPosition
              , Vector
              , pos )
voidWRAPPED3( setCamOrientation
              , Vector
              , p
              , Vector
              , q
              , Vector
              , r )
voidWRAPPED2( setCloak
              , int
              , ship
              , float
              , amount )

#endif


text:
$packageName = 'ums'
$installerType = 'exe'
$silentArgs = '/S'
# hack to workaround limitation with chocopkgup/ketarin
$url = 'http://sourceforge.net/projects/unimediaserver/files/Official%20Releases/Windows/UMS-4.4.0-Java7.exe/download'
$validExitCodes = @(0)
Install-ChocolateyPackage "$packageName" "$installerType" "$silentArgs" "$url" -validExitCodes $validExitCodes


text:
<?php

namespace PhowerTest\Config;

use PHPUnit_Framework_TestCase;

/**
 * Config test case
 *
 * @author Pedro Ferreira <pedro@phower.com>
 */
class ConfigTest extends PHPUnit_Framework_TestCase
{

    protected $config = [
        'string_value' => 'foo',
        'int_value' => 123,
        'bool_value' => true,
        'null_value' => null,
        'array_value' => ['foo' => 'bar'],
        0 => true,
        666 => ['baz' => 'woo', 'fiz' => ['hug', 'hug' => true]],
    ];

    public function testConfigImplementsConfigInterface()
    {
        $config = $this->getMockBuilder(\Phower\Config\Config::class)
                        ->disableOriginalConstructor()->getMock();
        $this->assertInstanceOf(\Phower\Config\ConfigInterface::class, $config);
    }

    public function testConstructCanInstantiateFromArray()
    {
        $config = new \Phower\Config\Config($this->config);
        $this->assertAttributeInternalType('array', 'keys', $config);
        $this->assertAttributeInternalType('array', 'values', $config);
    }

    public function testConstructCanSetInstanceReadOnly()
    {
        $config = new \Phower\Config\Config($this->config, true);
        $this->assertAttributeEquals(true, 'readOnly', $config);
    }

    public function testConstructCanSetInstanceToAllowOverrides()
    {
        $config = new \Phower\Config\Config($this->config, true, true);
        $this->assertAttributeEquals(true, 'allowOverride', $config);
    }

    public function testHasChecksWeitherAKeyExists()
    {
        $config = new \Phower\Config\Config($this->config);
        foreach ($this->config as $key => $value) {
            $this->assertTrue($config->has($key));
        }
        $this->assertFalse($config->has('not_present'));
    }

    public function testHasRaisesExceptionWhenKeyIsNotStringAndNotInt()
    {
        $config = new \Phower\Config\Config($this->config);
        $this->setExpectedException(\Phower\Config\Exception\InvalidKeyTypeException::class);
        $config->has(false);
    }

    public function testSetCanSetNewOptionWithStringKey()
    {
        $config = new \Phower\Config\Config($this->config, false);
        $this->assertFalse($config->has('new_option'));
        $config->set('new_option', new \stdClass());
        $this->assertTrue($config->has('new_option'));
    }

    public function testSetCanSetNewOptionWithIntKey()
    {
        $config = new \Phower\Config\Config($this->config, false);
        $this->assertFalse($config->has(33));
        $config->set(33, new \stdClass());
        $this->assertTrue($config->has(33));
    }

    public function testSetCanSetNewOptionWithNullKey()
    {
        $config = new \Phower\Config\Config($this->config, false);
        $this->assertAttributeCount(count($this->config), 'keys', $config);
        $config->set(null, new \stdClass());
        $this->assertAttributeCount(count($this->config) + 1, 'keys', $config);
    }

    public function testSetRaisesExceptionWhenConfigInstanceIsReadOnly()
    {
        $config = new \Phower\Config\Config($this->config, true);
        $this->setExpectedException(\Phower\Config\Exception\ReadOnlyException::class);
        $config->set('new_option', new \stdClass());
    }

    public function testSetRaisesExceptionWhenConfigInstanceDoesNotAllowOverride()
    {
        $config = new \Phower\Config\Config($this->config, false);
        $this->setExpectedException(\Phower\Config\Exception\OverrideException::class);
        $config->set('string_value', 'new value');
    }

    public function testSetRaisesExceptionWhenKeyIsInvalid()
    {
        $config = new \Phower\Config\Config($this->config, false);
        $this->setExpectedException(\Phower\Config\Exception\InvalidKeyTypeException::class);
        $config->set(false, 'value');
    }

    public function testSetNormalizesKeysInternally()
    {
        $config = new \Phower\Config\Config($this->config, false);
        $config->set('snake_case_key', true);
        $this->assertTrue($config->has('snake_case_key'));
        $this->assertTrue($config->has('snakecasekey'));
        $this->assertTrue($config->has('SnakeCaseKey'));
        $this->assertTrue($config->has(' SNAKE - CASE - KEY '));
    }

    public function testGetCanRetrieveValueOfExistingKey()
    {
        $config = new \Phower\Config\Config($this->config, false);
        $this->assertEquals($this->config['string_value'], $config->get('string_value'));
        $this->assertEquals($this->config['int_value'], $config->get('int_value'));
        $this->assertEquals($this->config['bool_value'], $config->get('bool_value'));
        $this->assertEquals($this->config['null_value'], $config->get('null_value'));
        $config->set('new_value', 1968);
        $this->assertEquals(1968, $config->get('new_value'));
    }

    public function testGetReturnsDefaultArgumentWhenKeyDoesNotExist()
    {
        $config = new \Phower\Config\Config($this->config, false);
        $this->assertEquals('default value', $config->get('not_present', 'default value'));
    }

    public function testGetRaisesExceptionWhenKeyIsInvalid()
    {
        $config = new \Phower\Config\Config($this->config, false);
        $this->setExpectedException(\Phower\Config\Exception\InvalidKeyTypeException::class);
        $config->get(false);
    }

    public function testRemoveCanUnsetAnExistingKey()
    {
        $config = new \Phower\Config\Config($this->config, false);
        $this->assertTrue($config->has('string_value'));
        $config->remove('string_value');
        $this->assertFalse($config->has('string_value'));
        $this->assertTrue($config->has(666));
        $config->remove(666);
        $this->assertFalse($config->has(666));
    }

    public function testRemoveRaisesExceptionWhenKeyIsInvalid()
    {
        $config = new \Phower\Config\Config($this->config, false);
        $this->setExpectedException(\Phower\Config\Exception\InvalidKeyTypeException::class);
        $config->remove(false);
    }

    public function testRemoveRaisesExceptionWhenConfigInstanceIsReadOnly()
    {
        $config = new \Phower\Config\Config($this->config, true);
        $this->setExpectedException(\Phower\Config\Exception\ReadOnlyException::class);
        $config->remove('string_option');
    }

    public function testToArrayCanExtractOptionsAsAnArray()
    {
        $config = new \Phower\Config\Config($this->config);
        $this->assertEquals($this->config, $config->toArray());
    }

    public function testMergeCanMergeAnotherConfigInstanceIntoTheCurrentOne()
    {
        $config = new \Phower\Config\Config($this->config, false);
        $config2 = new \Phower\Config\Config(['new_value' => true, 'value with int key']);
        $this->assertFalse($config->has('new_value'));
        $this->assertAttributeCount(count($this->config), 'keys', $config);
        $config->merge($config2);
        $this->assertTrue($config->has('new_value'));
        $this->assertAttributeCount(count($this->config) + 2, 'keys', $config);
    }

    public function testReadOnlyReturnsTrueWhenConfigInstanceIsReadOnly()
    {
        $config = new \Phower\Config\Config();
        $this->assertTrue($config->readOnly());
    }

    public function testReadOnlyCanChangeReadOnlyState()
    {
        $config = new \Phower\Config\Config();
        $this->assertTrue($config->readOnly());
        $config->readOnly(false);
        $this->assertFalse($config->readOnly());
    }

    public function testAllowOverrideReturnsTrueWhenConfigInstanceAllowsOverride()
    {
        $config = new \Phower\Config\Config([], true, true);
        $this->assertTrue($config->readOnly());
    }

    public function testAllowOverrideCanChangeAllowOverrideState()
    {
        $config = new \Phower\Config\Config();
        $this->assertFalse($config->allowOverride());
        $config->allowOverride(true);
        $this->assertTrue($config->allowOverride());
    }

    public function testOffsetExistsChecksWeitherAnOffsetExists()
    {
        $config = new \Phower\Config\Config($this->config);
        $this->assertTrue($config->offsetExists('string_value'));
    }

    public function testOffsetGetReturnsValueForAnExistingOffset()
    {
        $config = new \Phower\Config\Config($this->config);
        $this->assertEquals($this->config['string_value'], $config->offsetGet('string_value'));
        $this->assertNull($config->offsetGet('not_there'));
    }

    public function testOffsetSetCanSetValueForAGivenOffset()
    {
        $config = new \Phower\Config\Config($this->config, false);
        $this->assertFalse($config->offsetExists('new_offset'));
        $config->offsetSet('new_offset', 123);
        $this->assertEquals(123, $config->offsetGet('new_offset'));
    }

    public function testOffsetUnsetCanRemoveExistingOffset()
    {
        $config = new \Phower\Config\Config($this->config, false);
        $this->assertTrue($config->offsetExists('string_value'));
        $config->offsetUnset('string_value');
        $this->assertFalse($config->offsetExists('string_value'));
    }

    public function testCountReturnsNumberOfOptionsOnConfigInstance()
    {
        $config = new \Phower\Config\Config($this->config);
        $this->assertEquals(count($this->config), $config->count());
    }

    public function testCurrentReturnsValueOfCurrentPositionKey()
    {
        $config = new \Phower\Config\Config($this->config);
        $this->assertEquals(current($this->config), $config->current());
    }

    public function testKeyReturnsKeyOfCurrentPositionKey()
    {
        $config = new \Phower\Config\Config($this->config);
        $this->assertEquals(key($this->config), $config->key());
    }

    public function testNextMovesConfigInstanceInternalPointerForward()
    {
        $config = new \Phower\Config\Config($this->config);
        next($this->config);
        $config->next();
        $this->assertEquals(key($this->config), $config->key());
    }

    public function testValidReturnsWeitherInternalPointerReachedEndOfOptions()
    {
        $config = new \Phower\Config\Config($this->config);
        foreach ($config as $key => $value) {
            $this->assertTrue($config->valid());
        }
        $this->assertFalse($config->valid());
    }

    public function testRewindResetInternalPointerPosition()
    {
        $config = new \Phower\Config\Config($this->config);
        $this->assertEquals('string_value', $config->key());
        $config->next();
        $this->assertEquals('int_value', $config->key());
        $config->rewind();
        $this->assertEquals('string_value', $config->key());
    }

    public function testMagicGetterCallsGet()
    {
        $config = new \Phower\Config\Config($this->config);
        $this->assertEquals($config->get('string_value'), $config->string_value);
        $this->assertEquals($config->get('array_value')->get('foo'), $config->array_value->foo);
    }

    public function testMagicSetterCallsSet()
    {
        $config = new \Phower\Config\Config($this->config, false);
        $this->assertFalse($config->has('zaa'));
        $config->zaa = true;
        $this->assertTrue($config->has('zaa'));
        $this->assertFalse($config->get('array_value')->has('zaa'));
        $config->array_value->zaa = true;
        $this->assertTrue($config->get('array_value')->has('zaa'));
    }

    public function testMagicIssetCallsHas()
    {
        $config = new \Phower\Config\Config($this->config, false);
        $this->assertTrue($config->has('string_value'));
        $this->assertTrue(isset($config->string_value));
    }

    public function testMagicUnsetterCallsRemove()
    {
        $config = new \Phower\Config\Config($this->config, false);
        $this->assertTrue($config->has('string_value'));
        unset($config->string_value);
        $this->assertFalse($config->has('string_value'));
    }

    public function testMagicCallerCanCallSet()
    {
        $config = new \Phower\Config\Config($this->config, false, true);
        $this->assertTrue($config->has('string_value'));
        $config->setStringValue('new value');
        $this->assertEquals('new value', $config->stringValue);
    }

    public function testMagicCallerCanCallGet()
    {
        $config = new \Phower\Config\Config($this->config);
        $this->assertEquals($config->stringValue, $config->getStringValue());
    }

    public function testMagicCallerCanCallHas()
    {
        $config = new \Phower\Config\Config($this->config);
        $this->assertTrue($config->hasStringValue());
        $this->assertFalse($config->hasUndefined());
    }

    public function testMagicCallerCanCallRemove()
    {
        $config = new \Phower\Config\Config($this->config, false);
        $this->assertTrue($config->hasStringValue());
        $config->removeStringValue();
        $this->assertFalse($config->hasStringValue());
    }

    public function testMagicCallerRaisesExceptionWhenInvalidMethodIsCalled()
    {
        $config = new \Phower\Config\Config($this->config);
        $this->setExpectedException(\Phower\Config\Exception\InvalidMethodNameException::class);
        $config->invalidMethod();
    }
}


text:
using Roommate.Business.Appointments;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Roommate.Repository.Appointments
{
    public interface IAppointmentRepository
    {
        IEnumerable<AppointmentEntity> GetBetweenDates(DateTime dateFrom, DateTime dateTo, int maxCount);
        AppointmentEntity GetOccuringAtDate(DateTime atDate);
    }
}


text:
#ifndef JPEGImageDecoder_h
#define JPEGImageDecoder_h

#include "core/platform/image-decoders/ImageDecoder.h"

#include "wtf/OwnPtr.h"

namespace WebCore {

    class JPEGImageReader;

    // This class decodes the JPEG image format.
    class JPEGImageDecoder : public ImageDecoder {
    public:
        JPEGImageDecoder(ImageSource::AlphaOption, ImageSource::GammaAndColorProfileOption);
        virtual ~JPEGImageDecoder();

        // ImageDecoder
        virtual String filenameExtension() const { return "jpg"; }
        virtual bool isSizeAvailable();
        virtual ImageFrame* frameBufferAtIndex(size_t);
        // CAUTION: setFailed() deletes |m_reader|.  Be careful to avoid
        // accessing deleted memory, especially when calling this from inside
        // JPEGImageReader!
        virtual bool setFailed();

        bool outputScanlines();
        void jpegComplete();

        void setOrientation(ImageOrientation orientation) { m_orientation = orientation; }

    private:
        // Decodes the image.  If |onlySize| is true, stops decoding after
        // calculating the image size.  If decoding fails but there is no more
        // data coming, sets the "decode failure" flag.
        void decode(bool onlySize);

        OwnPtr<JPEGImageReader> m_reader;
    };

} // namespace WebCore

#endif


text:
from copy import deepcopy
import mission
import random

class MemoryDuplicationException(Exception):
	def __init__(self,val):
		self.value = val

	def __str__(self):
		return repr(self.value)

class Variable():

	def __init__(self, var, copies = 5):
		self.var = []
		self.copies = copies
		for i in xrange(0, copies):
			self.var.append(deepcopy(var))
		#print self.var

	def member(self):
		return self.var[random.randint(0, self.copies - 1)]

	def assertEquals(self):
		self.equalities = {}
		for i in xrange(0, self.copies):
			try:
				self.equalities[self.var[i]] += 1
			except Exception, e:
				self.equalities[self.var[i]] = 1

		if len(self.equalities.keys()) > 1:
			raise MemoryDuplicationException('Memory Corruption Error')

	def leaderElect(self):
		votes = 0
		leader = None

		for i in self.equalities.keys():
			if self.equalities[i] > votes:
				votes = self.equalities[i]
				leader = i

		for i in xrange(0, self.copies):
			if self.var[i] != leader:
				self.var[i] = deepcopy(leader)

	def __str__(self):
		return str(self.var)

mission = Variable(mission.Mission())


text:
Mock java is not a real mock, but a lib that creates a ruby class that extends
java classes.

Since it creates a ruby class, you can use rspec to change the behaviour class
since it's a real Ruby class!

I created this since I don't like the idea of using rspec using tools from
java classes to mock like Mockito! So if you have the same will, this might be
your tool!

## Usage

First include the module in your `spec_helper` file:

```ruby
RSpec.configure do |config|
  config.include MockJava
end
```

after importing your java file with:

`java_import com.package.ExampleJavaClass`

To mock this example class you mock with this command:

`mock = mock_java ExampleJavaClass`

If you need you need to pass arguments to your constructors use this:

`mock = mock_java ExampleJavaClass, 'param1', 'param2'`

If you already have an object you can mock with this:

```ruby
example = ExampleJavaClass.new
mock = mock_java example
```

## Contributting to MockJava

* For, fix, then send me a pull request.


text:
from ._base import Base
from loguru import logger
from gitgetpm import commands
from docopt import docopt
from inspect import getmembers, isclass

class Help(Base):
    """Help.

    Displays a help menu for a specific command.

    Usage: gitget help [global options]

    Examples:
        gitget help
    """

    def run(self):

        called_command = self.options["<command>"]

        # check if command is valid
        logger.debug("Checking if the command is valid")
        if hasattr(commands, called_command) and called_command != "base":
            logger.debug("Command is valid")
        else:
            logger.error("Command is not valid")
            exit(1)

        # display the docstring
        logger.debug("Displaying the docstring for the command")
        module = getattr(commands, called_command)
        module_commands = getmembers(module, isclass)
        command = [command[1] for command in module_commands if command[0] != "Base"][0]
        print(command.__doc__)


text:
package com.amazonaws.services.apigateway.model.transform;

import java.util.Map;
import java.util.Map.Entry;
import java.math.*;
import java.nio.ByteBuffer;

import com.amazonaws.services.apigateway.model.*;
import com.amazonaws.transform.SimpleTypeJsonUnmarshallers.*;
import com.amazonaws.transform.*;

import com.fasterxml.jackson.core.JsonToken;
import static com.fasterxml.jackson.core.JsonToken.*;

/**
 * GenerateClientCertificateResult JSON Unmarshaller
 */
public class GenerateClientCertificateResultJsonUnmarshaller implements
        Unmarshaller<GenerateClientCertificateResult, JsonUnmarshallerContext> {

    public GenerateClientCertificateResult unmarshall(
            JsonUnmarshallerContext context) throws Exception {
        GenerateClientCertificateResult generateClientCertificateResult = new GenerateClientCertificateResult();

        int originalDepth = context.getCurrentDepth();
        String currentParentElement = context.getCurrentParentElement();
        int targetDepth = originalDepth + 1;

        JsonToken token = context.getCurrentToken();
        if (token == null)
            token = context.nextToken();
        if (token == VALUE_NULL)
            return null;

        while (true) {
            if (token == null)
                break;

            if (token == FIELD_NAME || token == START_OBJECT) {
                if (context.testExpression("clientCertificateId", targetDepth)) {
                    context.nextToken();
                    generateClientCertificateResult
                            .setClientCertificateId(context.getUnmarshaller(
                                    String.class).unmarshall(context));
                }
                if (context.testExpression("description", targetDepth)) {
                    context.nextToken();
                    generateClientCertificateResult.setDescription(context
                            .getUnmarshaller(String.class).unmarshall(context));
                }
                if (context
                        .testExpression("pemEncodedCertificate", targetDepth)) {
                    context.nextToken();
                    generateClientCertificateResult
                            .setPemEncodedCertificate(context.getUnmarshaller(
                                    String.class).unmarshall(context));
                }
                if (context.testExpression("createdDate", targetDepth)) {
                    context.nextToken();
                    generateClientCertificateResult.setCreatedDate(context
                            .getUnmarshaller(java.util.Date.class).unmarshall(
                                    context));
                }
                if (context.testExpression("expirationDate", targetDepth)) {
                    context.nextToken();
                    generateClientCertificateResult.setExpirationDate(context
                            .getUnmarshaller(java.util.Date.class).unmarshall(
                                    context));
                }
            } else if (token == END_ARRAY || token == END_OBJECT) {
                if (context.getLastParsedParentElement() == null
                        || context.getLastParsedParentElement().equals(
                                currentParentElement)) {
                    if (context.getCurrentDepth() <= originalDepth)
                        break;
                }
            }
            token = context.nextToken();
        }

        return generateClientCertificateResult;
    }

    private static GenerateClientCertificateResultJsonUnmarshaller instance;

    public static GenerateClientCertificateResultJsonUnmarshaller getInstance() {
        if (instance == null)
            instance = new GenerateClientCertificateResultJsonUnmarshaller();
        return instance;
    }
}


text:
son-emu-cli monitor stop_metric -vnf vnf1:output --metric tx_packets

sleep 1

#stop the vnf
son-emu-cli compute stop -d datacenter1 -n vnf1


text:
class Spree::LineItemsController< Spree::BaseController
  $e1={"status_code"=>"2038","status_message"=>"parameter errors"}
  $e2={"status_code"=>"2037","status_message"=>"Record not found"}
  $e3={"status_code"=>"2036","status_message"=>"Payment failed check the details entered"}
  $e4={"status_code"=>"2035","status_message"=>"destroyed"}
  $e5={"status_code"=>"2030","status_message"=>"Undefined method request check the url"}
  #To set current user
  def current_ability
    user= current_user || Spree::User.find_by_authentication_token(params[:authentication_token])
    @current_ability ||= Ability.new(user)
  end
  #To create line_item
  def create
    if !params[:line_item].nil?
      if !params[:line_item][:quantity].nil?&&!params[:line_item][:variant_id].nil?
        quantity = params[:line_item][:quantity].to_i
        if (quantity <=> 0) >= 0
          @variant = Spree::Variant.find_by_id(params[:line_item][:variant_id])
          if !@variant.nil?
            user=Spree::User.find_by_authentication_token(params[:authentication_token])
            if user.present?
              @order = current_order(true,params[:authentication_token])
              @order.add_variant(@variant, quantity.to_i) if quantity.to_i > 0
              @response = Spree::Order.find_by_id(@order.id)
              render :json => @response.to_json, :status => 201
            else
              error=error_response_method($e13)
              render:json=>error
            end
          else
            error=error_response_method($e2)
            render:json=>error
          end
        else
          error=error_response_method($e52)
          render:json=>error
        end
      else
        error=error_response_method($e1)
        render:json=>error
      end
    else
      error = error_response_method($e1)
      render :json => error
    end

  end
  #To display error message
  def error_response_method(error)
    @error = {}
    @error["code"]=error["status_code"]
    @error["message"]=error["status_message"]
    return @error
  end
  protected

    def model_class
      if !params[:format].nil? && params[:format] == "json"
        controller_name.classify.constantize
      end
    end

    def object_name
      if !params[:format].nil? && params[:format] == "json"
        controller_name.singularize
      end
    end
    #To load resource
    def load_resource
      if !params[:format].nil? && params[:format] == "json"
        if member_action?
          @object ||= load_resource_instance
          instance_variable_set("@#{object_name}", @object)
        else
          @collection ||= collection
          instance_variable_set("@#{controller_name}", @collection)
        end
      end
    end
    #To Collect data to list
    def collection
      if !params[:format].nil? && params[:format] == "json"
        return @search unless @search.nil?
        params[:search] = {} if params[:search].blank?
        params[:search][:meta_sort] = 'created_at.desc' if params[:search][:meta_sort].blank?

        scope = parent.present? ? parent.send(controller_name) : model_class.scoped

        @search = scope
        @search
      end
    end
    #To load resource for creating or finding
    def load_resource_instance
      if !params[:format].nil? && params[:format] == "json"
        if new_actions.include?(params[:action].to_sym)
          build_resource
        elsif params[:id]
          find_resource
        end
      end
    end
    #To find the parent
    def parent
      if !params[:format].nil? && params[:format] == "json"
        nil
      end
    end
    #To find the record
    def find_resource
      if !params[:format].nil? && params[:format] == "json"
        begin
          if parent.present?
            parent.send(controller_name).find(params[:id])
          else
            model_class.includes(eager_load_associations).find(params[:id])
          end
        rescue Exception => e
          error = error_response_method($e2)
          render :json => error
        end
      end
    end

    def collection_serialization_options
      if !params[:format].nil? && params[:format] == "json"
        {}
      end
    end

    def eager_load_associations
      if !params[:format].nil? && params[:format] == "json"
        nil
      end
    end

    def collection_actions
      if !params[:format].nil? && params[:format] == "json"
        [:index]
      end
    end

    def member_action?
      if !params[:format].nil? && params[:format] == "json"
        !collection_actions.include? params[:action].to_sym
      end
    end

    def new_actions
      if !params[:format].nil? && params[:format] == "json"
        [:new, :create]
      end
    end
  private

    def parent
      if params[:order_id]
        @parent ||= Order.find_by_param(params[:order_id])
      end
    end

    def parent_data
      params[:order_id]
    end

    def collection_serialization_options
      { :include => [:variant], :methods => [:description] }
    end

    def object_serialization_options
      collection_serialization_options
    end

    def check_http_authorization
      if !params[:format].nil? && params[:format] == "json"
        if params[:authentication_token].present?
          user=Spree::User.find_by_authentication_token(params[:authentication_token])
          if !user.present?
            #~ role=Spree::.find_by_id(user.id)
            error = error_response_method($e13)
            render :json => error
          end
        else
          error = error_response_method($e13)
          render :json => error
        end
      end
    end
end


text:
import numpy
from scipy import ndimage

def sample_image_rect(image, size, center, rotation=0, order=3, **kwargs):
    """Return an image "swath" of a given (w, h) size, centered at a given (x, y)
    position and rotated by the specified degrees.

    Parameters:
    image: the image to sample from.
    size: (w, h) in pixels of the output image
    center: (x, y) position in the input image that the sampling region is
        centered on.
    rotation: rotation in degrees to apply to the sampling region.
        NB: for images, the positive x axis goes downward on the screen. So
        the rotation direction seems negated compared to conventional
        coordinates. (That is, a slight negative rotation will cause the
        sampling rect to be rotated a little counterclockwise.)
    order: image interpolation order for the resampling process.
        0 = nearest-neighbor interpolation
        1 = linear interpolation
        3 = cubic interpolation
    other keyword args are passed to ndimage.map_coordinates() to control the
        resampling. Useful arguments include 'mode' and 'cval' (see the
        documentaiton for ndimage.map_coordinates() for details.)

    Returns: array of the specified size containing the image pixels sampled
    from the region as defined by the parameters above."""

    size = numpy.asarray(size)
    x, y = numpy.indices(size) - (size / 2).reshape((2,1,1))
    theta = numpy.pi * rotation / 180
    rx = x*numpy.cos(theta)-y*numpy.sin(theta)
    ry = x*numpy.sin(theta)+y*numpy.cos(theta)
    coords = numpy.array([rx, ry]) + numpy.reshape(center, (2,1,1))
    sampled = ndimage.map_coordinates(image, coords, order=order, **kwargs)
    return sampled


text: angular.module('gsv', []);


text:
import React, { Component } from 'react';
import ContentPageContainer from '../../../components/content-page-container/ContentPageContainer'

class Postnatal extends Component {
  render() {
    return (
      <ContentPageContainer
        filePath='/Content/complications-of-pregnancy.json'
        />
    )
  }
}
export default Postnatal