text
stringlengths 2
1.04M
| meta
dict |
---|---|
<?php
/**
* ======================================================================
* LICENSE: This file is subject to the terms and conditions defined in *
* file 'license.txt', which is part of this source code package. *
* ======================================================================
*
* @version 6.0.0
*/
/**
* Abstract class for each backend UI feature
*
* @package AAM
* @version 6.0.0
*/
abstract class AAM_Backend_Feature_Abstract
{
use AAM_Core_Contract_RequestTrait;
/**
* Default access capability to the service
*
* @version 6.0.0
*/
const ACCESS_CAPABILITY = 'aam_manager';
/**
* Type of AAM core object
*
* @version 6.0.0
*/
const OBJECT_TYPE = null;
/**
* HTML template to render
*
* @version 6.0.0
*/
const TEMPLATE = null;
/**
* Save access settings for the specific object
*
* @return string
*
* @access public
* @version 6.0.0
*/
public function save()
{
$param = $this->getFromPost('param');
$value = $this->getFromPost('value');
$object = $this->getSubject()->getObject(static::OBJECT_TYPE, null, true);
$object->updateOptionItem($param, $value)->save();
return wp_json_encode(array('status' => 'success'));
}
/**
* Rest access settings for the specific object
*
* @return string
*
* @access public
* @version 6.0.0
*/
public function reset()
{
$result = $this->getSubject()->getObject(static::OBJECT_TYPE)->reset();
return wp_json_encode(array('status' => ($result ? 'success' : 'failure')));
}
/**
* Check inheritance status
*
* Check if access settings are overwritten
*
* @return boolean
*
* @access protected
* @version 6.0.0
*/
protected function isOverwritten()
{
$object = $this->getSubject()->getObject(static::OBJECT_TYPE);
return $object->isOverwritten();
}
/**
* Get HTML content
*
* @return string
*
* @access public
* @version 6.0.0
*/
public function getContent()
{
ob_start();
require_once(dirname(__DIR__) . '/tmpl/' . static::TEMPLATE);
$content = ob_get_contents();
ob_end_clean();
return $content;
}
/**
* Get currently managed subject
*
* @return AAM_Backend_Subject
*
* @access public
* @version 6.0.0
*/
public function getSubject()
{
return AAM_Backend_Subject::getInstance();
}
/**
* Register feature
*
* @return void
*
* @access public
* @version 6.0.0
*/
public static function register() {}
} | {
"content_hash": "51a50d96a0483299068e8708364f4d0f",
"timestamp": "",
"source": "github",
"line_count": 137,
"max_line_length": 84,
"avg_line_length": 20.45985401459854,
"alnum_prop": 0.5090973956475205,
"repo_name": "mandino/www.bloggingshakespeare.com",
"id": "3b0ba657ef649c38b6b82393398cb3c79e0070b6",
"size": "2803",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "wp-content/plugins/advanced-access-manager/Application/Backend/Feature/Abstract.php",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "CSS",
"bytes": "5211957"
},
{
"name": "CoffeeScript",
"bytes": "552"
},
{
"name": "HTML",
"bytes": "525757"
},
{
"name": "JavaScript",
"bytes": "6055696"
},
{
"name": "Modelica",
"bytes": "10338"
},
{
"name": "PHP",
"bytes": "44197755"
},
{
"name": "Perl",
"bytes": "2554"
},
{
"name": "Ruby",
"bytes": "3917"
},
{
"name": "Smarty",
"bytes": "27821"
},
{
"name": "XSLT",
"bytes": "34552"
}
],
"symlink_target": ""
} |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>topology: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" rel="stylesheet">
<link href="../../../../../bootstrap-custom.css" rel="stylesheet">
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet">
<script src="../../../../../moment.min.js"></script>
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
<div class="container">
<div class="navbar navbar-default" role="navigation">
<div class="container-fluid">
<div class="navbar-header">
<a class="navbar-brand" href="../../../../.."><i class="fa fa-lg fa-flag-checkered"></i> Coq bench</a>
</div>
<div id="navbar" class="collapse navbar-collapse">
<ul class="nav navbar-nav">
<li><a href="../..">clean / released</a></li>
<li class="active"><a href="">8.10.0 / topology - 8.9.0</a></li>
</ul>
</div>
</div>
</div>
<div class="article">
<div class="row">
<div class="col-md-12">
<a href="../..">« Up</a>
<h1>
topology
<small>
8.9.0
<span class="label label-info">Not compatible 👼</span>
</small>
</h1>
<p>📅 <em><script>document.write(moment("2022-09-16 15:20:44 +0000", "YYYY-MM-DD HH:mm:ss Z").fromNow());</script> (2022-09-16 15:20:44 UTC)</em><p>
<h2>Context</h2>
<pre># Packages matching: installed
# Name # Installed # Synopsis
base-bigarray base
base-threads base
base-unix base
conf-findutils 1 Virtual package relying on findutils
coq 8.10.0 Formal proof management system
num 1.4 The legacy Num library for arbitrary-precision integer and rational arithmetic
ocaml 4.06.1 The OCaml compiler (virtual package)
ocaml-base-compiler 4.06.1 Official 4.06.1 release
ocaml-config 1 OCaml Switch Configuration
ocamlfind 1.9.5 A library manager for OCaml
# opam file:
opam-version: "2.0"
maintainer: "[email protected]"
homepage: "https://github.com/coq-contribs/topology"
license: "LGPL"
build: [make "-j%{jobs}%"]
install: [make "install"]
remove: ["rm" "-R" "%{lib}%/coq/user-contrib/Topology"]
depends: [
"ocaml"
"coq" {>= "8.9" & < "8.10~"}
"coq-zorns-lemma" {>= "8.9" & < "8.10~"}
]
tags: [
"keyword: topology"
"keyword: filters"
"keyword: nets"
"keyword: metric spaces"
"keyword: real analysis"
"keyword: Urysohn's lemma"
"keyword: Tietze extension theorem"
"category: Mathematics/Real Calculus and Topology"
]
authors: [
"Daniel Schepler <[email protected]>"
]
bug-reports: "https://github.com/coq-contribs/topology/issues"
dev-repo: "git+https://github.com/coq-contribs/topology.git"
synopsis: "General Topology"
description: """
This library develops some of the basic concepts and results of general topology."""
flags: light-uninstall
url {
src: "https://github.com/coq-contribs/topology/archive/v8.9.0.tar.gz"
checksum: "md5=c8b3a305d79561f5c28d7a76d50418ca"
}
</pre>
<h2>Lint</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>true</code></dd>
<dt>Return code</dt>
<dd>0</dd>
</dl>
<h2>Dry install 🏜️</h2>
<p>Dry install with the current Coq version:</p>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>opam install -y --show-action coq-topology.8.9.0 coq.8.10.0</code></dd>
<dt>Return code</dt>
<dd>5120</dd>
<dt>Output</dt>
<dd><pre>[NOTE] Package coq is already installed (current version is 8.10.0).
The following dependencies couldn't be met:
- coq-topology -> coq < 8.10~ -> ocaml < 4.06.0
base of this switch (use `--unlock-base' to force)
Your request can't be satisfied:
- No available version of coq satisfies the constraints
No solution found, exiting
</pre></dd>
</dl>
<p>Dry install without Coq/switch base, to test if the problem was incompatibility with the current Coq/OCaml version:</p>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>opam remove -y coq; opam install -y --show-action --unlock-base coq-topology.8.9.0</code></dd>
<dt>Return code</dt>
<dd>0</dd>
</dl>
<h2>Install dependencies</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>true</code></dd>
<dt>Return code</dt>
<dd>0</dd>
<dt>Duration</dt>
<dd>0 s</dd>
</dl>
<h2>Install 🚀</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>true</code></dd>
<dt>Return code</dt>
<dd>0</dd>
<dt>Duration</dt>
<dd>0 s</dd>
</dl>
<h2>Installation size</h2>
<p>No files were installed.</p>
<h2>Uninstall 🧹</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>true</code></dd>
<dt>Return code</dt>
<dd>0</dd>
<dt>Missing removes</dt>
<dd>
none
</dd>
<dt>Wrong removes</dt>
<dd>
none
</dd>
</dl>
</div>
</div>
</div>
<hr/>
<div class="footer">
<p class="text-center">
Sources are on <a href="https://github.com/coq-bench">GitHub</a> © Guillaume Claret 🐣
</p>
</div>
</div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script src="../../../../../bootstrap.min.js"></script>
</body>
</html>
| {
"content_hash": "65c84af5232f8bd22442bf782c67ecfd",
"timestamp": "",
"source": "github",
"line_count": 175,
"max_line_length": 159,
"avg_line_length": 40.15428571428571,
"alnum_prop": 0.5446136331293582,
"repo_name": "coq-bench/coq-bench.github.io",
"id": "c8f4664321db9728b2fae1283c093ccedb6acfc5",
"size": "7052",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "clean/Linux-x86_64-4.06.1-2.0.5/released/8.10.0/topology/8.9.0.html",
"mode": "33188",
"license": "mit",
"language": [],
"symlink_target": ""
} |
/*
WARNING! DO NOT EDIT THIS FILE!
To make it easy to update your theme, you should not edit the styles in this file. Instead use
the custom.css file to add your styles. You can copy a style from this file and paste it in
custom.css and it will override the style in this file. You have been warned! :)
*/
/*-------------------------------------------------------------------------------------------
INDEX:
0. RESET
1. SETUP
-1.1 Defaults
-1.2 Hyperlinks
-1.3 @font-face
2. SITE STRUCTURE & APPEARANCE
-2.1 Containers & Columns
-2.2 Navigation
-2.2.1 Drop-down menus
-2.2.2 Optional Top Navigation (WP Menus)
-2.3 Header
-2.4 Content
-2.5 Sidebar
-2.6 Footer
3. POSTS
-3.1 Typographic Elements
-3.2 Images
-3.3 Pagination / Woo Pagination
-3.4 Single Post Author
-3.5 Tumblog Styling
4. WIDGETS
-4.1 Generic Widgets
-4.2 Specific Widgets
-4.3 WooTabs
5. COMMENTS
-5.1 Comments
-5.2 Pingbacks / Trackbacks
-5.3 Comments Form
6. MISC
-6.1 Buttons
-6.2 Info Boxes
-6.3 Contact Form
-6.4 Gravity forms
-6.5 Tumblog
-6.6 Subscribe & Connect
-6.7 Featured Posts Shortcode
7. LAYOUTS
-7.1 Site Width
-7.2 two-col-left
-7.3 two-col-right
-7.4 three-col-left
-7.5 three-col-middle
-7.6 three-col-right
8. TEMPLATES / SLIDER
-8.1 Slider
-8.2 Magazine template
-8.3 Business template
-8.4 Footer Widgets 1-4 Columns
-8.5 Portfolio
-8.5.1 Single Portfolio Item
-8.5.2 Portfolio Items In Archive Screens
-8.6 Contact Page Template
-8.7 Timeline Page Template
9. WOODOJO
10. BROWSER SPECIFIC
-------------------------------------------------------------------------------------------*/
/*-------------------------------------------------------------------------------------------*/
/* 0. RESET */
/*-------------------------------------------------------------------------------------------*/
/* http://meyerweb.com/eric/tools/css/reset/ | v1.0 | 20080212 */
body, html { height: 100%; }
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
margin: 0;
padding: 0;
border: 0;
outline: 0;
font-size: 100%;
vertical-align: baseline;
background: transparent;
}
body { line-height: 1; }
ol, ul { list-style: none; }
blockquote, q { quotes: none; }
blockquote:before, blockquote:after, q:before, q:after { content: ''; content: none; }
:focus { outline: 0; }/* remember to define focus styles! */
del { text-decoration: line-through; }
table { border-collapse: collapse; border-spacing: 0; }/* tables still need 'cellspacing="0"' in the markup */
/* GENERAL STYLES */
/* Floating & Alignment */
.fl{float: left;}
.fr{float: right;}
.ac{text-align: center;}
.ar{text-align: right;}
/* Clear Floats */
.col-full:after{content: "."; display: block;height: 0;clear: both; visibility: hidden;}
.fix{clear: both;height: 1px;margin: -1px 0 0;overflow: hidden;}
html body * span.clear, html body * div.clear, html body * li.clear, html body * dd.clear { background: none; border: 0; clear: both; display: block; float: none; font-size: 0; list-style: none; margin: 0; padding: 0; overflow: hidden; visibility: hidden; width: 0; height: 0; }/* http://sonspring.com/journal/clearing-floats */
/*-------------------------------------------------------------------------------------------*/
/* 1. SETUP */
/*-------------------------------------------------------------------------------------------*/
/* 1.1 Defaults */
body { font: 13px/20px Helvetica,Arial,Sans-serif; color: #555; background-color: #fff; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-family:Helvetica, Arial, sans-serif; color: #222; font-weight: bold; }
h1 {font-size: 2em } h2 {font-size: 1.8em;} h3 {font-size: 1.6em;} h4 {font-size: 1.2em;} h5 {font-size: 1em;} h6 {font-size: 0.8em;}
p {margin: 0; font:13px/22px Helvetica, Arial, sans-serif; }
hr { background-color: #e6e6e6; border:0; height: 1px; margin-bottom: 20px; }
input, textarea { padding: 5px; background: #fafafa; border-color: #ccc #efefef #efefef #ccc; border-width:1px; border-style:solid; margin-bottom:10px; border-radius: 3px; -moz-border-radius: 3px; -webkit-border-radius: 3px; }
input:focus, textarea:focus { background: #fff; border-color: transparent; box-shadow: 0 0 6px rgba(48,136,255,.7); -moz-box-shadow: 0 0 6px rgba(48,136,255,.7); -webkit-box-shadow: 0 0 6px rgba(48,136,255,.7); }
.hide { display: none; }
img { vertical-align: bottom; max-width: 100%; }
/* Bicubic resizing for non-native sized IMG: code.flickr.com/blog/2008/11/12/on-ui-quality-the-little-things-client-side-image-resizing/ */
.ie7 img { -ms-interpolation-mode: bicubic; }
/* 1.2 Hyperlinks */
a:link, a:visited { color: #3088ff; text-decoration:none;}
a:hover {text-decoration:underline; color:red; }
h1 a:link, h1 a:visited, h2 a:link, h2 a:visited, h3 a:link, h3 a:visited,
h4 a:link, h4 a:visited, h5 a:link, h5 a:visited, h6 a:link, h6 a:visited { text-decoration: none; }
h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover {text-decoration: underline;}
/* 1.3 @font-face */
/* Setup Web Symbols Font */
@font-face { font-family: 'WebSymbolsRegular'; src: url('includes/fonts/websymbols-regular-webfont.eot'); src: url('includes/fonts/websymbols-regular-webfont.eot?#iefix') format('embedded-opentype'), url('includes/fonts/websymbols-regular-webfont.woff') format('woff'), url('includes/fonts/websymbols-regular-webfont.ttf') format('truetype'), url('includes/fonts/websymbols-regular-webfont.svg#WebSymbolsRegular') format('svg'); font-weight: normal; font-style: normal; }
.icon:before, .icon:after { font-size: 1em; line-height: 1; display:inline-block; font-family: "WebSymbolsRegular"; }
.icon:before { margin-right: 0.618em; }
.icon:after { margin-left: 0.618em; }
.icon:hover:before, .icon:hover:after { color: #aaa; }
/* Nav Toggle */
.nav-toggle:after { content: '²'; font-weight: normal; color: #fff; }
/* Menu Subscribe Icons */
#navigation ul.rss li a:after { content: 'B'; text-shadow: 1px 1px 0 #fff; }
#navigation ul.rss li a:hover:after { color: #222; }
#navigation ul.rss li.sub-email a:after { content: '@'; text-shadow: 1px 1px 0 #fff; }
/* Post Tags */
.post p.tags:before { content: ','; }
.post p.tags:hover:before { color: #999; }
/* Pagination */
.post-entries .nav-prev a:before, .nav-entries .nav-prev:before { content: '<'; margin-right: 0.618em; }
.post-entries .nav-next a:after, .nav-entries .nav-next:after { content: '>'; margin-left: 0.618em; }
.post-entries .nav-prev a:before, .post-entries .nav-next a:after, .nav-entries .nav-prev:before, .nav-entries .nav-next:after { position: relative; top: -0.2em; font-size: 0.7em; font-family: "WebSymbolsRegular"; }
/* Sliders */
#loopedSlider a.flex-prev:before, #post-gallery .pagination .jcarousel-prev:before { content: '('; }
#loopedSlider a.flex-next:before, #post-gallery .pagination .jcarousel-next:after { content: ')'; }
#loopedSlider a.flex-prev:before, #loopedSlider a.flex-next:before, #post-gallery .pagination .jcarousel-prev:before, #post-gallery .pagination .jcarousel-next:after { position: absolute; top: 3px; left: 2px; font-size: 24px; color: #666; color: rgba(0,0,0,0.6); }
#loopedSlider a.flex-prev:hover:before, #loopedSlider a.flex-next:hover:before, #post-gallery .pagination .jcarousel-prev:hover:before, #post-gallery .pagination .jcarousel-next:hover:after { color: #222; }
/* Tumblog */
.post .post-icon a:before { display: block; height: 50px; width: 50px; padding-top: 0.6em; font-size: 1.7em; color: #fff; text-align: center; }
.post .post-icon.link a:before { content: 'K'; }
.post .post-icon.video a:before { content: 'M'; }
.post .post-icon.article a:before { content: 'a'; }
.post .post-icon.audio a:before { content: 'u'; }
.post .post-icon.image a:before { content: 'I'; }
.post .post-icon.quote a:before { content: '\201C'; font-size: 6em; padding-top: 0.1em; }
/* Timeline template comments */
#archives .archives_list li span.comments a:before { content: 'd'; font-family: "WebSymbolsRegular"; font-size: 0.6em; margin-right: 5px; position: relative; top: -0.4em; }
/*-------------------------------------------------------------------------------------------*/
/* 2. SITE STRUCTURE & APPEARANCE */
/*-------------------------------------------------------------------------------------------*/
/* 2.1 Containers & Columns */
#wrapper { padding:10px 0 40px; }
#main{}
#sidebar{}
/* 2.2 Navigation */
#navigation {
position: relative;
clear: both; margin-bottom: 3em; display: none;
font:14px/14px sans-serif;
border: 1px solid #d9d9d9;
background: #ffffff;
background: -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#f5f5f5));
background: -webkit-linear-gradient(#ffffff, #f5f5f5);
background: -moz-linear-gradient(center top, #ffffff 0%, #f5f5f5 100%);
background: -moz-gradient(center top, #ffffff 0%, #f5f5f5 100%);
box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.03);
-webkit-box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.03);
-moz-box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.03);
border-radius: 5px;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
}
#navigation ul.rss { float: none; position: absolute; top: 10px; right: 9px; }
#navigation ul.rss li { display: block; margin: 0 0 10px 0; padding: 0; font-size: 1em; }
#navigation ul.rss li a { color: #555555; text-decoration: none; padding: 0; display: inline-block; position: relative; }
#navigation ul.rss li a:hover { color: #222; }
ul.nav { width: 100%; }
ul.nav li a { padding: .5em 1em; display: block; color: #666; }
ul.nav li a:hover { color: #222; }
ul.nav li.current_page_item a,
ul.nav li.current_page_parent a,
ul.nav li.current-menu-ancestor a,
ul.nav li.current-cat a,
ul.nav li.current-menu-item a { background: #ffffff; color: #3088ff; }
ul.nav li ul li a { background: none!important; color: #666!important; }
ul.nav ul li.current_page_item a,
ul.nav ul li.current_page_parent a,
ul.nav ul li.current-menu-ancestor a,
ul.nav ul li.current-cat a,
ul.nav ul li.current-menu-item a { color: #3088ff!important; }
#header .nav-toggle { text-align: center; display: block; margin: 2.5em 0 0; padding: 0.4em 1em; font-size: 1em; background: #999; border-radius: 3px; }
#header .nav-toggle a { color: #fff; }
#header .nav-toggle a:hover { color: #ccc; text-decoration: none; }
#top select { margin: 1.618em 0 0; width:100%; }
#top #top-nav { display: none; }
/* 2.3 Header */
#header{padding:40px 0 45px;clear:both;position:relative;}
#logo { }
#logo img { }
#logo .site-title { line-height: inherit; margin-bottom: 5px; font-weight: bold; }
#logo .site-title, #logo .site-description { font-family: Helvetica, Arial, sans-serif; color: #000; display:none; }
#logo .site-title a { color:#222; font-size:40px; line-height:40px; text-transform:none; text-decoration:none; }
#logo .site-title a:hover { text-decoration:underline; }
#logo .site-description { color:#999; }
#topad { margin: 2em 0 0.5em; }
/* 2.4 Content */
#content{padding:0 0 40px; position:relative;}
/* 2.5 Sidebar */
#sidebar { margin-top: 3em; overflow:hidden; }
#sidebar .primary { }
#sidebar .secondary { float:left; margin-right:20px; }
#sidebar .tertiary { float:left; margin-right:0; }
#sidebar .last { margin:0; }
/* 2.6 Footer */
#footer{padding: 20px 0;border-top: 1px solid #e6e6e6; color:#999;}
#footer p {}
#footer #credit img{vertical-align:middle;}
#footer #credit span{display:none;}
#footer .col-left { margin-bottom: 10px; }
/*-------------------------------------------------------------------------------------------*/
/* 3. POSTS */
/*-------------------------------------------------------------------------------------------*/
.breadcrumbs { margin-bottom: 1.5em; }
.archive_header { display: block; float: left; border-bottom: 1px solid #e6e6e6; width: 100%; margin:0 0 30px; padding:0 0 10px; color: #222; }
.archive_header { font-weight: bold; font-size: 1.5em; }
.archive_header h1 { font-size: 1em; }
.archive_header .catrss a { padding: 5px 10px; font-size: 14px; text-decoration: none; line-height: 22px; }
.post, .search .page { margin: 0 0 40px; }
.post.sticky {}
.post .title, .page .title { font:normal bold 26px/26px Helvetica, Arial sans-serif; margin: 0 0 0.5em; }
.post .title a:link, .post .title a:visited,
.page .title a:link, .page .title a:visited{ color:#222; }
.post-meta {margin: 0 0 1.8em 0;font:1em/1em sans-serif;color:#999; font:11px/11px Helvetica, Arial, sans-serif; }
.post-meta .small {text-transform:lowercase;}
.post-meta .author {text-transform: capitalize;}
.post-more { clear:both; padding: 0.2em 0; font-size: 0.9em; }
.post-more .sep { padding: 0 0.5em; }
.post p.tags { color:#999; width:100%;clear:both;margin-bottom:20px;}
.post-meta a:link, .post-meta a:visited, .post p.tags a:link, .post p.tags a:visited { font-weight: bold; color:#888; }
.post-more a:hover, .post-meta a:hover, .post p.tags a:hover { text-decoration:underline; color:red;}
.post .post-embed { margin-bottom:30px; }
.entry {}
.entry .page-link { margin: 0 0 1.2em; }
/* 3.1 Typographic Elements */
.entry h1, .entry h2, .entry h3, .entry h4, .entry h5, .entry h6 { margin:0 0 0.5em; line-height:1.5em; }
.entry p { margin-bottom: 1.2em; }
.entry blockquote { position: relative; padding: 10px 20px 10px 50px; color: #444; }
.entry blockquote:before { content: '\201C'; position: absolute; top: 0.5em; left: 0; font-size: 7em; color: #999; font-family: Georgia, serif; }
.entry blockquote p { font-style:italic; }
.entry ul { margin: 0 0 15px 0; padding: 0 0 0 30px; }
.entry ul ul { margin: 0; }
.entry ul li { list-style-type: disc; }
.entry ul ul li { list-style-type: circle; }
.entry ol { margin: 0 0 15px 0; padding: 0 0 0 30px; }
.entry ol ol { margin: 0; }
.entry ol li { list-style-type: decimal; }
.entry ol li ol li { list-style-type: lower-latin; }
/* 3.2 Images */
.entry img, img.thumbnail { height: auto; padding: 3px; border: 1px solid #e6e6e6; background:#F8F8F8; background:rgba(255,255,255,0.7); }
img.wp-smiley { padding: 0; border: none; }
.alignleft { float: left; margin: 5px 15px 15px 0; }
.alignright { float: right; margin: 5px 0 15px 15px; }
.aligncenter { text-align: center; margin-bottom:15px;}
img.aligncenter { margin-left:auto; margin-right:auto; display:block; }
.entry .gallery-caption {}
.entry .wp-caption { max-width: 100%; width: 100%; padding: 1px; text-align:center; background:#F8F8F8; border: solid 1px #e6e6e6; border-radius: 3px; -moz-border-radius: 3px; -webkit-border-radius: 3px; box-shadow: inset 0 0 1px 1px #fff; -moz-box-shadow: inset 0 0 1px 1px #fff; -webkit-box-shadow: inset 0 0 1px 1px #fff; }
.entry .wp-caption img{ margin:0!important; padding:4px 0; background:none; border:0; }
.entry .wp-caption-text { margin:0 0 0.3em; padding:0; font: bold 11px/22px Arial, Helvetica, sans-serif; text-align:center; }
.entry .wp-caption a { margin: 0!important; }
.entry .wp-caption.aligncenter { margin:0 auto 15px; }
/* 3.3 Pagination */
.nav-entries { clear: both; font-size: 11px; }
.post-entries { clear:both; margin-top:-20px; }
.post-entries a:link, .post-entries a:visited { font-size:0.9em; color:#888; }
.post-entries a:hover { text-decoration: none; color: #666; }
.woo-pagination { margin: 0; text-align: center; clear: both; display: block; }
.woo-pagination a:link,
.woo-pagination a:visited,
.nav-entries a span { display: inline; text-decoration: none; color: #666; padding: 3px 7px; border: 1px solid #DDDDDD; }
.nav-entries a { font-size: 1.2em; }
.woo-pagination span.extend, .woo-pagination .page-numbers { border: none; color: #666; }
.woo-pagination a:link, .woo-pagination a:visited, .woo-pagination a:active, .nav-entries a span {
/* Border Radius */
font-weight: bold;
font-size: 0.9em;
border-radius: 4px; -moz-border-radius: 4px; -webkit-border-radius: 4px;
border: 1px solid #d9d9d9;
background: #ffffff;
background: -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#f5f5f5));
background: -webkit-linear-gradient(#ffffff, #f5f5f5);
background: -moz-linear-gradient(center top, #ffffff 0%, #f5f5f5 100%);
background: -moz-gradient(center top, #ffffff 0%, #f5f5f5 100%);
filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr=#ffffff,endColorstr=#f5f5f5);
-ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr=#ffffff, endColorstr=#f5f5f5)";
box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.03);
-webkit-box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.03);
-moz-box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.03);
}
.woo-pagination span.current { border: none; background: none; font-weight: bold; font-size: 0.9em; }
.woo-pagination a:link, .woo-pagination a:visited, .woo-pagination a:active { border:1px solid #dedede; background: #fafafa; }
.woo-pagination .current, .woo-pagination a:hover { padding: 3px 7px; background: #EEEEEE; border: 1px solid #bbb; }
/* 3.4 Single Post Author */
#post-author {
padding:15px; margin: 0 0 1.5em;
border: 1px solid #e6e6e6;
background: #fafafa;
border-radius: 5px;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
}
#post-author h4 { margin-bottom: 0.4em; }
#post-author .profile-image img { float:left; margin:0 15px 5px 0; padding: 0; border: none; border-radius: 100px; -moz-border-radius: 100px; -webkit-border-radius: 100px; }
#post-author .profile-link { }
#post-author .profile-content { font-size: 13px; }
.author #post-author { margin-bottom:30px; }
/* 3.5 Tumblog Styling */
.post { position: relative; }
.post .post-icon a { float:right; display: block; overflow: hidden; width: 50px; height: 50px; background: #333; border-radius: 100px; }
.post .post-icon a:hover { background: #111; text-decoration: none; }
.post .audio { margin-bottom: 1.8em;}
/*-------------------------------------------------------------------------------------------*/
/* 4. WIDGETS */
/*-------------------------------------------------------------------------------------------*/
/* 4.2 Generic Widgets */
.widget { margin: 0 0 30px 0; font-size:12px; }
.widget h3 { margin: 0 0 0.3em 0; padding:0 0 15px; font:normal bold 14px Helvetica, Arial, sans-serif; color:#555; border-bottom: 1px solid #e6e6e6; }
.widget p { font:12px/20px Arial, Helvetica, sans-serif; margin-bottom:15px; }
.widget ul { clear:both; list-style: none; }
.widget ul li {}
.widget ul li a { padding: 0 0 0 5px; line-height: 22px; text-decoration: none; }
.widget ul li a:hover { text-decoration:underline; }
.widget ul ul { padding: 0 0 0 15px; border-top: none; }
.widget_recent_comments li, #twitter li { padding: 6px 0; line-height: 18px; border-bottom: 1px solid #eee; } /* RESET LI STYLING FOR RECENT COMMENT & TWITTER */
.widget_recent_comments li a, #twitter a { display: inline; padding: 0; line-height: 18px!important; background: none!important; border: none!important; } /* RESET <A> STYLING FOR RECENT COMMENT & TWITTER */
#footer-widgets { border-top:1px solid #e6e6e6; padding:10px 0; }
/* 4.2 Specific Widgets */
/* SEARCH FORM */
.searchform { width: 99%; margin-top: 5px; position: relative; border-color: #ccc #efefef #efefef #ccc; border-width:1px; border-style:solid; border-radius: 3px; -moz-border-radius: 3px; -webkit-border-radius: 3px;}
.searchform input.s { padding: 8px; width:85%; margin:0; border:none; background: none; color:#777; }
.searchform input.s:focus { box-shadow: none; -moz-box-shadow: none; -webkit-box-shadow: none; }
.searchform input.submit { position: absolute; top:6px; right:10px; border:none; margin:0; padding:0; }
/* FLICKR */
.widget_woo_flickr h3 {}
.widget_woo_flickr h3 span{color:#0061D8;}
.widget_woo_flickr h3 span span{color:#FF1183;}
.widget_woo_flickr .flickr_badge_image { float: left; margin: 3px; }
.widget_woo_flickr .wrap { position: relative; margin-bottom: 20px; padding: 0; }
.widget_woo_flickr a img { float: left; margin: 0 0 8px 8px; display: block; border: #CECFC6 1px solid; padding: 3px;}
.widget_woo_flickr a:hover img { border:#A8AA99 1px solid; }
/* WIDGET WOO EMBED */
.widget_woo_embed h3 { margin-bottom: 0.5em; }
.widget_woo_embed h4 { display: none; }
.widget_woo_embed ul { margin: 0.7em 0 0; }
.widget_woo_embed ul li.active a { font-weight: bold; }
/* LIFESTREAM */
.widget_lifestream ul li { border-bottom: 1px solid #e0e6e6; }
.widget_lifestream ul li a { border:none; background:none!important; }
.widget_lifestream ul .lifestream_meta { color: inherit; }
/* CALENDAR */
#wp-calendar{width:95%;margin-bottom:15px;clear:both;padding:0;}
#wp-calendar caption{padding:0 0 10px;}
#wp-calendar th,#wp-calendar td{text-align:center;background:rgba(0,0,0,.05);padding:5px;}
#wp-calendar td{background:transparent;}
#wp-calendar td,table#wp-calendar th{padding:3px 0;}
/* Blog Author Widget */
.widget_woo_blogauthorinfo .avatar { padding: 5px; border: 1px solid #e6e6e6; background:#F8F8F8; background:rgba(255,255,255,0.7);}
.widget_woo_blogauthorinfo .left { float:left; margin:0 10px 5px 0; }
.widget_woo_blogauthorinfo .right { float:right; margin:0 0 5px 10px; }
/* TWITTER */
.widget_woo_twitter .back { padding: 15px 25px 10px; background: #f8f8f8; border-radius: 10px; -moz-border-radius: 10px; -webkit-border-radius: 10px; }
.widget_woo_twitter ul { background: none; padding-left:0; }
.widget_woo_twitter ul li { border-bottom: 1px solid #e6e6e6; padding: 10px 0px; list-style:none;}
.widget_woo_twitter ul li a { padding: 0px; }
.widget_woo_twitter ul li .time { color:#999; }
.widget_woo_twitter p { padding-top: 10px; }
.widget_woo_twitter p a { color:#222; }
.widget_woo_twitter ul li .content { font-size: 16px; font-family: Georgia, serif; }
.widget.widget_woo_twitter h3 { border-bottom:none; padding:0; margin:0; padding-bottom: 15px; }
/* Feedback */
.feedback .pagination { margin-top: 20px; }
/* 4.3 WooTabs */
#tabs { height:auto; display: block; margin-bottom:30px; }
#tabs ul.wooTabs { position: relative; bottom: -1px; padding:0px; z-index: 99; }
#tabs ul.wooTabs li { float: left; display:inline; margin-right: 2px; font-weight: bold; color: #ffffff; cursor: pointer; }
#tabs ul.wooTabs li a.selected, #tabs ul.wooTabs li a:hover { background:#fff; text-decoration:none; border: 1px solid #d9d9d9; border-width: 1px 1px 0; color: #666;
background: #ffffff;
background: -webkit-gradient(linear, left top, left bottom, from(#f2f2f2), to(#ffffff));
background: -webkit-linear-gradient(#f2f2f2, #ffffff);
background: -moz-linear-gradient(center top, #f2f2f2 0%, #ffffff 100%);
background: -moz-gradient(center top, #f2f2f2 0%, #ffffff 100%);
filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr=#f2f2f2,endColorstr=#ffffff);
-ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr=#f2f2f2, endColorstr=#ffffff)";
box-shadow: inset 0 1px 0 #fff, 0 -1px 3px rgba(0,0,0,0.1);
-moz-box-shadow: inset 0 1px 0 #fff, 0 -1px 3px rgba(0,0,0,0.1);
-webkit-box-shadow: inset 0 1px 0 #fff, 0 -1px 3px rgba(0,0,0,0.1);
}
#tabs ul.wooTabs li a { color:#999; display: block;float: left; border: 1px solid transparent; border-width: 1px 1px 0; padding: 5px 8px 3px; text-transform:uppercase; font-size: 11px; text-shadow: 1px 1px 0 solid #fff; }
#tabs .inside { box-shadow: 0 0 3px rgba(0,0,0,0.1); -moz-box-shadow: 0 0 3px rgba(0,0,0,0.1); -webkit-box-shadow: 0 0 3px rgba(0,0,0,0.1); }
#tabs .inside li { background:#fff; }
#tabs #tab-tags { padding:10px; background: #fff; border: 1px solid #d9d9d9; }
#tabs .inside ul { margin:0; border: 1px solid #d9d9d9; border-width:1px 0 1px 0; list-style: none; padding-left: 0px; }
#tabs .inside li { border:1px solid #d9d9d9; border-width:0 1px 1px 1px; padding:10px; }
#tabs .inside li a { color:#555; font:bold 13px/18px Helvetica, Arial, sans-serif; padding:0; }
#tabs .inside a:hover{}
#tabs .inside li span.meta { display:block; font:11px/20px Helvetica, Arial, sans-serif; text-transform:uppercase; color:#777; }
#tabs .inside li img.avatar, #tabs .inside li img.thumbnail { float: left; margin: 0 8px 0 0; padding: 0; border-radius: 300px; -moz-border-radius: 300px; -webkit-border-radius: 300px; }
#tabs { border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;}
#tabs ul.wooTabs li a.selected, #tabs ul.wooTabs li a:hover { border-top-right-radius:3px; border-top-left-radius:3px; -moz-border-radius-topright:3px; -moz-border-radius-topleft:3px;-webkit-border-top-right-radius: 3px; -webkit-border-top-left-radius:3px; }
#tabs .inside .list { display:none; }
#tabs .inside .list:first-child { display:block; }
/*-------------------------------------------------------------------------------------------*/
/* 5. COMMENTS */
/*-------------------------------------------------------------------------------------------*/
/* 5.1 Comments */
#comments {position:relative;margin:40px 0 0;padding:40px 0 0 0; border-top:1px solid #e6e6e6; border-top:1px solid rgba(0,0,0,0.07);}
#comments h3 { color:#333; font-weight:normal; margin-bottom:20px; }
#comments .comment.thread-even { background: #fafafa; background: rgba(0,0,0,0.02); border-bottom:1px solid #e6e6e6; border-bottom:1px solid rgba(0,0,0,0.07); }
#comments .comment{margin-top:10px;width:100%;list-style-type:none;}
#comments .bypostauthor {}
#comments .comment .comment-container { position:relative; padding: 20px; }
#comments .comment-head { margin: 0 0 15px 0; }
#comments .avatar { float:left; margin: 0 15px 10px 0; }
#comments .avatar img{ margin: 0;vertical-align: middle; border-radius: 100px; -moz-border-radius: 100px; -webkit-border-radius: 100px;}
#comments .comment-head .name { margin: 0; font-weight: bold; font-size: 15px; }
#comments .comment-head .date, #comments .comment-head .edit, #comments .comment-head .perma { font-size: 11px; }
#comments .comment-entry p { margin: 0 0 10px 0;}
#comments .reply { padding-top:10px; }
#comments .reply a { color: #fff; }
#comments ul.children{margin:10px 10px 0 25px;padding:0; }
#comments ul.children li {border-top:1px solid #e6e6e6; }
#comments .cancel-comment-reply{margin:10px 0;}
#comments .navigation {}
#comments .navigation a{ display: block; margin: 15px 0 0 0; text-decoration: none; }
#comments .navigation a:hover{}
#comments h3#pings { margin-top:25px; }
#comments .pingbacks li.pingback { margin:10px 0; }
#comments .pingbacks li.pingback .reply { display:none; }
/* 5.2 Comments Form */
#respond { margin: 40px 0 0; }
#respond h3 { color:#333; font-weight:normal; margin-bottom:20px; }
#respond #reply-title small { display: block; font-size: 14px; margin-top: 5px; }
#respond .left { float:left; width:200px; margin-right:15px; }
#respond .right { float:left; width:380px; }
#respond label { font-size:11px; color:#777; }
#commentform { margin: 15px 0 0 0; }
#commentform input.txt, #commentform textarea { font:14px/14px Arial, Helvetica, sans-serif; }
#commentform input.txt { width: 170px; margin: 0 5px 10px 0; padding: 5px 7px; }
#commentform textarea { width: 95% !important; padding: 5px 7px; }
#commentform #submit { margin: 15px 0 0 0; }
/* 5.3 Pingbacks / Trackbacks */
h3#pings { margin: 25px 0 10px 0; }
.pinglist li { margin: 0 0 0 20px; list-style-type: decimal; }
.pinglist li .author { font-weight: bold; font-size: 15px; }
.pinglist li .date { font-size: 11px; }
.pinglist li .pingcontent { display: block; margin: 10px 0; }
/*-------------------------------------------------------------------------------------------*/
/* 6. MISC */
/*-------------------------------------------------------------------------------------------*/
/* 6.1 Buttons */
body #wrapper #content .button, body #wrapper #content .button:visited, body #wrapper #content .reply a, body #wrapper #content #respond .form-submit input#submit { font-family: Helvetica, Arial, sans-serif; font-weight: bold; display: inline-block; padding: 9px 14px 9px; color: #fff !important; text-decoration: none; border:none; position: relative; cursor: pointer; }
body #wrapper #content .button, body #wrapper #content .button:visited, body #wrapper #content .reply a, body #wrapper #content #respond .form-submit input#submit {
border: 1px solid #3a3a3a;
background: #555555;
background: -webkit-gradient(linear, left top, left bottom, from(#555555), to(#424242));
background: -webkit-linear-gradient(#555555, #424242);
background: -moz-linear-gradient(center top, #555555 0%, #424242 100%);
background: -moz-gradient(center top, #555555 0%, #424242 100%);
box-shadow: 0 0 0 2px rgba(0,0,0,0.1), inset 0 1px 0 rgba(255,255,255,0.1);
-moz-box-shadow: 0 0 0 2px rgba(0,0,0,0.1), inset 0 1px 0 rgba(255,255,255,0.1);
-webkit-box-shadow: 0 0 0 2px rgba(0,0,0,0.1), inset 0 1px 0 rgba(255,255,255,0.1);
}
body #wrapper #content .button:hover, body #wrapper #content .reply a:hover, body #wrapper #content #respond .form-submit input#submit:hover { color: #fff !important; text-decoration:none; }
body #wrapper #content .button:active, body #wrapper #content .reply a:active, body #wrapper #content #respond .form-submit input#submit:active { box-shadow: inset 0 0 3px rgba(0,0,0,0.6); -moz-box-shadow: inset 0 0 3px rgba(0,0,0,0.6); -webkit-box-shadow: inset 0 0 3px rgba(0,0,0,0.6); }
body #wrapper #content .small.button, body #wrapper #content .small.button:visited, body #wrapper #content .reply a { font-size: 10px; padding: 0px 6px 1px; text-transform:uppercase;}
body #wrapper #content .button, body #wrapper #content .button:visited, body #wrapper #content .medium.button, body #wrapper #content .medium.button:visited, body #wrapper #content #respond .form-submit input#submit { font-size: 12px; line-height: 1; }
body #wrapper #content .large.button, body #wrapper #content .large.button:visited { font-size: 14px; padding: 8px 14px 9px; }
body #wrapper #content .button, body #wrapper #content .button:visited, body #wrapper #content .medium.button, body #wrapper #content .medium.button:visited, body #wrapper #content #respond .form-submit input#submit { text-shadow: 0 -1px 1px rgba(0,0,0,0.25); }
body #wrapper #content .button, body #wrapper #content .button:visited, body #wrapper #content .reply a, body #wrapper #content #respond .form-submit input#submit { border-radius: 50px; -moz-border-radius: 50px; -webkit-border-radius: 50px; text-shadow: 0 -1px 1px rgba(0,0,0,0.25); }
body #wrapper #content .button:hover, body #wrapper #content .reply a:hover, body #wrapper #content #respond .form-submit input#submit:hover { opacity:0.9; }
/* 6.3 Contact Form */
#contact-page .screenReader { left: -9999px; position: absolute; top: -9999px; }
#contact-page ol.forms{float:left;list-style:none;width:100%;margin:10px 0 0;}
#contact-page ol.forms li{clear:both;float:left;margin-bottom:18px;position:relative;width:100%}
#contact-page ol.forms label{cursor:pointer;display:block;float:left;font-weight:700;padding-right:20px;width:80px;}
#contact-page ol.forms input.txt{width:214px;}
#contact-page ol.forms input#sendCopy{border:none;}
#contact-page ol.forms textarea{height:300px;width:70%;}
#contact-page ol.forms li .error{font-size:12px;display:block;margin-left:120px;color:red;}
#contact-page ol.forms li.textarea .error{display:block; margin-left:120px}
#contact-page ol.forms li.screenReader{margin-bottom:0;}
#contact-page ol.forms li.buttons .submit{margin: 0 0 0 100px; }
#contact-page ol.forms li.inline input{width:auto;margin-left:120px;}
#contact-page ol.forms li.inline label{display:inline;float:none;width:auto;}
#contact-page ol.forms li.inline input#sendCopy { margin-left: 100px; }
.three-col-left #contact-page ol.forms textarea,
.three-col-middle #contact-page ol.forms textarea,
.three-col-right #contact-page ol.forms textarea { width: 65%; }
.three-col-left #contact-page ol.forms input#sendCopy,
.three-col-middle #contact-page ol.forms input#sendCopy,
.three-col-right #contact-page ol.forms input#sendCopy { float: left; }
/* 6.4 Gravity forms */
.gfield { margin-bottom: 10px; }
.gform_wrapper .top_label .gfield_label { display:block; padding-right:20px; margin: 5px 0px 4px !important; font: normal normal normal 14px Arial, sans-serif; font-weight: bold; }
.gform_wrapper input.button { padding: 5px 10px 6px !important; font-size: 12px !important; }
.gform_wrapper .gfield_checkbox label, .gform_wrapper .gfield_radio label { font-size: 12px !important; }
.gform_footer { font-size: 13px !important;}
.gform_wrapper .ginput_complex label, .gform_wrapper .gfield_time_hour label, .gform_wrapper .gfield_time_minute label, .gform_wrapper .gfield_date_month label, .gform_wrapper .gfield_date_day label, .gform_wrapper .gfield_date_year label, .gform_wrapper .instruction {
letter-spacing: 0px; }
.gform_wrapper input { padding: 7px 3px !important; }
.gform_wrapper .top_label input.large, .gform_wrapper .top_label select.large, .gform_wrapper .top_label textarea.textarea { width: 400px !important; padding: 7px 3px !important; }
.gform_wrapper .entry img, .gform_wrapper img.thumbnail { padding: 0px !important; border: 0px !important; }
ul.top_label .clear-multi { clear: none !important; }
.gform_wrapper .gfield_checkbox, .gform_wrapper .gfield_radio { margin-left: 120px !important; }
img.ui-datepicker-trigger { border: 0px; padding: 0px; }
/* 6.5 Tumblog */
.entry .quote, .entry .video { margin-bottom:1.5em; }
.entry .quote blockquote { font-style:italic; }
.entry .quote cite { text-align: right; font-style: normal; display: block; font: 0.9em sans-serif; }
.entry .quote cite:before { content: '~ ' }
/* 6.6 Subscribe & Connect */
#connect { background: #fafafa; margin:0 0 1.5em; padding:15px; border:1px solid #e6e6e6; clear:both; border-radius: 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px; font-weight: normal; }
#main #connect .col-left, #connect .col-right { float: none; width: 100%; }
#connect h3 { margin-bottom: 10px; font-size: 1.4em; }
#connect p { margin: 0 0 1em; }
#connect .newsletter-form { margin: 0 0 1em; }
#connect .newsletter-form .input { }
#connect .newsletter-form .email { width:140px; }
#connect .newsletter-form .submit { cursor:pointer; padding: 3px 5px; margin:0 0 0 5px; -webkit-border-radius: 3px;-moz-border-radius: 3px;border-radius: 3px; }
#connect .related-posts { border-top:1px solid #e6e6e6; margin-top: 1em; padding-top: 1em; }
#connect .related-posts h4 { font-size: 1em; }
#connect .related-posts ul { list-style: none; margin:5px 0 5px 0; }
.widget #connect { background: none; padding: 0; border:none; }
.widget #connect .fl, .widget #connect .fr { float:none; }
#connect .social a { opacity: 0.8; filter: alpha(opacity=80); -webkit-transition: all ease-in-out 0.2s; -moz-transition: all ease-in-out 0.2s; -ms-transition: all ease-in-out 0.2s; -o-transition: all ease-in-out 0.2s; transition: all ease-in-out 0.2s; }
#connect .social a:hover { opacity: 1; filter: alpha(opacity=100); }
#connect .social a { display: inline-block; height: 28px; width: 30px; background-image: url(images/ico-subscribe-social.png); background-repeat: no-repeat; }
#connect .social a.subscribe { background-position: 0px 0; }
#connect .social a.twitter { background-position: -30px 0; }
#connect .social a.facebook { background-position: -60px 0; }
#connect .social a.youtube { background-position: -90px 0; }
#connect .social a.flickr { background-position: -120px 0; }
#connect .social a.linkedin { background-position: -150px 0; }
#connect .social a.delicious { background-position: -180px 0; }
#connect .social a.googleplus { background-position: -210px 0; }
/* 6.7 Featured Posts Shortcode */
.woo-sc-featured-posts ul { float: left; clear: both; list-style: none; padding-left: 0px; }
.woo-sc-featured-posts ul li { float: left; clear: both; list-style: none; margin-bottom: 10px; }
.woo-sc-featured-posts ul li .thumbnail { float: left; margin-right: 10px; }
.woo-sc-featured-posts ul li .related-title { float: left; }
/*-------------------------------------------------------------------------------------------*/
/* 8. TEMPLATES / SLIDER */
/*-------------------------------------------------------------------------------------------*/
/* 8.1 Slider */
#loopedSlider { overflow: visible !important; }
#loopedSlider .container { overflow: hidden; position:relative; display: none; }
#loopedSlider .slides { top:0; left:0; }
#loopedSlider .slides .slide { display: none; overflow: hidden; position: relative; -webkit-backface-visibility: hidden; }
#loopedSlider { margin:0 auto 40px; padding:0; position:relative;}
#loopedSlider .nav-buttons { list-style-type:none; margin:0; padding:0; position:relative;}
#content.magazine #loopedSlider .slides .slide img { width: 100%; }
#loopedSlider .content { position:absolute; left:0px; top:20px; }
#loopedSlider .content h2 { float:left; margin-bottom:0; padding: 10px 20px; }
#loopedSlider .content h2, #loopedSlider .content h2 a, #loopedSlider .content h2 a:visited { color:#fff; }
#loopedSlider .content h2 a:hover { text-decoration:underline; }
#loopedSlider .content p { clear:both; float:left; color:#ccc; padding:5px 20px 10px 20px; }
#loopedSlider .content p, #loopedSlider .content h2 { background:rgb(0,0,0); background:rgba(0,0,0,.7); max-width:350px; }
#loopedSlider a.flex-prev, #loopedSlider a.flex-next { display: block; position: relative; overflow: hidden; width: 30px; height: 0; padding-top: 30px; }
#loopedSlider a.flex-prev:hover, #loopedSlider a.flex-next:hover { text-decoration: none; }
/* 8.1.1 Pagination */
#loopedSlider.has-pagination { margin-bottom: 50px; }
#loopedSlider .flex-control-nav { text-align: center; margin: 10px 0 20px 0; position: absolute; width: 100%; z-index: 10; }
#loopedSlider .pagination, #loopedSlider .flex-control-nav { display: inline; }
#loopedSlider .pagination li, #loopedSlider .flex-control-nav li { display: inline-block; margin: 0 2px; width: 10px; height: 10px; }
#loopedSlider .pagination li a, #loopedSlider .flex-control-nav li a { display: block; cursor: pointer; width: 10px; height: 10px; text-indent: -9999px; background: #666; border-radius: 300px; -moz-border-radius: 300px; -webkit-border-radius: 300px; }
#loopedSlider .pagination li a, #loopedSlider .flex-control-nav li a:hover { background: #444; }
#loopedSlider .pagination li.current a, #loopedSlider .flex-control-nav li .flex-active { background: #222; }
body.ie7 #loopedSlider .pagination li { display: inline; zoom: 1; }
/* 8.2 Magazine template */
.magazine #loopedSlider a.previous, .magazine #loopedSlider a.flex-prev { position:absolute; bottom:10px; right:50px; z-index: 999; }
.magazine #loopedSlider a.flex-next { position:absolute; bottom:10px; right:15px; z-index: 999; }
.magazine #loopedSlider .slides { width: 100%; }
.magazine #loopedSlider li.slide { display: none; } /* Prevents flicker of the slides before the slider has loaded. */
.magazine #loopedSlider li.slide img { max-width: 100%; height: auto; }
/* 8.2 Business template */
.business #loopedSlider, .business #loopedSlider .container { width:auto; }
.business #loopedSlider a.previous, .business #loopedSlider a.flex-prev { position:absolute; top:45%; left:-40px; }
.business #loopedSlider a.flex-next { position:absolute; top:45%; right:-40px; }
.business #loopedSlider .entry { padding:0 15px; }
.business h2, .business h3, .business h4, .business h5, .business h6 { margin-top:0.3em; }
.business #loopedSlider img.woo-image { max-width: 100%; height: auto; }
.business #loopedSlider li.slide { display: none; } /* Prevents flicker of the slides before the slider has loaded. */
/* 8.3 Footer Widgets 1-4 Columns */
#footer-widgets .block { padding-top: 20px; }
/* 8.5 Portfolio */
#portfolio a.thumb { display: block; margin: 0px; margin-right: 30px; margin-bottom: 30px; }
#portfolio a.thumb:hover { text-decoration: none; background: url("images/portfolio-hover.png") no-repeat 50% 50%; }
#portfolio .block h2 { font-size:18px; margin-bottom:15px; }
#portfolio .group.portfolio-img a.thumb { margin-bottom: 0px; margin-right: 0px; height: auto; }
#portfolio .group.portfolio-img a.thumb:hover { background-position: 50% 45%; }
#portfolio .group.portfolio-img { float: left; display: block; margin:0 10px 30px; }
#portfolio .group.portfolio-img h3 { font-size: 14px; }
#portfolio #port-tags { margin: 0 10px 20px;padding: 0 0 20px;}
#portfolio #port-tags .port-cat { text-transform:uppercase; font-size: 12px; }
#portfolio #port-tags .port-cat a { padding: 2px 6px; margin: 0 0 0 5px; background: #fff; border: 1px solid #BFD4D9; border-radius: 3px; -moz-border-radius: 3px; -webkit-border-radius: 3px; }
#portfolio #port-tags .port-cat a:hover,
#portfolio #port-tags .port-cat a.current { text-decoration:none; background:#eee; }
/* 8.5.1 Single Portfolio Item */
body.single-portfolio.one-col #post-gallery, body.single-portfolio.one-col .post-embed { float: left; margin-bottom: 20px; width: 60%; }
body.single-portfolio.one-col-980 #post-gallery, body.single-portfolio.one-col-980 .post-embed { width: 55%; }
body.single-portfolio.one-col-960 #post-gallery, body.single-portfolio.one-col-960 .post-embed { width: 55%; }
body.single-portfolio.one-col-940 #post-gallery, body.single-portfolio.one-col-940 .post-embed { width: 55%; }
body.single-portfolio.one-col-880 #post-gallery, body.single-portfolio.one-col-880 .post-embed { width: 55%; }
body.single-portfolio.one-col-760 #post-gallery, body.single-portfolio.one-col-760 .post-embed { width: 45%; }
body.single-portfolio.two-col-left #post-gallery,
body.single-portfolio.two-col-right #post-gallery,
body.single-portfolio.two-col-middle #post-gallery,
body.single-portfolio.three-col-left #post-gallery,
body.single-portfolio.three-col-right #post-gallery,
body.single-portfolio.three-col-middle #post-gallery,
body.single-portfolio.two-col-left .post-embed,
body.single-portfolio.two-col-right .post-embed,
body.single-portfolio.two-col-middle .post-embed,
body.single-portfolio.three-col-left .post-embed,
body.single-portfolio.three-col-right .post-embed,
body.single-portfolio.three-col-middle .post-embed { float: none; margin-bottom: 20px; }
#post-gallery .slides_control .slide { display: none; } /* Prevents the gallery from displaying incorrectly on first load. */
#post-gallery .photo-caption { background: #FFFFFF; padding: 5px; display: block; position: relative; width: 100%; top: -50px; z-index: 99; }
#post-gallery .photo-caption {
filter: alpha(opacity=80); /* internet explorer */
-khtml-opacity: 0.8; /* khtml, old safari */
-moz-opacity: 0.8; /* mozilla, netscape */
opacity: 0.8; /* fx, safari, opera */
}
#post-gallery .pagination li { display: inline; padding-right: 10px; margin: 15px 4px 15px 0; }
#post-gallery .pagination .jcarousel-prev, #post-gallery .pagination .jcarousel-next { cursor: pointer; width: 7px; height: 10px; position: absolute; top: 45%; }
#post-gallery .pagination .jcarousel-prev { left: 10px; }
#post-gallery .pagination .jcarousel-next { right: 10px; }
#post-gallery .pagination .jcarousel-prev-disabled,
#post-gallery .pagination .jcarousel-next-disabled {
filter: alpha(opacity=20); /* internet explorer */
-khtml-opacity: 0.2; /* khtml, old safari */
-moz-opacity: 0.2; /* mozilla, netscape */
opacity: 0.2; /* fx, safari, opera */
}
body.single-portfolio .hentry { float: right; width: 40%; }
body.single-portfolio.two-col-left .hentry,
body.single-portfolio.two-col-right .hentry,
body.single-portfolio.two-col-middle .hentry,
body.single-portfolio.three-col-left .hentry,
body.single-portfolio.three-col-right .hentry,
body.single-portfolio.three-col-middle .hentry { float: none; width: auto; }
/* 8.5.2 Portfolio Items In Archive Screens */
body.search .portfolio .portfolio-img { margin: 0 10px 10px 0; }
/* 8.6 Contact Page Template */
#single_map_canvas img { max-width: inherit; }
.page-template-template-contact-php .location-twitter {
margin: 0 0 1em;
padding: 0 0 1.618em;
border-bottom: 1px solid #e6e6e6;
}
.page-template-template-contact-php .location-twitter .col-left {
float: none;
}
.page-template-template-contact-php .location-twitter ul {
margin: 0;
padding: 0;
}
.page-template-template-contact-php .location-twitter ul li {
list-style: none;
padding: 0;
}
.page-template-template-contact-php .location-twitter #office-location {
margin: 0 0 1.618em;
}
.page-template-template-contact-php .location-twitter #office-location a {
text-decoration: underline;
}
.page-template-template-contact-php .location-twitter #office-location ul li {
margin: 0 0 1em;
}
.page-template-template-contact-php .location-twitter .contact-social {
float: none;
}
.page-template-template-contact-php .location-twitter .contact-social #twitter {
margin: 0 0 1.618em;
}
.page-template-template-contact-php .location-twitter .contact-social #twitter ul li {
padding-bottom: 10px;
}
.page-template-template-contact-php .location-twitter .contact-social #twitter ul li a.time {
color: #7b7b7b;
}
.page-template-template-contact-php .location-twitter .contact-social #connect {
background: none;
border: none;
padding: 0; margin: 1em 0 0;
}
.page-template-template-contact-php .location-twitter .contact-social #connect div p { display: none; }
.page-template-template-contact-php .location-twitter .contact-social #connect img { border: none; padding: 0; background: none; }
.page-template-template-contact-php .location-twitter .contact-social #connect h3 {
display: none;
}
.page-template-template-contact-php .location-twitter .contact-social #connect .social {
float: none;
}
/* 8.7 Timeline Page Template */
#archives {
padding: 10px 0 0;
}
#archives .archives_list {
border-left: 1px solid #e5e5e5;
list-style: none;
margin: 0 0 0 25px;
padding: 0 0 20px;
}
#archives .archives_list:last-child:after {
content: '';
position: relative;
top: 20px;
left: -7px;
display: block;
width: 5px;
height: 5px;
border: 4px solid #e5e5e5;
-webkit-border-radius: 30px;
-moz-border-radius: 30px;
border-radius: 30px;
background: #dc3022;
}
#archives .archives_list li {
clear: left;
padding: 10px 0 10px 10px;
font-size: 0.9em;
font-style: normal;
list-style: none;
}
#archives .archives_list .date {
color: #534545;
position: relative;
width: 40%;
font-style: italic;
display: block;
vertical-align: top;
}
#archives .archives_list .date:before {
content: '';
position: absolute;
top: 9px;
left: -10px;
display: block;
width: 5px;
height: 1px;
border-top: 2px solid #e5e5e5;
}
#archives .archives_list .linked {
padding-top: 2px;
padding-right: 80px;
width: auto;
display: inline-block;
font-size: 1.2em;
line-height: 1.2;
vertical-align: top;
}
#archives .archives_list .linked a {
font-weight: bold;
}
#archives .archives_list .comments {
display: inline;
margin-top: -15px;
float: right;
vertical-align: top;
}
#archives .archives_list .comments a {
display: block;
position: relative;
width: 30px;
height: 27px;
padding: 3px 0 0 0;
text-align: center;
font-weight: bold;
font-size: 1.4em;
}
#archives .archives_list .comments a:hover { text-decoration: none; }
h3.archive_year {
font-weight: bold;
font-size: 1em;
padding: 2px 10px;
border-bottom: 1px solid #e5e5e5;
display: inline;
margin-top: 0;
}
/*-------------------------------------------------------------------------------------------*/
/* 9. WOODOJO */
/*-------------------------------------------------------------------------------------------*/
/* WooDojo Tabs */
.widget_woodojo_tabs h3 { border-bottom: none; }
.widget_woodojo_tabs .tabbable .nav { margin: 0 0 -1px; border: none!important; }
.widget_woodojo_tabs .tabbable .nav li a { color:#999; display: block; float: left; border-color: transparent; border-width: 1px 1px 0; padding: 5px 8px 3px; text-transform:uppercase; font-weight: bold; font-size: 11px; text-shadow: 1px 1px 0 #fff; }
.widget_woodojo_tabs .tabbable .nav li.active a, .widget_woodojo_tabs .tabbable .nav li a:hover {
text-decoration:none; border-color: #d9d9d9!important; border-width: 1px 1px 0; color: #666;
background: #ffffff;
background: -webkit-gradient(linear, left top, left bottom, from(#f2f2f2), to(#ffffff));
background: -webkit-linear-gradient(#f2f2f2, #ffffff);
background: -moz-linear-gradient(center top, #f2f2f2 0%, #ffffff 100%);
background: -moz-gradient(center top, #f2f2f2 0%, #ffffff 100%);
filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr=#f2f2f2,endColorstr=#ffffff);
-ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr=#f2f2f2, endColorstr=#ffffff)";
box-shadow: inset 0 1px 0 #fff, 0 -1px 3px rgba(0,0,0,0.1);
-moz-box-shadow: inset 0 1px 0 #fff, 0 -1px 3px rgba(0,0,0,0.1);
-webkit-box-shadow: inset 0 1px 0 #fff, 0 -1px 3px rgba(0,0,0,0.1);
border-bottom: none!important;
}
.widget_woodojo_tabs .tabbable .tab-content { box-shadow: 0 0 3px rgba(0,0,0,0.1); -moz-box-shadow: 0 0 3px rgba(0,0,0,0.1); -webkit-box-shadow: 0 0 3px rgba(0,0,0,0.1); }
.widget_woodojo_tabs .tabbable .tab-content ul { padding: 0; }
.widget_woodojo_tabs .tabbable .tab-content li { margin: 0; background:#fff; }
.widget_woodojo_tabs .tabbable .tab-pane-tags { padding: 10px; background: #fff; border: 1px solid #d9d9d9; }
.widget_woodojo_tabs .tabbable .tab-content ul { margin:0; border: 1px solid #d9d9d9; border-width: 0 0 1px 0; list-style: none; padding-left: 0px; }
.widget_woodojo_tabs .tabbable .tab-content li { border:1px solid #d9d9d9; border-width:1px 1px 0 1px; padding:10px; }
.widget_woodojo_tabs .tabbable .tab-content li a { color:#555; font:bold 13px/18px Helvetica, Arial, sans-serif; padding:0; }
.widget_woodojo_tabs .tabbable .tab-content a:hover{}
.widget_woodojo_tabs .tabbable .tab-content li span.meta { display:block; font:11px/20px Helvetica, Arial, sans-serif; text-transform:uppercase; color:#777; }
.widget_woodojo_tabs .tabbable .tab-content li img.avatar, .widget_woodojo_tabs .tabbable .tab-content li img.thumbnail { float: left; margin: 0 8px 0 0; border: none; padding: 0; border-radius: 300px; -moz-border-radius: 300px; -webkit-border-radius: 300px; }
.widget_woodojo_tabs .tabbable.tabs-below .nav { margin: 0; }
.widget_woodojo_tabs .tabbable.tabs-below .nav li a { border-width: 0 1px 1px; }
.widget_woodojo_tabs .tabbable.tabs-below .nav li.active a, .widget_woodojo_tabs .tabbable.tabs-below .nav li a:hover {
border-width: 0 1px 1px!important;
background: #ffffff;
background: -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#f2f2f2));
background: -webkit-linear-gradient(#ffffff, #f2f2f2);
background: -moz-linear-gradient(center top, #ffffff 0%, #f2f2f2 100%);
background: -moz-gradient(center top, #ffffff 0%, #f2f2f2 100%);
filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr=#ffffff,endColorstr=#f2f2f2);
-ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr=#ffffff, endColorstr=#f2f2f2)";
box-shadow: inset 0 1px 0 #fff, 0 1px 3px rgba(0,0,0,0.1);
-moz-box-shadow: inset 0 1px 0 #fff, 0 1px 3px rgba(0,0,0,0.1);
-webkit-box-shadow: inset 0 1px 0 #fff, 0 1px 3px rgba(0,0,0,0.1);
}
.widget_woodojo_tabs .tabbable.tabs-left .nav { margin: 0; }
.widget_woodojo_tabs .tabbable.tabs-left .nav li a { border-width: 1px 0 1px 1px; }
.widget_woodojo_tabs .tabbable.tabs-left .nav li.active a, .widget_woodojo_tabs .tabbable.tabs-below .nav li a:hover {
border-width: 1px 0 1px 1px;
background: #ffffff;
background: -webkit-gradient(linear, left top, right bottom, from(#ffffff), to(#f2f2f2));
background: -webkit-linear-gradient(#ffffff, #f2f2f2);
background: -moz-linear-gradient(center top, #ffffff 0%, #f2f2f2 100%);
background: -moz-gradient(center top, #ffffff 0%, #f2f2f2 100%);
filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr=#ffffff,endColorstr=#f2f2f2);
-ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr=#ffffff, endColorstr=#f2f2f2)";
box-shadow: inset 0 1px 0 #fff, 0 1px 3px rgba(0,0,0,0.1);
-moz-box-shadow: inset 0 1px 0 #fff, 0 1px 3px rgba(0,0,0,0.1);
-webkit-box-shadow: inset 0 1px 0 #fff, 0 1px 3px rgba(0,0,0,0.1);
}
.widget_woodojo_tabs .tabbable.tabs-right .nav { margin: 0; }
.widget_woodojo_tabs .tabbable.tabs-right .nav li a { border-width: 1px 1px 1px 0; }
.widget_woodojo_tabs .tabbable.tabs-right .nav li.active a, .widget_woodojo_tabs .tabbable.tabs-below .nav li a:hover {
border-width: 1px 1px 1px 0;
background: #ffffff;
background: -webkit-gradient(linear, left top, right bottom, from(#ffffff), to(#f2f2f2));
background: -webkit-linear-gradient(#ffffff, #f2f2f2);
background: -moz-linear-gradient(center top, #ffffff 0%, #f2f2f2 100%);
background: -moz-gradient(center top, #ffffff 0%, #f2f2f2 100%);
filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr=#ffffff,endColorstr=#f2f2f2);
-ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr=#ffffff, endColorstr=#f2f2f2)";
box-shadow: inset 0 1px 0 #fff, 0 1px 3px rgba(0,0,0,0.1);
-moz-box-shadow: inset 0 1px 0 #fff, 0 1px 3px rgba(0,0,0,0.1);
-webkit-box-shadow: inset 0 1px 0 #fff, 0 1px 3px rgba(0,0,0,0.1);
}
/* WooDojo Instagram Stream */
.widget_woodojo_instagram ul { float: none; }
.widget_woodojo_instagram ul.instagram-photos { margin: 0.5em 0; width: 98%; margin: 0 auto; }
.widget_woodojo_instagram ul.instagram-photos li { margin: 0.5em!important; }
.widget_woodojo_instagram ul.instagram-photos li img:hover { opacity: 0.8; }
/* WooDojo Twitter Stream */
.widget_woodojo_tweets ul.tweets h3 { margin: 0; }
.widget_woodojo_tweets ul.tweets li { margin: 0; padding: 1em; }
/* Misc */
.widget_woodojo_instagram_profile h3, .widget_woodojo_twitterprofile h3 { margin: 0 0 1em; }
/*-------------------------------------------------------------------------------------------*/
/* 10. BROWSER SPECIFIC */
/*-------------------------------------------------------------------------------------------*/
/* IE6 */
.ie6 .nav .sf-sub-indicator { display:none; }
.ie6 .nav li a:hover { text-decoration:none; }
.ie6 .nav li a.sf-with-ul { padding-right:10px; }
.ie6 .button, .ie6 .button:visited { margin:0; color:#555 !important; font-weight:normal; }
.ie6 .button, .ie6 .button:visited{ padding:6px 0; margin:0; }
.ie6 .widget input.submit { float:right; }
.ie6 #loopedSlider .content p, .ie6 #loopedSlider .content a h2 { width:300px; }
.ie6 .business #loopedSlider a.previous { top:150px; }
.ie6 .business #loopedSlider a.next { top:150px; }
/* IE7 */
.ie7 .nav li a {_height: 0;zoom: 1;} /* IE7 Fix */
.ie7 .button, .button:visited { padding:7px 6px; margin:0; }
.ie7 .nav-entries a { font-style:normal !important; }
.ie7 #comments, .ie7 .comment-container, .ie7 .reply a { position: static; }
.ie7 #footer-widgets .widget_woo_feedback { zoom: 1; }
/* IE8 */
.ie8 .button, .ie8 .button:visited { padding:10px 15px; margin:0; }
.ie8 .alignleft, .ie8 .alignright { width: auto; }
.ie8 .widget_woo_blogauthorinfo .avatar { width: auto; }
| {
"content_hash": "0bd643acadb8b89d43acdd6af7befc4e",
"timestamp": "",
"source": "github",
"line_count": 1062,
"max_line_length": 471,
"avg_line_length": 52.123352165725045,
"alnum_prop": 0.6808057086080751,
"repo_name": "mandino/pursuitofeverything",
"id": "5bb0685b62f19f79076cf66f163a5eea45617092",
"size": "55737",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "wp-content/themes/poe/style.css",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "CSS",
"bytes": "2705674"
},
{
"name": "HTML",
"bytes": "588223"
},
{
"name": "JavaScript",
"bytes": "3019181"
},
{
"name": "Makefile",
"bytes": "6214"
},
{
"name": "PHP",
"bytes": "25817537"
},
{
"name": "Perl",
"bytes": "3897"
},
{
"name": "Python",
"bytes": "1008"
},
{
"name": "Ruby",
"bytes": "863"
},
{
"name": "Smarty",
"bytes": "37804"
},
{
"name": "XSLT",
"bytes": "9376"
}
],
"symlink_target": ""
} |
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "e0d6d3f05febf4ed582c8fcd545c6b5d",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.23076923076923,
"alnum_prop": 0.6917293233082706,
"repo_name": "mdoering/backbone",
"id": "0b420e36fbb776a06ba5583635850a3a23c87010",
"size": "191",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "life/Plantae/Magnoliophyta/Liliopsida/Poales/Poaceae/Melica/Melica ciliata/ Syn. Melica ciliata monticola/README.md",
"mode": "33188",
"license": "apache-2.0",
"language": [],
"symlink_target": ""
} |
from qprompt import alert, echo, error, warn, info
echo("Just a message.")
alert("Heads up!")
info("Hmm...")
warn("Uh oh...")
error("OMG this is bad!")
error("REALLY BAD", end="!!!!!!!\n")
| {
"content_hash": "4bb04a5b20650d4231e5fedc399e38da",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 50,
"avg_line_length": 27,
"alnum_prop": 0.6190476190476191,
"repo_name": "jeffrimko/Qprompt",
"id": "f1a3ae164287a6010277d077c647ac5b5711bb01",
"size": "189",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "examples/display_1.py",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "Batchfile",
"bytes": "5397"
},
{
"name": "Python",
"bytes": "55427"
}
],
"symlink_target": ""
} |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0) on Fri Dec 12 19:29:15 EST 2008 -->
<TITLE>
com.google.gxp.compiler.io (GXP Compiler 0.2.4-beta (BETA))
</TITLE>
<META NAME="date" CONTENT="2008-12-12">
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style">
<SCRIPT type="text/javascript">
function windowTitle()
{
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="com.google.gxp.compiler.io (GXP Compiler 0.2.4-beta (BETA))";
}
}
</SCRIPT>
<NOSCRIPT>
</NOSCRIPT>
</HEAD>
<BODY BGCOLOR="white" onload="windowTitle();">
<HR>
<!-- ========= START OF TOP NAVBAR ======= -->
<A NAME="navbar_top"><!-- --></A>
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Package</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../../com/google/gxp/compiler/ifexpand/package-summary.html"><B>PREV PACKAGE</B></A>
<A HREF="../../../../../com/google/gxp/compiler/java/package-summary.html"><B>NEXT PACKAGE</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../../index.html?com/google/gxp/compiler/io/package-summary.html" target="_top"><B>FRAMES</B></A>
<A HREF="package-summary.html" target="_top"><B>NO FRAMES</B></A>
<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_top"></A>
<!-- ========= END OF TOP NAVBAR ========= -->
<HR>
<H2>
Package com.google.gxp.compiler.io
</H2>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Class Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD WIDTH="15%"><B><A HREF="../../../../../com/google/gxp/compiler/io/CIndenter.html" title="class in com.google.gxp.compiler.io">CIndenter</A></B></TD>
<TD>Utility class for generating nicely indented code in C-like languages.</TD>
</TR>
</TABLE>
<P>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Exception Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD WIDTH="15%"><B><A HREF="../../../../../com/google/gxp/compiler/io/RuntimeIOException.html" title="class in com.google.gxp.compiler.io">RuntimeIOException</A></B></TD>
<TD>Wrapper for tunneling IOExceptions.</TD>
</TR>
</TABLE>
<P>
<DL>
</DL>
<HR>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<A NAME="navbar_bottom"><!-- --></A>
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Package</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../../com/google/gxp/compiler/ifexpand/package-summary.html"><B>PREV PACKAGE</B></A>
<A HREF="../../../../../com/google/gxp/compiler/java/package-summary.html"><B>NEXT PACKAGE</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../../index.html?com/google/gxp/compiler/io/package-summary.html" target="_top"><B>FRAMES</B></A>
<A HREF="package-summary.html" target="_top"><B>NO FRAMES</B></A>
<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<HR>
</BODY>
</HTML>
| {
"content_hash": "3a63bc5fe78babd81df4aa75fd1cd245",
"timestamp": "",
"source": "github",
"line_count": 169,
"max_line_length": 170,
"avg_line_length": 39.53846153846154,
"alnum_prop": 0.6161328943430111,
"repo_name": "xenomachina/gxp",
"id": "6b6aba47924db7c5f6a61eee8e4204bc8e7c1357",
"size": "6682",
"binary": false,
"copies": "2",
"ref": "refs/heads/master",
"path": "compiler.javadoc/com/google/gxp/compiler/io/package-summary.html",
"mode": "33188",
"license": "apache-2.0",
"language": [
{
"name": "C++",
"bytes": "27560"
},
{
"name": "CSS",
"bytes": "1391"
},
{
"name": "HTML",
"bytes": "8388855"
},
{
"name": "Java",
"bytes": "1887441"
},
{
"name": "JavaScript",
"bytes": "63313"
},
{
"name": "Scala",
"bytes": "638"
}
],
"symlink_target": ""
} |
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "8ed61e38ce42bb616647ceb828050343",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.23076923076923,
"alnum_prop": 0.6917293233082706,
"repo_name": "mdoering/backbone",
"id": "8499437655f8535ced8bba04141b86410c2e0945",
"size": "191",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "life/Plantae/Magnoliophyta/Liliopsida/Alismatales/Araceae/Rhaphidophora/Rhaphidophora conica/ Syn. Rhaphidophora pallidivenia/README.md",
"mode": "33188",
"license": "apache-2.0",
"language": [],
"symlink_target": ""
} |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_111) on Thu Aug 18 01:51:14 UTC 2016 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>org.apache.hadoop.mapred.join Class Hierarchy (Apache Hadoop Main 2.7.3 API)</title>
<meta name="date" content="2016-08-18">
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="org.apache.hadoop.mapred.join Class Hierarchy (Apache Hadoop Main 2.7.3 API)";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!-- -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li>Class</li>
<li>Use</li>
<li class="navBarCell1Rev">Tree</li>
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../../org/apache/hadoop/mapred/jobcontrol/package-tree.html">Prev</a></li>
<li><a href="../../../../../org/apache/hadoop/mapred/lib/package-tree.html">Next</a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/apache/hadoop/mapred/join/package-tree.html" target="_top">Frames</a></li>
<li><a href="package-tree.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip-navbar_top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<div class="header">
<h1 class="title">Hierarchy For Package org.apache.hadoop.mapred.join</h1>
<span class="strong">Package Hierarchies:</span>
<ul class="horizontal">
<li><a href="../../../../../overview-tree.html">All Packages</a></li>
</ul>
</div>
<div class="contentContainer">
<h2 title="Class Hierarchy">Class Hierarchy</h2>
<ul>
<li type="circle">java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang"><span class="strong">Object</span></a>
<ul>
<li type="circle">org.apache.hadoop.mapreduce.lib.join.<a href="../../../../../org/apache/hadoop/mapreduce/lib/join/ArrayListBackedIterator.html" title="class in org.apache.hadoop.mapreduce.lib.join"><span class="strong">ArrayListBackedIterator</span></a><X> (implements org.apache.hadoop.mapreduce.lib.join.<a href="../../../../../org/apache/hadoop/mapreduce/lib/join/ResetableIterator.html" title="interface in org.apache.hadoop.mapreduce.lib.join">ResetableIterator</a><T>)
<ul>
<li type="circle">org.apache.hadoop.mapred.join.<a href="../../../../../org/apache/hadoop/mapred/join/ArrayListBackedIterator.html" title="class in org.apache.hadoop.mapred.join"><span class="strong">ArrayListBackedIterator</span></a><X> (implements org.apache.hadoop.mapred.join.<a href="../../../../../org/apache/hadoop/mapred/join/ResetableIterator.html" title="interface in org.apache.hadoop.mapred.join">ResetableIterator</a><T>)</li>
</ul>
</li>
<li type="circle">org.apache.hadoop.mapred.join.<a href="../../../../../org/apache/hadoop/mapred/join/CompositeInputFormat.html" title="class in org.apache.hadoop.mapred.join"><span class="strong">CompositeInputFormat</span></a><K> (implements org.apache.hadoop.mapred.join.<a href="../../../../../org/apache/hadoop/mapred/join/ComposableInputFormat.html" title="interface in org.apache.hadoop.mapred.join">ComposableInputFormat</a><K,V>)</li>
<li type="circle">org.apache.hadoop.mapred.join.<a href="../../../../../org/apache/hadoop/mapred/join/CompositeInputSplit.html" title="class in org.apache.hadoop.mapred.join"><span class="strong">CompositeInputSplit</span></a> (implements org.apache.hadoop.mapred.<a href="../../../../../org/apache/hadoop/mapred/InputSplit.html" title="interface in org.apache.hadoop.mapred">InputSplit</a>)</li>
<li type="circle">org.apache.hadoop.mapred.join.<a href="../../../../../org/apache/hadoop/mapred/join/CompositeRecordReader.html" title="class in org.apache.hadoop.mapred.join"><span class="strong">CompositeRecordReader</span></a><K,V,X> (implements org.apache.hadoop.conf.<a href="../../../../../org/apache/hadoop/conf/Configurable.html" title="interface in org.apache.hadoop.conf">Configurable</a>)
<ul>
<li type="circle">org.apache.hadoop.mapred.join.<a href="../../../../../org/apache/hadoop/mapred/join/JoinRecordReader.html" title="class in org.apache.hadoop.mapred.join"><span class="strong">JoinRecordReader</span></a><K> (implements org.apache.hadoop.mapred.join.<a href="../../../../../org/apache/hadoop/mapred/join/ComposableRecordReader.html" title="interface in org.apache.hadoop.mapred.join">ComposableRecordReader</a><K,V>)
<ul>
<li type="circle">org.apache.hadoop.mapred.join.<a href="../../../../../org/apache/hadoop/mapred/join/InnerJoinRecordReader.html" title="class in org.apache.hadoop.mapred.join"><span class="strong">InnerJoinRecordReader</span></a><K></li>
<li type="circle">org.apache.hadoop.mapred.join.<a href="../../../../../org/apache/hadoop/mapred/join/OuterJoinRecordReader.html" title="class in org.apache.hadoop.mapred.join"><span class="strong">OuterJoinRecordReader</span></a><K></li>
</ul>
</li>
<li type="circle">org.apache.hadoop.mapred.join.<a href="../../../../../org/apache/hadoop/mapred/join/MultiFilterRecordReader.html" title="class in org.apache.hadoop.mapred.join"><span class="strong">MultiFilterRecordReader</span></a><K,V> (implements org.apache.hadoop.mapred.join.<a href="../../../../../org/apache/hadoop/mapred/join/ComposableRecordReader.html" title="interface in org.apache.hadoop.mapred.join">ComposableRecordReader</a><K,V>)
<ul>
<li type="circle">org.apache.hadoop.mapred.join.<a href="../../../../../org/apache/hadoop/mapred/join/OverrideRecordReader.html" title="class in org.apache.hadoop.mapred.join"><span class="strong">OverrideRecordReader</span></a><K,V></li>
</ul>
</li>
</ul>
</li>
<li type="circle">org.apache.hadoop.mapred.join.<a href="../../../../../org/apache/hadoop/mapred/join/Parser.html" title="class in org.apache.hadoop.mapred.join"><span class="strong">Parser</span></a></li>
<li type="circle">org.apache.hadoop.mapred.join.<a href="../../../../../org/apache/hadoop/mapred/join/Parser.Node.html" title="class in org.apache.hadoop.mapred.join"><span class="strong">Parser.Node</span></a> (implements org.apache.hadoop.mapred.join.<a href="../../../../../org/apache/hadoop/mapred/join/ComposableInputFormat.html" title="interface in org.apache.hadoop.mapred.join">ComposableInputFormat</a><K,V>)</li>
<li type="circle">org.apache.hadoop.mapred.join.<a href="../../../../../org/apache/hadoop/mapred/join/Parser.Token.html" title="class in org.apache.hadoop.mapred.join"><span class="strong">Parser.Token</span></a>
<ul>
<li type="circle">org.apache.hadoop.mapred.join.<a href="../../../../../org/apache/hadoop/mapred/join/Parser.NodeToken.html" title="class in org.apache.hadoop.mapred.join"><span class="strong">Parser.NodeToken</span></a></li>
<li type="circle">org.apache.hadoop.mapred.join.<a href="../../../../../org/apache/hadoop/mapred/join/Parser.NumToken.html" title="class in org.apache.hadoop.mapred.join"><span class="strong">Parser.NumToken</span></a></li>
<li type="circle">org.apache.hadoop.mapred.join.<a href="../../../../../org/apache/hadoop/mapred/join/Parser.StrToken.html" title="class in org.apache.hadoop.mapred.join"><span class="strong">Parser.StrToken</span></a></li>
</ul>
</li>
<li type="circle">org.apache.hadoop.mapreduce.lib.join.<a href="../../../../../org/apache/hadoop/mapreduce/lib/join/StreamBackedIterator.html" title="class in org.apache.hadoop.mapreduce.lib.join"><span class="strong">StreamBackedIterator</span></a><X> (implements org.apache.hadoop.mapreduce.lib.join.<a href="../../../../../org/apache/hadoop/mapreduce/lib/join/ResetableIterator.html" title="interface in org.apache.hadoop.mapreduce.lib.join">ResetableIterator</a><T>)
<ul>
<li type="circle">org.apache.hadoop.mapred.join.<a href="../../../../../org/apache/hadoop/mapred/join/StreamBackedIterator.html" title="class in org.apache.hadoop.mapred.join"><span class="strong">StreamBackedIterator</span></a><X> (implements org.apache.hadoop.mapred.join.<a href="../../../../../org/apache/hadoop/mapred/join/ResetableIterator.html" title="interface in org.apache.hadoop.mapred.join">ResetableIterator</a><T>)</li>
</ul>
</li>
<li type="circle">org.apache.hadoop.mapreduce.lib.join.<a href="../../../../../org/apache/hadoop/mapreduce/lib/join/TupleWritable.html" title="class in org.apache.hadoop.mapreduce.lib.join"><span class="strong">TupleWritable</span></a> (implements java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a><T>, org.apache.hadoop.io.<a href="../../../../../org/apache/hadoop/io/Writable.html" title="interface in org.apache.hadoop.io">Writable</a>)
<ul>
<li type="circle">org.apache.hadoop.mapred.join.<a href="../../../../../org/apache/hadoop/mapred/join/TupleWritable.html" title="class in org.apache.hadoop.mapred.join"><span class="strong">TupleWritable</span></a></li>
</ul>
</li>
<li type="circle">org.apache.hadoop.mapred.join.<a href="../../../../../org/apache/hadoop/mapred/join/WrappedRecordReader.html" title="class in org.apache.hadoop.mapred.join"><span class="strong">WrappedRecordReader</span></a><K,U> (implements org.apache.hadoop.mapred.join.<a href="../../../../../org/apache/hadoop/mapred/join/ComposableRecordReader.html" title="interface in org.apache.hadoop.mapred.join">ComposableRecordReader</a><K,V>, org.apache.hadoop.conf.<a href="../../../../../org/apache/hadoop/conf/Configurable.html" title="interface in org.apache.hadoop.conf">Configurable</a>)</li>
</ul>
</li>
</ul>
<h2 title="Interface Hierarchy">Interface Hierarchy</h2>
<ul>
<li type="circle">java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang"><span class="strong">Comparable</span></a><T>
<ul>
<li type="circle">org.apache.hadoop.mapred.join.<a href="../../../../../org/apache/hadoop/mapred/join/ComposableRecordReader.html" title="interface in org.apache.hadoop.mapred.join"><span class="strong">ComposableRecordReader</span></a><K,V> (also extends org.apache.hadoop.mapred.<a href="../../../../../org/apache/hadoop/mapred/RecordReader.html" title="interface in org.apache.hadoop.mapred">RecordReader</a><K,V>)</li>
</ul>
</li>
<li type="circle">org.apache.hadoop.mapred.<a href="../../../../../org/apache/hadoop/mapred/InputFormat.html" title="interface in org.apache.hadoop.mapred"><span class="strong">InputFormat</span></a><K,V>
<ul>
<li type="circle">org.apache.hadoop.mapred.join.<a href="../../../../../org/apache/hadoop/mapred/join/ComposableInputFormat.html" title="interface in org.apache.hadoop.mapred.join"><span class="strong">ComposableInputFormat</span></a><K,V></li>
</ul>
</li>
<li type="circle">org.apache.hadoop.mapred.<a href="../../../../../org/apache/hadoop/mapred/RecordReader.html" title="interface in org.apache.hadoop.mapred"><span class="strong">RecordReader</span></a><K,V>
<ul>
<li type="circle">org.apache.hadoop.mapred.join.<a href="../../../../../org/apache/hadoop/mapred/join/ComposableRecordReader.html" title="interface in org.apache.hadoop.mapred.join"><span class="strong">ComposableRecordReader</span></a><K,V> (also extends java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</a><T>)</li>
</ul>
</li>
<li type="circle">org.apache.hadoop.mapreduce.lib.join.<a href="../../../../../org/apache/hadoop/mapreduce/lib/join/ResetableIterator.html" title="interface in org.apache.hadoop.mapreduce.lib.join"><span class="strong">ResetableIterator</span></a><T>
<ul>
<li type="circle">org.apache.hadoop.mapred.join.<a href="../../../../../org/apache/hadoop/mapred/join/ResetableIterator.html" title="interface in org.apache.hadoop.mapred.join"><span class="strong">ResetableIterator</span></a><T></li>
</ul>
</li>
</ul>
<h2 title="Enum Hierarchy">Enum Hierarchy</h2>
<ul>
<li type="circle">java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang"><span class="strong">Object</span></a>
<ul>
<li type="circle">java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang"><span class="strong">Enum</span></a><E> (implements java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</a><T>, java.io.<a href="http://docs.oracle.com/javase/7/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a>)
<ul>
<li type="circle">org.apache.hadoop.mapred.join.<a href="../../../../../org/apache/hadoop/mapred/join/Parser.TType.html" title="enum in org.apache.hadoop.mapred.join"><span class="strong">Parser.TType</span></a></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!-- -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li>Class</li>
<li>Use</li>
<li class="navBarCell1Rev">Tree</li>
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../../org/apache/hadoop/mapred/jobcontrol/package-tree.html">Prev</a></li>
<li><a href="../../../../../org/apache/hadoop/mapred/lib/package-tree.html">Next</a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/apache/hadoop/mapred/join/package-tree.html" target="_top">Frames</a></li>
<li><a href="package-tree.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip-navbar_bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright © 2016 <a href="http://www.apache.org">Apache Software Foundation</a>. All rights reserved.</small></p>
</body>
</html>
| {
"content_hash": "a611084c697f8aacfb603ebd66d1ce72",
"timestamp": "",
"source": "github",
"line_count": 206,
"max_line_length": 608,
"avg_line_length": 77.40291262135922,
"alnum_prop": 0.6875509564126685,
"repo_name": "TK-TarunW/ecosystem",
"id": "a7ad8286259855f7e32dbc79c6977160859e3ae2",
"size": "15945",
"binary": false,
"copies": "2",
"ref": "refs/heads/master",
"path": "hadoop-2.7.3/share/doc/hadoop/api/org/apache/hadoop/mapred/join/package-tree.html",
"mode": "33188",
"license": "apache-2.0",
"language": [
{
"name": "AspectJ",
"bytes": "9732"
},
{
"name": "Batchfile",
"bytes": "188552"
},
{
"name": "C",
"bytes": "598922"
},
{
"name": "C++",
"bytes": "949406"
},
{
"name": "CSS",
"bytes": "551632"
},
{
"name": "HTML",
"bytes": "98452345"
},
{
"name": "Java",
"bytes": "7461358"
},
{
"name": "JavaScript",
"bytes": "38346"
},
{
"name": "M4",
"bytes": "76410"
},
{
"name": "Makefile",
"bytes": "144646"
},
{
"name": "Perl",
"bytes": "226332"
},
{
"name": "Perl6",
"bytes": "70570"
},
{
"name": "PowerShell",
"bytes": "13769"
},
{
"name": "Python",
"bytes": "2259345"
},
{
"name": "R",
"bytes": "226319"
},
{
"name": "Scala",
"bytes": "554308"
},
{
"name": "Shell",
"bytes": "772310"
},
{
"name": "XS",
"bytes": "132876"
},
{
"name": "XSLT",
"bytes": "27180"
}
],
"symlink_target": ""
} |
"""
Created on Sun Feb 14 22:11:14 2016
@author: Rob
"""
import random
messages = ['It is certain',
'It is decidedly so',
'Yes definitely',
'Reply hazy try again',
'Ask again later',
'Concentrate and ask again',
'My reply is no',
'Outlook not so good',
'Very doubtful']
print(messages[random.randint(0, len(messages) -1)])
| {
"content_hash": "f1845fcb589f946c929b8f47d41c3f34",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 52,
"avg_line_length": 22.25,
"alnum_prop": 0.5056179775280899,
"repo_name": "rfreiberger/Automate-the-Boring-Stuff",
"id": "f6b7295812a09ff8a7b8231809f2d9d69870c807",
"size": "470",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "ch4/magic8.py",
"mode": "33188",
"license": "bsd-2-clause",
"language": [
{
"name": "HTML",
"bytes": "325"
},
{
"name": "Python",
"bytes": "27630"
}
],
"symlink_target": ""
} |
/* jshint evil:true */
'use strict';
// MODULES //
var isFunction = require( 'validate.io-function' );
// CREATE //
/**
* FUNCTION: create( fcn )
* Returns a function for validating whether an input is an array for which all elements pass a test function.
*
* @param {Function} fcn - function to apply
* @returns {Function} validation function
*/
function create( fcn ) {
var f;
if ( !isFunction( fcn ) ) {
throw new TypeError( 'invalid input argument. Must provide a function to test for each array element. Value: `' + fcn + '`.' );
}
// Code generation. Start with the function definition...
f = 'return function validate( v ){';
// Create the function body...
// Create internal variables...
// => var len, i;
f += 'var len,i;';
// Return false if input argument is not an array...
f += 'if(!Array.isArray(v)){';
f += 'return false;';
f += '}';
f += 'len = v.length;';
// Return false if provided an empty array...
f += 'if(!len){';
f += 'return false;';
f += '}';
// Test each array element...
f += 'for(i=0;i<len;i++){';
f += 'if (validate._f(v[i])===false) {';
f += 'return false;';
f += '}';
f += '}';
/*
for ( i = 0; i < len; i++ ) {
if ( validate._f(v[i]) === false ) {
// Return false if test is violated for at least one element:
return false;
}
}
*/
// Otherwise, return true:
f += 'return true;';
// Close the function:
f += '};';
// Create the function in the global scope...
f = ( new Function( f ) )();
// Bind the test function to the created function so it may be referenced during invocation...
f._f = fcn;
return f;
/*
function validate( v ) {
var len,
i;
if ( !Array.isArray( v ) ) {
return false;
}
len = v.length;
for ( i = 0; i < len; i++ ) {
if ( validate._f( v[i] ) === false ) {
return false;
}
}
return true;
}
*/
} // end FUNCTION create()
// EXPORTS //
module.exports = create;
| {
"content_hash": "9df4572b475416cad85efb6b881fbb15",
"timestamp": "",
"source": "github",
"line_count": 92,
"max_line_length": 129,
"avg_line_length": 20.97826086956522,
"alnum_prop": 0.5735751295336787,
"repo_name": "validate-io/array-function",
"id": "b2687420838924b387cc0766a305b0ec351702f2",
"size": "1930",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "lib/create.js",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "JavaScript",
"bytes": "9049"
},
{
"name": "Makefile",
"bytes": "1883"
}
],
"symlink_target": ""
} |
require "spec_helper"
require "chef/exceptions"
describe Chef::Provider::Ifconfig::Redhat do
before do
@node = Chef::Node.new
@cookbook_collection = Chef::CookbookCollection.new([])
@events = Chef::EventDispatch::Dispatcher.new
@run_context = Chef::RunContext.new(@node, @cookbook_collection, @events)
# This new_resource can be called anything --> it is not the same as in ifconfig.rb
@new_resource = Chef::Resource::Ifconfig.new("10.0.0.1", @run_context)
@new_resource.mask "255.255.254.0"
@new_resource.metric "1"
@new_resource.mtu "1500"
@new_resource.device "eth0"
@provider = Chef::Provider::Ifconfig::Redhat.new(@new_resource, @run_context)
@current_resource = Chef::Resource::Ifconfig.new("10.0.0.1", @run_context)
status = double("Status", exitstatus: 0)
@provider.instance_variable_set("@status", status)
@provider.current_resource = @current_resource
config_filename = "/etc/sysconfig/network-scripts/ifcfg-#{@new_resource.device}"
@config = double("chef-resource-file")
expect(@provider).to receive(:resource_for_config).with(config_filename).and_return(@config)
end
describe "generate_config for action_add" do
it "should write network-script for centos" do
allow(@provider).to receive(:load_current_resource)
allow(@provider).to receive(:shell_out!)
expect(@config).to receive(:content) do |arg|
expect(arg).to match(/^\s*DEVICE=eth0\s*$/)
expect(arg).to match(/^\s*IPADDR=10\.0\.0\.1\s*$/)
expect(arg).to match(/^\s*NETMASK=255\.255\.254\.0\s*$/)
end
expect(@config).to receive(:run_action).with(:create)
expect(@config).to receive(:updated?).and_return(true)
@provider.run_action(:add)
end
end
describe "delete_config for action_delete" do
it "should delete network-script if it exists for centos" do
@current_resource.device @new_resource.device
allow(@provider).to receive(:load_current_resource)
allow(@provider).to receive(:shell_out!)
expect(@config).to receive(:run_action).with(:delete)
expect(@config).to receive(:updated?).and_return(true)
@provider.run_action(:delete)
end
end
end
| {
"content_hash": "51302d358e0cf59318e54c30899e9133",
"timestamp": "",
"source": "github",
"line_count": 55,
"max_line_length": 96,
"avg_line_length": 40.29090909090909,
"alnum_prop": 0.6737364620938628,
"repo_name": "brettcave/chef",
"id": "2111de02fbff52dd3db37d376f9bff37c200ffbc",
"size": "2904",
"binary": false,
"copies": "9",
"ref": "refs/heads/master",
"path": "spec/unit/provider/ifconfig/redhat_spec.rb",
"mode": "33188",
"license": "apache-2.0",
"language": [
{
"name": "Batchfile",
"bytes": "386"
},
{
"name": "CSS",
"bytes": "21551"
},
{
"name": "Groff",
"bytes": "270674"
},
{
"name": "HTML",
"bytes": "539335"
},
{
"name": "JavaScript",
"bytes": "49785"
},
{
"name": "Makefile",
"bytes": "884"
},
{
"name": "Perl6",
"bytes": "64"
},
{
"name": "PowerShell",
"bytes": "12510"
},
{
"name": "Python",
"bytes": "9728"
},
{
"name": "Ruby",
"bytes": "7339782"
},
{
"name": "Shell",
"bytes": "688"
}
],
"symlink_target": ""
} |
process.env.NODE_ENV = 'testing'
const supertest = require('supertest'),
app = require('../../app.js'),
Task = require('../../models/task'),
assert = require('assert')
describe('integration tests', function() {
beforeEach(function(done) {
Task.remove({}, function(err) {
if (err) return done(err)
done()
})
})
it('should get posted task', function(done) {
const task = { title: 'TEST', priority: 1, completed: false, due_at: '1467855439' }
supertest(app)
.post('/tasks')
.send(task)
.expect(200)
.end(function(err, res) {
if (err) return done(err)
assert.equal(res.body.success, true)
assert.equal(typeof res.body.results, 'string')
const newId = res.body.results
supertest(app)
.get('/tasks')
.expect(200)
.end(function(err, res) {
if (err) return done(err)
assert.equal(res.body.results.length, 1)
assert.equal(task.title, res.body.results[0].title)
assert.equal(task.priority, res.body.results[0].priority)
assert.equal(task.completed, res.body.results[0].completed)
assert.equal(task.due_at, res.body.results[0].due_at)
done()
})
})
})
it('should update existing task', function(done) {
const task = { title: 'TEST', priority: 1, completed: false, due_at: '1467855439' }
supertest(app)
.post('/tasks')
.send(task)
.expect(200)
.end(function(err, res) {
if (err) return done(err)
assert.equal(res.body.success, true)
assert.equal(typeof res.body.results, 'string')
const newId = res.body.results
const update = { completed: true, title: 'new test' }
supertest(app)
.put('/tasks/' + newId)
.send(update)
.expect(200)
.end(function(err, res) {
if (err) return done(err)
supertest(app)
.get('/tasks')
.expect(200)
.end(function(err, res) {
if (err) return done(err)
assert.equal(res.body.results.length, 1)
assert.equal(update.title, res.body.results[0].title)
assert.equal(task.priority, res.body.results[0].priority)
assert.equal(update.completed, res.body.results[0].completed)
assert.equal(task.due_at, res.body.results[0].due_at)
done()
})
})
})
})
})
describe('one test', function() {
before(function(done) {
Task.remove({}, function(err) {
if (err) return done(err);
done();
});
});
var testObj = {
"title" : "Test for titlessssssssssss",
"priority" : "1",
"completed": "false"
};
it('should post data with testObj', function(done) {
supertest(app).post('/tasks')
.send(testObj)
.expect(200)
.expect(function(res) {
supertest(app)
.delete('/tasks/' + res.body.results)
.expect(200)
.expect(function(res) {
supertest(app)
.get('/tasks')
.expect(200)
.end(function(err,res) {
if (err) return done(err);
assert.equal(res.body.success, false);
assert.equal(res.body.results, []);
done();
})
})
.end(function(err, res) {
assert.equal(res.body.success, true);
done();
});
}).end(done);
});
});
| {
"content_hash": "777d6e7021083b3b884f3c500c8a3066",
"timestamp": "",
"source": "github",
"line_count": 125,
"max_line_length": 85,
"avg_line_length": 28.84,
"alnum_prop": 0.5181692094313454,
"repo_name": "raelcun/orange-hippos-todo-backend",
"id": "e5db14f63dd5c1d29775b29315d387531cdf14ad",
"size": "3605",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "test/integration/tasks.js",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "JavaScript",
"bytes": "8020"
}
],
"symlink_target": ""
} |
<module>
<inherits name="gwtuploadsample.Sample"/>
<entry-point class="gwtuploadsample.client.ChismesUploadSample"/>
<stylesheet src="GWTCBox.css"/>
<stylesheet src="GWTCButton.css"/>
<stylesheet src="GWTCTabPanel.css"/>
<set-property name="compiler.stackMode" value="strip"/>
<extend-property name="locale" values="es,de" />
</module>
| {
"content_hash": "487a2761390d74b470b9f42305b52702",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 67,
"avg_line_length": 38.888888888888886,
"alnum_prop": 0.7228571428571429,
"repo_name": "mwl/gwt-upload",
"id": "09e8dd0d163f9ac16481b160ef0653c6401add30",
"size": "350",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "samples-gae/src/main/java/gwtuploadsample/ChismesUploadSample.gwt.xml",
"mode": "33188",
"license": "apache-2.0",
"language": [
{
"name": "Java",
"bytes": "297799"
},
{
"name": "PHP",
"bytes": "6985"
},
{
"name": "Perl",
"bytes": "23544"
},
{
"name": "Shell",
"bytes": "674"
}
],
"symlink_target": ""
} |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Reflection;
using NUnit.Common;
using NUnit;
using NUnit.Framework.Api;
using NUnit.Framework.Interfaces;
using NUnit.Framework.Internal;
using NUnit.Framework.Internal.Filters;
namespace NUnitLite
{
/// <summary>
/// TextRunner is a general purpose class that runs tests and
/// outputs to a text-based user interface (TextUI).
///
/// Call it from your Main like this:
/// new TextRunner(textWriter).Execute(args);
/// OR
/// new TextUI().Execute(args);
/// The provided TextWriter is used by default, unless the
/// arguments to Execute override it using -out. The second
/// form uses the Console, provided it exists on the platform.
///
/// NOTE: When running on a platform without a Console, such
/// as Windows Phone, the results will simply not appear if
/// you fail to specify a file in the call itself or as an option.
/// </summary>
public class TextRunner : ITestListener
{
#region Runner Return Codes
/// <summary>OK</summary>
public const int OK = 0;
/// <summary>Invalid Arguments</summary>
public const int INVALID_ARG = -1;
/// <summary>File not found</summary>
public const int FILE_NOT_FOUND = -2;
/// <summary>Test fixture not found - No longer in use</summary>
//public const int FIXTURE_NOT_FOUND = -3;
/// <summary>Invalid test suite</summary>
public const int INVALID_TEST_FIXTURE = -4;
/// <summary>Unexpected error occurred</summary>
public const int UNEXPECTED_ERROR = -100;
#endregion
private Assembly _testAssembly;
private ITestAssemblyRunner _runner;
private NUnitLiteOptions _options;
private ITestListener _teamCity = null;
private TextUI _textUI;
#region Constructors
/// <summary>
/// Initializes a new instance of the <see cref="TextRunner"/> class
/// without specifying an assembly. This is interpreted as allowing
/// a single input file in the argument list to Execute().
/// </summary>
public TextRunner() { }
/// <summary>
/// Initializes a new instance of the <see cref="TextRunner"/> class
/// specifying a test assembly whose tests are to be run.
/// </summary>
/// <param name="testAssembly"></param>
/// </summary>
public TextRunner(Assembly testAssembly)
{
_testAssembly = testAssembly;
}
#endregion
#region Properties
public ResultSummary Summary { get; private set; }
#endregion
#region Public Methods
public int Execute(string[] args)
{
_options = new NUnitLiteOptions(_testAssembly == null, args);
ExtendedTextWriter outWriter = null;
if (_options.OutFile != null)
{
var outFile = Path.Combine(_options.WorkDirectory, _options.OutFile);
#if NETSTANDARD1_6
var textWriter = File.CreateText(outFile);
#else
var textWriter = TextWriter.Synchronized(new StreamWriter(outFile));
#endif
outWriter = new ExtendedTextWrapper(textWriter);
Console.SetOut(outWriter);
}
else
{
outWriter = new ColorConsoleWriter();
}
using (outWriter)
{
TextWriter errWriter = null;
if (_options.ErrFile != null)
{
var errFile = Path.Combine(_options.WorkDirectory, _options.ErrFile);
#if NETSTANDARD1_6
errWriter = File.CreateText(errFile);
#else
errWriter = TextWriter.Synchronized(new StreamWriter(errFile));
#endif
Console.SetError(errWriter);
}
using (errWriter)
{
_textUI = new TextUI(outWriter, Console.In, _options);
return Execute();
}
}
}
// Entry point called by AutoRun and by the .NET Standard nunitlite.runner
public int Execute(ExtendedTextWriter writer, TextReader reader, string[] args)
{
_options = new NUnitLiteOptions(_testAssembly == null, args);
_textUI = new TextUI(writer, reader, _options);
return Execute();
}
// Internal Execute depends on _textUI and _options having been set already.
private int Execute()
{
_runner = new NUnitTestAssemblyRunner(new DefaultTestAssemblyBuilder());
InitializeInternalTrace();
try
{
if (!Directory.Exists(_options.WorkDirectory))
Directory.CreateDirectory(_options.WorkDirectory);
if (_options.TeamCity)
_teamCity = new TeamCityEventListener(_textUI.Writer);
if (_options.ShowVersion || !_options.NoHeader)
_textUI.DisplayHeader();
if (_options.ShowHelp)
{
_textUI.DisplayHelp();
return TextRunner.OK;
}
// We already showed version as a part of the header
if (_options.ShowVersion)
return TextRunner.OK;
if (_options.ErrorMessages.Count > 0)
{
_textUI.DisplayErrors(_options.ErrorMessages);
_textUI.Writer.WriteLine();
_textUI.DisplayHelp();
return TextRunner.INVALID_ARG;
}
if (_testAssembly == null && _options.InputFile == null)
{
_textUI.DisplayError("No test assembly was specified.");
_textUI.Writer.WriteLine();
_textUI.DisplayHelp();
return TextRunner.OK;
}
_textUI.DisplayRuntimeEnvironment();
var testFile = _testAssembly != null
? AssemblyHelper.GetAssemblyPath(_testAssembly)
: _options.InputFile;
_textUI.DisplayTestFiles(new string[] { testFile });
if (_testAssembly == null)
_testAssembly = AssemblyHelper.Load(testFile);
if (_options.WaitBeforeExit && _options.OutFile != null)
_textUI.DisplayWarning("Ignoring /wait option - only valid for Console");
var runSettings = MakeRunSettings(_options);
// We display the filters at this point so that any exception message
// thrown by CreateTestFilter will be understandable.
_textUI.DisplayTestFilters();
TestFilter filter = CreateTestFilter(_options);
_runner.Load(_testAssembly, runSettings);
return _options.Explore ? ExploreTests(filter) : RunTests(filter, runSettings);
}
catch (FileNotFoundException ex)
{
_textUI.DisplayError(ex.Message);
return FILE_NOT_FOUND;
}
catch (Exception ex)
{
_textUI.DisplayError(ex.ToString());
return UNEXPECTED_ERROR;
}
finally
{
if (_options.WaitBeforeExit)
_textUI.WaitForUser("Press Enter key to continue . . .");
}
}
#endregion
#region Helper Methods
public int RunTests(TestFilter filter, IDictionary<string, object> runSettings)
{
var startTime = DateTime.UtcNow;
ITestResult result = _runner.Run(this, filter);
ReportResults(result);
if (_options.ResultOutputSpecifications.Count > 0)
{
var outputManager = new OutputManager(_options.WorkDirectory);
foreach (var spec in _options.ResultOutputSpecifications)
outputManager.WriteResultFile(result, spec, runSettings, filter);
}
if (Summary.InvalidTestFixtures > 0)
return INVALID_TEST_FIXTURE;
return Summary.FailureCount + Summary.ErrorCount + Summary.InvalidCount;
}
public void ReportResults(ITestResult result)
{
Summary = new ResultSummary(result);
if (Summary.ExplicitCount + Summary.SkipCount + Summary.IgnoreCount > 0)
_textUI.DisplayNotRunReport(result);
if (result.ResultState.Status == TestStatus.Failed || result.ResultState.Status == TestStatus.Warning)
_textUI.DisplayErrorsFailuresAndWarningsReport(result);
#if FULL
if (_options.Full)
_textUI.PrintFullReport(_result);
#endif
_textUI.DisplayRunSettings();
_textUI.DisplaySummaryReport(Summary);
}
private int ExploreTests(ITestFilter filter)
{
ITest testNode = _runner.ExploreTests(filter);
var specs = _options.ExploreOutputSpecifications;
if (specs.Count == 0)
new TestCaseOutputWriter().WriteTestFile(testNode, Console.Out);
else
{
var outputManager = new OutputManager(_options.WorkDirectory);
foreach (var spec in _options.ExploreOutputSpecifications)
outputManager.WriteTestFile(testNode, spec);
}
return OK;
}
/// <summary>
/// Make the settings for this run - this is public for testing
/// </summary>
public static Dictionary<string, object> MakeRunSettings(NUnitLiteOptions options)
{
// Transfer command line options to run settings
var runSettings = new Dictionary<string, object>();
if (options.NumberOfTestWorkers >= 0)
runSettings[FrameworkPackageSettings.NumberOfTestWorkers] = options.NumberOfTestWorkers;
if (options.InternalTraceLevel != null)
runSettings[FrameworkPackageSettings.InternalTraceLevel] = options.InternalTraceLevel;
if (options.RandomSeed >= 0)
runSettings[FrameworkPackageSettings.RandomSeed] = options.RandomSeed;
if (options.WorkDirectory != null)
runSettings[FrameworkPackageSettings.WorkDirectory] = Path.GetFullPath(options.WorkDirectory);
if (options.DefaultTimeout >= 0)
runSettings[FrameworkPackageSettings.DefaultTimeout] = options.DefaultTimeout;
if (options.StopOnError)
runSettings[FrameworkPackageSettings.StopOnError] = true;
if (options.DefaultTestNamePattern != null)
runSettings[FrameworkPackageSettings.DefaultTestNamePattern] = options.DefaultTestNamePattern;
if (options.TestParameters.Count != 0)
runSettings[FrameworkPackageSettings.TestParametersDictionary] = options.TestParameters;
return runSettings;
}
/// <summary>
/// Create the test filter for this run - public for testing
/// </summary>
/// <param name="options"></param>
/// <returns></returns>
public static TestFilter CreateTestFilter(NUnitLiteOptions options)
{
var filter = TestFilter.Empty;
if (options.TestList.Count > 0)
{
var testFilters = new List<TestFilter>();
foreach (var test in options.TestList)
testFilters.Add(new FullNameFilter(test));
filter = testFilters.Count > 1
? new OrFilter(testFilters.ToArray())
: testFilters[0];
}
if (options.WhereClauseSpecified)
{
string xmlText = new TestSelectionParser().Parse(options.WhereClause);
var whereFilter = TestFilter.FromXml(TNode.FromXml(xmlText));
filter = filter.IsEmpty
? whereFilter
: new AndFilter(filter, whereFilter);
}
return filter;
}
private void InitializeInternalTrace()
{
var traceLevel = (InternalTraceLevel)Enum.Parse(typeof(InternalTraceLevel), _options.InternalTraceLevel ?? "Off", true);
if (traceLevel != InternalTraceLevel.Off)
{
var logName = GetLogFileName();
StreamWriter streamWriter = null;
if (traceLevel > InternalTraceLevel.Off)
{
string logPath = Path.Combine(Directory.GetCurrentDirectory(), logName);
streamWriter = new StreamWriter(new FileStream(logPath, FileMode.Append, FileAccess.Write, FileShare.Write));
streamWriter.AutoFlush = true;
}
InternalTrace.Initialize(streamWriter, traceLevel);
}
}
private string GetLogFileName()
{
const string LOG_FILE_FORMAT = "InternalTrace.{0}.{1}.{2}";
// Some mobiles don't have an Open With menu item,
// so we use .txt, which is opened easily.
const string ext = "log";
var baseName = _testAssembly != null
? _testAssembly.GetName().Name
: _options.InputFile != null
? Path.GetFileNameWithoutExtension(_options.InputFile)
: "NUnitLite";
#if NETSTANDARD1_6
var id = DateTime.Now.ToString("yyyy-dd-M--HH-mm-ss");
#else
var id = Process.GetCurrentProcess().Id;
#endif
return string.Format(LOG_FILE_FORMAT, id, baseName, ext);
}
#endregion
#region ITestListener Members
/// <summary>
/// Called when a test or suite has just started
/// </summary>
/// <param name="test">The test that is starting</param>
public void TestStarted(ITest test)
{
if (_teamCity != null)
_teamCity.TestStarted(test);
_textUI.TestStarted(test);
}
/// <summary>
/// Called when a test has finished
/// </summary>
/// <param name="result">The result of the test</param>
public void TestFinished(ITestResult result)
{
if (_teamCity != null)
_teamCity.TestFinished(result);
_textUI.TestFinished(result);
}
/// <summary>
/// Called when a test produces output for immediate display
/// </summary>
/// <param name="output">A TestOutput object containing the text to display</param>
public void TestOutput(TestOutput output)
{
_textUI.TestOutput(output);
}
#endregion
}
}
| {
"content_hash": "37281507c60e481e957bf6f7356abd8a",
"timestamp": "",
"source": "github",
"line_count": 440,
"max_line_length": 132,
"avg_line_length": 34.39090909090909,
"alnum_prop": 0.5632434575733545,
"repo_name": "jadarnel27/nunit",
"id": "0d3ce7409af6869c38c888f61368e1afce7872e3",
"size": "16409",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "src/NUnitFramework/nunitlite/TextRunner.cs",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "Batchfile",
"bytes": "48"
},
{
"name": "C#",
"bytes": "4384078"
},
{
"name": "PowerShell",
"bytes": "3482"
},
{
"name": "Shell",
"bytes": "2628"
},
{
"name": "Visual Basic",
"bytes": "1689"
}
],
"symlink_target": ""
} |
const etag = require('./etag')
const pkg = JSON.stringify(require('./package.json'))
const restify = require('restify')
const server = restify.createServer()
let count = 1
server.get('/a', function (req, res, next) {
const tag = etag(pkg + ++count)
if (!(tag instanceof Error)) {
res.setHeader('ETag', tag)
}
res.send(pkg)
return next()
})
server.get('/b', function (req, res, next) {
const tag = etag({ entity: pkg + ++count, algorithm: 'sha256' })
if (!(tag instanceof Error)) {
res.setHeader('ETag', tag)
}
res.send(pkg)
return next()
})
server.get('/c', function (req, res, next) {
const tag = etag(pkg + ++count, { algorithm: 'sha512WithRsaEncryption' })
if (!(tag instanceof Error)) {
res.setHeader('ETag', tag)
}
res.send(pkg)
return next()
})
server.listen(3000)
| {
"content_hash": "c07c8f1ac648d49bede1f101d670eedb",
"timestamp": "",
"source": "github",
"line_count": 40,
"max_line_length": 75,
"avg_line_length": 20.575,
"alnum_prop": 0.6245443499392467,
"repo_name": "davidmarkclements/0x",
"id": "dfbd65bfb1cb6a06993095fbaa14d873413b9b13",
"size": "823",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "examples/rest-api/index.js",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "JavaScript",
"bytes": "88278"
}
],
"symlink_target": ""
} |
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE topic PUBLIC "-//OASIS//DTD DITA Composite//EN"
"ditabase.dtd">
<topic id="topic2" xml:lang="en">
<title id="iw157419">About the Greenplum Architecture</title>
<shortdesc>This section provides a high-level description of Greenplum Database
architecture.</shortdesc>
<body>
<section id="about-gpdb">Greenplum Database is a massively parallel processing (MPP)
database server based on PostgreSQL open-source technology. MPP (also known as a
<i>shared nothing</i> architecture) refers to systems with two or more processors
that cooperate to carry out an operation, each processor with its own memory, operating
system and disks. Greenplum uses this high-performance system architecture to distribute
the processing load for multi-terabyte data warehouses, and can use all of the system's
resources in parallel to process a query.<p>Greenplum Database is essentially several
PostgreSQL database instances acting together as one cohesive database management
system (DBMS). It is based on PostgreSQL 8.3.23, and in most cases is very similar
to PostgreSQL with regard to SQL support, features, configuration options, and
end-user functionality. Database users interact with Greenplum Database as they
would with a regular PostgreSQL DBMS. </p><p>The internals of PostgreSQL have been
modified or supplemented to support the parallel structure of Greenplum Database.
For example, the system catalog, query planner, optimizer, query executor, and
transaction manager components have been modified and enhanced to be able to execute
queries simultaneously across all of the parallel PostgreSQL database instances. The
Greenplum <i>interconnect</i> (the networking layer) enables communication between
the distinct PostgreSQL instances and allows the system to behave as one logical
database.</p><p>Greenplum Database also includes features designed to optimize
PostgreSQL for business intelligence (BI) workloads. For example, Greenplum has
added parallel data loading (external tables), resource management, query
optimizations, and storage enhancements, which are not found in standard PostgreSQL.
Many features and optimizations developed by Greenplum make their way into the
PostgreSQL community. For example, table partitioning is a feature first developed
by Greenplum, and it is now in standard PostgreSQL.</p><p>Greenplum Database stores
and processes large amounts of data by distributing the data and processing workload
across several servers or <i>hosts</i>. Greenplum Database is an <i>array</i> of
individual databases based upon PostgreSQL 8.3 working together to present a single
database image. The <i>master</i> is the entry point to the Greenplum Database
system. It is the database instance to which clients connect and submit SQL
statements. The master coordinates its work with the other database instances in the
system, called <i>segments</i>, which store and process the data.</p></section>
<fig id="iw157440">
<title>High-Level Greenplum Database Architecture</title>
<image height="316px" href="../../graphics/highlevel_arch.jpg" placement="break"
width="397px"/>
</fig>
<p>The following topics describe the components that make up a Greenplum Database system and
how they work together:</p>
<ul>
<li id="iw157448">
<xref format="dita" href="#topic3" type="topic"/>
</li>
<li id="iw157452">
<xref format="dita" href="#topic4" type="topic"/>
</li>
<li id="iw157456">
<xref format="dita" href="#topic5" type="topic"/>
</li>
<li id="iw157460">
<xref format="dita" href="#topic6" type="topic"/>
</li>
<li id="iw157464">
<xref format="dita" href="#topic11" type="topic"/>
</li>
<li id="iw157468">
<xref format="dita" href="#topic12" type="topic"/>
</li>
</ul>
</body>
<topic id="topic3" xml:lang="en">
<title id="iw157474">About the Greenplum Master</title>
<body>
<p>The <i>master</i> is the entry point to the Greenplum Database system. It is the
database process that accepts client connections and processes SQL commands that
system users issue.</p>
<p>Greenplum Database end-users interact with Greenplum Database (through the master) as
they would with a typical PostgreSQL database. They connect to the database using
client programs such as <codeph>psql</codeph> or application programming interfaces
(APIs) such as JDBC, ODBC or <xref href="https://www.postgresql.org/docs/current/static/libpq.html" format="html"
scope="external">libpq</xref> (the PostgreSQL C API).</p>
<p>The master is where the <i>global system catalog</i> resides. The global system
catalog is the set of system tables that contain metadata about the Greenplum
Database system itself. The master does not contain any user data; data resides only
on the <i>segments</i>. The master authenticates client connections, processes
incoming SQL commands, distributes workload among segments, coordinates the results
returned by each segment, and presents the final results to the client program.</p>
</body>
</topic>
<topic id="topic4" xml:lang="en">
<title id="iw157496">About the Greenplum Segments</title>
<body>
<p>In Greenplum Database, the <i>segments</i> are where data is stored and the majority
of query processing takes place. When a user connects to the database and issues a
query, processes are created on each segment to handle the work of that query. For
more information about query processes, see <xref
href="../query/parallel-proc.xml#topic1"/>.</p>
<p>User-defined tables and their indexes are distributed across the available segments
in a Greenplum Database system; each segment contains a distinct portion of data.
The database server processes that serve segment data run under the corresponding
segment instances. Users interact with segments in a Greenplum Database system
through the master.</p>
<p>In the recommended Greenplum Database hardware configuration, there is one active
segment per effective CPU or CPU core. For example, if your segment hosts have two
dual-core processors, you would have four primary segments per host.</p>
</body>
</topic>
<topic id="topic5" xml:lang="en">
<title id="iw157520">About the Greenplum Interconnect</title>
<body>
<p>The <i>interconnect</i> is the networking layer of Greenplum Database. The
<i>interconnect</i> refers to the inter-process communication between segments
and the network infrastructure on which this communication relies. The Greenplum
interconnect uses a standard Gigabit Ethernet switching fabric.</p>
<p>By default, the interconnect uses User Datagram Protocol (UDP) to send messages over
the network. The Greenplum software performs packet verification beyond what is
provided by UDP. This means the reliability is equivalent to Transmission Control
Protocol (TCP), and the performance and scalability exceeds TCP. If the interconnect
used TCP, Greenplum Database would have a scalability limit of 1000 segment
instances. With UDP as the current default protocol for the interconnect, this limit
is not applicable.</p>
</body>
</topic>
<topic id="topic6" xml:lang="en">
<title id="iw157531">About Redundancy and Failover in Greenplum Database</title>
<body>
<p>You can deploy Greenplum Database without a single point of failure. This topic
explains the redundancy components of Greenplum Database.</p>
<ul>
<li id="iw157542">
<xref format="dita" href="#topic7" type="topic"/>
</li>
<li id="iw157546">
<xref format="dita" href="#topic9" type="topic"/>
</li>
<li id="iw157550">
<xref format="dita" href="#topic10" type="topic"/>
</li>
</ul>
</body>
<topic id="topic7" xml:lang="en">
<title id="iw157552">About Segment Mirroring</title>
<body>
<p>When you deploy your Greenplum Database system, you can optionally configure
<i>mirror</i> segments. Mirror segments allow database queries to fail over
to a backup segment if the primary segment becomes unavailable. To configure
mirroring, you must have enough hosts in your Greenplum Database system so the
secondary (mirror) segment always resides on a different host than its primary
segment. <xref format="dita" href="#topic7/iw157574" type="fig"/> shows how
table data is distributed across segments when mirroring is configured.</p>
<fig id="iw157574">
<title>Data Mirroring in Greenplum Database</title>
<image height="151px" href="../../graphics/mirrorsegs.png" placement="break"
width="447px"/>
</fig>
</body>
</topic>
<topic id="topic8" xml:lang="en">
<title>Segment Failover and Recovery</title>
<body>
<p>When mirroring is enabled in a Greenplum Database system, the system will
automatically fail over to the mirror copy if a primary copy becomes
unavailable. A Greenplum Database system can remain operational if a segment
instance or host goes down as long as all the data is available on the remaining
active segments.</p>
<p>If the master cannot connect to a segment instance, it marks that segment
instance as down in the Greenplum Database system catalog and brings up the
mirror segment in its place. A failed segment instance will remain out of
operation until an administrator takes steps to bring that segment back online.
An administrator can recover a failed segment while the system is up and
running. The recovery process copies over only the changes that were missed
while the segment was out of operation.</p>
<p>If you do not have mirroring enabled, the system will automatically shut down if
a segment instance becomes invalid. You must recover all failed segments before
operations can continue.</p>
</body>
</topic>
<topic id="topic9" xml:lang="en">
<title id="iw157589">About Master Mirroring</title>
<body>
<p>You can also optionally deploy a <i>backup</i> or <i>mirror</i> of the master
instance on a separate host from the master node. A backup master host serves as
a <i>warm standby</i> in the event that the primary master host becomes
unoperational. The standby master is kept up to date by a transaction log
replication process, which runs on the standby master host and synchronizes the
data between the primary and standby master hosts.</p>
<p>If the primary master fails, the log replication process stops, and the standby
master can be activated in its place. Upon activation of the standby master, the
replicated logs are used to reconstruct the state of the master host at the time
of the last successfully committed transaction. The activated standby master
effectively becomes the Greenplum Database master, accepting client connections
on the master port (which must be set to the same port number on the master host
and the backup master host).</p>
<p>Since the master does not contain any user data, only the system catalog tables
need to be synchronized between the primary and backup copies. When these tables
are updated, changes are automatically copied over to the standby master to
ensure synchronization with the primary master.</p>
<fig id="iw157606">
<title>Master Mirroring in Greenplum Database</title>
<image height="165px" href="../../graphics/standby_master.jpg" placement="break"
width="271px"/>
</fig>
</body>
</topic>
<topic id="topic10" xml:lang="en">
<title id="iw157609">About Interconnect Redundancy</title>
<body>
<p>The <i>interconnect</i> refers to the inter-process communication between the
segments and the network infrastructure on which this communication relies. You
can achieve a highly available interconnect by deploying dual Gigabit Ethernet
switches on your network and redundant Gigabit connections to the Greenplum
Database host (master and segment) servers.</p>
</body>
</topic>
</topic>
<topic id="topic11" xml:lang="en">
<title id="iw157616">About Parallel Data Loading</title>
<body>
<p>In a large scale, multi-terabyte data warehouse, large amounts of data must be loaded
within a relatively small maintenance window. Greenplum supports fast, parallel data
loading with its external tables feature. Administrators can also load external
tables in single row error isolation mode to filter bad rows into a separate error
table while continuing to load properly formatted rows. Administrators can specify
an error threshold for a load operation to control how many improperly formatted
rows cause Greenplum to abort the load operation.</p>
<p>By using external tables in conjunction with Greenplum Database's parallel file
server (<codeph>gpfdist</codeph>), administrators can achieve maximum parallelism
and load bandwidth from their Greenplum Database system.</p>
<fig id="iw157638">
<title>External Tables Using Greenplum Parallel File Server (gpfdist)</title>
<image height="275px" href="../../graphics/ext_tables.jpg" placement="break"
width="454px"/>
</fig>
</body>
</topic>
<topic id="topic12" xml:lang="en">
<title id="iw157641">About Management and Monitoring</title>
<body>
<p>Administrators manage a Greenplum Database system using command-line utilities
located in <codeph>$GPHOME/bin</codeph>. Greenplum provides utilities for the
following administration tasks:</p>
<ul>
<li id="iw157649">Installing Greenplum Database on an Array</li>
<li id="iw157650">Initializing a Greenplum Database System</li>
<li id="iw157651">Starting and Stopping Greenplum Database</li>
<li id="iw157652">Adding or Removing a Host</li>
<li id="iw157653">Expanding the Array and Redistributing Tables among New
Segments</li>
<li id="iw157654">Managing Recovery for Failed Segment Instances</li>
<li id="iw157655">Managing Failover and Recovery for a Failed Master Instance</li>
<li id="iw157656">Backing Up and Restoring a Database (in Parallel)</li>
<li id="iw157657">Loading Data in Parallel</li>
<li id="iw157658">System State Reporting</li>
</ul>
<p>Pivotal provides an optional system monitoring and management tool, Greenplum Command
Center, which administrators can install and enable with Greenplum Database.
Greenplum Command Center depends upon a dedicated database named
<codeph>gpperfmon</codeph>, which is used to collect and store system metrics.
Data collection agents on the segments send their data to the Greenplum master at
regular intervals (typically every 15 seconds).</p>
<p> Greenplum Database includes a <codeph>gpperfmon_install</codeph> management utility,
which creates the <codeph>gpperfmon</codeph> database and enables the data
collection agents. Users can query the <codeph>gpperfmon</codeph> database to see
query and system metrics. </p>
<p>Administrators can install Greenplum Command Center, available separately from
Greenplum Database, to provide a graphical web-based user interface for viewing the
system metrics and to perform additional system management tasks. For more
information about Greenplum Command Center, see the <xref
href="https://gpcc.docs.pivotal.io" format="html" scope="external">Greenplum
Command Center documentation</xref>.</p>
<fig id="iw157682">
<title>Greenplum Command Center Architecture</title>
<image height="304px" href="../../graphics/cc_arch_gpdb.png" placement="break"
width="299px"/>
</fig>
</body>
</topic>
</topic>
| {
"content_hash": "bf1f0bc75ee0b5c946e7b5d3be3e3f73",
"timestamp": "",
"source": "github",
"line_count": 276,
"max_line_length": 129,
"avg_line_length": 67.84420289855072,
"alnum_prop": 0.6213618157543391,
"repo_name": "rvs/gpdb",
"id": "e3a48a940f593a67947fc267dd2faf30a7b3d92a",
"size": "18725",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "gpdb-doc/dita/admin_guide/intro/about_gp.xml",
"mode": "33188",
"license": "apache-2.0",
"language": [
{
"name": "Assembly",
"bytes": "5665"
},
{
"name": "Batchfile",
"bytes": "11492"
},
{
"name": "C",
"bytes": "35013613"
},
{
"name": "C++",
"bytes": "3833252"
},
{
"name": "CMake",
"bytes": "17118"
},
{
"name": "CSS",
"bytes": "7407"
},
{
"name": "Csound Score",
"bytes": "179"
},
{
"name": "DTrace",
"bytes": "1160"
},
{
"name": "Fortran",
"bytes": "14777"
},
{
"name": "GDB",
"bytes": "576"
},
{
"name": "Gherkin",
"bytes": "715430"
},
{
"name": "HTML",
"bytes": "169634"
},
{
"name": "Java",
"bytes": "268348"
},
{
"name": "JavaScript",
"bytes": "23969"
},
{
"name": "Lex",
"bytes": "196275"
},
{
"name": "M4",
"bytes": "102006"
},
{
"name": "Makefile",
"bytes": "420136"
},
{
"name": "PLSQL",
"bytes": "261269"
},
{
"name": "PLpgSQL",
"bytes": "5477026"
},
{
"name": "Perl",
"bytes": "3831299"
},
{
"name": "Perl6",
"bytes": "14219"
},
{
"name": "Python",
"bytes": "8653837"
},
{
"name": "Roff",
"bytes": "51338"
},
{
"name": "Ruby",
"bytes": "26724"
},
{
"name": "SQLPL",
"bytes": "3824391"
},
{
"name": "Shell",
"bytes": "527804"
},
{
"name": "XS",
"bytes": "8405"
},
{
"name": "XSLT",
"bytes": "5779"
},
{
"name": "Yacc",
"bytes": "488001"
}
],
"symlink_target": ""
} |
// https://github.com/pburtchaell/redux-promise-middleware
function isPromise(value) {
if (value !== null && typeof value === 'object') {
return value && typeof value.then === 'function';
}
return false;
}
const defaultTypes = [ 'PENDING', 'FULFILLED', 'REJECTED' ];
/**
* @function promiseMiddleware
* @description
* @returns {function} thunk
*/
export default function promiseMiddleware(config = {}) {
const promiseTypeSuffixes = config.promiseTypeSuffixes || defaultTypes;
return ref => {
const { dispatch } = ref;
return next => action => {
if (action.payload) {
if (!isPromise(action.payload) && !isPromise(action.payload.promise)) {
return next(action);
}
} else {
return next(action);
}
// Deconstruct the properties of the original action object to constants
const { type, payload, meta } = action;
// Assign values for promise type suffixes
const [
PENDING,
FULFILLED,
REJECTED
] = (meta || {}).promiseTypeSuffixes || promiseTypeSuffixes;
/**
* @function getAction
* @description Utility function for creating a rejected or fulfilled
* flux standard action object.
* @param {boolean} Is the action rejected?
* @returns {object} action
*/
const getAction = (newPayload, isRejected) => ({
type: `${type}_${isRejected ? REJECTED : FULFILLED}`,
...newPayload ? {
payload: newPayload
} : {},
...!!meta ? { meta } : {},
...isRejected ? {
error: true
} : {}
});
/**
* Assign values for promise and data variables. In the case the payload
* is an object with a `promise` and `data` property, the values of those
* properties will be used. In the case the payload is a promise, the
* value of the payload will be used and data will be null.
*/
let promise;
let data;
if (!isPromise(action.payload) && typeof action.payload === 'object') {
promise = payload.promise;
data = payload.data;
} else {
promise = payload;
data = null;
}
/**
* First, dispatch the pending action. This flux standard action object
* describes the pending state of a promise and will include any data
* (for optimistic updates) and/or meta from the original action.
*/
next({
type: `${type}_${PENDING}`,
...!!data ? { payload: data } : {},
...!!meta ? { meta } : {}
});
/*
* @function handleReject
* @description Dispatch the rejected action and return
* an error object. The error object should contain the
* reason and the dispatched action.
* @params reason The reason the promise was rejected
* @returns {object}
*/
const handleReject = (reason = null) => {
const rejectedAction = getAction(reason, true);
dispatch(rejectedAction);
const error = new Error();
error.reason = reason;
error.action = rejectedAction;
return error;
};
/*
* @function handleFulfill
* @description Dispatch the fulfilled action and
* return the success object. The success object should
* contain the value and the dispatched action.
* @param value The value the promise was resloved with
* @returns {object}
*/
const handleFulfill = (value = null) => {
const resolvedAction = getAction(value, false);
dispatch(resolvedAction);
return { value, action: resolvedAction };
};
/**
* Second, dispatch a rejected or fulfilled action. This flux standard
* action object will describe the resolved state of the promise. In
* the case of a rejected promise, it will include an `error` property.
*
* In order to allow proper chaining of actions using `then`, a new
* promise is constructed and returned. This promise will resolve
* with two properties: (1) the value (if fulfilled) or reason
* (if rejected) and (2) the flux standard action.
*
* Rejected object:
* {
* reason: ...
* action: {
* error: true,
* type: 'ACTION_REJECTED',
* payload: ...
* }
* }
*
* Fulfilled object:
* {
* value: ...
* action: {
* type: 'ACTION_FULFILLED',
* payload: ...
* }
* }
*/
debugger
return promise.then(handleFulfill, handleReject);
};
};
}
| {
"content_hash": "508fab0e8da1d323b5bb758c0425ae27",
"timestamp": "",
"source": "github",
"line_count": 156,
"max_line_length": 79,
"avg_line_length": 30.012820512820515,
"alnum_prop": 0.5685604442545921,
"repo_name": "pbdm/html-base-template",
"id": "c8a0aaf4f7ffeee351d2129bdf7d2f7bda257339",
"size": "4682",
"binary": false,
"copies": "2",
"ref": "refs/heads/master",
"path": "archived/scaffold/app/middlewares/promise.js",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "HTML",
"bytes": "3212"
},
{
"name": "JavaScript",
"bytes": "8187"
}
],
"symlink_target": ""
} |
{-# LANGUAGE OverloadedStrings #-}
module Main
( main
) where
import Criterion.Main (Benchmark, defaultMain, bgroup)
import System.FilePath ((</>))
import System.IO (IOMode (WriteMode), openFile, hSetEncoding, utf8)
import qualified Benchmarks.Builder as Builder
import qualified Benchmarks.DecodeUtf8 as DecodeUtf8
import qualified Benchmarks.EncodeUtf8 as EncodeUtf8
import qualified Benchmarks.Equality as Equality
import qualified Benchmarks.FileRead as FileRead
import qualified Benchmarks.FoldLines as FoldLines
import qualified Benchmarks.Mul as Mul
import qualified Benchmarks.Pure as Pure
import qualified Benchmarks.ReadNumbers as ReadNumbers
import qualified Benchmarks.Replace as Replace
import qualified Benchmarks.Search as Search
import qualified Benchmarks.Stream as Stream
import qualified Benchmarks.WordFrequencies as WordFrequencies
import qualified Benchmarks.Programs.BigTable as Programs.BigTable
import qualified Benchmarks.Programs.Cut as Programs.Cut
import qualified Benchmarks.Programs.Fold as Programs.Fold
import qualified Benchmarks.Programs.Sort as Programs.Sort
import qualified Benchmarks.Programs.StripTags as Programs.StripTags
import qualified Benchmarks.Programs.Throughput as Programs.Throughput
main :: IO ()
main = benchmarks >>= defaultMain
benchmarks :: IO [Benchmark]
benchmarks = do
sink <- openFile "/dev/null" WriteMode
hSetEncoding sink utf8
-- Traditional benchmarks
bs <- sequence
[ Builder.benchmark
, DecodeUtf8.benchmark "html" (tf "libya-chinese.html")
, DecodeUtf8.benchmark "xml" (tf "yiwiki.xml")
, DecodeUtf8.benchmark "ascii" (tf "ascii.txt")
, DecodeUtf8.benchmark "russian" (tf "russian.txt")
, DecodeUtf8.benchmark "japanese" (tf "japanese.txt")
, EncodeUtf8.benchmark "επανάληψη 竺法蘭共譯"
, Equality.benchmark (tf "japanese.txt")
, FileRead.benchmark (tf "russian.txt")
, FoldLines.benchmark (tf "russian.txt")
, Mul.benchmark
, Pure.benchmark "tiny" (tf "tiny.txt")
, Pure.benchmark "ascii" (tf "ascii-small.txt")
-- , Pure.benchmark "france" (tf "france.html")
, Pure.benchmark "russian" (tf "russian-small.txt")
, Pure.benchmark "japanese" (tf "japanese.txt")
, ReadNumbers.benchmark (tf "numbers.txt")
, Replace.benchmark (tf "russian.txt") "принимая" "своем"
, Search.benchmark (tf "russian.txt") "принимая"
, Stream.benchmark (tf "russian.txt")
, WordFrequencies.benchmark (tf "russian.txt")
]
-- Program-like benchmarks
ps <- bgroup "Programs" `fmap` sequence
[ Programs.BigTable.benchmark sink
, Programs.Cut.benchmark (tf "russian.txt") sink 20 40
, Programs.Fold.benchmark (tf "russian.txt") sink
, Programs.Sort.benchmark (tf "russian.txt") sink
, Programs.StripTags.benchmark (tf "yiwiki.xml") sink
, Programs.Throughput.benchmark (tf "russian.txt") sink
]
return $ bs ++ [ps]
where
-- Location of a test file
tf = ("../tests/text-test-data" </>)
| {
"content_hash": "8ae58f4d46b48b91cc813470fdbed3e9",
"timestamp": "",
"source": "github",
"line_count": 77,
"max_line_length": 70,
"avg_line_length": 40.324675324675326,
"alnum_prop": 0.7069243156199678,
"repo_name": "text-utf8/text",
"id": "f074ab4a49db8dedc4fdee093702b7f19ee5e2ab",
"size": "3193",
"binary": false,
"copies": "1",
"ref": "refs/heads/utf8",
"path": "benchmarks/haskell/Benchmarks.hs",
"mode": "33188",
"license": "bsd-2-clause",
"language": [
{
"name": "C",
"bytes": "6386"
},
{
"name": "Haskell",
"bytes": "565292"
},
{
"name": "Makefile",
"bytes": "938"
},
{
"name": "Python",
"bytes": "2443"
},
{
"name": "Ruby",
"bytes": "2191"
},
{
"name": "Shell",
"bytes": "1886"
}
],
"symlink_target": ""
} |
@interface AppDelegate ()
@end
@implementation AppDelegate
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
// Override point for customization after application launch.
return YES;
}
- (void)applicationWillResignActive:(UIApplication *)application {
// Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state.
// Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game.
}
- (void)applicationDidEnterBackground:(UIApplication *)application {
// Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later.
// If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits.
}
- (void)applicationWillEnterForeground:(UIApplication *)application {
// Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background.
}
- (void)applicationDidBecomeActive:(UIApplication *)application {
// Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface.
}
- (void)applicationWillTerminate:(UIApplication *)application {
// Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.
}
@end
| {
"content_hash": "3482deb8559f3d3937dcf07b121a2e22",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 281,
"avg_line_length": 53.48571428571429,
"alnum_prop": 0.7863247863247863,
"repo_name": "ShenYj/Demos",
"id": "56b16ee25ce55230bb2b61f34bc25a159bfe4164",
"size": "2032",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "GCD-Demo/GCD-Demo/AppDelegate.m",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "C",
"bytes": "154288"
},
{
"name": "HTML",
"bytes": "1581"
},
{
"name": "Objective-C",
"bytes": "2365278"
},
{
"name": "Objective-J",
"bytes": "1077"
},
{
"name": "Ruby",
"bytes": "5627"
},
{
"name": "Swift",
"bytes": "17953"
}
],
"symlink_target": ""
} |
<div class="row">
<?php echo form_open(current_url()); ?>
<div class="col-md-4">
<?php echo $this->session->flashdata('alert'); ?>
<legend>Tambah Topik Baru</legend>
<div class="form-group">
<label for="">Nama</label>
<input type="text" name="nama" class="form-control" value="<?php echo set_value('nama'); ?>">
<p class="help-block"><?php echo form_error('nama', '<small class="text-red">', '</small>'); ?></p>
<p class="help-block"><small><i>Nama ini mencerminkan bagaimana tampil di situs Anda.</i></small></p>
</div>
<div class="form-group">
<label for="">Slug</label>
<input type="text" name="slug" class="form-control" value="<?php echo set_value('slug'); ?>">
<p class="help-block"><?php echo form_error('slug', '<small class="text-red">', '</small>'); ?></p>
<p class="help-block"><small><i>"Slug" ialah versi ramah-URL dari nama. Biasanya seluruhnya merupakan huruf kecil dan hanya mengandung huruf, angka, dan tanda strip.</i></small></p>
</div>
<div class="form-group">
<label for="">Deskripsi</label>
<textarea name="deskripsi" rows="5" class="form-control"><?php echo set_value('deskripsi'); ?></textarea>
<p class="help-block"><?php echo form_error('deskripsi', '<small class="text-red">', '</small>'); ?></p>
<p class="help-block"><small><i>Deskripsi ini akan tampil pada tema akan beserta nama.</i></small></p>
</div>
<button type="submit" class="btn btn-primary">Tambah Topk Baru</button>
</div>
<?php echo form_close(); ?>
<div class="col-md-8">
<?php echo form_open(current_url(), array('method' => 'get')); ?>
<div class="col-md-6 bottom2x pull-right">
<div class="input-group input-group-sm">
<input type="text" name="query" class="form-control" value="<?php echo $this->input->get('query') ?>" placeholder="Pencarian ...">
<div class="input-group-btn">
<button type="submit" class="btn btn-default"><i class="fa fa-search"></i> Cari Topik</button>
</div>
</div>
</div>
<?php echo form_close(); ?>
<div class="clearfix"></div>
<div class="box box-default">
<?php echo form_open(base_url("administrator/post_tags/bulkaction")); ?>
<table class="table table-bordered table-hover checked">
<thead>
<tr>
<th width="30">
<div class="checkbox checkbox-inline">
<input id="checkbox1" type="checkbox"> <label for="checkbox1"></label>
</div>
</th>
<th class="text-center" width="200">Nama Topik</th>
<th class="text-center">Deskripsi</th>
<th class="text-center" width="200">Slug</th>
<th class="text-center">Berita</th>
</tr>
</thead>
<tbody>
<?php
/**
* Loop Data Users
*
**/
foreach( $tags as $row) :
?>
<tr>
<td>
<div class="checkbox checkbox-inline">
<input id="checkbox1" type="checkbox" name="tags[]" value="<?php echo $row->tag_id ?>"> <label for="checkbox1"></label>
</div>
</td>
<td class="td-action">
<?php echo anchor(base_url("administrator/post_tags/update/{$row->tag_id}"), $row->name); ?>
<div class="button-action">
<a href="<?php echo base_url("administrator/post_tags/update/{$row->tag_id}") ?>">Edit</a> |
<a href="#" data-action="delete" data-key="tag" data-id="<?php echo $row->tag_id ?>" class="red">Hapus</a> |
<a href="<?php echo base_url("tag/".$row->slug) ?>">Tampil</a>
</div>
</td>
<td><small><?php echo $row->description ?></small></td>
<td><?php echo $row->slug ?></td>
<td class="text-center">
<?php echo anchor(base_url("administrator/post?tag={$row->tag_id}"), $this->tags->count_posttags($row->tag_id)); ?>
</td>
</tr>
<?php endforeach;
if( $tags == FALSE ) echo '<tr><td colspan="5">Tidak ada pengguna yang ditemukan.</td></tr>';
?>
</tbody>
<tfoot>
<tr>
<td colspan="5">
<label>Yang terpilih :</label>
<a class="btn btn-xs btn-round btn-danger" data-toggle="modal" data-target="#modal-delete-tag-selected"><i class="fa fa-trash-o"></i> Hapus</a>
<small class="pull-right"><?php echo count($tags) ?> dari <?php echo $this->tags->getAll(null, null, 'num') ?> data.</small>
</td>
</tr>
</tfoot>
</table>
<div class="modal" id="modal-delete-tag-selected">
<div class="modal-dialog modal-sm modal-danger">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h4 class="modal-title"><i class="fa fa-info-circle"></i> Hapus!</h4>
<span>Hapus data topik yang terpilih dari database?</span>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-outline pull-left" data-dismiss="modal">Batal</button>
<button type="submit" name="action" value="delete" class="btn btn-outline">Hapus</button>
</div>
</div>
</div>
</div>
<?php echo form_close(); ?>
</div>
<div class="col-md-12 text-center">
<?php echo $this->pagination->create_links(); ?>
</div>
</div>
</div>
<div class="modal" id="modal-delete-tag">
<div class="modal-dialog modal-sm modal-danger">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h4 class="modal-title"><i class="fa fa-info-circle"></i> Hapus!</h4>
<span>Hapus data topik ini dari database?</span>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-outline pull-left" data-dismiss="modal">Batal</button>
<a href="#" id="btn-delete" class="btn btn-outline">Hapus</a>
</div>
</div>
</div>
</div> | {
"content_hash": "6ee1a519e850e897f3d89e4ee02ca9c2",
"timestamp": "",
"source": "github",
"line_count": 134,
"max_line_length": 184,
"avg_line_length": 43.87313432835821,
"alnum_prop": 0.5844531382888246,
"repo_name": "nitinegoro/tamtv",
"id": "a5c2a610f1288bb5869af5f6cdb48cb6c5703103",
"size": "5879",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "application/views/administrator/pages/tags.php",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "CSS",
"bytes": "544423"
},
{
"name": "HTML",
"bytes": "104530"
},
{
"name": "JavaScript",
"bytes": "12277446"
},
{
"name": "PHP",
"bytes": "2298186"
}
],
"symlink_target": ""
} |
<?php
namespace ReCaptcha;
/**
* reCAPTCHA client.
*/
class ReCaptcha
{
/**
* Version of this client library.
*
* @const string
*/
const VERSION = 'php_1.2.3';
/**
* URL for reCAPTCHA siteverify API.
*
* @const string
*/
const SITE_VERIFY_URL = 'https://www.google.com/recaptcha/api/siteverify';
/**
* Invalid JSON received.
*
* @const string
*/
const E_INVALID_JSON = 'invalid-json';
/**
* Could not connect to service.
*
* @const string
*/
const E_CONNECTION_FAILED = 'connection-failed';
/**
* Did not receive a 200 from the service.
*
* @const string
*/
const E_BAD_RESPONSE = 'bad-response';
/**
* Not a success, but no error codes received!
*
* @const string
*/
const E_UNKNOWN_ERROR = 'unknown-error';
/**
* ReCAPTCHA response not provided.
*
* @const string
*/
const E_MISSING_INPUT_RESPONSE = 'missing-input-response';
/**
* Expected hostname did not match.
*
* @const string
*/
const E_HOSTNAME_MISMATCH = 'hostname-mismatch';
/**
* Expected APK package name did not match.
*
* @const string
*/
const E_APK_PACKAGE_NAME_MISMATCH = 'apk_package_name-mismatch';
/**
* Expected action did not match.
*
* @const string
*/
const E_ACTION_MISMATCH = 'action-mismatch';
/**
* Score threshold not met.
*
* @const string
*/
const E_SCORE_THRESHOLD_NOT_MET = 'score-threshold-not-met';
/**
* Challenge timeout.
*
* @const string
*/
const E_CHALLENGE_TIMEOUT = 'challenge-timeout';
/**
* Shared secret for the site.
*
* @var string
*/
private $secret;
/**
* Method used to communicate with service. Defaults to POST request.
*
* @var RequestMethod
*/
private $requestMethod;
/**
* Create a configured instance to use the reCAPTCHA service.
*
* @param string $secret The shared key between your site and reCAPTCHA.
* @param RequestMethod $requestMethod method used to send the request. Defaults to POST.
*
* @throws \RuntimeException if $secret is invalid
*/
public function __construct($secret, RequestMethod $requestMethod = null)
{
if (empty($secret)) {
throw new \RuntimeException('No secret provided');
}
if (!is_string($secret)) {
throw new \RuntimeException('The provided secret must be a string');
}
$this->secret = $secret;
$this->requestMethod = (is_null($requestMethod)) ? new RequestMethod\Post() : $requestMethod;
}
/**
* Calls the reCAPTCHA siteverify API to verify whether the user passes
* CAPTCHA test and additionally runs any specified additional checks.
*
* @param string $response The user response token provided by reCAPTCHA, verifying the user on your site.
* @param string $remoteIp The end user's IP address.
*
* @return Response Response from the service.
*/
public function verify($response, $remoteIp = null)
{
// Discard empty solution submissions
if (empty($response)) {
$recaptchaResponse = new Response(false, [self::E_MISSING_INPUT_RESPONSE]);
return $recaptchaResponse;
}
$params = new RequestParameters($this->secret, $response, $remoteIp, self::VERSION);
$rawResponse = $this->requestMethod->submit($params);
$initialResponse = Response::fromJson($rawResponse);
$validationErrors = [];
if (isset($this->hostname) && strcasecmp($this->hostname, $initialResponse->getHostname()) !== 0) {
$validationErrors[] = self::E_HOSTNAME_MISMATCH;
}
if (isset($this->apkPackageName) && strcasecmp($this->apkPackageName, $initialResponse->getApkPackageName()) !== 0) {
$validationErrors[] = self::E_APK_PACKAGE_NAME_MISMATCH;
}
if (isset($this->action) && strcasecmp($this->action, $initialResponse->getAction()) !== 0) {
$validationErrors[] = self::E_ACTION_MISMATCH;
}
if (isset($this->threshold) && $this->threshold > $initialResponse->getScore()) {
$validationErrors[] = self::E_SCORE_THRESHOLD_NOT_MET;
}
if (isset($this->timeoutSeconds)) {
$challengeTs = strtotime($initialResponse->getChallengeTs());
if ($challengeTs > 0 && time() - $challengeTs > $this->timeoutSeconds) {
$validationErrors[] = self::E_CHALLENGE_TIMEOUT;
}
}
if (empty($validationErrors)) {
return $initialResponse;
}
return new Response(
false,
array_merge($initialResponse->getErrorCodes(), $validationErrors),
$initialResponse->getHostname(),
$initialResponse->getChallengeTs(),
$initialResponse->getApkPackageName(),
$initialResponse->getScore(),
$initialResponse->getAction()
);
}
/**
* Provide a hostname to match against in verify()
* This should be without a protocol or trailing slash, e.g. www.google.com.
*
* @param string $hostname Expected hostname
*
* @return ReCaptcha Current instance for fluent interface
*/
public function setExpectedHostname($hostname)
{
$this->hostname = $hostname;
return $this;
}
/**
* Provide an APK package name to match against in verify().
*
* @param string $apkPackageName Expected APK package name
*
* @return ReCaptcha Current instance for fluent interface
*/
public function setExpectedApkPackageName($apkPackageName)
{
$this->apkPackageName = $apkPackageName;
return $this;
}
/**
* Provide an action to match against in verify()
* This should be set per page.
*
* @param string $action Expected action
*
* @return ReCaptcha Current instance for fluent interface
*/
public function setExpectedAction($action)
{
$this->action = $action;
return $this;
}
/**
* Provide a threshold to meet or exceed in verify()
* Threshold should be a float between 0 and 1 which will be tested as response >= threshold.
*
* @param float $threshold Expected threshold
*
* @return ReCaptcha Current instance for fluent interface
*/
public function setScoreThreshold($threshold)
{
$this->threshold = floatval($threshold);
return $this;
}
/**
* Provide a timeout in seconds to test against the challenge timestamp in verify().
*
* @param int $timeoutSeconds Expected hostname
*
* @return ReCaptcha Current instance for fluent interface
*/
public function setChallengeTimeout($timeoutSeconds)
{
$this->timeoutSeconds = $timeoutSeconds;
return $this;
}
}
| {
"content_hash": "f7a22bd9957e14b3cb0cd4b21170eac6",
"timestamp": "",
"source": "github",
"line_count": 265,
"max_line_length": 125,
"avg_line_length": 26.841509433962266,
"alnum_prop": 0.5910305075214396,
"repo_name": "greenelfx/MapleBit",
"id": "224931b42e45295a02c8b1892ce7478c8456886f",
"size": "8823",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "assets/libs/recaptcha/ReCaptcha/ReCaptcha.php",
"mode": "33261",
"license": "mit",
"language": [
{
"name": "CSS",
"bytes": "6865"
},
{
"name": "HTML",
"bytes": "3507"
},
{
"name": "JavaScript",
"bytes": "11982"
},
{
"name": "PHP",
"bytes": "1353771"
}
],
"symlink_target": ""
} |
#ifndef rtosim_SignalProcessing_h
#define rtosim_SignalProcessing_h
#include "rtb/Filter/Designer.h"
#include "rtb/Filter/Filter.h"
#include "rtb/Filter/Polynomial.h"
#include "rtb/Filter/StateSpaceFilter.h"
#include "rtb/Filter/TransferFunction.h"
#include "rtosim/GeneralisedCoordinatesStateSpace.h"
#include "rtosim/ExternalForceDataFilterStateSpace.h"
#include "rtosim/MultipleExternalForcesDataFilterStateSpace.h"
#include "rtosim/SignalProcessingCommon.h"
#include "rtosim/QueueAdapter.h"
#include "rtosim/AdaptiveCop.h"
#endif | {
"content_hash": "55f87aaa7c17b25c91418ff762527a71",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 62,
"avg_line_length": 29.833333333333332,
"alnum_prop": 0.819366852886406,
"repo_name": "RealTimeBiomechanics/rtosim",
"id": "734b7b118d2fdf938457d929880cc57d6e4cb72a",
"size": "1657",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "lib/SignalProcessing/rtosim/SignalProcessing.h",
"mode": "33188",
"license": "apache-2.0",
"language": [
{
"name": "C",
"bytes": "11354"
},
{
"name": "C++",
"bytes": "372085"
},
{
"name": "CMake",
"bytes": "32980"
}
],
"symlink_target": ""
} |
using System;
using System.Collections.Generic;
namespace Autocore.Samples.Console
{
#region Output services
public interface IOutput : ISingletonDependency
{
void WriteLine(string text);
}
public class ConsoleOutput : IOutput
{
public virtual void WriteLine(string text)
{
System.Console.WriteLine(string.Format("ConsoleOutput: {0}", text));
}
}
public class ColorConsoleOutput : IOutput
{
public virtual void WriteLine(string text)
{
System.Console.ForegroundColor = ConsoleColor.Yellow;
System.Console.Write("ColorConsoleOutput: ");
System.Console.ForegroundColor = ConsoleColor.Gray;
System.Console.WriteLine(text);
}
}
#endregion
#region Greeter service
public interface IGreeter : ISingletonDependency
{
void Greet(string name);
}
public class Greeter : IGreeter
{
IEnumerable<IOutput> _outputs;
public Greeter(IEnumerable<IOutput> outputs)
{
_outputs = outputs;
}
public void Greet(string name)
{
var msg = string.Format("Hello {0}!", name);
foreach (var o in _outputs)
{
o.WriteLine(msg);
}
}
}
#endregion
public static class Program
{
public static void Main(string[] args)
{
using (var container = Autocore.Factory.Create())
{
var greeter = container.Resolve<IGreeter>();
greeter.Greet("John");
}
}
}
}
| {
"content_hash": "6184a34fbf59398b52d976acd0a89f31",
"timestamp": "",
"source": "github",
"line_count": 64,
"max_line_length": 71,
"avg_line_length": 20.703125,
"alnum_prop": 0.7018867924528301,
"repo_name": "pzavolinsky/Autocore",
"id": "7c82a3ab59e832da654bfca4a43d2d461c63a7dd",
"size": "1325",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "Samples/Autocore.Samples.Console/Program.cs",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "C#",
"bytes": "82086"
},
{
"name": "Makefile",
"bytes": "5483"
}
],
"symlink_target": ""
} |
require 'spec_helper'
describe Location do
subject { @location }
before { @location = Location.make }
# Valid
context 'when has valid attributes' do
it { should be_valid }
end
# Validations
context 'validations' do
it { should have_valid(:country).when('a'*2, 'a'*100) }
it { should_not have_valid(:country).when('a', 'a'*101, nil) }
it { should have_valid(:region).when('a'*2, 'a'*100) }
it { should_not have_valid(:region).when('a', 'a'*101, nil) }
it { should have_valid(:city).when('a'*2, 'a'*100) }
it { should_not have_valid(:city).when('a', 'a'*101, nil) }
# Uniqueness of country + region + city
context 'when location attributes are' do
context 'not unique (only two)' do
before { Location.make!( country: @location.country,
region: 'unique region',
city: @location.city, ) }
it { should be_valid }
end
context 'not unique (all three)' do
before { Location.make!( country: @location.country,
region: @location.region,
city: @location.city ) }
it { should_not be_valid }
end
end
end
# Associations
context 'associations' do
it { should have_and_belong_to_many(:companies) }
it { should have_and_belong_to_many(:investors) }
end
# Methods
context '#full' do
it { @location.full.should == "#{@location.city}, #{@location.region}, #{@location.country}"}
end
end
| {
"content_hash": "c496c7129fbc432d4b60f6155d511307",
"timestamp": "",
"source": "github",
"line_count": 53,
"max_line_length": 97,
"avg_line_length": 29.37735849056604,
"alnum_prop": 0.5626204238921002,
"repo_name": "lucianot/dealbook",
"id": "16d1b37490f5430cde48ee45895177f997636791",
"size": "1557",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "spec/models/location_spec.rb",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "CSS",
"bytes": "10007"
},
{
"name": "CoffeeScript",
"bytes": "4398"
},
{
"name": "HTML",
"bytes": "42565"
},
{
"name": "JavaScript",
"bytes": "27663"
},
{
"name": "Ruby",
"bytes": "145497"
}
],
"symlink_target": ""
} |
<TEI xmlns="http://www.tei-c.org/ns/1.0">
<teiHeader>
<fileDesc>
<titleStmt>
<title>Memoirs: of Mrs. Lætitia Pilkington, wife to the Rev. Mr. Matthew Pilkington. Written by herself. Wherein are occasionally interspersed, all her poems; with anecdotes of several eminent persons, living and dead. Among others, Dean Swift, Alexander Pope, ... [pt.2]</title>
<author>Pilkington, Laetitia, 1712-1750.</author>
</titleStmt>
<extent>371 600dpi bitonal TIFF page images and SGML/XML encoded text</extent>
<publicationStmt>
<publisher>University of Michigan Library</publisher>
<pubPlace>Ann Arbor, Michigan</pubPlace>
<date when="2011-06">2011 June</date>
<idno type="DLPS">004894667</idno>
<idno type="ESTC">T141022</idno>
<idno type="DOCNO">CW102373845</idno>
<idno type="TCP">K111040.002</idno>
<idno type="GALEDOCNO">CW3302374155</idno>
<idno type="CONTENTSET">ECHG</idno>
<idno type="IMAGESETID">0095100802</idno>
<availability>
<p>This keyboarded and encoded edition of the
work described above is co-owned by the institutions
providing financial support to the Early English Books
Online Text Creation Partnership. This Phase I text is
available for reuse, according to the terms of <ref target="https://creativecommons.org/publicdomain/zero/1.0/">Creative
Commons 0 1.0 Universal</ref>. The text can be copied,
modified, distributed and performed, even for
commercial purposes, all without asking permission.</p>
</availability>
</publicationStmt>
<sourceDesc>
<biblFull>
<titleStmt>
<title>Memoirs: of Mrs. Lætitia Pilkington, wife to the Rev. Mr. Matthew Pilkington. Written by herself. Wherein are occasionally interspersed, all her poems; with anecdotes of several eminent persons, living and dead. Among others, Dean Swift, Alexander Pope, ...</title>
<author>Pilkington, Laetitia, 1712-1750.</author>
</titleStmt>
<extent>viii,302,[2]p. ; 12⁰.</extent>
<publicationStmt>
<publisher>Dublin printed; London reprinted: and sold by R. Griffiths, and G. Woodfall,</publisher>
<pubPlace>[London] :</pubPlace>
<date>1748.</date>
</publicationStmt>
<notesStmt>
<note>Volume 2 was published in 1749 and a third volume, edited by John C. Pilkington in 1754.</note>
<note>Reproduction of original from the British Library.</note>
<note>Teerink, 1329</note>
<note>English Short Title Catalog, ESTCT141022.</note>
<note>Electronic data. Farmington Hills, Mich. : Thomson Gale, 2003. Page image (PNG). Digitized image of the microfilm version produced in Woodbridge, CT by Research Publications, 1982-2002 (later known as Primary Source Microfilm, an imprint of the Gale Group).</note>
</notesStmt>
</biblFull>
</sourceDesc>
</fileDesc>
<encodingDesc>
<projectDesc>
<p>Created by converting TCP files to TEI P5 using tcp2tei.xsl,
TEI @ Oxford.
</p>
</projectDesc>
<editorialDecl>
<p>EEBO-TCP is a partnership between the Universities of Michigan and Oxford and the publisher ProQuest to create accurately transcribed and encoded texts based on the image sets published by ProQuest via their Early English Books Online (EEBO) database (http://eebo.chadwyck.com). The general aim of EEBO-TCP is to encode one copy (usually the first edition) of every monographic English-language title published between 1473 and 1700 available in EEBO.</p>
<p>EEBO-TCP aimed to produce large quantities of textual data within the usual project restraints of time and funding, and therefore chose to create diplomatic transcriptions (as opposed to critical editions) with light-touch, mainly structural encoding based on the Text Encoding Initiative (http://www.tei-c.org).</p>
<p>The EEBO-TCP project was divided into two phases. The 25,363 texts created during Phase 1 of the project have been released into the public domain as of 1 January 2015. Anyone can now take and use these texts for their own purposes, but we respectfully request that due credit and attribution is given to their original source.</p>
<p>Users should be aware of the process of creating the TCP texts, and therefore of any assumptions that can be made about the data.</p>
<p>Text selection was based on the New Cambridge Bibliography of English Literature (NCBEL). If an author (or for an anonymous work, the title) appears in NCBEL, then their works are eligible for inclusion. Selection was intended to range over a wide variety of subject areas, to reflect the true nature of the print record of the period. In general, first editions of a works in English were prioritized, although there are a number of works in other languages, notably Latin and Welsh, included and sometimes a second or later edition of a work was chosen if there was a compelling reason to do so.</p>
<p>Image sets were sent to external keying companies for transcription and basic encoding. Quality assurance was then carried out by editorial teams in Oxford and Michigan. 5% (or 5 pages, whichever is the greater) of each text was proofread for accuracy and those which did not meet QA standards were returned to the keyers to be redone. After proofreading, the encoding was enhanced and/or corrected and characters marked as illegible were corrected where possible up to a limit of 100 instances per text. Any remaining illegibles were encoded as <gap>s. Understanding these processes should make clear that, while the overall quality of TCP data is very good, some errors will remain and some readable characters will be marked as illegible. Users should bear in mind that in all likelihood such instances will never have been looked at by a TCP editor.</p>
<p>The texts were encoded and linked to page images in accordance with level 4 of the TEI in Libraries guidelines.</p>
<p>Copies of the texts have been issued variously as SGML (TCP schema; ASCII text with mnemonic sdata character entities); displayable XML (TCP schema; characters represented either as UTF-8 Unicode or text strings within braces); or lossless XML (TEI P5, characters represented either as UTF-8 Unicode or TEI g elements).</p>
<p>Keying and markup guidelines are available at the <ref target="http://www.textcreationpartnership.org/docs/.">Text Creation Partnership web site</ref>.</p>
</editorialDecl>
<listPrefixDef>
<prefixDef ident="tcp"
matchPattern="([0-9\-]+):([0-9IVX]+)"
replacementPattern="https://data.historicaltexts.jisc.ac.uk/view?pubId=ecco-$1&index=ecco&pageId=ecco-$1-$20"/>
<prefixDef ident="char"
matchPattern="(.+)"
replacementPattern="https://raw.githubusercontent.com/textcreationpartnership/Texts/master/tcpchars.xml#$1"/>
</listPrefixDef>
</encodingDesc>
<profileDesc>
<langUsage>
<language ident="eng">eng</language>
</langUsage>
</profileDesc>
</teiHeader>
<text xml:lang="eng">
<front>
<div type="title_page">
<pb facs="tcp:0095100802:1" rendition="simple:additions"/>
<p>MEMOIRS OF Mrs. <hi>Laetitia Pilkington,</hi> WIFE TO THE Rev. Mr.
<hi>Matthew Pilkington.</hi>
</p>
<p>Written by HERSELF.</p>
<p>Wherein are occaſionally interſperſed, Her POEMS, With
VARIETY of SECRET TRANSACTIONS of ſome EMINENT PERSONS.</p>
<p>VOL. II.</p>
<q>
<l>Curs'd be the Verſe, how well ſo e'er it flow,</l>
<l>That tends to make one worthy Man my Foe;</l>
<l>Gives Vice a Sanction, Innocence a Fear,</l>
<l>Or from the pale eyed Virgin draws a Tear.</l>
<bibl>POPE.</bibl>
</q>
<q>
<l>—Longa eſt injuria, longae</l>
<l>Ambages: ſed ſumma ſequar faſtigia rerum.</l>
<bibl>VIRG. AEN. 1.</bibl>
</q>
<q>
<l>—Pudet haec opprobria nobis,</l>
<l>Et dici potuiſſe, & non potuiſſe refelli.</l>
<bibl>OVID.</bibl>
</q>
<p>
<hi>DUBLIN</hi> Printed: <hi>London</hi> Reprinted: and Sold by
<hi>R. Griffiths,</hi> at the <hi>Dunciad</hi> in <hi>Ludgate-ſtreet.</hi>
1749.</p>
</div>
<div type="dedication">
<pb facs="tcp:0095100802:2"/>
<head>TO The RIGHT HONOURABLE THE Lord Baron
<hi>Kingſborough.</hi>
</head>
<opener>
<salute>MY LORD,</salute>
</opener>
<p>THO' Your Lordſhip has been pleaſed poſitively to prohibit
my Dedicating this Volume to You, yet as I had the following Poem written, I
<pb n="iv" facs="tcp:0095100802:3"/> could not reſiſt the Temptation of prefixing it to my
Work, which I muſt rely on Your Goodneſs to pardon, as</p>
<closer>
<signed>I really am, With all poſſible Gratitude, and
Reſpect, Your Lordſhip's Moſt Obliged, Humble Servant, L.
PILKINGTON.</signed>
</closer>
</div>
<div type="poem">
<pb n="v" facs="tcp:0095100802:4"/>
<head>Oh! <hi>KING,</hi> Live for ever!</head>
<l>TO Thee within whoſe Heaven-illu<g ref="char:EOLhyphen"/>min'd Breaſt,</l>
<l>Reſides each Virtue, which adorns the Bleſt;</l>
<l>'Tis bold Preſumption to attune my Lays,</l>
<l>Seraphic Notes ſhou'd hymn ſublimer Praiſe;</l>
<l>Angels enthroned, in Bliſs with Rapture view</l>
<l>Their own Divine Perfections live in You:</l>
<l>Say, while you wander, thro' the rural Shade</l>
<l>By Saphire Fount, or Flower-enamell'd Mead,</l>
<l>By Wiſdom nurs'd, by Contemplation fed,</l>
<l>By both, to every Art and Science led;</l>
<l>While ſacred Honour, that immortal Gueſt</l>
<l>Lives in each Action of thy Life confeſt;</l>
<l>Wilt Thou, propitious, while I wake the String,</l>
<l>Attentive liſten to the Strains I ſing;</l>
<l>No venal Lay I offer to impart,</l>
<l>Accept the Rapture of a grateful Heart.</l>
<l>Come, Inſpiration, from thy Hermit-Seat,</l>
<l>O, give me flowing Numbers ſweetly great!</l>
<l>Free as his Bounties, beauteous as his Frame,</l>
<l>And pure and bright, as his unſpotted Fame;</l>
<l>
<pb n="vi" facs="tcp:0095100802:5"/>For Nature, prodigal to KING, has given</l>
<l>All Gifts, admir'd on Earth, and dear to Heaven;</l>
<l>Then to <hi>Hibernia,</hi> lent this ſacred Store,</l>
<l>Too bleſt <hi>Hibernia,</hi> can'ſt thou wiſh for more:</l>
<l>Philoſophers can, from the Noon-tide Sun,</l>
<l>Extract one ſolar Ray, tho' finely ſpun;</l>
<l>Then, in that Ray, the various Colours ſhew,</l>
<l>With which God paints the Rain-foretelling Bow;</l>
<l>May I, like them, preſume, with happy Art,</l>
<l>To trace, diſtinct, the Virtues of thy Heart,</l>
<l>Or turn, aſtoniſh'd, from the dazzling Light,</l>
<l>And own it too intolerably bright,</l>
<l>When every Beam does with full Force unite.</l>
<l>Here did I pauſe, when, lo! the Heaven-born Muſe,</l>
<l>Who, if aright invok'd, will ne'er refuſe</l>
<l>Her Aid, appear'd, and ſaid, thy noble Choice</l>
<l>May better than the Muſe inſpire thy Voice:</l>
<l>To me eternal Wiſdom gave the Care</l>
<l>Of KING, no meaner Power could inter<g ref="char:EOLhyphen"/>fere;</l>
<l>
<pb n="7" facs="tcp:0095100802:6"/>Pleas'd with the Taſk, I took the lovely
Child,</l>
<l>Blooming as Spring, with Looks ſerenely mild;</l>
<l>Hence flows beneficent his boundleſs Mind,</l>
<l>The Joy, the Love, the Friend of Human<g ref="char:EOLhyphen"/>kind;</l>
<l>Modeſty, Learning, Genius, Wit, and Taſte,</l>
<l>By Female Sweetneſs, manly Virtue grac'd;</l>
<l>Hence take their Source, oh Fav'rite of the Skies!</l>
<l>To which, tho' late, triumphant ſhalt Thou riſe;</l>
<l>There mix with Souls, like Thine, divinely pure,</l>
<l>And taſte the Rapture fitted to endure:</l>
<l>She ceas'd; Thanks heavenly Viſitant, I ſaid,</l>
<l>To Thee my Gratitude be ever paid;</l>
<l>For what, ſufficient, may I render Thee,</l>
<l>Who rais'd a PATRON that protected me;</l>
<l>Who view'd my Anguiſh with a pitying Eye,</l>
<l>When even a Son, and Brother paſt it by.</l>
<l>All-righteous Heaven, attend my ardent Pray'r,</l>
<l>Make him thy conſtant, thy peculiar Care,</l>
<l>Whoſe Mercy, like the Dews that bleſs the Ground.</l>
<l>Silently falls, refreſhing all around;</l>
<l>
<pb n="8" facs="tcp:0095100802:7"/>While, with ſuch winning Grace, his Boun<g ref="char:EOLhyphen"/>ties
flow,</l>
<l>They double all the Bleſſings they beſtow;</l>
<l>Touch'd with a painful Joy, the lab'ring Heart</l>
<l>Struggles its mighty Tranſport to impart;</l>
<l>Meanings crowd thick, the Tongue its Aid denies,</l>
<l>And ſpringing Tears the Loſs of Speech ſupplies.</l>
<l>The P—rs of <hi>Ireland</hi> long have been a Jeſt,</l>
<l>Their own, and ev'ry other Climate's Peſt;</l>
<l>But KING ſhall grace the Coronet he wears,</l>
<l>And make it vie with <hi>Britain</hi>'s nobleſt Stars;</l>
<l>And when, in Time, to grace his nuptial Bed,</l>
<l>Some chaſte, illuſtrious Charmer he ſhall wed:</l>
<l>May Love, and Joy, and Truth, the Pomp attend,</l>
<l>And deathleſs Honour to his Race deſcend.</l>
</div>
</front>
<body>
<div type="text">
<pb facs="tcp:0095100802:8"/>
<head>MEMOIRS OF Mrs. <hi>PILKINGTON.</hi>
</head>
<p>SO being entered on a new Scene, I proceed: I got as far as
<hi>Cheſter</hi>; but, as it was Winter, the Stage Coach ſet out but once a
Week, namely on <hi>Mon<g ref="char:EOLhyphen"/>day</hi>; and as I did not land till
<hi>Tueſday,</hi> I had near a Week to ſtay at an Inn, an Expence my poor
Pocket could not well afford. But Providence ſent me a timely Relief; for as
I was ſitting with my Land<g ref="char:EOLhyphen"/>lady, by her Kitchen Fire, a Gentleman came in,
who knew me; he was going to <hi>Ireland,</hi> and the Wind proving contrary,
<pb n="2" facs="tcp:0095100802:9"/> he was a Fellow Priſoner, as I may call it, with me; and a
very agreeable one he proved, for he never permitted me to pay a Farthing. My
Landlady, who was really a Gentlewoman, and he, and I, di<g ref="char:EOLhyphen"/>verted away the Time
with Ombre, Read<g ref="char:EOLhyphen"/>ing, and Pratling, very tolerably: And as the Gentleman knew
my Misfortunes, and had known all my Family, he very gene<g ref="char:EOLhyphen"/>rouſly, and not
without many Apologies, gave me three Guineas; a very ſeaſonable
Aſſiſtance: Thus we may ſee, that
<q>
<l>Each good the virtuous Soul itſelf denies,</l>
<l>The watchful Care of Providence ſupplies.</l>
</q> By this I
was enabled to travel. I learned with great Pleaſure, that a Member of
Par<g ref="char:EOLhyphen"/>liament and two Gentlemen of the Law, had taken Places in the Coach, and
hoped for an agreeable Journey; but ſadly diſ<g ref="char:EOLhyphen"/>appointed I was, for
certainly three ſuch Brutes I never ſaw; they affronted me every Moment,
becauſe I was born in <hi>Ire<g ref="char:EOLhyphen"/>land</hi>; and I believe they had not the
Cho<g ref="char:EOLhyphen"/>lick, for they made themſelves very eaſy: <pb n="3" facs="tcp:0095100802:10"/> But the
worſt Circumſtance of all was, that they uſed to ſit up drinking all
Night, and forced me to pay my Club for their Wine, though I never even ſaw
it.</p>
<p>They were great <hi>Walpolians,</hi> and many a Trick in the
Elections did they relate before me, taking it for granted that I was a Fool:
At laſt, they very civilly de<g ref="char:EOLhyphen"/>manded of me, what Buſineſs I had to
<hi>Lon<g ref="char:EOLhyphen"/>don?</hi> So, reſolving to divert myſelf, I told them, I was going
there in hopes Sir <hi>Robert</hi> would marry me; this made them very merry,
they laughed at my Folly, and I at theirs. At length we picked up a
<hi>Welch</hi> Parſon, of whom I had the Ho<g ref="char:EOLhyphen"/>nour of making a Conqueſt,
which afford<g ref="char:EOLhyphen"/>ed us great Entertainment, for about fifty Miles. I always
permitted him to pay my Club; but, like a true Levite, he began to offer a
little more of his Civility than I was willing to accept of; ſo, finding that
would not do, he made me a Preſent of a Ginger-bread-nut, curiouſly wrapt
up in white Paper, and after making me give him a Promiſe to write to him, he
left us.</p>
<p>
<pb n="4" facs="tcp:0095100802:11"/>As my Fellow-Travellers had obſerved his
amorous Behaviour, and ſaw him de<g ref="char:EOLhyphen"/>liver his Preſent, they earneſtly
requeſted to know what it was; ſo to oblige them, I ſhewed it. When we
came to <hi>St. Al<g ref="char:EOLhyphen"/>bans,</hi> we were met by a Gentleman in a Coach and Six,
whom they ſtiled the great Mr. <hi>Mid—ton,</hi> of
<hi>Chirk-Caſtle</hi> in <hi>Denbigh<g ref="char:EOLhyphen"/>ſhire,</hi> who was related to them
all; ſo they went into his Coach, and I got two Fe<g ref="char:EOLhyphen"/>male Companions. However,
we all baited at the ſame Inn at <hi>Barnet,</hi> and this prodigious Man
inſiſted on having the Ladies for his Gueſts; and, laying hold of my
Hand, he ſwore that little <hi>Hibernian</hi> Nymph ſhould dine with him;
ſo up Stairs we all went, where he entertained us with an Account of his
ample Eſtate, ſaying, it was much larger than the Duke of
<hi>Bedford</hi>'s; but how unworthy he was to poſſeſs it, the Sequel
will ſhew.</p>
<p>My Adventures with the <hi>Welch</hi> Parſon made him laugh very
heartily; and he in<g ref="char:EOLhyphen"/>ſiſted on my keeping my Promiſe in writ<g ref="char:EOLhyphen"/>ing to him,
aſſuring me he would take care <pb n="5" facs="tcp:0095100802:12"/> the Letter ſhould go
ſafe. So, by way of Amuſement, I ſcribbled as follows:
<floatingText type="letter">
<body>
<opener>
<salute>SIR,</salute>
</opener>
<epigraph>
<q>
<l>Your Ginger-bread, unbroken,</l>
<l>Remains a true Love Token.</l>
</q>
</epigraph>
<p>I Am aſſured, by your honourable Coun<g ref="char:EOLhyphen"/>trymen, that you
paſs for a Wit in <hi>Wales</hi>; it is therefore my ſincere Advice to you,
never to quit it, leſt the reſt of the World ſhould be malicious enough
to re<g ref="char:EOLhyphen"/>fuſe you your due Praiſe. As for the Favour you offered to me, why
you offer<g ref="char:EOLhyphen"/>ed it like a Prieſt, and I refuſed it like a Fool; if you write
to me, direct, To the Right Honourable the Lady <hi>W—lp—le,</hi>
in <hi>Downing-ſtreet, Weſtminſter.</hi> I will en<g ref="char:EOLhyphen"/>deavour to prevail on
my Spouſe elect to ſend you a Fiddle and a Hogſhead of good
<hi>October,</hi> to entertain your Pariſhioners every <hi>Sunday.</hi>
</p>
<closer>
<signed>I am, ſweet Sir Crape, Yours.</signed>
</closer>
</body>
</floatingText>
</p>
<p>
<pb n="6" facs="tcp:0095100802:13"/>Mr. <hi>Mid—ton</hi> ſaid, he thought I
could read Men as well as Sir <hi>Robert.</hi> But now
<q>
<l>Came the Reckoning, when the Feaſt was o'er,</l>
<l>The dreadful Reck'ning! and we ſmil'd no more.</l>
</q> For
our Grandee made us pay our Club! 'tis true, indeed, he writ ſomething to
make me amends, which was this:
<floatingText type="letter">
<body>
<opener>
<salute>My Charmer,</salute>
</opener>
<p>IF you will leave a Line for me at <hi>Brownjohn</hi>'s
Coffee-Houſe in <hi>Or<g ref="char:EOLhyphen"/>mond Street,</hi> and give me a Direction where to
find you, you ſhall find a Friend in</p>
<closer>
<signed>J. M—n.</signed>
</closer>
</body>
</floatingText>
</p>
<p>But really I never did, ſo we parted, and I never ſaw him
more. The Sample he had given of the Narrowneſs of his Heart was ſufficient
to diſguſt me; and tho' I am not fond of making national Reflections, yet I
would of all things <pb n="7" facs="tcp:0095100802:14"/> never truſt a <hi>Welchman,</hi>
leſt, as <hi>Falſtaff</hi> ſays of the <hi>Welch</hi> Fairy, he ſhould
trans<g ref="char:EOLhyphen"/>form me into a Piece of toaſted Cheeſe.</p>
<p>At length I got to <hi>London,</hi> where, after having paid all
Demands, I had three Guineas left, with which the next Day I took a Lodging in
<hi>Berry-Street, St. James</hi>'s.</p>
<p>I wrote to <hi>Ireland</hi> to no purpoſe it ſeemed; for I
never got any Anſwer; ſo in a very ſhort Time I was in great
Diſ<g ref="char:EOLhyphen"/>treſs, and knew not what to do. Having heard Mr. <hi>Ed—d
W—p—le</hi> was a very humane Gentleman, I wrote to him, and he
ſent me a Letter in return, wherein he promiſed to wait on me the next
Evening, and accordingly came; nay, and ſate with me three Hours; at the End
of which Time he told me, he did not know how he could poſſibly be of any
Service to me. I told him I had ſome Poems, which I intended to print by
Sub<g ref="char:EOLhyphen"/>ſcription, and if he would do me the Ho<g ref="char:EOLhyphen"/>nour of promoting it, it was all
the Fa<g ref="char:EOLhyphen"/>vour I deſired.—He anſwered, if he undertook it, he ſhould
certainly neglect <pb n="8" facs="tcp:0095100802:15"/> it; but however he would give me ſome
Money; ſo he pulled out his Purſe, and took out five Guineas: Would not any
Perſon have then thought themſelves ſure of them? but according to the
old Pro<g ref="char:EOLhyphen"/>verb, <hi>Many a thing falls out between the Lip and the Cup</hi>; the
Gentleman took a ſecond Thought, and put the Guineas in his Purſe again,
aſſuring me, it was not convenient for him to part with them.</p>
<p>And, indeed, I believe he is a Beaſt without a Heart; for this
is his conſtant Anſwer to every Perſon, as I have fre<g ref="char:EOLhyphen"/>quently obſerved,
when thoſe whom he choſe for Friends and Companions wanted but the
ſmalleſt Aſſiſtance from him. So he
<q>
<l>For Poets open Table kept,</l>
<l>But ne'er conſider'd where they ſlept;</l>
<l>Himſelf, as rich as fifty Jews,</l>
<l>Was eaſy, tho' they wanted Shoes.</l>
<bibl>Swift.</bibl>
</q>
</p>
<p>On this I aroſe, and told him, as I perceived it was not in his
Inclination to do <pb n="9" facs="tcp:0095100802:16"/> me any Service, I would no longer take up
his important Time, and civilly diſ<g ref="char:EOLhyphen"/>miſſed him.</p>
<p>Mr. <hi>Dodſley</hi> ventured to print THE TRIAL OF CONSTANCY,
by which I got about five Guineas, and a much greater Happineſs, the Favour
and Friendſhip of the POET LAUREAT. I was adviſed to encloſe one of them
to him, which I did, in as genteel a Letter as I knew how to write: The good
Gentleman came to viſit me, and did me every Act of Friendſhip in his
Power; it is to his un<g ref="char:EOLhyphen"/>wearied Zeal in my Behalf, that I owe that I yet live to
thank him; for,
<q>
<l>Had I not been by him ſupply'd,</l>
<l>I muſt a thouſand Times have dy'd.</l>
</q>
</p>
<p>I muſt not here omit, that when the Poem was publiſhed, I
encloſed two of them to Mr. <hi>W—lp—le,</hi> who wrote me a
Letter of Thanks, and that was all: <hi>Mem.</hi> he owes me Two Shillings.</p>
<p>As I wanted to make Intereſt with the Great, I took a Lodging in
<hi>St. James</hi>'s <pb n="10" facs="tcp:0095100802:17"/>
<hi>Street,</hi> exactly oppoſite
to <hi>White</hi>'s Choco<g ref="char:EOLhyphen"/>late-houſe, where happening to ſee Capt.
<hi>Meade</hi> go in, I wrote over to him, and he was ſo kind to give me an
Invitation to his Houſe, which was within a ſmall Mile from
<hi>Hampton-Court,</hi> a delightful Walk through <hi>Buſhy-Park</hi> leading
to it: This ſaved me a great deal of Expence: for as the Parliament was now
broke up, <hi>London</hi> was quite empty, and Mr. <hi>Cibber</hi> being gone
to <hi>Tunbridge,</hi> I could not, 'till the Return of Winter, hope to gain
any Sub<g ref="char:EOLhyphen"/>ſcribers, ſo I went into the Country with great Pleaſure.</p>
<p>The Captain had a very ſweet Dwelling, a pretty Wife, and four
lovely Children. We went to Church the following <hi>Sunday:</hi> Dr.
<hi>Hales</hi> was Miniſter of the Pariſh, and it was cuſtomary with him,
whenever he ſaw a Stranger in his Congregation, to pay them a Viſit; ſo,
after Evening Prayer, we were honoured with his Company. Capt. <hi>Meade</hi>
told him, I was his Siſter Parſon and Siſter Writer; a merry Sort of an
Introduction. The Doctor aſked me, what I wrote? and the Captain an<g ref="char:EOLhyphen"/>ſwered
<pb n="11" facs="tcp:0095100802:18"/> for me, that I was going to pub<g ref="char:EOLhyphen"/>liſh a Volume of Poems
by Subſcription. I told the Doctor, my Writings might amuſe, but his made
the World the wiſer and the better, as I had had the Pleaſure of reading
them. I turned the Diſcourſe to Natural Philoſphy, on which the Doctor
gave us an Invitation to a Courſe of Ex<g ref="char:EOLhyphen"/>periments the next Day. Tho' nothing
I then ſaw was new to me, yet his Reflec<g ref="char:EOLhyphen"/>tions on every Object were, as by
them he demonſtrated the Divinity; and, wrapt in holy Extaſy, he ſoared
above this little terrene Spot, and, like a true High Prieſt, led his
Auditors up to the Holieſt of Holies.</p>
<p>After this ſacred Banquet, with which my Soul was ſo elevated,
that I could not avoid paying him my Acknowledgments in, I believe, an
enthuſiaſtic Strain, we walked into the Garden, where we were entertained
with ſome fine Fruit, Cream, Wine, <hi>&c.</hi> a rural Collation.</p>
<p>The Doctor aſked me, if I had any printed Propoſals for my
Poems, to which he promiſed not only to ſubſcribe himſelf, but alſo
to uſe his Intereſt for me; I told <pb n="12" facs="tcp:0095100802:19"/> him I had, and that
I would give him ſome when I came to Prayers the next Morning.</p>
<p>But I could not ſleep all Night, ſo at Day-break I aroſe,
and walked into <hi>Buſhy-Park</hi>; I ſat down by the Side of a fine
Caſcade, and liſtened to the tunefully-fall<g ref="char:EOLhyphen"/>ling Waters ſo long, that
methought they became vocal, and uttered articulate Sounds; 'till, lulled by
them, I fell in<g ref="char:EOLhyphen"/>ſenſibly aſleep, when ſuddenly I imagined the
Water-Nymph, to whom this Spring belonged, aroſe before me with a lovely
Countenance, and a tranſparent azure Robe, and putting a Paper into my Hand,
diſappeared. I thought I read it; and as I preſently awoke, I remembered
all the Lines; ſo, having a Pencil and Sheet of Paper in my Pocket, I wrote
them down.
<q>
<lg>
<head>To the Reverend Dr. <hi>HALES.</hi>
</head>
<lg>
<l>HAIL, holy Sage! whoſe compre<g ref="char:EOLhyphen"/>henſive Mind,</l>
<l>Not to this narrow Spot of Earth confin'd,</l>
<l>Thro' num'rous Worlds can Nature's Laws explore,</l>
<l>Where none but NEWTON ever trod before;</l>
<l>
<pb n="13" facs="tcp:0095100802:20"/>And, guided by Philoſophy
divine,</l>
<l>See thro' his Works th' Almighty Maker ſhine:</l>
<l>Whether you trace him thro' yon rolling Spheres,</l>
<l>Where, crowned with boundleſs Glory, he appears;</l>
<l>Or in the Orient Sun's reſplendent Rays,</l>
<l>His ſetting Luſtre, or his Noontide Blaze,</l>
<l>New Wonders ſtill thy curious Search at<g ref="char:EOLhyphen"/>tend,</l>
<l>Begun on Earth, in higheſt Heav'n to end.</l>
<l>O! while thou doſt thoſe God-like Works purſue,</l>
<l>What Thanks, from Humankind, to Thee are due!</l>
<l>Whoſe Error, Doubt, and Darkneſs, You remove,</l>
<l>And charm down Knowledge from her Throne above.</l>
<l>Nature, to Thee, her choiceſt Secrets yields,</l>
<l>Unlocks her Springs, and opens all her Fields;</l>
<l>
<pb n="14" facs="tcp:0095100802:21"/>Shews the rich Treaſure that her
Breaſt contains,</l>
<l>In azure Fountains, or enamell'd Plains;</l>
<l>Each healing Stream, each Plant of vir<g ref="char:EOLhyphen"/>tuous Uſe,</l>
<l>To thee their Medicinal Pow'rs produce:</l>
<l>Pining Diſeaſe and Anguiſh wing their Flight,</l>
<l>And roſy Health renews us to Delight.</l>
</lg>
<lg>
<l>When You, with Art, the Animal diſſect,</l>
<l>And, with the microſcopic Aid, inſpect,</l>
<l>Where, from the Heart, unnumber'd Ri<g ref="char:EOLhyphen"/>vers glide,</l>
<l>And faithful back return their purple Tide;</l>
<l>How fine the Mechaniſm, by Thee diſ<g ref="char:EOLhyphen"/>play'd!</l>
<l>How wonderful is ev'ry Creature made!</l>
<l>Veſſels, too ſmall for Sight, the Fluids
ſtrain,</l>
<l>Concoct, digeſt, aſſimilate, ſuſtain:</l>
<l>In deep Attention, and Surprize, we gaze,</l>
<l>And, to Life's Author, raptur'd, pour out Praiſe.</l>
</lg>
<lg>
<pb n="15" facs="tcp:0095100802:22"/>
<l>What Beauties doſt Thou open to the Sight,</l>
<l>Untwiſting all the Golden Threads of Light!</l>
<l>Each Parent Colour tracing to its Source,</l>
<l>Diſtinct they live, obedient to Thy Force!</l>
<l>Nought from Thy Penetration is con<g ref="char:EOLhyphen"/>ceal'd,</l>
<l>And LIGHT, Himſelf, ſhines to Thy Soul reveal'd.</l>
</lg>
<lg>
<l>So when the Sacred Writings You diſ<g ref="char:EOLhyphen"/>play,</l>
<l>And on the mental Eye ſhed purer Day;</l>
<l>In radiant Colours Truth array'd we ſee,</l>
<l>Confeſs her Charms, and guided up by Thee;</l>
<l>Soaring ſublime, on Contemplation's Wings,</l>
<l>The Fountain ſeek, whence Truth eter<g ref="char:EOLhyphen"/>nal ſprings.</l>
<l>Fain would I wake the conſecrated Lyre,</l>
<l>And ſing the Sentiments Thou didſt in<g ref="char:EOLhyphen"/>ſpire!</l>
<l>But find my Strength unequal to a Theme,</l>
<l>Which aſks a <hi>Milton</hi>'s, or a Seraph's Flame!</l>
<l>
<pb n="16" facs="tcp:0095100802:23"/>If, thro' weak Words, one Ray of
Reaſon ſhine,</l>
<l>Thine was the Thought, the Errors only mine.</l>
<l>Yet may theſe Numbers to thy Soul im<g ref="char:EOLhyphen"/>part</l>
<l>The humble Incenſe of a grateful Heart.</l>
<l>Trifles, with GOD himſelf, Acceptance find,</l>
<l>If offer'd with Sincerity of Mind;</l>
<l>Then, like the Deity, Indulgence ſhew,</l>
<l>Thou, moſt <hi>like Him,</hi> of all his Works
be<g ref="char:EOLhyphen"/>low.</l>
</lg>
</lg>
</q>
</p>
<p>After this pleaſing Reverie, I returned home, and had
ſufficient Time to tranſ<g ref="char:EOLhyphen"/>cribe the Lines fair, and dreſs myſelf ere the
Bell rung for Morning Prayer. As we were coming out of Church, I gave the Poem
and ſome Propoſals, made up in a Pacquet, to the Doctor; who came in the
Evening to viſit us, and brought an<g ref="char:EOLhyphen"/>other Clergyman with him, who was the
Miniſter of <hi>Henley upon Thames</hi>; they both ſubſcribed to me, and
took a good many of the Propoſals, which they diſpoſed of to Perſons of
Diſtinction.</p>
<p>
<pb n="17" facs="tcp:0095100802:24"/>So having got a little Money, and Capt.
<hi>Meade</hi> being commanded on Duty to the <hi>Tower</hi> for ſix Months,
we all came to <hi>London</hi>; where finding my Lodging emp<g ref="char:EOLhyphen"/>ty, I once more
returned to <hi>St. James</hi>'s.</p>
<p>My good Friend Mr. <hi>Cibber</hi> was my firſt Viſitor: He
had got about four Gui<g ref="char:EOLhyphen"/>neas for me; and told me, he was aſſured, by a
Gentleman of <hi>Ireland,</hi> who frequented <hi>White</hi>'s, that my
Huſband was a Poet, and that all I had to publiſh were only ſome Trifles
I had ſtolen from him, which had greatly injured me:
<q rend="inline">"But (ſaid he) to ſet that Right, you muſt
take ſome Subject, that has never yet been touched upon, dreſs it
poetically, and ſend the Lines to <hi>White</hi>'s."</q> This was really a
hard Taſk; but as my Credit was now at Stake, I was obliged to exert
myſelf, and the next Day ſent him the following Lines.
<q>
<lg>
<head>To Mr. <hi>CIBBER.</hi>
</head>
<lg>
<l>WHEN You advis'd me, Sir, to chuſe</l>
<l>Some odd new Subject for the Muſe,</l>
<l>
<pb n="18" facs="tcp:0095100802:25"/>From Thought to Thought unpleas'd I
chang'd,</l>
<l>Thro' Nature, Art, and Science rang'd;</l>
<l>Yet ſtill could nought diſcover New,</l>
<l>Till, happily, I fix'd on You.</l>
<l>Your Stoic Turn, and chearful Mind,</l>
<l>Have mark'd You, out of all Mankind,</l>
<l>The oddeſt Theme my Muſe can find.</l>
</lg>
<lg>
<l>Like other Men, you nothing do;</l>
<l>The World's one Round of Joy to You.</l>
<l>The Wiſe, the Weak, the Sot, the Sage,</l>
<l>Your Hours can equally engage:</l>
<l>Tho' Senſe and Merit are Your Choice,</l>
<l>You can with gayeſt Fops rejoice;</l>
<l>Can taſte them all, in Seaſon fit,</l>
<l>And match their Follies, or their Wit.</l>
<l>Truth has in you ſo fix'd her Seat,</l>
<l>Not all your Converſe with the Great</l>
<l>Has yet miſled you to Deceit.</l>
<l>Your Breaſt ſo bare, ſo free from Blame,</l>
<l>Why ſure your Heart and Tongue's the ſame!</l>
</lg>
<lg>
<l>Moſt Hearts the harder grow with Years,</l>
<l>But yours yet lends th' Afflicted Tears;</l>
<l>
<pb n="19" facs="tcp:0095100802:26"/>Has Merit pin'd in Want and Grief?</l>
<l>Your bounteous Hand has brought Relief.</l>
<l>To you, where Frailty ſhades the Soul,</l>
<l>One ſhining Grace commends the whole.</l>
<l>Can no Experience make you wiſer,</l>
<l>Nor Age convert you to a Miſer?</l>
</lg>
<lg>
<l>New too in other Points I find you,</l>
<l>Where modern Wits are thrown behind you.</l>
<l>Some praiſe a Patton, and reveal him;</l>
<l>You paint ſo true, you can't conceal him:</l>
<l>Their gawdy Praiſe undue, but ſhames him,</l>
<l>While yours, by Likeneſs, only names him.</l>
<l>Not Wit, that libels, makes you grave,</l>
<l>At what you ſmile, my Senſe wou'd rave;</l>
<l>While jealous Bards by Dunces ſtung,</l>
<l>With Verſe provok'd, aveng'd the Wrong.</l>
<l>With an uncommon Candour, you</l>
<l>Such Bards more humanely ſubdue:</l>
<l>Calm and compos'd, your conſcious Spirit</l>
<l>Can celebrate with Praiſe their Merit:</l>
<l>Thus yielding conquer; for ſure Nature</l>
<l>Muſt feel ſuch Praiſe ſting worſe than
Satyr.</l>
</lg>
<lg>
<pb n="20" facs="tcp:0095100802:27"/>
<l>Still am I warm'd to ſing your Oddneſs,</l>
<l>Your Singularity in Goodneſs!</l>
</lg>
<lg>
<l>When to the Wealthy and the Great,</l>
<l>Adorn'd with Honours and Eſtate,</l>
<l>My Muſe, forlorn! has ſent her Pray'r,</l>
<l>Shunn'd were the Accents of Deſpair,</l>
<l>'Till your excited Pity ſped her,</l>
<l>And with collected Bounties fed her;</l>
<l>Chear'd her ſad Thoughts, like genial Spring,</l>
<l>And tun'd once more her Voice to ſing.</l>
<l>Bear then her grateful Notes, and be</l>
<l>Yourſelf her Theme and Harmony.</l>
<l>Cou'd ſhe, like yours, exalt her Lays,</l>
<l>Polite Artificer of Praiſe!</l>
<l>From the ſweet Song you'd jealous grow,</l>
<l>And guard the Laurel on your Brow.</l>
</lg>
<lg>
<l>If, which I know, theſe Facts are true,</l>
<l>Confeſs, at leaſt, the Verſe is new,</l>
<l>That publicly ſpeaks well of you.</l>
</lg>
</lg>
</q>
</p>
<p>This met with a very favourable Recep<g ref="char:EOLhyphen"/>tion, and Mr.
<hi>Cibber</hi> ſhewed it to all the <pb n="21" facs="tcp:0095100802:28"/> Noblemen at
<hi>White</hi>'s, as a Means to engage them to ſubſcribe to me, which, to
oblige him, many of them did; and, to make it public, Mr. <hi>Cibber</hi>
inſerted it in a Pam<g ref="char:EOLhyphen"/>phlet of his own called the <hi>Egotiſt,</hi> or
<hi>Colley upon Cibber.</hi>
</p>
<p>The next Day a pleaſant droll Gentleman, who was ſo old that
he had been Page to King <hi>James</hi> when he was Duke of <hi>York,</hi>
inſiſted on Mr. <hi>Cibber</hi>'s introducing him to me, which accordingly
he did. This Gentleman, who was a Colonel in the firſt Regiment of Foot
Guards, had by Nature all that Education gives to others; neither had his Years
in the leaſt depreſt the Vi<g ref="char:EOLhyphen"/>vacity or Gallantry of his Spirit. He ſaid a
thouſand witty Things in half an Hour, and at laſt, with as great Gravity
as his comic Face would admit of, ſaid, that he wiſhed I would take him
into Keep<g ref="char:EOLhyphen"/>ing. I anſwered, I had really never ſeen any Perſon with whom I
was better enter<g ref="char:EOLhyphen"/>tained, and, therefore, if he would make over all his real and
perſonal Eſtate to me, and diſpoſe of his Regiment, and give me the
Money, I would keep him—<pb n="22" facs="tcp:0095100802:29"/> out of it. He ſwore a good
Oath, he be<g ref="char:EOLhyphen"/>lieved me, and liked me for my Sinceri<g ref="char:EOLhyphen"/>ty.—I could relate a
Number of pleaſant Stories of this old Gentleman; but as his Wit generally
bordered on Indecen<g ref="char:EOLhyphen"/>cy, and ſometimes on Prophaneneſs, they are not proper
for a female Pen.</p>
<p>He uſed to hire me to write Love Let<g ref="char:EOLhyphen"/>ters to him, which, as a
Proof of his being a young Man, he ſhewed at <hi>White</hi>'s; Lord
<hi>W—m—th</hi> was curious to ſee the Writer; upon which he
brought his Lordſhip, and Lord <hi>Aug—ſtus F—tz
R—y,</hi> ſince dead, to viſit me. They bantered me on my Taſte, in
writing ſo many fine Things to an old Fellow, when ſo many young ones,
themſelves in particular, would be proud of them—I aſſured their
Lordſhips, I would oblige them on the ſame Terms I did the Colonel, who
always paid me hand<g ref="char:EOLhyphen"/>ſomely for my Compliments.</p>
<p>This turned all their Raillery on the Co<g ref="char:EOLhyphen"/>lonel, who with great
good Humour con<g ref="char:EOLhyphen"/>feſſed the Truth.
<q rend="inline">"Why Colonel, ſaid Lord <hi>F—z
R—y,</hi> you told us you ſup<g ref="char:EOLhyphen"/>ported <pb n="23" facs="tcp:0095100802:30"/> this
Lady."—</q>
<q rend="inline">"Ay, returned he, but you know I am an old
Lyar."</q>
</p>
<p>The Noblemen inſiſted on my telling them how much a piece the
Colonel gave me for writing Billetdoux to him. The Colonel anſwered, that his
Money had been fatal to my Family; for that he had lent my Uncle Colonel
<hi>Mead</hi> twenty Guineas one Night at the Groom Porters, who died the next
Morning of an Apoplectic Fit; and ſo, ſaid he,
<q rend="inline">"out of pure Af<g ref="char:EOLhyphen"/>fection to my dear little one
here, I am very cautious how I give her any; be<g ref="char:EOLhyphen"/>ſides, added he, very archly,
I could not be convinced of the Sincerity of her Paſſion for me, if ſhe
made any De<g ref="char:EOLhyphen"/>mands on my Pocket."</q>
</p>
<p>Lord <hi>W—m—th</hi> aſked me, how I approved of
this Doctrine? I anſwered, the Colonel, had ſo genteel and witty a manner
of excuſing his Avarice, that ſhould he ever grow generous, we ſhould
loſe a thouſand Pleaſantries.</p>
<p>Each of the Noblemen gave me a Guinea, by way of Subſcription to
my Poems; they preſſed hard on the Colonel <pb n="24" facs="tcp:0095100802:31"/> for his
Contribution, which, for the Rea<g ref="char:EOLhyphen"/>ſons aforeſaid, he abſolutely
refuſed.</p>
<p>This gave Occaſion to the following Lines; which, leſt the
Colonel ſhould not communicate, I incloſed to Lord
<hi>F—z-R—y.</hi>
<q>
<lg>
<head>To the Hon. Colonel <hi>D—NC—BE.</hi>
</head>
<lg>
<l>SINCE ſo oft to the Great of my Favours you boaſt,</l>
<l>When, you know, you enjoy'd but ſome Kiſſes at
moſt;</l>
<l>And thoſe, as you ſay, never ought to be ſold,</l>
<l>For Love's too divine, to be barter'd for Gold.</l>
<l>Since this is your Maxim, I beg a Re<g ref="char:EOLhyphen"/>ceipt,</l>
<l>To know, how without it a Lover can eat.</l>
<l>For tho' the fine Heroes, we read in Ro<g ref="char:EOLhyphen"/>mances,</l>
<l>Subſiſted whole Weeks upon amorous Fancies;</l>
<l>
<pb n="25" facs="tcp:0095100802:32"/>And yet were ſo ſtrong, if thoſe
Writers ſay true,</l>
<l>That Dragons, and Giants, ſome thou<g ref="char:EOLhyphen"/>ſands they
ſlew;</l>
<l>Thoſe Chiefs were of Origin ſurely divine!</l>
<l>And deſcended from <hi>Jove,</hi> as direct as a
Line.</l>
<l>But in our corrupted, degenerate Days,</l>
<l>We find neither Heroes, nor Lovers, like theſe:</l>
<l>Our Men have ſcarce Courage to ſpeak to a Laſs,</l>
<l>'Till they've had a full Meal, and a chir<g ref="char:EOLhyphen"/>rupping
Glaſs;</l>
<l>And ſo much in myſelf of the Mortal I find,</l>
<l>That my Body wants Diet, as well as my Mind.</l>
</lg>
<lg>
<l>Now, pray, Sir, conſider the Caſe of your
Miſtreſs,</l>
<l>Who neither can kiſs, nor write Verſes, in
Diſtreſs:</l>
<l>For <hi>Bacchus,</hi> and <hi>Ceres,</hi> we frequently
prove,</l>
<l>Are Friends to the Muſes, as well as to Love.</l>
</lg>
</lg>
</q>
</p>
<p>
<pb n="26" facs="tcp:0095100802:33"/>Lord <hi>A—ſtus</hi> did not fail to
ſhew the Lines to all the Noblemen at <hi>White</hi>'s, who heartily bantered
the Colonel on his Gene<g ref="char:EOLhyphen"/>roſity to his Miſtreſs.</p>
<p>The next Day, as I was ſprinkling ſome Flower-pots, which
ſtood on very broad Leads, under the Dining-room Window, Colonel
<hi>D—nc—be,</hi> the Duke of <hi>B—lt—n,</hi> and the
Earl of <hi>W—nch—ea</hi> ſtood filling out Wine, and drinking to
me: So I took up the Pen and Ink, full in their View; and, as I was not
acquainted with any of them, except the Colonel, I ſent over to him theſe
Lines:
<q>
<lg>
<l>YOUR roſy Wine</l>
<l>Looks bright and fine;</l>
<l>But yet it does not chear me:</l>
<l>The Cauſe I gueſs,</l>
<l>Is ſurely this,</l>
<l>The Bottle is not near me.</l>
</lg>
<lg>
<l>You ſhew that Sight,</l>
<l>To give Delight,</l>
<l>If I may truly judge ye:</l>
<l>But would ye move</l>
<l>My Wit, or Love,</l>
<l>I beg, Sir, I may pledge ye.</l>
</lg>
</q>
</p>
<p>
<pb n="27" facs="tcp:0095100802:34"/>Lord <hi>W—nch—ea</hi> bid the
Colonel ſend me all the Wine in the Houſe:
<q rend="inline">"Ah! (ſaid the Colonel) that might in<g ref="char:EOLhyphen"/>jure her
Health, but I will ſend her one Bottle of <hi>Burgundy,</hi> to chear her
Spirits."</q> Accordingly the Waiter brought it; the Noblemen all gathered to
the Window, ſo he filled me out a Glaſs, which, mak<g ref="char:EOLhyphen"/>ing them a low
Reverence, I drank, and retired.</p>
<p>But the Colonel, reſolving to have Share, quickly followed his
Bottle; he came in a deſperate ill Temper; curſed the K—g, D—
of <hi>C—l—d,</hi> the whole M—y, and me into the Bargain. I
aſked him, whether giving me a Bottle of Wine had grieved him ſo much? He
ſaid, No; but that he had been fifty Years in the Army, and was but
Lieute<g ref="char:EOLhyphen"/>nant-Colonel; and that the D— of <hi>C—l—d</hi> had
put a young Fellow over his Head. He pulled down his Stocking, and ſhewed me
where he had been ſhot through the Leg at the Siege of <hi>Liſle</hi>; then
he opened his Boſom, on <pb n="28" facs="tcp:0095100802:35"/> which he had ſeveral
honourable Scars, and ſwore heartily, that, were it not in a Time of War, he
would throw up his Commiſſion. I could not but agree, that his Reſentment
had but too juſt a Foun<g ref="char:EOLhyphen"/>dation;
<q rend="inline">"But, dear Sir, I had no hand in all this."</q>
<q rend="inline">"No; (ſaid he) but I did not know any Perſon,
to whom I could ſpeak my Mind freely, or who would bear my Peeviſhneſs,
but you."</q>
<q rend="inline">"Well, Sir, (ſaid I) an you were as pee<g ref="char:EOLhyphen"/>viſh
as an Emperor, I'll bear it all, ſince you pleaſe to beſtow it on
me.—But I believe we had as good drink our <hi>Burgundy,</hi> and we will
new model the Government according to our Fancies."</q> He ſat very
penſive, ſaid his Head aked, then roſe in a ſurly Sort of a manner, and
went over to <hi>White</hi>'s.</p>
<p>Whether any thing he had met with there pleaſed him, I know not,
but about Nine at Night, as I ſat writing, I heard his Voice on the Stairs,
crying,
<q rend="inline">"Poke after me, my Lord, poke after me."</q> So I
bid my Maid, light the Colonel up: He brought with him his Grace of
<pb n="29" facs="tcp:0095100802:36"/>
<hi>M—lb—gh,</hi> a lovely Gentleman; he
preſented him to me, by his Title, which was honoured by his wearing it. The
D— ſaluted me; but what ſhall I now ſay! I think my boaſted
Conſtancy of Mind quite forſook me; I trembled at his Touch, and, though I
knew not why, was more diſordered at Sight of him, than ever I had been
before in my Life. The Colonel aſked me, what was the Matter? I ſaid, I
believed I had drank too much Tea, which, joined to the unex<g ref="char:EOLhyphen"/>pected Honour he
had now conferred on me, put me into a little Flutter.</p>
<p>His Grace laid hold of my Hand, and kiſſed it, ſaying, it
was the ſweeteſt Thing in Nature, to put a Lady into a little Hurry of
Spirits,
<q rend="inline">"and ſo, ſaid he, Colonel, I ſhall meet you
at <hi>White</hi>'s, either to-night or to-morrow Morn<g ref="char:EOLhyphen"/>ing; for I have a mind
to have a little Chat with this Lady alone."</q> The Colonel knew his Duty too
well to diſobey a <hi>M—lb—gh,</hi> and left us, wiſhing his
Grace Succeſs.</p>
<p>
<pb n="30" facs="tcp:0095100802:37"/>Now, indeed, for the firſt Time, I was
afraid of myſelf; but was infinitely more ſo, when his Grace told me, he
had learned from the Colonel, that I was in ſome Diſtreſs, and, opening
his Pocket-Book, preſented me with a Bank Note on Sir <hi>Francis Child</hi>
for Fifty Pounds.</p>
<p>This was the Ordeal, or fiery Trial; Youth, Beauty, Nobility of
Birth, and unſought Generoſity, attacking at once the moſt deſolate
Perſon in the World. His Grace, I believe, gueſſed at my
Ap<g ref="char:EOLhyphen"/>prehenſions, by the Concern which was but too viſible in my Countenance,
and generouſly aſſured me, that he was above making any hard Conditions,
that I might look up with Chearfulneſs, and not rivet my Eyes to the Floor,
but conſider him as a ſincere and diſintereſted Friend.</p>
<p>This quite revived me, and gave me an unuſual Flow of Spirits,
which highly pleaſed my illuſtrious Benefactor: He de<g ref="char:EOLhyphen"/>ſired I would write
ſomething merry to the Colonel, who, at his Departure, charged me not to
wrong his Bed. So to pleaſe his Grace, and alſo to convince him I
<pb n="31" facs="tcp:0095100802:38"/> could write, I gave him, in about ten Minutes, the
following Lines.
<q>
<lg>
<l>
<hi>STREPHON</hi> to-night his <hi>Chloe</hi> told,</l>
<l>He had the Head-ach, and grew old;</l>
<l>Tho' well ſhe knew her artful Swain</l>
<l>But counterfeited Age and Pain,</l>
<l>To hide his cold declining Paſſion,</l>
<l>His Want of Love and Inclination;</l>
<l>For <hi>Chloe</hi>'s Face, ſo often ſeen,</l>
<l>Put her poor <hi>Strephon</hi> in the Spleen;</l>
<l>Nor could her Wit, or Neatneſs pleaſe him,</l>
<l>Or all her Smiles or Prattle raiſe him:</l>
<l>He left the penſive Nymph alone,</l>
<l>His painful Abſence to bemoan.</l>
</lg>
<lg>
<l>
<hi>Strephon</hi> beware, leſt in return,</l>
<l>With a new Flame your <hi>Chloe</hi> burn;</l>
<l>Conſider I have <hi>Sp—n—r</hi> ſeen,</l>
<l>And quickly lay aſide your Spleen;</l>
<l>Or, by the God of Verſe, I vow,</l>
<l>With Antlers I'll adorn your Brow;</l>
<l>No City Knight ſhall boaſt a Pair</l>
<l>More large, more branching, or more fair:</l>
<l>
<pb n="32" facs="tcp:0095100802:39"/>Their Horns are gilt, but yours ſhall
be</l>
<l>As naked as a blaſted Tree.</l>
</lg>
<lg>
<l>So, Sir, no more of your Deception,</l>
<l>For I am bleſt with quick Perception;</l>
<l>
<hi>Phoebus</hi> has given me piercing Eyes,</l>
<l>To look thro' Falſhood and Diſguiſe;</l>
<l>Then lay aſide this little Art,</l>
<l>I have, and I will keep your Heart.</l>
</lg>
</q>
</p>
<p>His Grace was very well pleaſed with my Gaity, and undertook to
deliver the Letter himſelf; ſo we parted, each of us, I believe,
ſatisfied with ourſelves, and our own Conduct.</p>
<p>I know at leaſt I was; for upon calling my Heart to account for
the Trouble it had given me, I found by the Symptoms, there was ſomething
very like Love had ſeized it.</p>
<p>The Colonel came in the Morning, and brought with him Mr.
<hi>Tr—v—r,</hi> Brother to the D—ſs of
<hi>M—lb—gh,</hi> whom he introduced to me, and then merrily
aſked me, if I was going to re<g ref="char:EOLhyphen"/>ward his conſtant tender Flame, with a
<pb n="33" facs="tcp:0095100802:40"/> great ſtaring Pair of Horns? I told him he deſerved
them for his ill Temper; but, however, as he made me full amends by the Honour
of making me known to ſo great and good a Man as he had recom<g ref="char:EOLhyphen"/>mended me to, I
would take ſome Time to conſider of the Matter.</p>
<p>Mr. <hi>Tr—v—r</hi> deſired to know which of the
<hi>Sp—n—r</hi>'s it was, I threatned the Colonel with? I told him,
I wrote any thing by way of Amuſement; but either of them would ſerve my
Turn.</p>
<p>The Colonel called me a merry Madcap; Mr.
<hi>Tr—v—r</hi> aſſured me, he was at my Service, and would
horniſy the Colonel whenever I pleaſed. I told him, I was ob<g ref="char:EOLhyphen"/>liged to him
for his kind Offer, and would certainly apply to him, if I found myſelf in
any Diſtreſs; and in the mean Time, I hoped, as an earneſt of his future
Favour, he would be ſo kind as to ſubſcribe to my Poems, which
accordingly he did.</p>
<p>My Readers may now imagine, I was in a fair Way of growing rich;
but, in<g ref="char:EOLhyphen"/>deed, it was far otherwiſe, as I paid a Gui<g ref="char:EOLhyphen"/>nea a Week for my
Lodging, kept a Ser<g ref="char:EOLhyphen"/>vant, <pb n="34" facs="tcp:0095100802:41"/> was under a Neceſſity of
being always dreſſed, and had beſides ſo many diſtreſſed
Perſons of my own Country, who did me the Honour to take a Dinner with me,
and, in return for my Eaſineſs, ſaid every thing of me which they thought
could injure, or expoſe me; that being naturally liberal, and, till I
heartily ſuffered for my Folly, no very great Oeconomiſt, I rather ran out
than ſaved.</p>
<p>And, as I have thrown ſome Sort of Reflection on the
<hi>Engliſh,</hi> I muſt beg leave to be equally free with my own Country
Folks. Take Notice, I except the Nobility and Gentry of each Kingdom, who, I
real<g ref="char:EOLhyphen"/>ly believe, in Honour, Valour, or Genero<g ref="char:EOLhyphen"/>ſity of Spirit, are not be
matched in any Part of the habitable Globe. Yet, partial as I may be to my
native Country, the <hi>Engliſh</hi> and <hi>Iriſh</hi> ſeem to have
different Characteriſtics: The lower Part of the People of <hi>England</hi>
are blunt and honeſt; the lower Part of the People of <hi>Ireland,</hi> civil
and deceitful: Nor did I ever ſuffer in <hi>England,</hi> either in point of
Fortune or <pb n="35" facs="tcp:0095100802:42"/> Reputation, but either by the Thefts, or the
Tongues of the <hi>Iriſh.</hi>
</p>
<p>My Landlady came up one Morning very chearful, and told me her
Daughter's Huſband, Dr. <hi>T—rn—ll,</hi> who had not been to
ſee her for two Years, on account of ſome Difference they had, told her he
would, as he was to preach at <hi>St. James</hi>'s Chapel next Day, (being one
of the Chap<g ref="char:EOLhyphen"/>lains to his Royal Highneſs the Prince of <hi>Wales</hi>) take up
his Lodging in her Houſe that Night. I congratulated hereupon it; but
obſerving by her Looks that ſhe was under ſome Uneaſineſs, I aſked
her the Cauſe of it; after ſome Heſitation, and a Number of Apologies,
ſhe told me, ſhe had no Accommodation for him, but by giving him her own
Bed, and begged I would, for a Night, give her leave to ſleep with me and my
Maid, to which I readily con<g ref="char:EOLhyphen"/>ſented; but recollecting what a miſerable Bed
ſhe had, in a dark Cloſet, very unfit for a Gentleman to lie in, I told
her, I would, with great Pleaſure, leave my A<g ref="char:EOLhyphen"/>partment for the Doctor, which
was, as may be preſumed by the Price, a genteel <pb n="36" facs="tcp:0095100802:43"/> one, and
for a Night take up my Reſi<g ref="char:EOLhyphen"/>dence with her. She ſeemed overjoyed at the
Propoſal, and as I had ſome little Trifle to buy, I went out, and did not
return till about Six in the Evening; ſo not meeting any body in the Way
below Stairs, I went up to my own Apartment, where I found the Doctor reading,
and the old Gentle<g ref="char:EOLhyphen"/>woman faſt aſleep.</p>
<p>I begged pardon for my Intruſion, and the old Dame told him how
much he was indebted to my Complaiſance in quitting my Apartment to oblige
him with it. I could have wiſhed, ſhe had been ſilent in this particular;
for as ſhe had not apprized him of it before, he was too polite to ſuffer
it, nor could any Entreaties of mine prevail on him to accept my Offer.</p>
<p>Preſently after, being gone down Stairs, he ſent his
Compliments up, and begged I would lend him a Book to amuſe him<g ref="char:EOLhyphen"/>ſelf till
Bed-time, ſo being willing to cul<g ref="char:EOLhyphen"/>tivate the good Opinion he ſeemed to have
conceived of me, I ſent him my own Po<g ref="char:EOLhyphen"/>ems in Manuſcript, which, pardon my
Vanity, did not fail to confirm it.</p>
<p>
<pb n="37" facs="tcp:0095100802:44"/>The next Day, which was <hi>Sunday,</hi> as
ſoon as Afternoon Service was over, he very kindly paid me a Viſit, and
ſeemed ſo well pleaſed with my Prattle, that it was Midnight before
either of us thought of Repoſe: But I do aſſure my Readers his
Mother-in-law kept us Company.</p>
<p>He entertained me with an Account of whatever he had met with
curious in his Travels: His Remarks on every Subject were delivered with
Modeſty and Judgment, in a flowing and elegant Style. He was ſo kind to
promiſe me the Favour of taking a Diſh of Coffee with me in the Morning,
which produced a merry Adventure.</p>
<p>The Noblemen at <hi>White</hi>'s, having heard that I was married
to a Clergyman, and ſeeing one walking to and fro in my Din<g ref="char:EOLhyphen"/>ing-room,
ſuppoſed it muſt be the very identical Parſon, and that he was come to
make up Matters with me; ſo none of them would venture over, leſt it
ſhould incur his Diſpleaſure againſt me; but Colonel
<hi>D—nc—be,</hi> whoſe Curioſity was up, re<g ref="char:EOLhyphen"/>ſolved at a
Diſtance to reconnoitre the <pb n="38" facs="tcp:0095100802:45"/> Ground, and bring them a
faithful Account of the Enemy's Situation, for ſo he ſtiled the
Parſon.</p>
<p>There was a very grand Milliner's Shop next Door to my Lodging,
from whence I received a Meſſage, that a Lady, juſt come from
<hi>Ireland,</hi> deſired to ſpeak with me; upon which I immediately went,
full of Hope to receive ſome Account of my Children: I there found the
Colonel, who told me, he was the Lady; and, with his uſual Gaity, added, that
if I queſtioned his Sex, I need but permit him to be my Bedfellow for a Week,
and I ſhould never know any thing to the contrary.</p>
<p>I anſwered, I really believed him; in<g ref="char:EOLhyphen"/>aſmuch as I had known a
Gentleman, young enough to be his Grandſon, who had lived with me in all the
peacable Innocence of a Man of Threeſcore, like a civil careleſs Huſband,
as he was.</p>
<p>As the Colonel was acquainted with my Hiſtory, he laughed
heartily, and ſaid,
<q rend="inline">"He muſt be ſome damned Parſon, for nobody
(ſaid he) but one belonging to <pb n="39" facs="tcp:0095100802:46"/> the Church could have had
half that Continency. But, my dear little one, (for that was the Name he always
called me), I have ſome News to tell you; I deſire you may bruſh up your
Counte<g ref="char:EOLhyphen"/>nance, your Fire, and yourſelf, becauſe you are likely to have
ſome very grand Viſitors to-morrow; no leſs than Mr.
<hi>St—h—e,</hi> the Earl of <hi>W—nch—ea,</hi> and his
Brother Mr. <hi>F—ch.</hi>"</q>
</p>
<p>The Colonel then told me the Reaſon of his ſending for me in
that manner was, that he had obſerved a Paſon walking in my Room; and
aſked, who it was? I told him, it was Dr. <hi>T—bull,</hi> no way
re<g ref="char:EOLhyphen"/>lated to me.</p>
<p>As this Adventure with the Clergyman afforded great Matter of
Diverſion at <hi>White</hi>'s, I cannot help here relating ano<g ref="char:EOLhyphen"/>ther. I was in
very great Diſtreſs, and was adviſed to apply to the then Lord
Archbiſhop of <hi>York,</hi> now, by the Grace of God, Lord Archbiſhop of
<hi>Canterbury</hi>; I ſay, by the Grace of God, becauſe I be<g ref="char:EOLhyphen"/>lieve he
never was yet excelled by any of the primitive Biſhops; a Perſon, in whom
<pb n="40" facs="tcp:0095100802:47"/> the Beauty of Holineſs fully appears. I went to his
Houſe, in <hi>Kenſington-ſquare,</hi> and, to my infinite Surprize, had
free Ac<g ref="char:EOLhyphen"/>ceſs to his Grace, without even a Queſtion being aſked: I
preſented him with the fol<g ref="char:EOLhyphen"/>lowing Lines.</p>
<p>This Poem was written juſt at the Begin<g ref="char:EOLhyphen"/>ning of the Rebellion,
in which his Grace, like a true Son of the Church militant, had nobly taken up
Arms in the Defence of Liberty, Property, and the Proteſtant Reli<g ref="char:EOLhyphen"/>gion.</p>
<p>Having been obliged to the Right Ho<g ref="char:EOLhyphen"/>nourable <hi>Henry
Pelham,</hi> I thought it not improper to include two ſuch great and eminent
Perſons in one Poem, which was as follows:
<q>
<lg>
<head>To his Grace the Lord Archbiſhop of
<hi>YORK.</hi>
</head>
<lg>
<l>AS God, who now does, as in Times of old,</l>
<l>His high Beheſts to righteous Men unfold;</l>
<l>And from thick Miſts, purging the viſual Ray,</l>
<l>Beams on his choſen Sons celeſtial Day;</l>
<l>
<pb n="41" facs="tcp:0095100802:48"/>Late to the pious Prelate, YORK,
re<g ref="char:EOLhyphen"/>veal'd,</l>
<l>What from the Sons of <hi>Belial</hi> lay con<g ref="char:EOLhyphen"/>ceal'd;</l>
<l>The Many, flown with Inſolence and Wine,</l>
<l>Unfit, ſuch Ears, to hear of Things Di<g ref="char:EOLhyphen"/>vine.</l>
</lg>
<lg>
<l>Behold, oh choſen Meſſenger of Grace!</l>
<l>Said God, the Wickedneſs of human Race!</l>
<l>
<hi>Britain,</hi> behold, my once-lov'd fav'rite
Iſle,</l>
<l>Lo, all Impurities her Face defile!</l>
<l>Why are there Pray'rs, or public Faſts proclaim'd?</l>
<l>My Pow'r is mock'd at, and my Word blaſphem'd;</l>
<l>Think they, vile Worms! with Arts, or gloſſing
Lines,</l>
<l>To 'ſcape my Vengeance, or deceive my Eyes?</l>
<l>No; as to Idol Luſts their Bodies bow,</l>
<l>So ſhall their Limbs the foreign Fields be<g ref="char:EOLhyphen"/>ſtrew,</l>
<l>
<pb n="42" facs="tcp:0095100802:49"/>Nay, ev'n the proud Metropolis,
ſhall feel</l>
<l>The red-hot Vengeance, and the mur<g ref="char:EOLhyphen"/>d'rous Steel.</l>
</lg>
<lg>
<l>Then, holy YORK, the Lord of Life beſpoke:</l>
<l>Oh, gracious God! this dread Decree re<g ref="char:EOLhyphen"/>voke;</l>
<l>Wilt Thou, with Wiſdom, Juſtice, Mercy crown'd,</l>
<l>Alike the Virtuous and the Vile con<g ref="char:EOLhyphen"/>found?</l>
<l>Twenty, perhaps, in <hi>Britain</hi> may'ſt Thou
find,</l>
<l>Who keep thy Laws, and write them on their Mind;</l>
<l>All, ſure, ſhall periſh, by thy mighty Word,</l>
<l>But wilt Thou ſpeak in Wrath?—far be it from Thee,
Lord.</l>
<l>To him, JEHOVAH: By Myſelf, I ſwear,</l>
<l>For Twenty's Sake, the Kingdom will I ſpare.</l>
<l>Oh, be not angry, while I plead again,</l>
<l>Perhaps not Twenty may be found, but Ten;</l>
<l>
<pb n="43" facs="tcp:0095100802:50"/>Ten Men, whom no Temptation can
ſub<g ref="char:EOLhyphen"/>due,</l>
<l>True to Religion, to it's Altars true.</l>
<l>To him, JEHOVAH: As thy Soul doth live,</l>
<l>Find me but One, and <hi>England</hi> I forgive.</l>
</lg>
<lg>
<l>View then, oh Lord! yon Miniſter of State,</l>
<l>See him, in ev'ry Action Good and Great;</l>
<l>Stemming Corruption with an out<g ref="char:EOLhyphen"/>ſtretch'd Hand;</l>
<l>Who, but Himſelf, the Torrent can withſtand?</l>
<l>See Him, like <hi>Nile,</hi> diffuſing Bounty round,</l>
<l>To bleſs a barren, an ungrateful Ground;</l>
<l>Thro' various Channels, Pleaſure to impart,</l>
<l>To raiſe the Fall'n, to chear the dying Heart;</l>
<l>Too oft, alas! in the tranſlucent Wave</l>
<l>Do Crocodiles and wily Serpents lave,</l>
<l>Studious to poiſon the delightful Stream,</l>
<l>Which unpollute flows on;—and mindful whence it
came,</l>
<l>
<pb n="44" facs="tcp:0095100802:51"/>Conſcious of Thee, it's ſacred
hidden Source,</l>
<l>To re-unite thy Bounty, bends it's Force.</l>
</lg>
<lg>
<l>Wiſely thou ſpeak'ſt, the living Lord reply'd,</l>
<l>Nor be thou, righteous Advocate, de<g ref="char:EOLhyphen"/>ny'd;</l>
<l>Superior Worth arreſts the lifted Rod,</l>
<l>So dear is Virtue in the Sight of God;</l>
<l>Nor will I Vengeance on the Guilty take,</l>
<l>But <hi>England</hi> ſpare, for YORK and PELHAM's
Sake.</l>
</lg>
</lg>
</q>
</p>
<p>I told the Servant, when I delivered them, it was not a Petition:
He ſaid, if it were, his Grace never refuſed one; and ſhewed me into a
handſome Drawing-Room. In a few Minutes, his Grace en<g ref="char:EOLhyphen"/>tered, with a ſweet
and placid Air; but looked ſo young, that I never once ima<g ref="char:EOLhyphen"/>gined him to be
the Archbiſhop, having joined the aſſociate Idea of Wrinkles, Ava<g ref="char:EOLhyphen"/>rice,
and Pride, to that Title,—in which I found myſelf, happily for once,
miſta<g ref="char:EOLhyphen"/>ken. As it was early in the Morning, he <pb n="45" facs="tcp:0095100802:52"/> ſaid, he
was ſure I had not breakfaſted, and bid one of the Servants bring ſome
Tea, and deſire his Couſin to come, and keep the Lady Company: As it was
near half an Hour before I ſaw her, his Grace aſked me, who I was? I
anſwered, which was Truth, I was a Gentleman's Daugh<g ref="char:EOLhyphen"/>ter, of the Kingdom of
<hi>Ireland</hi>; that I had, when I was very young, been married to a
Clergyman; that I had three Children living. His Grace, taking it for granted,
that I was a Widow, which Miſtake it was, by no Means, my Intereſt to clear
up, demanded of me, what I had to ſup<g ref="char:EOLhyphen"/>port us? I anſwered, Nothing but
Po<g ref="char:EOLhyphen"/>etry. He ſaid, that was a Pity; becauſe, let it be ever ſo excellent,
Genius was ſel<g ref="char:EOLhyphen"/>dom rewarded, or encouraged; I very gayly repeated the Dean's
Lines:
<q>
<l>What Hope of Cuſtom in the Fair,</l>
<l>When not a Soul demands the Ware?</l>
<l>When you have nothing to produce,</l>
<l>For private Life, or public Uſe.</l>
<bibl>Swift's Rhapſody.</bibl>
</q>
<pb n="46" facs="tcp:0095100802:53"/> His
Grace could not avoid ſmiling, as he plainly perceived by the Chearfulneſs,
and Freedom of my Behaviour, and by my only ſaying, Sir, to him, that I was
igno<g ref="char:EOLhyphen"/>rant of his Dignity. But the Entrance of his Relation, a well-bred Lady,
of about fifty Years of Age, who, as his Grace is a Batchelor, managed his
domeſtic Affairs, threw me into inconceivable Confuſion, as I then plainly
perceived I had been very familiarly chatting with ſo great a Man.</p>
<p>I made my Apology in the beſt Man<g ref="char:EOLhyphen"/>ner I could; and, as he was
truly ſenſible that I neither intended or meant Diſre<g ref="char:EOLhyphen"/>ſpect to him, he
eaſily pardoned me: But, as we drank Tea, ſaid, he wiſhed my Miſtake
had but continued a little longer, that he might have had the Pleaſure of
hearing me unawed and uncontrolled. I own I was quite abaſhed at ſo odd a
Cir<g ref="char:EOLhyphen"/>cumſtance, for while I imagined his Grace to be perhaps a Chaplain to the
Lord Archbiſhop of <hi>York,</hi> I ſaid any thing without Reſerve; but,
of a ſudden, found my Spirits fail, which brought <hi>Shakeſpear</hi>'s
Lines into my Mind:
<q>
<pb n="47" facs="tcp:0095100802:54"/>
<l>And what have Kings, that Privates have not too,</l>
<l>Save Ceremony, general Ceremony?</l>
<l>And what are thou, thou Idol Ceremony?</l>
<l>What kind of God art thou, that ſuffereſt more</l>
<l>Of mortal Griefs, than do thy Worſhip<g ref="char:EOLhyphen"/>pers;</l>
<l>What are thy Rents? What are thy Comings in?</l>
<l>Oh Ceremony! ſhew me but thy Worth:</l>
<l>What is thy Soul of Adoration?</l>
<l>Art thou aught elſe, but Place, Degree, and Form;</l>
<l>Creating Fear and Awe in other Men?</l>
<l>Wherein thou art leſs happy, being fear'd,</l>
<l>Than they in fearing thee.</l>
</q> His Grace was ſo humane,
to make me a handſome Preſent at my Departure, and aſſured me, he would
always be a Friend to me.</p>
<p>However, I did not make a ſecond Ap<g ref="char:EOLhyphen"/>plication to him, 'till
ſuch Time as the Royal Bounty is to be petitioned for, <pb n="48" facs="tcp:0095100802:55"/>
is at <hi>Chriſtmas,</hi> though it is not diſtributed 'till
<hi>Eaſter.</hi> As I knew, at that Seaſon of the Year, it was
impoſſible for me to be at <hi>Kenſington,</hi> e'er his Grace would be
at <hi>Weſtminſter,</hi> I waited at the Door of the Robing-Room, 'till I
was almoſt frozen, holding a Petition, incloſed in a Letter, in my Hand; a
Gentleman, who is Door-keeper to the Houſe of Lords, taking Compaſſion on
me, told me, I had better come into the Lobby, an Offer I readily accepted of,
and ſat down in a Window: There were ſeveral Noblemen, moſt of whom knew
me by Sight, walking in it, as the Houſe was not yet met. The firſt Prelate
who entered, was the Lord Biſhop of <hi>Norwich,</hi> a venerable Gentleman,
whoſe graceful grey Hairs the Hand of Time had ſilvered: As he paſt by, I
made him a Courteſy, on which he ſtopt, and, with great Civility, aſked
me if that Letter was for him; I anſwered, it was for his Grace of
<hi>York</hi>; on which, he very kindly wiſhed me Succeſs. His Grace next
entered, and with his wonted Goodneſs aſked me, where I had been? Adding,
that it had <pb n="49" facs="tcp:0095100802:56"/> been a great Loſs to me, that he did not
know where to find me; and accepting of my Letter, ſaid, he hoped I had there
given him a proper Direction; ſo bowing, as faſt as I courteſied, he went
to take his Seat at the Right Hand of that Power he had ſo nobly ſupported;
and, no doubt, will, at the laſt great Day, having truly approved himſelf
<hi>Chriſt</hi>'s faithful Soldier and Champion, fighting under the ſacred
Banners of the Captain of his Salvation, hear thoſe comfortable Words,
<hi>Well done, thou good and faithful Servant, enter thou into the Joy of thy
Lord.</hi>
</p>
<p>As the Earl of <hi>Ch—ſter—ld</hi> heard every Word
his Grace ſpoke to me, he made himſelf very merry at <hi>White</hi>'s,
telling Mr. <hi>Cibber,</hi> and Colonel <hi>D—nc—be,</hi> that I
was true to the Gown, and delivered a Billet-doux to the handſomeſt,
politeſt, and braveſt Prelate in <hi>Europe</hi>; that I had given him a
Direction where to find me, and highly applauded my Choice.</p>
<p>But no Virtue is above the Reach of a little pleaſant Raillery;
and as ſome of the Noblemen demanded an Explanation <pb n="50" facs="tcp:0095100802:57"/> of
this Affair, I with my uſual Sincerity, told them the Truth; on which they
all agreed in praiſing his Beneficence and Af<g ref="char:EOLhyphen"/>fability, and the handſome
Manner in which he beſtowed his Bounties.</p>
<p>I hope, if theſe <hi>Memoirs</hi> ſhould ever fall into his
Grace's Hands, who is an uni<g ref="char:EOLhyphen"/>verſal Reader, he will pardon me for uſing his
Name, which I ſhall never do, but with the utmoſt Reſpect and
Gratitude.</p>
<p>As I had imagined his Grace to be Lord High Almoner, I
addreſſed him as ſuch, and waited on him again at
<hi>Weſt<g ref="char:EOLhyphen"/>minſter</hi>; his Grace told me, the B—p of
<hi>S—y</hi> had been ſo kind to accept of my Petition, and that I
muſt wait on him the next Morning, at his Houſe in the <hi>Temple:</hi> So
accordingly, I went, in full Spirits, imagining, on the Recommenda<g ref="char:EOLhyphen"/>tion of ſo
excellent a Perſon, I ſhould both have a civil Reception, and alſo my
Deſire anſwered.</p>
<p>It ſnowed very faſt, and I knocked ſe<g ref="char:EOLhyphen"/>veral Times, e'er I
could gain Admiſ<g ref="char:EOLhyphen"/>ſion; at length, an old Porter ventured to turn the
unoiled Hinges a little, which <pb n="51" facs="tcp:0095100802:58"/> grated very harſhly, and
ſeemed to par<g ref="char:EOLhyphen"/>take of the Spirit of their unhoſpitable Maſter, who,
according to my Country<g ref="char:EOLhyphen"/>man's Bull, opened the Door to keep the People out, for
this was fully verified here; he aſked me, what I knocked ſo often for? and
being, I ſuppoſe, doubtful that I might ſteal one of the Oak Chairs in
the Hall, ſhut it again in my Face; the Inclemency of the Air, and the
Vexa<g ref="char:EOLhyphen"/>tion of my Mind, made me give a thun<g ref="char:EOLhyphen"/>dering Rap, the Door was once more
opened, and I aſſured the Porter, if he would be ſo kind as to deliver
that Letter for me to his Lord, to whom I was re<g ref="char:EOLhyphen"/>commended by his Grace of
<hi>York,</hi> I would give him Half a Crown, which Promiſe of a Perquiſite
ſoftened him into Conſent, for, as Mr. <hi>Gay</hi> obſerves,
<q>
<l>This Reaſon with all is prevailing.</l>
</q>
</p>
<p>He took the Letter into the Parlour, when preſently an old Man,
with a moſt unprelatical Countenance, for it was full of Carbunckles, and
Knobs, and Flames of <pb n="52" facs="tcp:0095100802:59"/> Fire, came out, with my Letter in his
Hand, and, with an imperious Voice, de<g ref="char:EOLhyphen"/>manded of me, whether I wrote it? As the
Times were full of Violence and Blood, it being, as I obſerved, at the
Beginning of the late Rebellion, I ſtood confounded, and knew not what
Anſwer to make; which he obſerving, aſked me, was my Name <hi>Meade?</hi>
To which, an<g ref="char:EOLhyphen"/>ſwering in the affirmative, he cried,
<q rend="inline">"Yow are a Foreigner, and we have Beggars enow of
our own:"</q>
<q rend="inline">"No, my Lord, returned I, I was born in
<hi>Ireland,</hi> which is not a foreign Country, but equally a Part of his
Majeſty's Dominions with <hi>Great-Britain:</hi>"</q>
<q rend="inline">"Why, ſaid he very politely, you lye; but as you
ſay yow are in Diſtreſs, there's Half a Crown for yow:"</q> I thanked his
Lordſhip, and turning to the Porter told him, as I had given him ſome
Trouble, I hoped he would accept of that Part of the Royal Bounty, which had
been promiſed to me; his Lordſhip was pleaſed to tell me, I was a
ſaucy, proud, impertinent Perſon; which, <pb n="53" facs="tcp:0095100802:60"/> having
neither any farther Hopes or Fears about him, I little regarded.</p>
<p>All the Way Home, as cold as it was, and as much vexed as I was at
the old Br—te's Behaviour, I could not avoid laughing at his odd Figure,
ſo much re<g ref="char:EOLhyphen"/>ſembling that of the <hi>Spaniſh</hi> Friar, where
<q>His great Belly ſwaggered in State before him, and his little
gouty Legs came limping after; oh, he is a huge Tun of Divinity! and were he
any way given to Holineſs, I would ſwear by his Face; my Oath ſhould be,
By this Fire; but he is indeed, but for the Fire in his Face, the Son of utter
Dark<g ref="char:EOLhyphen"/>neſs; oh! he is a perpetual Triumph, an everlaſting Bonſire!</q>
</p>
<p>Then again I thought of Dr. <hi>Swift</hi>'s Lines:
<q>
<l>G—d d—n me, they bid us reform and repent;</l>
<l>But, Z—ds, by their Looks, they never keep
<hi>Lent.</hi>
</l>
</q>
</p>
<p>
<pb n="54" facs="tcp:0095100802:61"/>I hope the Reader will pardon me, for
inſerting Oaths, as I have ſo great an Au<g ref="char:EOLhyphen"/>thority to quote for them.</p>
<p>As the Parliament did not ſit during the Holydays, I waited on
his Grace of <hi>York,</hi> who immediately gave me Audience: He aſked me,
what Succeſs I had with the Lord Almoner; and as I had ſped mar<g ref="char:EOLhyphen"/>vellous
ill-favouredly, I related every Cir<g ref="char:EOLhyphen"/>cumſtance, as near as I could remember of
our Converſation; One, in particu<g ref="char:EOLhyphen"/>lar, which I before omitted, and was, that
he ſaid,
<q rend="inline">"Would the Lord Arch<g ref="char:EOLhyphen"/>biſhop of <hi>York</hi>
ſpeak to yow, Woman?"</q> His Grace ſmiled, and ſaid,
<q rend="inline">"It was the firſt Time he ever learned it was
beneath the Dignity of a Biſhop to ſpeak, even to a Beggar; as Humliity was
their beſt Orna<g ref="char:EOLhyphen"/>ment:—Well, What more?"</q>
<q rend="inline">"Not much, my Lord, only he demanded, If I knew no
other Perſon, beſides your Grace, to recommend me to him? And as I really
was convinced, I had brought him my Credentials from the higheſt, I did not
uſe any other Name:"</q>
<pb n="55" facs="tcp:0095100802:62"/> By this Time the Lady
before-mentioned came to Breakfaſt, and I was obliged to relate the Story to
her; they both laughed,—and his Grace aſſured me, the B—p of
<hi>S—y</hi> was a very honeſt Man;—I told him,
<q rend="inline">"I did not ſuſpect him to be a Pick-pocket;
but that I looked on that to be but a very moderate Praiſe, where every other
ſocial and Chriſtian Virtue was required:"</q> He ſaid, I made nice
Diſ<g ref="char:EOLhyphen"/>tinctions; but he himſelf would take Care of the Affair, and ſo he
put a couple of Guineas into my Hand, on which, I ſaid,
<q rend="inline">"God Almighty bleſs your Grace;"</q> which again
made him ſmile, and myſelf alſo, on Reflection, that, inſtead of
im<g ref="char:EOLhyphen"/>ploring his Bleſſing, I had given him mine. I returned to
<hi>London,</hi> as I ought alſo from this long Digreſſion, to relate
what paſſed between me, and the Noble<g ref="char:EOLhyphen"/>men, whom Colonel
<hi>D—nc—be</hi> ſaid would come and viſit me.</p>
<p>When I expected three, but one came, a very old gouty Gentleman,
whoſe Name I do not think proper to inſert; the reſt <pb n="56" facs="tcp:0095100802:63"/>
had intended me the ſame Favour; but he inſiſted, it ſeems, on coming
alone, which, after a little Raillery, they per<g ref="char:EOLhyphen"/>mitted him to do; but
proteſted, that if he ſtayed long, they would follow him;—though our
Converſation was entirely about indifferent Matters, during an Hour he
ſtayed with me, yet he and I were as heartily b<gap reason="illegible" resp="#OXF" extent="1+ letters">
<desc>•…</desc>
</gap>tered, and I had as many Ex<g ref="char:EOLhyphen"/>minations about his
Behaviour to me, as if he had been a young, gay, gallant Gen<g ref="char:EOLhyphen"/>tleman; the
Reaſon of which was, that he uſed to reprove others for their
In<g ref="char:EOLhyphen"/>temperance, or Indecency: So they took it into their Heads he was a ſly
Sinner, and would have bribed me highly to tell a Lye of him; I aſſured
them, provided they would but give me leave to inform him of it, I would ſay
what they pleaſed; for I was fully of Opinion, that, if a Lye would do me
Grace, he would permit me to gild it with the happieſt Terms I had.</p>
<p>They told my Story to the good old Gentleman, who kindly ſent me
over three Guineas, by the Hand of my honoured Benefactor Mr.
<hi>Cibber.</hi>
</p>
<p>
<pb n="57" facs="tcp:0095100802:64"/>I was at this Time applied to, by Mr.
<hi>V—ct—r,</hi> to write an Ode on the Princeſs of
<hi>Wales</hi>'s Birth Day, which, as he kept a Tea-Warehouſe in
<hi>Pall-Mall,</hi> near her Court, would, he ſaid, at leaſt, gain him her
Royal Highneſs's Cuſtom; ſo to ob<g ref="char:EOLhyphen"/>lige him, as I had really done when he
was in very low Circumſtances in <hi>Ireland,</hi> ſome Years before, I
wrote as follows:
<q>
<lg>
<head>An <hi>ODE</hi> on the Birth-Day of her Royal Highneſs
the Princeſs of <hi>WALES.</hi> In<g ref="char:EOLhyphen"/>tended for Muſic.</head>
<lg>
<l>LIGHT of the World, with pureſt Beams adorn</l>
<l>The Front of Heav'n, and gild the ſacred Morn!</l>
<l>Come from thy Chamber, in the Eaſt,</l>
<l>In richeſt Gold, and Purple, dreſt,</l>
<l>Bright, as the Royal Fair, who on this Day was born.</l>
<l>Say, in all thy glorious Round,</l>
<l>Haſt thou ſo much Beauty found?</l>
<l>Tho' Nature ſpreads, for Thee, her Charms,</l>
<l>Her faireſt Store of finiſh'd Forms,</l>
<l>
<pb n="58" facs="tcp:0095100802:65"/>The radiant Gem, the flow'ry Race,</l>
<l>Haſt thou beheld ſuch perfect Grace,</l>
<l>As Great <hi>Auguſta</hi>'s Looks diſplay?</l>
<l>Blooming as roſy Spring, and fair as early Day.</l>
</lg>
<lg>
<head>AIR.</head>
<l>Glad Zephyrs on your downy Pinions bear</l>
<l>The joyful Tidings thro' the balmy Air,</l>
<l>That Heav'n, indulgent to <hi>Britannia</hi>'s Iſle,</l>
<l>Created for her lov'd, her God-like Heir</l>
<l>This matchleſs Virgin, this illuſtrious Fair,</l>
<l>In whom the Virtues, and the Graces ſmile.</l>
<l>What Joy, oh Royal Youth! was thine?</l>
<l>When You beheld the Nymph Divine!</l>
<l>Like <hi>Venus,</hi> riſing from the Sea,</l>
<l>While round officious <hi>Cupids</hi> play;</l>
<l>
<hi>Neptune</hi> confeſs'd, his Breaſt before</l>
<l>So rich a Treaſure never bore;</l>
<l>He huſh'd the noiſy Winds to ſleep,</l>
<l>And ſmooth'd the Surface of the Deep.</l>
<l>
<pb n="59" facs="tcp:0095100802:66"/>
<hi>Hymen,</hi> quick, thy Taper
light,</l>
<l>Join, whom Love before had join'd,</l>
<l>And in bliſsful Bonds unite</l>
<l>Heart to Heart, and Mind to Mind,</l>
<l>The nobleſt Pair, that, ever yet,</l>
<l>In ſweet connubial Tranſports met!</l>
</lg>
<lg>
<head>AIR.</head>
<l>As when the Sun awakes the Year,</l>
<l>And bids the Blooms their Sweets diſ<g ref="char:EOLhyphen"/>cloſe,</l>
<l>In vernal Luſtre, rob'd appear</l>
<l>The Lilly, and the new-blown Roſe;</l>
<l>So, from this pure, this hallow'd Flame,</l>
<l>Behold the num'rous Offspring riſe,</l>
<l>Of future Bards the bliſsful Theme,</l>
<l>And Rapture of a Nation's Eyes.</l>
</lg>
<lg>
<l>Let Hymns of Praiſe to Heav'n aſcend,</l>
<l>For this propitious Store,</l>
<l>Oh, ſtill the Royal Race defend!</l>
<l>And <hi>Britain</hi> aſks no more.</l>
</lg>
</lg>
</q>
</p>
<p>What Succeſs this met, I know not; but Mr.
<hi>V—ct—r</hi> ſoon after applied to me for a
<hi>Lilliputian</hi> Ode, on the Birth<g ref="char:EOLhyphen"/>day <pb n="60" facs="tcp:0095100802:67"/> of his Royal
Highneſs Prince GEORGE, which I gave him as follows:
<q>
<lg>
<l>NATURE wake,</l>
<l>Muſes ſpeak,</l>
<l>Clothe the Spring,</l>
<l>Touch the String,</l>
<l>
<hi>Cupids</hi> ſport,</l>
<l>Round the Court,</l>
<l>Like the Prince,</l>
<l>Charms diſpenſe,</l>
<l>Whoſe early Ray,</l>
<l>Gives <hi>Britain</hi> Promiſe of reſplendent Day.</l>
</lg>
<lg>
<l>The flow'ry Prime,</l>
<l>Delights a Time,</l>
<l>The hopeful Bloom,</l>
<l>Sheds rich Perfume,</l>
<l>Then Fruits appear,</l>
<l>To crown the Year;</l>
<l>So, lovely Boy,</l>
<l>Thy Spring employ,</l>
<l>That thy ſweet Youth</l>
<l>Be crown'd with Fruits of Wiſdom, Virtue, Truth.</l>
</lg>
<lg>
<pb n="61" facs="tcp:0095100802:68"/>
<l>Ye, to whoſe Care,</l>
<l>
<hi>Britannia</hi>'s Heir</l>
<l>Is now conſign'd,</l>
<l>To form his Mind;</l>
<l>O to your Truſt,</l>
<l>Be firmly juſt;</l>
<l>Let Flatt'ry ne'er</l>
<l>Infect his Ear,</l>
<l>So ſhall he be</l>
<l>Worthy to rule a People, Brave and Free.</l>
</lg>
<lg>
<l>Oft let him trace</l>
<l>His God-like Race!</l>
<l>Their noble Story,</l>
<l>Inſpiring Glory!</l>
<l>His Parents Eyes,</l>
<l>With glad Surprize,</l>
<l>Shall view a Son,</l>
<l>Worthy their Throne,</l>
<l>And <hi>Albion</hi> bleſs</l>
<l>The Royal Progeny's deſir'd Increaſe.</l>
</lg>
</q>
</p>
<p>I know not what Reward the Gentle<g ref="char:EOLhyphen"/>man got for theſe, but he gave
me five Shillings; and as ſince my Return to <hi>Ire<g ref="char:EOLhyphen"/>land,</hi> he was twice
ſo civil to write me <pb n="62" facs="tcp:0095100802:69"/> Word, I was a Fool; I muſt
inſiſt on it, he was a much greater, to apply to a Fool for Wit.</p>
<p>And, if he diſputes theſe Facts, let him but finiſh the
Comedy of <hi>Le Païſan Parvenu</hi> in the ſame Stile I wrote the
firſt Act for him, and I will own myſelf to be the Dunce, he ſo freely
calls me.</p>
<p>I muſt here obſerve, that the following Poem, written when I
firſt went to <hi>Lon<g ref="char:EOLhyphen"/>don,</hi> which he undertook to have printed for me, he
very modeſtly aſſured every Perſon was of his own Compoſition.
<q>
<lg>
<head>A View of the preſent State of <hi>MEN</hi> and
<hi>THINGS.</hi> A Satyric Dialogue between the <hi>Poet</hi> and his
<hi>Friend.</hi>
</head>
<head type="sub">In the Year 1739.</head>
<lg>
<l>
<hi>F.</hi> WRITING a Satire? <hi>P.</hi> If I ſhould,
what then?</l>
<l>
<hi>F.</hi> 'Tis the moſt dang'rous Province of the
Pen;</l>
<l>
<pb n="63" facs="tcp:0095100802:70"/>Example more Diſcretion ought to
teach,</l>
<l>Examples move beyond what Prelates preach:</l>
<l>Be warn'd, my Friend,—write Satire!—pray
deſiſt,</l>
<l>You ſee what Fate attends the
<note n="*" place="bottom">Mr.
<hi>Whitehead.</hi>
</note>Satiriſt.</l>
<l>
<hi>P.</hi> If honeſt Satire, theſe licentious
Times,</l>
<l>Is look'd on as the worſt of human Crimes,</l>
<l>If all are Libellers, who dare proclaim</l>
<l>The Fraud of Courts, or brand a guilty Name:</l>
<l>The Muſe, ſworn Friend to Truth, with Fear
eſſays</l>
<l>To ſcourge the Baſe, or give the Virtuous
Praiſe;</l>
<l>Tho' theſe the wholeſome Means, by Heav'n
aſſign'd</l>
<l>To awe the Vile, or raiſe the worthy Mind.</l>
<l>
<hi>F.</hi> Yes Panegyric may be ſafely writ.</l>
<l>
<hi>P.</hi> It may, if Bards will proſtitute their
Wit,</l>
<l>
<pb n="64" facs="tcp:0095100802:71"/>To varniſh Faults, or gild a Knave's
Deceit,</l>
<l>Or prove a Title makes a Villain great;</l>
<l>But Virtue plac'd, in its Meridian Light,</l>
<l>Hurts the weak Eye, and pains the Courtier's Sight;</l>
<l>Thus ſhou'd the Muſe a Patriot's Worth proclaim,</l>
<l>And crown her <hi>Stanhope</hi> with undying Fame,</l>
<l>They take Offence, and think you thus deſcant,</l>
<l>To ſhew Mankind the Qualities they want.</l>
<l>
<hi>F.</hi> Truſt me, their Raſhneſs merits no
Excuſe,</l>
<l>That fall from Satire into groſs Abuſe;</l>
<l>Vice may be ſham'd by proper Ridicule,</l>
<l>But where's the Wit of calling Dunce and Fool?</l>
<l>
<hi>P.</hi> Was it not Truth? <hi>F.</hi> Admit it e'er
ſo true,</l>
<l>Compaſſion was to human Weakneſs due;</l>
<l>When Crimes are wanting Anger to pro<g ref="char:EOLhyphen"/>voke,</l>
<l>An Aim at Greatneſs ſeems an envious Stroke;</l>
<l>
<pb n="65" facs="tcp:0095100802:72"/>Some, like <hi>Drawcanſir,</hi> fall
on Friend, and Foe,</l>
<l>And no Diſtinction in their Fury know.</l>
<l>With decent Care, Scurrility avoid;</l>
<l>Secure in Praiſe, your Pen may be em<g ref="char:EOLhyphen"/>ploy'd,</l>
<l>And ev'ry gen'rous Pleaſure full enjoy'd.</l>
<l>
<hi>P.</hi> Well; if Encomiums Approbation gain,</l>
<l>For once, I'll try the Panegyric Strain.</l>
</lg>
<lg>
<l>Bleſt be the Man, whoſe independent Mind,</l>
<l>No Ties but thoſe of ſacred Honour bind;</l>
<l>Whoſe ample Fortune ev'ry Good ſup<g ref="char:EOLhyphen"/>plies,</l>
<l>Sought by the Juſt, the temperately Wiſe;</l>
<l>Oeconomy his Freedom's beſt Support,</l>
<l>Sets him above Temptation from a Court;</l>
<l>No Bribe he takes, that Freedom to con<g ref="char:EOLhyphen"/>troul,</l>
<l>No Penſion, to enſlave his nobler Soul;</l>
<l>He ſcorns to fill a Stateſman's ſervile Train,</l>
<l>And looks on high-plac'd Guilt with juſt Diſdain;</l>
<l>
<pb n="66" facs="tcp:0095100802:73"/>For Him, the Muſe ſhall ſtrike
the ſound<g ref="char:EOLhyphen"/>ing String,</l>
<l>And Fame, her ever-verdant Laurels bring.</l>
</lg>
<lg>
<l>Unlike <hi>Favonius,</hi> who, with ev'ry Vice,</l>
<l>Ruin'd a princely Fortune in a trice;</l>
<l>His Indigence ſoon taught him to repair</l>
<l>To Court,—for Bankrupt Peers find Shelter there:</l>
<l>He bows to <hi>W—e,</hi> whiſpers to his
Grace,</l>
<l>Then humbly begs a Penſion, or a Place;</l>
<l>The Penſion's your's, my Lord,—but mind—this
Note,</l>
<l>'Tis but a ſhort Direction, how to vote.</l>
<l>Hard Terms! but Luxury muſt be ſup<g ref="char:EOLhyphen"/>ply'd,</l>
<l>He fells his Virtue to ſupport his Pride!</l>
<l>
<hi>F.</hi> Softly, my Friend,—you quit the Taſk
aſſign'd,</l>
<l>Which, to the Praiſe of Merit, was con<g ref="char:EOLhyphen"/>fin'd:</l>
<l>Bold Truths, like theſe, a Puniſhment may bring,</l>
<l>Incenſe a M—r, perhaps a —</l>
<l>
<pb n="67" facs="tcp:0095100802:74"/>
<hi>P.</hi> As, in a Picture, Light is
to be ſhewn</l>
<l>But by the Force, and Strength of Shade alone;</l>
<l>So Virtue's radiant Luſtre ſhines moſt clear,</l>
<l>When Vice, by Contraſt, makes her Charms appear.</l>
<l>Who ſees a <hi>Burleigh,</hi> in <hi>Eliza</hi>'s
Reign,</l>
<l>With <hi>Britain</hi>'s Thunder, ſhake the Realms of
<hi>Spain,</hi>
</l>
<l>And, truly zealous in his Country's Cauſe,</l>
<l>Protect her Trade, her Liberty, her Laws;</l>
<l>Who, but muſt kindle into honeſt Rage!</l>
<l>And curſe the —<hi>F.</hi> Hold,—this
partial Wrath aſſuage;</l>
<l>Do you conſider, what a Riſque you run,</l>
<l>Or, are you reſolute to be undone?</l>
<l>At Courts you rail, at Courts you take Offence,</l>
<l>Unmindful of the Good deriv'd from thence.</l>
<l>
<hi>P.</hi> 'Tis true, from thence proceeds the Royal
Youth,</l>
<l>The God-like Friend of Liberty, and Truth;</l>
<l>
<pb n="68" facs="tcp:0095100802:75"/>The pureſt Bounty of indulgent
Heav'n,</l>
<l>In FREDERICK'S Virtues is to <hi>Albion</hi> giver;</l>
<l>Muſe! at that Name, exalt thy tuneful Voice,</l>
<l>And glory in thy elevated Choice.</l>
<l>Patron of Learning! Cheriſher of Arts!</l>
<l>Fix'd is thy Empire in our grateful Hearts;</l>
<l>Already we the bliſsful Scene ſurvey,</l>
<l>While Hope, prophetic, paints thy future Sway;</l>
<l>Honour, the Guardian of thy Throne ſhall ſtand,</l>
<l>And Plenty pour her Treaſures thro' the Land;</l>
<l>Free, on the Wings of Winds, our Ships ſhall roam,</l>
<l>And ſafely bring their far-ſought Riches Home;</l>
<l>Wide o'er the World, <hi>Britannia</hi>'s Fame ſhall
ſpread,</l>
<l>And pale <hi>Iberia</hi> ſink with guilty Dread.</l>
<l>Who now—<hi>F.</hi> Nay pauſe,—Check your
advent'rous Strain,</l>
<l>
<hi>P.</hi> Then gueſs the reſt. <hi>F.</hi> I do,
alas! too plain.</l>
<l>
<pb n="69" facs="tcp:0095100802:76"/>
<hi>P. Jugurtha,</hi> for
his Crimes, arraign'd at <hi>Rome,</hi>
</l>
<l>The Senate brib'd, and went triumphant Home;</l>
<l>Yet, on it's Pride, caſt back a ſcornful Eye,</l>
<l>And wiſh'd ſome Merchant wou'd the Nation buy.</l>
<l>
<hi>F.</hi> Is the Man mad, to ramble wildly thus!</l>
<l>What has <hi>Jugurtha,</hi> pray, to do with us?</l>
<l>
<hi>P.</hi> Faith, nothing; but the Story ſtruck my
Mind,</l>
<l>Tho' it no Application here can find;</l>
<l>For ſhou'd ſeducing Gold ſo far prevail,</l>
<l>To ſet a Nation's Liberty to Sale;</l>
<l>No trading Purchaſer can <hi>Britain</hi> fear,</l>
<l>Our Merchants Poverty ſecures us here.</l>
<l>
<hi>F.</hi> Why will you bring ſuch Scenes to public
View?</l>
<l>Come, come, your Scheme of praiſing Worth purſue.</l>
<l>
<hi>P.</hi> No Power of Verſe can Virtue's Merit
raiſe;</l>
<l>Who can add Luſtre to it's Noon-tide Blaze;</l>
<l>
<pb n="70" facs="tcp:0095100802:77"/>See it, from STAIR, break forth with
Rays Divine,</l>
<l>And round the learned Head of STAN<g ref="char:EOLhyphen"/>HOPE ſhine;</l>
<l>From COBHAM'S Mind, we hail it's beau<g ref="char:EOLhyphen"/>teous Beams,</l>
<l>And CARTERET kindles with it's hal<g ref="char:EOLhyphen"/>low'd Flames;</l>
<l>While W—E turns, aſtoniſh'd, from the Sight,</l>
<l>And ſickens at the pure aethereal Light;</l>
<l>Or, vainly hopes it's Abſence to ſupply,</l>
<l>By glitt'ring Star, and String of azure Dye;</l>
<l>Thoſe Ornaments, which grace the Good and Brave,</l>
<l>To ſharper Ridicule—expoſe the Slave:</l>
<l>Stateſmen, like Meteors, vulgar earth<g ref="char:EOLhyphen"/>born Things,</l>
<l>Rais'd by the ſtrong attracting Force of Kings;</l>
<l>Splendid they ſhine, in Fortune's Summer-Sky,</l>
<l>Till, falling, all their ſhort-liv'd Glories die;</l>
<l>
<pb n="71" facs="tcp:0095100802:78"/>But Worth, like the refulgent Orb of
Day,</l>
<l>Shall unexhauſted Excellence diſplay.</l>
<l>
<hi>F.</hi> Relapſing ſtill! <hi>P.</hi> When I
conceal the Name,</l>
<l>I, ſure, a vicious Character may blame.</l>
<l>
<hi>F.</hi> No; Malice may that Character apply.</l>
<l>
<hi>P.</hi> Then Malice makes the Libel, Friend, not
I;</l>
<l>But, ſee, to Praiſe I tune the golden Lyre,</l>
<l>Strains, worthy PITT, coeleſtial Muſe in<g ref="char:EOLhyphen"/>ſpire!</l>
<l>In whom, with Wonder, and Delight, we find,</l>
<l>To blooming Youth, experienc'd Wiſ<g ref="char:EOLhyphen"/>dom join'd;</l>
<l>What forceful Reaſon! manly Eloquence!</l>
<l>Adorn'd Him in his Country's dear De<g ref="char:EOLhyphen"/>fence?</l>
<l>When, dauntleſs, 'midſt the Murmurs of a Crowd,</l>
<l>He own'd the Cauſe of Liberty aloud;</l>
<l>Th' intrepid
<note n="*" place="bottom">
<hi>Ahdiel.</hi> See
<hi>Milton.</hi>
</note>Angel, thus unſhaken, ſtood</l>
<l>'Midſt faithleſs Numbers, eminently good.</l>
<l>
<pb n="72" facs="tcp:0095100802:79"/>
<hi>F.</hi> What! yet again?
<hi>P.</hi> Nay, under this Reſtraint,</l>
<l>The Verſe muſt languiſh, and Deſcription
faint.</l>
<l>
<hi>F.</hi> Believe me, Friend, my Care is kindly
meant,</l>
<l>Prudence, and Caution, num'rous Ills prevent.</l>
<l>
<hi>P.</hi> For once, uninterrupted, let me ſpeak,</l>
<l>Nor, thus, each Period with your Cau<g ref="char:EOLhyphen"/>tions break:</l>
<l>Where did I ſtop? <hi>F.</hi> With <hi>Pitt.</hi>
<hi>P.</hi> Then let the Song</l>
<l>To LITTLETON, the Muſe's Friend, belong;</l>
<l>Born, in each poliſh'd Science to excell,</l>
<l>As fam'd for ſpeaking, as for writing well;</l>
<l>Diſtinguiſh'd Pair! with pureſt Manners grac'd!</l>
<l>High in your Royal Maſter's Favour plac'd;</l>
<l>That Bliſs, ſupreme, doth bounteous Fate prepare</l>
<l>For gen'rous Minds, that make Mankind their Care.</l>
</lg>
<lg>
<pb n="73" facs="tcp:0095100802:80"/>
<l>Ye noble Few, who, in a ſhameleſs Age,</l>
<l>Dare bring heroic Virtue on the Stage;</l>
<l>Behold, where Heav'n-born Fame con<g ref="char:EOLhyphen"/>ſpicuous
ſtands!</l>
<l>Unfading Laurels fill her ſacred Hands!</l>
<l>Emblems of undecaying, freſh Renown,</l>
<l>Prepar'd your ever-honour'd Heads to crown:</l>
<l>Theſe Wreaths be your's, from whence true Greatneſs
ſprings;</l>
<l>Oh, look on Coronets as meaner Things!</l>
</lg>
<lg>
<l>See, in the hoſtile Field, for this Re<g ref="char:EOLhyphen"/>ward,</l>
<l>Fearleſs <hi>Argyle</hi> each Danger diſregard;</l>
<l>
<hi>Argyle,</hi> by ev'ry worthy Mind ador'd!</l>
<l>Whoſe Oratory conquers like his Sword;</l>
<l>His Country's drooping Genius born to raiſe,</l>
<l>And warm, anew, her cold declining Days;</l>
<l>
<pb n="74" facs="tcp:0095100802:81"/>With him, ye Patriot Sons! unite your
Force,</l>
<l>And ſtem Corruption in it's headlong Courſe;</l>
<l>See, wide it ſpreads! and, in it's ſable Wave,</l>
<l>What Prelates bathe! what Stars and Garters lave?</l>
<l>There may they ſink, ſince <hi>Lethe</hi>-like, it's
Stream</l>
<l>Hath baniſh'd from their Hearts the Love of Fame;</l>
<l>While Wrongs, and Inſults, ſhamefully are borne;</l>
<l>Our Fleet's a Jeſt, our Name a Word of Scorn.</l>
<l>
<hi>F.</hi> What means this Madneſs, will you ne'er give
o'er?</l>
<l>Thoſe Evils you complain of are no more;</l>
<l>Prudence, and Mercy, in well-govern'd States,</l>
<l>Prevent the Ruin waſteful War creates;</l>
<l>Thoſe healing Arts have vainly been ap<g ref="char:EOLhyphen"/>ply'd,</l>
<l>Now diff'rent Counſels in their Turn preſide;</l>
<l>
<pb n="75" facs="tcp:0095100802:82"/>Array'd in Terror, ſee
<hi>Britannia</hi> riſe,</l>
<l>And hurl vindictive Thunder thro' the Skies!</l>
<l>Bent to chaſtiſe the Inſolence of
<hi>Spain</hi>;</l>
<l>And re-aſſume her Empire o'er the Main:</l>
<l>View all things in a clear impartial Light,</l>
<l>And Reaſon ſhall confeſs theſe Meaſures
right;</l>
<l>Ceaſe then to cenſure, that which merits Praiſe,</l>
<l>And, timely, ſtop your keen ſatyric Lays;</l>
<l>E'er frowning Pow'r aſſumes the awful Nod,</l>
<l>And ſhews the Terror of it's Iron Rod.</l>
<l>
<hi>P.</hi> A good Intention is the beſt Defence,</l>
<l>True Fortitude proceeds from Innocence;</l>
<l>Let <hi>Gallic</hi> Slaves deſpotic Pow'r obey,</l>
<l>Juſtice and Liberty in <hi>Albion</hi> ſway:</l>
<l>Secure from Danger, may the Muſe in<g ref="char:EOLhyphen"/>ſpire</l>
<l>Her free-born Sons with ancient <hi>Roman</hi> Fire;</l>
<l>Such, as of old, in <hi>Cato</hi>'s ſhone confeſt,</l>
<l>And lives in <hi>Carteret,</hi> and in <hi>Talbot</hi>'s
Breaſt;</l>
<l>
<pb n="76" facs="tcp:0095100802:83"/>Oh, may the heavenly Flame diſpel
our Fears,</l>
<l>Re-kindle Hope, and dry <hi>Britannia</hi>'s Tears!</l>
</lg>
</lg>
</q>
</p>
<p>And ſince, from the Great, I have di<g ref="char:EOLhyphen"/>greſſed to the Vulgar;
I cannot forget Dr. <hi>Ow—ns,</hi> whom, at the End of my Firſt
Volume, I promiſed to record, and ſcorn to deal in Lyes, as he did. This
pious Divine, who was an intimate Ac<g ref="char:EOLhyphen"/>quaintance of my Father's, gave himſelf
the Trouble of coming to my Landlord, Mr. <hi>R—ly,</hi> an Officer of
Mace, in <hi>Mi<g ref="char:EOLhyphen"/>chael's-Lane,</hi> a little while after I was parted from my
Huſband, together with his Curate, Mr. <hi>R—b—nſ—n,</hi>
and, with great Humanity, inſiſted on his turning me out of the Houſe,
otherwiſe they would preſent it: Tne Landlord aſked, what I had done?
They anſwered, I was an ex<g ref="char:EOLhyphen"/>communicated Perſon,—(a Lye;) that I had
run away from my Huſband, (another Lye;)—that ſince I had left him, I
had ſeven Baſtards,—which was pretty quick, as we had been but
ſeven Months aſunder,—<pb n="77" facs="tcp:0095100802:84"/> (another Lye;)—but
when a Churchman is in for it, he will out-lye the Devil; at length, theſe
Parſons deſcended ſo low, as to threaten to inform, that my Landlord's
Wife was a <hi>Roman,</hi> which I believe, was another Lye; but, whether true,
or falſe, it was very unbecoming their Characters, either as Gentlemen, or
Chriſtians, to ſay.</p>
<p>But I was to be inſulted at any Rate; for the Clergy hang
together; and if ſome did, it would be no great Loſs.</p>
<p>For when a ſwinging Sin is to be com<g ref="char:EOLhyphen"/>mitted, there is nothing
like a Gown and a Caſſock to cover it.</p>
<p>But once more to return to <hi>Albion.</hi> I had laid out a
Couple of Guineas on a little curious Picture, which I bought to ſell again,
but was adviſed to preſent it to the Lord Almoner, who, they ſaid, had a
Taſte for Painting? He generouſly ac<g ref="char:EOLhyphen"/>ceepted of my Favour, but neither made
me any Return from his own Bounty, nor his Majeſty's; ſo I had no great
Reaſon to ſay, he deſerved the Character of an honeſt Man.</p>
<p>
<pb n="78" facs="tcp:0095100802:85"/>On the Change of the Miniſtry, I wrote the
following Lines:
<q>
<lg>
<head>To the Rt. Hon. <hi>HENRY PELHAM,</hi>
<abbr>Eſq</abbr>
</head>
<l>AMIDST contending Parties Strife for Sway,</l>
<l>Eager to rule, reluctant to obey;</l>
<l>How juſt, how noble, muſt his Conduct ſeem!</l>
<l>Whom all unite to honour, and eſteem?</l>
<l>This bliſsful Fate, this Happineſs divine,</l>
<l>Has Heaven reſerv'd to crown a Life, like Thine;</l>
<l>This the Reward ſublimer Virtues claim,</l>
<l>Unenvy'd Honours, and unſpotted Fame!</l>
<l>Integrity in faireſt Light confeſs'd,</l>
<l>Lives in the ſacred Centre of thy Breaſt;</l>
<l>Oh, never, never, from her Laws depart!</l>
<l>So, reign, confeſs'd, the Friend of ev'ry Heart;</l>
<l>Fix'd on her ſolid Baſe, thy Worth ſhall ſtand,</l>
<l>And <hi>Britons</hi> bleſs thy delegated Hand:</l>
<l>
<pb n="79" facs="tcp:0095100802:86"/>Ev'n reſtleſs Faction ſhall
enſure thy Peace,</l>
<l>And only Heav'n thy Happineſs increaſe.</l>
</lg>
</q>
</p>
<p>I ſhewed theſe Lines to Mr. <hi>Cibber,</hi> who liked them
ſo well, that he undertook to deliver them for me.</p>
<p>The next Morning, early, he did ſo, and then call'd upon me,
and, giving me five Guineas, aſked me, whether I thought them a ſufficient
Reward for my Poetry? I told him, I readily did: Well then, ſaid he, Mr.
<hi>Pelham</hi> diſtinguiſhed thus:
<q rend="inline">"There are Five Guineas, for the Lady's Numbers;
and Five more, for the good Advice they contain; and tell her, I hope God will
always give me Grace to follow it."</q>
<q>
<l>There was a Stateſman! when comes ſuch
another?</l>
</q>
</p>
<p>Not ſeeing Mr. <hi>Cibber</hi> for a Fortnight after this
Inſtance of his Friendſhip and Humanity, I wrote to him the following
Lines:
<q>
<pb n="80" facs="tcp:0095100802:87"/>
<lg>
<head>To Mr. <hi>CIBBER.</hi>
</head>
<l>SINCE You became ſo great a Stranger,</l>
<l>My Muſe, and Life, have been in Dan<g ref="char:EOLhyphen"/>ger;</l>
<l>Conſider, both on You depend,</l>
<l>As their inſpiring, faithful Friend;</l>
<l>And, ſhou'd your guardian Care decreaſe,</l>
<l>Their animating Fires muſt ceaſe;</l>
<l>Since Novelties alone delight you,</l>
<l>I've found a Method to excite you;</l>
<l>A Scheme, untry'd before to move you,</l>
<l>'Tis plainly to confeſs, I love you;</l>
<l>Now, look not with Surprize, or Cold<g ref="char:EOLhyphen"/>neſs,</l>
<l>Nor call this Declaration Boldneſs;</l>
<l>For mine's a Flame divinely pure,</l>
<l>For ever fitted to endure;</l>
<l>From ev'ry groſſer Thought refin'd,</l>
<l>A Love for your accompliſh'd Mind.</l>
</lg>
</q>
</p>
<p>Mr. <hi>Cibber</hi> ſent me Word, he was going to the
Maſquerade; but would ſee me next Day, which gave riſe to the follow<g ref="char:EOLhyphen"/>ing
Lines:
<q>
<pb n="81" facs="tcp:0095100802:88"/>
<lg>
<head>To <hi>COLLEY CIBBER,</hi>
<abbr>Eſq</abbr>
</head>
<l>CAN now a Maſquerade delight you?</l>
<l>What are it's Charms that can invite you?</l>
<l>Have not your Eyes to Age ſurvey'd</l>
<l>The medley World in Maſquerade?</l>
<l>Where Friendſhip's Maſque conceals the Knave,</l>
<l>And Cowards wear the Maſque of Brave;</l>
<l>The Maſque of Love, we frail Ones find</l>
<l>Worn, when our Ruin is deſign'd;</l>
<l>The Patriot's Maſque conceals <hi>Sedition,</hi>
</l>
<l>And ſoft Humility's, <hi>Ambition</hi>;</l>
<l>Ev'n you, ſometimes, the Maſque will wear,</l>
<l>And, what you are not, oft appear;</l>
<l>Rally your Faults with Wit, and Spirit,</l>
<l>And make your Folly maſque your Merit:</l>
<l>Come undiſguis'd then, come reveal'd</l>
<l>To me, and Truth; let Folly yield,</l>
<l>And leave the Maſque to Fools conceal'd.</l>
</lg>
</q>
</p>
<p>Mr. <hi>Cibber</hi> received theſe Lines with his uſual
Partiality to me and my Per<g ref="char:EOLhyphen"/>formances.</p>
<p>
<pb n="82" facs="tcp:0095100802:89"/>And here, it may not be amiſs to give a
particular Character of this Gentleman, as no Man has ever been more
ſatyrized, or leſs deſerved it.</p>
<p>And, I think, I cannot do it, in a bet<g ref="char:EOLhyphen"/>ter Manner, than I have
uſed in deſcribing Dr. <hi>Swift</hi>;—that is, to give him to my
Readers in his Words, and Actions, as near as I can recollect them, during the
Time I had the Honour of being known to him: And if the petty Scribblers
ſhould ſay, that I never knew him, any more than I did the Dean of St.
<hi>Patrick</hi>'s;—why they only take away Merit from me with one Hand,
to give it to me with the other; and muſt, at leaſt, afford me the Praiſe
of inventing with Probability: that I have not
<q>
<l>Drawn Bears in Water, Dolphins in the Trees,</l>
</q> But am
uniform in my Characters, and
<q>
<l>Paint <hi>Achilles</hi> as <hi>Achilles</hi> was.</l>
</q>
</p>
<p>
<pb n="83" facs="tcp:0095100802:90"/>As I have mentioned a poetical Intro<g ref="char:EOLhyphen"/>duction
to this Gentleman's Favour, I muſt give a particular Account of his firſt
Viſit: He ran up Stairs with the Vivacity of a Youth of Fifteen, and, making
me a courtly Bow, ſaid, he was ſure I did not known him; I anſwered,
<q>
<l>Not to know him, would argue myſelf un<g ref="char:EOLhyphen"/>known.</l>
</q>
</p>
<p>
<q rend="inline">"And, prithee, ſaid he, why did not you come to
my Houſe the Moment you came to <hi>London?</hi>"</q>
<q rend="inline">"Upon my Word, Sir, that would have been a
modeſt Proof of <hi>Iriſh</hi> Aſſurance; how could I hope for a
Reception?"</q>
<q rend="inline">"Pſhaw, ſaid he, Merit is a ſufficient
Recommendation to me."</q> I cour<g ref="char:EOLhyphen"/>teſied, and, as we both ſtood,
<q rend="inline">"Sit down, ſaid he, be leſs ceremonious to be
better bred; come, ſhew me your Writings."</q> I obeyed; and, upon his
reading the Poem, called <hi>Sorrow,</hi> he burſt into Tears, and was not
aſſumed to give the flowing Virtue manly Way; he deſired a Copy of
it,—which I gave him; <pb n="84" facs="tcp:0095100802:91"/> and now his Curioſity was
raiſed, to know who I was? I told him, mine was a long, and mournful Story,
unfit for a Soul ſo humanized as his,
<q>
<l>Where dwelt the pitying Pang, the ten<g ref="char:EOLhyphen"/>der Tear,</l>
<l>The Sigh for ſuff'ring Worth, the Wiſh preferr'd</l>
<l>For Humankind, the Joy to ſee them bleſt,</l>
<l>And all the ſocial Offspring of the Heart.</l>
</q> Mr.
<hi>Cibber</hi> aſſured me, my fine Compli<g ref="char:EOLhyphen"/>ment ſhould not excuſe me;
for he was fully determined to have my Hiſtory from my own Lips; and
deſired I might come and breakfaſt with him next Morn<g ref="char:EOLhyphen"/>ing, and begin.</p>
<p>Accordingly, I waited on him, and wonderfully was he delighted
with my Account of Dr. <hi>Swift</hi>; he had the Patience to liſten to me
three Hours, without ever once interrupting me; a moſt uncommon Inſtance of
good Breeding, eſ<g ref="char:EOLhyphen"/>pecially from a Perſon of his Years, who
<pb n="85" facs="tcp:0095100802:92"/> uſually dictate to the Company, and en<g ref="char:EOLhyphen"/>groſs all the
Talk to themſelves: For, as Dr. <hi>Young</hi> obſerves,
<q>
<l>A Dearth of Words a Woman need not fear;</l>
<l>But 'tis a Taſk, indeed, to learn to hear!</l>
<l>In that the Skill of Converſation lies,</l>
<l>'Tis that muſt prove you both polite and wiſe.</l>
</q> And
I do aſſure my Readers, the Gentle<g ref="char:EOLhyphen"/>man neither yawned, ſcratched his
Head, beat Tatoo with his Foot, nor uſed any ſuch ambiguous Giving-out, to
note that he was weary.</p>
<p>So far from it, that tho' he was engaged to dine with the Duke of
<hi>Gr—ft—n,</hi> he had forgot it, 'till his Ser<g ref="char:EOLhyphen"/>vant came in, to
dreſs him; he ſtrictly charged me to come to him the next Morning, and
ſet my Spout a going, for ſo he merrily called my Mouth.</p>
<p>I obeyed his moſt kind Command; and, by way of Introduction,
told him a <pb n="86" facs="tcp:0095100802:93"/> Story Dr. <hi>Swift</hi> related to me, which
was as follows:</p>
<p>A Gentleman met a Friend in the Street, whom he had not ſeen for
ſome Years; he began to give him an Account of what had befallen him, ſince
their Se<g ref="char:EOLhyphen"/>paration from each other; a Care happened to intervene, upon which,
they took diffe<g ref="char:EOLhyphen"/>rent Streets; ſeven Years paſt, and it ſo befel, they met
juſt in the ſame Place, when, without the leaſt Ceremony, he proceeded in
his Story, "And, as I was telling you, ſaid he," <hi>&c.</hi>
</p>
<p>I was going to proceed, when Mr. <hi>Cibber</hi> interrupted me. I
was, ſaid he, at the Duke of <hi>R—chm—nd</hi>'s laſt. Sum<g ref="char:EOLhyphen"/>mer,
when his Daughter, a moſt accom<g ref="char:EOLhyphen"/>pliſhed young Lady, and a very early
Ri<g ref="char:EOLhyphen"/>ſer, ſat reading in a beautiful Portico, about Six in the Morning; I
accoſted the fair Creature, and aſked her the Subject of her Contemplation?
So in a moſt ele<g ref="char:EOLhyphen"/>gant, and agreeable Stile, ſhe related to me Part of a
very entertaining Novel, ſhe held in her Hand, and, I believe, in bet<g ref="char:EOLhyphen"/>ter
Words than the Author wrote it. A <pb n="87" facs="tcp:0095100802:94"/> Summons to Breakfaſt
broke off her moſt agreeable Narration.</p>
<p>The next Morning I ſaw the Charmer in the ſame Portico, who
took up the Story at the very Word ſhe had broke off, and concluded it.</p>
<p>As <hi>Ireland</hi> is now graced with this illuſ<g ref="char:EOLhyphen"/>trious Fair
One, in whom Virtue, Beauty, Modeſty, Taſte, and every Excellence unite, I
hope for her Pardon, for preſu<g ref="char:EOLhyphen"/>ming to mention her.</p>
<p>And tho', as ſhe will ſoon ſee her no<g ref="char:EOLhyphen"/>ble Father was a
beneficent Patron to me; I hate Flattery ſo much, that I would not, on that
Account, pay her a Compliment beyond what was due to her elevated Sta<g ref="char:EOLhyphen"/>tion, did
not her ſuperior Virtues command it.</p>
<p>Never yet were ſeen a more tender, or a more lovely Pair than
the Duke and Dutcheſs of <hi>Richmond,</hi> with their bloom<g ref="char:EOLhyphen"/>ing Progeny,
like new-blown Roſes, ſmi<g ref="char:EOLhyphen"/>ling around them; an Inſtance, Wedlock may be
happy, even among the Great, when mutual Love, and mutual Honour join.
<q>
<pb n="88" facs="tcp:0095100802:95"/>
<l>Here Love his golden Shafts employs, here lights</l>
<l>His conſtant Lamp, and waves his pur<g ref="char:EOLhyphen"/>ple Wings;</l>
<l>Reigns here, and revels!</l>
</q>
</p>
<p>And, it is with infinite Pleaſure I learn, that Lord and Lady
<hi>Kildare</hi> are as great an Example in conjugal Fidelity, Piety, and
Generoſity, as their noble Parents.</p>
<p>This Digreſſion, I am certain, will be excuſed.</p>
<p>I went on with my Story to Mr. <hi>Cibber,</hi> who, at laſt, in
flowing Spirits, cried,
<q rend="inline">"Z—ds! write it out, juſt as you re<g ref="char:EOLhyphen"/>late
it, and, I'll engage it will fell."</q>
</p>
<p>Every Poem, as I occaſionally introdu<g ref="char:EOLhyphen"/>ced them, he made me give
him a Copy of, and communicated them to the Earl of <hi>Cheſterfield,</hi>
who poſitively inſiſted on it, that I muſt underſtand <hi>Greek,</hi>
and <hi>Latin,</hi> otherwiſe I never could write <hi>Engliſh</hi> ſo
well. Mr. <hi>Cibber</hi> ſaid, he had not enquired, but that he would that
Mo<g ref="char:EOLhyphen"/>ment: And, accordingly, came, and told <pb n="89" facs="tcp:0095100802:96"/> me, what my Lord
had ſaid; I aſſured him, I was ignorant of every Language, except my
Mother-tongue; but that if he would be ſo kind to preſent my Reſpects to
his Lordſhip, and let him know, that Dr. <hi>Swift</hi> had taught me
<hi>Engliſh,</hi> I was certain, he would allow, I had an excel<g ref="char:EOLhyphen"/>lent Tutor;
to which his Lordſhip readily acquieſced.</p>
<p>But, alas! though my Honours were very great, my Profits were very
ſmall. The diſmal Return of Summer, for ſo it was to me, robbed me of
every Friend; and, as I could not take up with mean Company, I was as
ſolitary in <hi>London</hi> as the Pelican in the Wilderneſs. I acquainted
Dr. <hi>T—rnbull</hi> with my melancholy Situ<g ref="char:EOLhyphen"/>ation, and prevailed on him
to write to Mr. <hi>P—n,</hi> to remit to me what was due, on the
Agreement between us. About ten Days after, the Poſt-man brought a Letter,
marked from <hi>Dublin,</hi> to the Doctor; he happened to be at
<hi>Ken<g ref="char:EOLhyphen"/>ſington,</hi> ſo I paid for it; and knowing he had no Acquaintance
in <hi>Ireland,</hi> I ven<g ref="char:EOLhyphen"/>tured <pb n="90" facs="tcp:0095100802:97"/> to open it; it was wrote
in a Text-Hand, the Contents of it were as follow:
<floatingText type="letter">
<body>
<opener>
<salute>SIR,</salute>
</opener>
<p>IN the Abſence of my Client, Mr. <hi>P—,</hi> I
received your Letter; and he would have you to know, the Woman, you mention, is
not his Wife, nor has he any thing to ſay to the infamous Wretch; ſhe fled
from <hi>Ireland,</hi> where ſhe ought to have been executed, for kill<g ref="char:EOLhyphen"/>ing
her Father, three of her Baſtards, and poiſoning her Huſband. It does not
be<g ref="char:EOLhyphen"/>come a Clergyman to countenance a com<g ref="char:EOLhyphen"/>mon Proſtitute; if ſhe owes you
any Money, you may put her in Jail; for I do aſſure you, it will never be
paid by Mr. <hi>P—n.</hi>
</p>
<closer>
<signed>I am, Sir, Your's, J. WALSH.</signed>
</closer>
</body>
</floatingText>
</p>
<p>
<pb n="91" facs="tcp:0095100802:98"/>Could one believe that any thing leſs than
infernal Malice could have forged ſuch an Accuſation againſt an innocent
Perſon? My very Blood thrilled with Horror, to think there could be ſuch a
Monſter of my Species; I am ſure he
<q>
<l>Shou'd never pray more, abandon all Remorſe</l>
<l>On Horrors Head, Horrors accumulate,</l>
<l>Do Deeds to make Heaven weep, all Earth amaz'd;</l>
<l>For nothing can he to Damnation add,</l>
<l>Greater than this.</l>
</q>
</p>
<p>Tho' I was far from the leaſt Appre<g ref="char:EOLhyphen"/>ſion that the evil Facts I
was charged with, as to killing all my Family, would meet with any Credit; yet
Mr. <hi>P—n</hi>'s denying me to be his Wife, and the De<g ref="char:EOLhyphen"/>claration that I
was not intitled to any thing from him might hurt mine; I ſup<g ref="char:EOLhyphen"/>preſſed the
Letter for a Day or two, 'till learning, by Accident, that the Lord Bi<g ref="char:EOLhyphen"/>ſhop
of <hi>Kilmore,</hi> now Lord Archbiſhop of <pb n="92" facs="tcp:0095100802:99"/>
<hi>Tuam</hi> (to whoſe Family my Father had the Honour of being Phyſician,
and to whoſe Humanity I am infinitely indebted, which, with the utmoſt
Reſpect, and Gratitude, I take this public Opportunity of acknow<g ref="char:EOLhyphen"/>ledging) was
in <hi>London</hi>; I took the Li<g ref="char:EOLhyphen"/>berty of addreſſing myſelf to him, as
the Daughter of a Gentleman, whom I was ſenſible his Lordſhip regarded;
my Ap<g ref="char:EOLhyphen"/>plication was not in vain, for though he that Day ſet out for
<hi>Ireland,</hi> he not only ſent me a handſome Preſent, but gave it in
ſo genteel, ſo polite a Manner, with his Compliments, that it added tenfold
Weight to his Favour.</p>
<p>When my Lord's Gentleman came to me, Providence ſo ordered, that
Dr. <hi>T—bull</hi> was drinking Coffee with me, and upon this
Encouragement of a Prelate's taking Compaſſion on my loſt Eſtate; I
ventured to communicate to him Mr. <hi>Walſh</hi>'s Letter; the Doctor lifted
up his Hands and Eyes to Heaven, and ſeemed as much ſhocked at the
Perfidiouſneſs of the Wretch, as I had been; for whoever wrote the Letter,
it was certainly done by <pb n="93" facs="tcp:0095100802:100"/> Mr. <hi>P—n</hi>'s
Direction; but no Won<g ref="char:EOLhyphen"/>der, when he had ſworn I was dead, and was actually
married to another, he tried every Method to deſtroy me. And, to convince the
World, I do not wrong him, I here preſent them with a Letter I re<g ref="char:EOLhyphen"/>ceived from
<hi>Ireland,</hi> and communicated to the preſent Primate, who knows it was
not a forged, but a genuine One.</p>
<floatingText type="letter">
<body>
<opener>
<salute>MADAM,</salute>
</opener>
<p>I Beg pardon for giving you this Trou<g ref="char:EOLhyphen"/>ble, though whether it can
be any to you, I know not, having been ſo often aſ<g ref="char:EOLhyphen"/>ſured by him, who
ought to have the beſt Cauſe of Knowledge, that you were long ſince dead;
but, to my great Surprize, I was informed by a Gentleman of Diſtinc<g ref="char:EOLhyphen"/>tion,
lately come from <hi>London,</hi> that he ſaw you, that you were very well,
and lived in <hi>St. James</hi>'s <hi>Street.</hi>
</p>
<p>The Cauſe of my Writing to you may ſeem odd, but this it
is.</p>
<p>Mr. <hi>P—n</hi> has, for ſome Time paſt, paid his
Addreſſes to a young Lady, who is the Daughter of my moſt intimate
<pb n="94" facs="tcp:0095100802:101"/> Friend, to whom I have often heard him, with repeated
Oaths, not only confirm your Death, but that alſo of his two younger
Children—the latter is already found to be a baſe Falſehood; and
ſhould it appear that he has attempted to impoſe a greater on us, there is
no Penalty the Law can inflict, which he ſhall not ſuf<g ref="char:EOLhyphen"/>fer, nor ſhall my
Reſentment ever leſſen or abate, as he has juſtly merited it.</p>
<p>I beg, Madam, if you yet exiſt, you will favour me with an
Anſwer, and let me know whether there were any Terms of Agreement between you
and Mr. <hi>P—n,</hi> on your Separation; and be aſſured neither
Money nor Friends ſhall be wanting to ſupport your Intereſt; and though I
have not the Pleaſure of being known to you, you will find a real Friend
in</p>
<closer>
<signed>DAVID LAMBERT.</signed>
</closer>
<postscript>
<p>Direct to me at the <hi>Globe Coffee-Houſe,
Dublin.</hi>
</p>
</postscript>
</body>
</floatingText>
<p>
<pb n="95" facs="tcp:0095100802:102"/>I anſwered this Letter the Moment I
re<g ref="char:EOLhyphen"/>ceived it, which was three Weeks after the Date, and never heard of the
Gentle<g ref="char:EOLhyphen"/>man more, nor know I whether he exiſts, or not.</p>
<p>And as Mr. <hi>P—n</hi> has, ſince my Return to
<hi>Ireland,</hi> accuſed me of at<g ref="char:EOLhyphen"/>tempting to injure him with the Primates,
as he ſtiles them; I fairly own I ſent Mr. <hi>Walſh</hi>'s Letter to the
late Lord Primate <hi>Hoadly,</hi> and Mr. <hi>Lambert</hi>'s Letter to the
preſent Lord Primate, (who, as he ſays in his moſt ſtupid Epiſtle,
ſcorned to counte<g ref="char:EOLhyphen"/>nance me;) and gave him my Letter, and my Liſt of
Subſcribers alſo, with full Power to do to them what he pleaſed: And,
truly Mr. Parſon, ſo do I; but if nei<g ref="char:EOLhyphen"/>ther the Lord Lieutenant, nor any of
the principal Perſons of Diſtinction in this Kingdom, who have honoured me
with their Regard, ſhould be willing to bear an Inſult from you, how can
you help your<g ref="char:EOLhyphen"/>ſelf? Why, Man, we are in a Proteſtant Country, and diſdain
to be Prieſt-ridden.</p>
<p>Finding myſelf unable to pay ſo high a Rent as I ſtood at, I
diſcharged my <pb n="96" facs="tcp:0095100802:103"/> Lodging and Servant, and went to board
and lodge at a very genteel Houſe in <hi>Green-ſtreet,
Groſvenor-Square</hi>; my Land<g ref="char:EOLhyphen"/>lord was Valet de Chambre to the Earl of
<hi>Stair,</hi> and his Wife a top Laundreſs, which, in <hi>London,</hi> is a
very profitable Employment.</p>
<p>As ſhe waſhed for ſeveral Perſons of Diſtinction, ſhe
uſed, on a <hi>Sunday,</hi> to in<g ref="char:EOLhyphen"/>vite the Head-Servants of Noblemen's
Fa<g ref="char:EOLhyphen"/>milies to Dinner, at which, I never took Umbrage; for you are ſure from
them to learn every Circumſtance relating to their Lords and Ladies; and many
entertaining Stories of their particular Humours and Gallantries, did I learn;
ſo true is it, that either good or evil Fame proceeds from our Domeſtics;
and no Wonder, as they have a better Opportunity than the reſt of the World,
to watch our unguarded Hours, and comment on our Frailties.</p>
<p>Amongſt others, Sir <hi>John Ligonier</hi>'s Gentleman, as they
ſtiled him, which Name, his generous Maſter ſoon after en<g ref="char:EOLhyphen"/>titled him to,
by giving him a Commiſ<g ref="char:EOLhyphen"/>ſion, dined with us; he looked very at<g ref="char:EOLhyphen"/>tentively
<pb n="97" facs="tcp:0095100802:104"/> at me, and put me into Confu<g ref="char:EOLhyphen"/>ſion, by telling my
Landlady, ſhe had, to his Knowledge, a Gentlewoman Lodger.</p>
<p>After Dinner, my Landlord brought in a large Bowl of Punch, Pipes
and Tobacco, upon which I made my <hi>Exit.</hi>
</p>
<p>I had not long been in my Dreſſing-Room, which opened into a
very ſweet Garden, when Mr. <hi>Parkinſon,</hi> for ſo was this Perſon
called, followed me. He told me, he hated Drink and Tobacco, and would be
infinitely obliged to me for a Diſh of Tea, which, as my Curioſity was
raiſed by the Words he had let drop at Din<g ref="char:EOLhyphen"/>ner, I readily conſented to give
him.</p>
<p>He had, he told me, frequently ſeen me in
<hi>Stephen's-Green,</hi> and was in <hi>Dublin</hi> at the Time of my
Separation from my Huſband, and that Numbers of People la<g ref="char:EOLhyphen"/>mented my hard
Fate. I told him I had not found it ſo, for that I could not even get what
was due to me from thence, nor an Anſwer to any Letter I ever wrote.</p>
<p>He then aſked me, how I got any Sup<g ref="char:EOLhyphen"/>port; eſpecially, as he
had learned from the Family, that I lived very retired; I in<g ref="char:EOLhyphen"/>genuouſly
<pb n="98" facs="tcp:0095100802:105"/> told him, I had no other For<g ref="char:EOLhyphen"/>tune than my Pen, and, at
his Requeſt, ſhewed him ſome of my Writings; he told me his Maſter
delighted in Poetry, and was one of the moſt generous Gentle<g ref="char:EOLhyphen"/>men living, and
that he was certain, if I applied to him, he would be a Friend to me: I was
eaſily prevailed on to write to him, to beg he would do me the Honour of
ſubſcribing to me, and ſent him ſuch of my Rhymes as I myſelf had the
beſt Opinion of. The General wrote me a very polite Anſwer, and, as he
lived but a few Doors from my Lodging, gave me, the next Evening, the Honour of
a Viſit.</p>
<p>This Gentleman is ſo univerſally known, beloved, honoured, and
eſteemed, that I dare not attempt his Character, being aſ<g ref="char:EOLhyphen"/>ſured my beſt
Painting would fall infi<g ref="char:EOLhyphen"/>nitely ſhort of the excellent Original. Nor was I at
all ſurprized that he ſhould be a Fa<g ref="char:EOLhyphen"/>vourite of the Fair, who was adorned
with Honour, Generoſity, Valour, and yet even Female Softneſs, and
Complacency, added to the Charms of a moſt graceful and majeſtic
Perſon.</p>
<p>
<pb n="99" facs="tcp:0095100802:106"/>And if in an advanced Age he ſhone ſo
brightly, what muſt he have done in his firſt Bloom, when
<q>
<l>His kindling Cheeks, with purple Beau<g ref="char:EOLhyphen"/>ties glow'd,</l>
<l>His lovely ſparkling Eyes ſhot martial Fires;</l>
<l>Dreadful as <hi>Mars,</hi> and as his <hi>Venus</hi>
charming.</l>
</q> I dare ſay, half the Ladies would have cried out with
<hi>Phoedra.</hi>
<q>
<l>O God-like Form! O Extaſy, and Tranſ<g ref="char:EOLhyphen"/>port!</l>
</q>
</p>
<p>This worthy Gentleman ſubſcribed to me for Twelve Books, and
alſo engaged the late Duke of <hi>Argyle,</hi> the Earl of <hi>Stair,</hi>
the Lord <hi>Cobham,</hi> and ſeveral other <hi>Eng<g ref="char:EOLhyphen"/>liſh</hi> Noblemen, to
do me the ſame Ho<g ref="char:EOLhyphen"/>nour.</p>
<p>So the Almighty raiſed me Friends, even in a ſtrange Land; and
proved my Huſband, tho' a Prieſt, no Prophet, who <pb n="100" facs="tcp:0095100802:107"/>
declared I ſhould ſtarve; to which, indeed, his beſt Endeavours have not
been wanting.</p>
<p>But, he ſhould have remembered the Words of holy <hi>David: I
have been young, and now am old, yet never ſaw I the Righ<g ref="char:EOLhyphen"/>teous Man
forſaken, nor his Seed begging their Bread.</hi>
</p>
<p>My dear Father had, by his many good Works, entailed a
Bleſſing on my honeſt Endeavours; and as Mr. <hi>Cibber</hi> uſed to
ſay, when I wrote any thing that pleaſed him,
<q rend="inline">"The Gift of the great God to you, preſerves
you;"</q> which, as I never ſold, nor proſtituted it to unworthy Ends, I
humbly hope his Mercy will afford to me, as long as I have any Being.</p>
<p>This timely Aſſiſtance enabled me not only to live, but to
purſue my writing, which no Perſon can ever do well, while their Minds are,
like <hi>Martha</hi>'s, troubled with many Things.</p>
<p>A few Days after this, a very genteel pretty Woman, took a Lodging
in the ſame Houſe with me: She was with Child, and her Huſband was, as
ſhe ſaid, a Lawyer, and was gone the Circuit; ſo <pb n="101" facs="tcp:0095100802:108"/>
finding the City not agree with her, ſhe moved to better Air. As ſhe had
very good Furniture, my Landlady made no Scruple to accept of her without
farther Enquiry; and I was well pleaſed to think, I ſhould have an
agreeable Companion.</p>
<p>Her Manner of Life greatly ſurprized me; for, in two Months
Time, ſhe never once went abroad, nor did any human Creature come to viſit
her.</p>
<p>At length, about two o'Clock one Morning, a Gentleman came, who,
ſhe ſhe ſaid, was her Huſband; ſhe let him in herſelf, and he left
her early in the Morning, ſo that none of the Family ſaw him; he repeated
his nocturnal Viſits ſeve<g ref="char:EOLhyphen"/>ral Times, after the ſame Manner, in the Dead
ſtill, and Middle of the Night, which appeared to me rather to wear the Face
of an Amour, than lawful Matri<g ref="char:EOLhyphen"/>mony.</p>
<p>At length, the Gentleman failed in his Attendance, and the Lady
ſaid, he was gone into the Country.
<q>
<pb n="102" facs="tcp:0095100802:109"/>
<l>The Nightly Knocking at the Door did ceaſe,</l>
<l>The noiſeleſs Hammer ruſted there in Peace.</l>
</q> Some
Weeks paſt over without either a Meſſage, or a Letter, coming from the
ſuppoſed Huſband, upon which ſhe fell into a deep Melancholy; which,
though ſhe ſeemed to attribute to her Apprehen<g ref="char:EOLhyphen"/>ſion of the approaching
Hour, I could ea<g ref="char:EOLhyphen"/>ſily perceive had ſome more ſecret and latent
Cauſe.</p>
<p>And as in my Life I had never ſeen a more retired, or modeſt
Perſon, I had the utmoſt Compaſſion for her, and judged, if ſhe was
among the Number of the Unfor<g ref="char:EOLhyphen"/>tunate, ſome uncommon Villainy had been
practiſed againſt her.</p>
<p>As we were very intimate, I frequently ſurprized her in Tears;
and, at laſt, I ventured to beg her to acquaint me with the Cauſe of her
Affliction, aſſuring her, it was not an impertinent Female Curioſity
which urged me on, but a real Deſire to <pb n="103" facs="tcp:0095100802:110"/> be
ſerviceable to her, which, perhaps, by ſome Means or other, Providence
might point out.</p>
<p>She burſt into Tears, and fondly em<g ref="char:EOLhyphen"/>bracing me, told me, ſhe
wanted a Friend to unboſom herſelf to, and added, that if I would be her
Bedfellow that Night, ſhe would relate to me her unhappy Story.</p>
<p>Wiſhed for Night came, and my fair Friend kept her
Promiſe.</p>
<p>I am, ſaid ſhe, the Daughter of an emi<g ref="char:EOLhyphen"/>nent Merchant, who by
his extraordinary good Nature, in being Surety for others, hoſpitable Spirit,
and very great Loſſes at Sea, was obliged to live in a more narrow
Compaſs than ſuited the Generoſity of his Mind; my Mother dying when I
was but twelve Years of Age, my Father made me Miſtreſs of the Houſe,
which he ſaid would teach me to be an Oeconomiſt, and to know how to govern
one of my own. When I was about fourteen Years of Age, a wealthy Packer, a very
handſome Man, courted me; my Father ingenuouſly told him, he could give him
but five hun<g ref="char:EOLhyphen"/>dred <pb n="104" facs="tcp:0095100802:111"/> Pounds, with which, if he was
ſatis<g ref="char:EOLhyphen"/>fied, and, that I had no Objection to it, he ſhould be very glad to
have him for a Son-in-law.</p>
<p>Mr. <hi>H—rn—l,</hi> for ſo was he called,
aſſured him he would gladly take me without a Portion, but my Father
inſiſted on his Acceptance of it, as it would help to furniſh a
Houſe.</p>
<p>Whatever may be thought at <hi>St. James</hi>'s, theſe who
converſe with the Traders of <hi>London,</hi> will find, they neither want
Senſe nor Politeneſs; and I liked Mr. <hi>H—l</hi> ſo well, that I
was very glad of being ſo happily diſpoſed of.</p>
<p>My Huſband took a Houſe commo<g ref="char:EOLhyphen"/>dious for his Buſineſs, and
for four Years, during which Time I had four Children, we lived in great
Harmony.</p>
<p>But, in the mean Time, I had the Miſ<g ref="char:EOLhyphen"/>fortune of loſing my dear
Father, who leſt the little Remainder of his Fortune, as a Portion for my
younger Siſter, and ap<g ref="char:EOLhyphen"/>pointed my Huſband to be her Guardian.</p>
<p>One Day he told me, he was afraid he ſhould not be able to keep
ſuch good <pb n="105" facs="tcp:0095100802:112"/> Hours as he had done, being choſen a
Member of the Philoſophic Club; in which were many Gentlemen of
Diſtinc<g ref="char:EOLhyphen"/>tion, whoſe Acquaintance it was greatly his Intereſt to
cultivate, and to whom it was an Honour to be known, ſo he hoped it would not
give me any Uneaſineſs: I anſwered, he had always been ſo indulgent to
me, I muſt be ungrateful, indeed, to take Offence, or be uneaſy at any
thing he was pleaſed to do; he ſeemed tranſ<g ref="char:EOLhyphen"/>ported with my Anſwer,
kiſſed me, and ſaid, I was the beſt Wife living. Little did I think
what Villainy he was perpetra<g ref="char:EOLhyphen"/>ting againſt me.</p>
<p>He now ſtayed out ſeveral Nights en<g ref="char:EOLhyphen"/>tirely, and, if he came at
all, it was not 'till Four or Five in the Morning, which, being unacquainted
with Jealouſy, gave me no other Concern, than the Fear that Irre<g ref="char:EOLhyphen"/>gularities
might prejudice his Health; but I have often been ſurprized at his coming
Home ſo ſober, and that he did not ap<g ref="char:EOLhyphen"/>pear drowſy, after ſuch long
watching.</p>
<p>One Morning, in particular, he no ſooner entered, but he called
for his Ri<g ref="char:EOLhyphen"/>ding <pb n="106" facs="tcp:0095100802:113"/> Dreſs, and told me, he was going with
a Gentleman into the Country, for a few Days; ſo giving me his Purſe, in
which were forty Guineas, he deſired I would carefully obſerve his
Buſineſs, in which I was now a pretty good Proficient.</p>
<p>Three Months Time elapſed, and, tho' I wrote to him, according
to his own Di<g ref="char:EOLhyphen"/>rection, I never received an Anſwer.</p>
<p>I was now filled with the moſt gloomy Apprehenſions; one Time
concluding he had been murdered; a thouſand Fears preſented themſelves to
my Imagination, 'till loſt and bewildered, I could fix on nothing: My Friends
perſuaded me to ad<g ref="char:EOLhyphen"/>vertiſe him, which accordingly I did.</p>
<p>Some Days after, a very well dreſt young Gentleman deſired to
ſee me; I ſhewed him into the Parlour, where he demanded of me, whether I
was Mr. <hi>H—l</hi>'s Wife? I ſaid, yes; upon which, to my great
Surprize, he aſked me, could I prove it? I aſſured him I could:
<q rend="inline">"That is all I want, Madam:"</q> I begged he would
explain thoſe dark Speeches, inaſmuch as they quite terrified
<pb n="107" facs="tcp:0095100802:114"/> me:
<q rend="inline">"Madam, ſaid he, my Name is
<hi>L—ck—y,</hi> I have a good Eſtate, and am newly called to the
Bar; your Huſ<g ref="char:EOLhyphen"/>band has inveigled away my Siſter, and married her; ſhe is
under Age, and has fifteen thouſand Pounds to her Fortune; ſhe ſhall
prove her Marriage; and, if you do not prove your prior one, what can the World
think of you?"</q>
</p>
<p>I was ſo aſtoniſhed at this Account, that I fainted
away;—the Gentleman called the Servants to my Aſſiſtance, and
ſtayed by me 'till I came to myſelf; the Agonies I felt, are only known to
thoſe who have truly and tenderly loved: dread<g ref="char:EOLhyphen"/>ful Alternative! either to
proſecute a be<g ref="char:EOLhyphen"/>loved Huſband to Death, or be myſelf deemed an infamous
Woman?</p>
<p>Here the poor Creature had ſo renewed her own Anguiſh, and
ſo awakened all my Woes, that our Eyes ſtreamed ſocial, and mingled their
ſympathetic Waters; 'till, inſenſibly, the dewy-feathered Sleep cloſed
up our Eye-lids.</p>
<p>
<pb n="108" facs="tcp:0095100802:115"/>I longed as much for the next Night, as the
<hi>Sultan,</hi> in <hi>The Arabian Nights En<g ref="char:EOLhyphen"/>tertainment,</hi> did to hear the
charming <hi>Sche<g ref="char:EOLhyphen"/>razade</hi>'s fine Stories; at length it came, and the Lady
proceeded.</p>
<p>I begged a Day or two to conſider on ſo important an Affair,
and alſo to con<g ref="char:EOLhyphen"/>ſult with my Friends, what was moſt ad<g ref="char:EOLhyphen"/>viſeable for me
to do, and then I would return a poſitive Anſwer; ſo, having an Uncle in
<hi>Bond-ſtreet,</hi> I ſent my Houſhold Furniture there: Dear Madam,
ſaid I, what did you do with your Children? Oh, returned ſhe, I never had
one that lived above a few Days. That, ſaid I, was happy. I think ſo now,
ſaid ſhe, though I did not then. I told my Uncle all my mournful Story, who
adviſed me, bv all Means, to vindicate myſelf, and not fall a Prey to ſo
conſummate a Villain.</p>
<p>I ſtayed with my Uncle, who was a Widower; my Siſter married,
and Mr. <hi>H—</hi> would not pay her her For<g ref="char:EOLhyphen"/>tune, as ſhe had not
aſked his Conſent: <pb n="109" facs="tcp:0095100802:116"/> My Uncle would not permit either
a Let<g ref="char:EOLhyphen"/>ter, or a Meſſage to be delivered to me, but kept me a perfect
Priſoner; how<g ref="char:EOLhyphen"/>ever, there was a young Lady in the Neighbourhood, whom he had
ſome In<g ref="char:EOLhyphen"/>clination to marry, and whom he fre<g ref="char:EOLhyphen"/>quently brought, as a Companion,
to re<g ref="char:EOLhyphen"/>lieve my ſolitary Hours.</p>
<p>One Evening ſhe inſiſted on my coming to drink Tea with her,
my Uncle urged me to it; I went. Judge of my Surprize! when I found there my
Huſband's Mother and Siſter all drowned in Tears; they told me, he was
confined in <hi>Newgate,</hi>—had taken the Priſon-Fever, and declared
he could not die in Peace, unleſs he ſaw me.</p>
<p>I loved too well to refuſe his Requeſt, upon which they
immediately hurried me into a Coach; and there indeed he was; the Lawyer had
arraigned him for his Life, and he muſt take his Trial.</p>
<p>He looked ſo dejected, and ſeemed ſo ſincerely penitent,
and I, alas! ſo ſincerely loved him, that I even conſented to ſtay with
him in his Confinement; he acknow<g ref="char:EOLhyphen"/>ledged <pb n="110" facs="tcp:0095100802:117"/> his Fault; but
very artfully inſinu<g ref="char:EOLhyphen"/>ated, that it did not proceed from any Change in his
Affection, but that his Cir<g ref="char:EOLhyphen"/>cumſtances were ſo diſtreſſed, that he
had no other Means to retrieve them; that his Death could be of no Service to
me;—that I knew myſelf to be his lawful Wife; that he would always
ſupport me; in ſhort, he uſed every tender and prevailing Argument to
keep me from appearing againſt him, and, Heaven knows, I had no Inclination
to do it.</p>
<p>When his Trial-Day came, his ſecond Wife fully proved her
Marriage to him; but, like the real Mother, I choſe to give her all, ſooner
than divide him, ſo ſhe triumphed over me; and, as I had given up the
Cauſe, none of my Friends would give me any Aſſiſtance. I am now in the
oddeſt Situation imaginable; even a kept Miſtreſs to my own Huſband;
for, upon no other Terms, would he give me any Relief; nor do I know whether to
ſtile myſelf innocent or guilty for my Conde<g ref="char:EOLhyphen"/>ſcenſion to him.</p>
<p>
<pb n="111" facs="tcp:0095100802:118"/>As my Tenderneſs for him made me appear in
a bad Light to the World, ever ready to cenſure even our beſt Actions; I
dare not in my preſent Condition, let any Perſon, who knows me, ſee me,
leſt they ſhould think of me worſe than I deſerve—I have had no
Supply from him for a conſiderable Time; he has prohibited my writing to him
at his Houſe; and now, dear Madam, adviſe me what to do.</p>
<p>There was ſomething ſo peculiarly un<g ref="char:EOLhyphen"/>happy in this poor
Creature's Fate, that it might puzzle a wiſer Head than mine to comply with
her Requeſt; I conſidered it every way without being able to form any
Scheme for her Relief.</p>
<p>At length, ſhe told me, he kept an Of<g ref="char:EOLhyphen"/>fice on
<hi>Ludgate-Hill,</hi> (where he was always to be found at Nine) in the
Morning, as his ſecond Wife was too fine a Lady to bear one in the Houſe;
ſhe imagined, if I could ſee him, I might work on his Compaſſion; I
readily conſented to do any thing which might be ſerviceable to her, and
riſing early next Morning, ſhe <pb n="112" facs="tcp:0095100802:119"/> gave me a Letter to
him, which I pro<g ref="char:EOLhyphen"/>miſed not to deliver, but into his own Hand.</p>
<p>Accordingly, I ſet out on my Embaſſy, and found the
Gentleman, ſuch as ſhe had deſcribed him, a polite, handſome Man, of
above thirty Years of Age; he was alone, and received me very civilly: I
preſented the Letter, but ſeemed ignorant of the Contents; I could eaſily
perceive he was much diſturbed; however, with a marvellous Aſſurance, he
ſaid, he could not give Charity to every Body; that he had often
aſſiſted that unfortunate Perſon; that ſhe ought to work for her
Bread, as many of her Betters did, and a Number of ſuch inhuman Speeches,
common on thoſe Occaſions. I told him her preſent Condi<g ref="char:EOLhyphen"/>tions did not
enable her to perform any but Needle-work, and that he who put her into it
ſhould ſupport her; he aſked me what I meant? Nothing but Honesty; if a
Man gets a Child he ought to take care of it. What, ſaid he, would you have
me father a Baſtard? She could not, <pb n="113" facs="tcp:0095100802:120"/> I am ſure, have
One by you; and would not, I am convinced, have One by any Body elſe. He bade
me explain myſelf; I told him, he perfectly underſtood me, and therefore it
was not neceſſary; but that if he pleaſed, I would tell Mrs.
<hi>H—l</hi> the ſecond, of his Midnight Viſits to his Wife. The
Wretch ſeemed confounded, and ſeeing I knew him ſo well, thought he had
beſt be quiet, eſpecially as a Gen<g ref="char:EOLhyphen"/>tleman came in, before whom he did not
care to be expoſed; ſo he called me to the Staircaſe, and putting a
Couple of Guineas into my Hand, ſaid aloud, Madam, I ſhall take care, and
mind your Directions; I begged he would, and ſo we parted: But, I am well
convinced, it was Fear, not Love, that made him ſend her even that
Trifle.</p>
<p>This unhappy Lady died a few Hours after ſhe was brought to Bed,
the Infant alſo died; and I hope, though her Huſ<g ref="char:EOLhyphen"/>band, by her Lenity, once
eſcaped a Hal<g ref="char:EOLhyphen"/>ter, juſtly due to him, he has, by this Time, inherited it,
for I would have ſuch Offenders ſo cut off.</p>
<p>
<pb n="114" facs="tcp:0095100802:121"/>I grew ſo melancholy at the Loſs of my
Companion, that I did not even care for writing, but amuſed myſelf entirely
with reading; and my not having a Li<g ref="char:EOLhyphen"/>brary of my own, made me a conſtant
Cuſtomer to a Shop in the Neighbour<g ref="char:EOLhyphen"/>hood, where they hired out Books by the
Quarter; this brought me into an Ac<g ref="char:EOLhyphen"/>quaintance with the Perſons who kept it,
ſenſible, well-bred People: One Day I received a Letter from Mrs.
<hi>Ryves,</hi> for that was their Name, that ſhe had ſome very agreeable
Friends with her, and that they wanted a Hand at Quadrille, ſo ſhe hoped I
would be of their Party; I was very glad of any Recreation, and as they lived
but in <hi>Brook-Street,</hi> directly went. I was ſhewn into a Parlour,
where ſat an old Man, whom I knew to be a <hi>Grub-Street</hi> Writer, and a
young Gentleman in a very plain Dreſs, whom I alſo ſuppoſed to be in
the ſame Claſs; they were playing Crib<g ref="char:EOLhyphen"/>bage for a Farthing a Game, and,
inſtead of Counters, ſcored with Chalk; they had alſo an Ale-houſe Pot,
with ſome Porter <pb n="115" facs="tcp:0095100802:122"/> in it, ſtanding by them, and the
Room ſmelled ſtrong of Tobacco; from theſe Appearances, I conceived a
very con<g ref="char:EOLhyphen"/>temptible Opinion of the Company, and would have retired, had I known
how to do it civilly; but, as at my Entrance, I had told Mrs. <hi>Ryves,</hi> I
was entirely diſ<g ref="char:EOLhyphen"/>engaged that Evening, I could by no means get off; and could
only hope for ſome little Amuſement, by hearing what thoſe Underlings in
Arts and Sciences might have to ſay;
<q>
<l>For ev'ry Object of Creation</l>
<l>May furniſh Hints for Contemplation.</l>
</q> The Scene,
however, was changed, the diſagreeable Part of the Decoration re<g ref="char:EOLhyphen"/>moved, and a
Quadrille Table introduced.</p>
<p>The younger Gentleman propoſed our playing for Nothing:
<q rend="inline">"Pſhaw, ſaid I, then we ſhall all
cheat;"</q>
<q rend="inline">"I would no more do that, ſaid he, than give a
Vote againſt my Country."</q>—This ſurpri<g ref="char:EOLhyphen"/>zed me; told him, I hoped,
as he ex<g ref="char:EOLhyphen"/>pressed ſuch a Spirit of Patriotiſm, he had <pb n="116" facs="tcp:0095100802:123"/>
a Seat in the Houſe: He ſaid, he had the Honour of repreſenting the
ancient City of <hi>Canterbury</hi>; that his Father was Ad<g ref="char:EOLhyphen"/>miral
<hi>Rocke,</hi> and that he was married to the Siſter of the Lord
<hi>Guilford Dudley,</hi> a Lady unmatched in Wit, and Beauty: I told him, I
was glad to find one Perſon of Diſtinction, who was not aſhamed to do
Juſtice to the Merits of his Lady:
<q rend="inline">"I ſhould be a Scoundrel, ſaid he to refuſe
it; ſhe gave me the Preference to a Man of a much larger Fortune, to whom her
Friends had deſtined her; an Obligation never to be forgot by a grateful
Spirit."</q> This Gentleman had ſuch an uncommon generous way of think<g ref="char:EOLhyphen"/>ing,
that, inſtead of minding the Game, I was quite attentive to him, which he
ob<g ref="char:EOLhyphen"/>ſerving, ſaid,
<q rend="inline">"Take away the Cards, they are only fit to amuſe
ſuch as are incapable of taſting a more rational Entertainment."</q>
</p>
<p>I was very glad of this;—the old Scrib<g ref="char:EOLhyphen"/>bler walked into the
Shop, to recreate him<g ref="char:EOLhyphen"/>ſelf <pb n="117" facs="tcp:0095100802:124"/> with Tobacco, and Porter;
and Mrs. <hi>Ryves</hi> went to get us ſome Chat-inſpiring Liquor, Green
Tea.</p>
<p>I told Mr. <hi>Rooke,</hi> if I had been any way wanting in
Reſpect to him, I hoped he would attribute it to my Ignorance of his Station,
and the Company, and Situa<g ref="char:EOLhyphen"/>tion I found him in.</p>
<p>He aſſured me, I had committed no Offence, nor did he believe
it was in my Nature: But, ſaid he, as you have re<g ref="char:EOLhyphen"/>marked on the Company, you
muſt know my Wife and Lord <hi>S—thw—ll</hi>'s Siſters went
this Morning to <hi>Greenwich:</hi> I had ſome Buſineſs which prevented
my waiting on them; when that was over, I went to <hi>Mount-Street
Coffee-Houſe,</hi> in order to pick up ſome Company to dine with me, and
finding none, I aſked the old Man, who refuſed me, as Mrs. <hi>Ryves</hi>
had engaged him; I told him, I would go dine with him;—as I had, in the
Shop, read your Apology for the Miniſter, I was greatly ſurpriſed to hear
it was the Product of a Lady's Pen; when I ſeemed to queſtion
<pb n="118" facs="tcp:0095100802:125"/> it, they propoſed ſending for you, which being very
agreeable to me, was imme<g ref="char:EOLhyphen"/>diately done; ſo, Madam, this is the Hiſ<g ref="char:EOLhyphen"/>tory of
the Day.</p>
<p>I thanked the Gentleman, for his Com<g ref="char:EOLhyphen"/>plaiſance in relating
it.</p>
<p>The Tea put him into ſuch high Spirits, that he, finding me a
Sort of a Politician, told me many entertaining Stories about Sir
<hi>Rob—t W—l<gap reason="illegible" resp="#OXF" extent="1 letter">
<desc>•</desc>
</gap>
</hi>'s
various Schemes to have always the Majority of the Houſe on his Side; of
which, as many as I can re<g ref="char:EOLhyphen"/>collect that were humorous, I preſent my Readers
with.</p>
<p>The Firſt was this: One Sir <hi>Cl—dy
M—cd—l,</hi> a <hi>Scots</hi> Baronet, without a Foot of Eſtate,
was returned duly elected, for what Shire I have forgot; however, he came to
<hi>London,</hi> took a Hackney-Coach, and drove to Sir <hi>Rob—t</hi>'s;
the Servants ſaid, he was engaged; but Sir <hi>Cl—dy</hi> inſiſted
on his carrying up his Name, and, leſt he ſhould forget it, he jumped out
of the Coach, and, running up Stairs after him, delivered his Embaſſy
<pb n="119" facs="tcp:0095100802:126"/> himſelf. Sir <hi>Rob—t</hi> welcomed him, and,
like a Courtier, told him, he ſhould be glad to ſerve him:
<q rend="inline">"Nay, nay, Mon, returned he, I came na here for
Com<g ref="char:EOLhyphen"/>pliments; I ha ne Siller to get a Lodg<g ref="char:EOLhyphen"/>ing, ſo I'll e'en ſtay here till
you give me ſome:"</q> So Sir <hi>Rob—t</hi> choſe to give him his
Purſe, rather than be plagued with his Impertinence.</p>
<p>The Earl of <hi>P—rb—h,</hi> a Pen<g ref="char:EOLhyphen"/>ſioner, told Sir
<hi>Rob—t,</hi> he was always at a Loſs how to vote, inaſmuch as he
did not underſtand the Debates,—and was ſo near ſighted, that when
the Houſe divided, he knew not of which Side to go:—Sir
<hi>Rob—t</hi> bade him always follow the Bi<g ref="char:EOLhyphen"/>ſhops. It happened, on the
Convention Scheme, three or four of the Biſhops roſe, and the Earl ſeeing
them move, he, ac<g ref="char:EOLhyphen"/>cording to his Maſter's Direction, followed them, and voted
point-blank againſt his his Intereſt.</p>
<p>Mr. <hi>Rooke,</hi> ſeeing how much I was pleaſed,
proceeded:</p>
<p>
<pb n="120" facs="tcp:0095100802:127"/>A <hi>Scots</hi> Peer, who was alſo a
Pen<g ref="char:EOLhyphen"/>ſioner, and a remarkable fat Man, came one Morning, according to
Cuſtom, to Sir <hi>Rob—t</hi>'s Levee, and, without the leaſt
Ceremony, laid hold of his Ribbon; Sir <hi>Rob—t</hi> could not readily
diſengage him<g ref="char:EOLhyphen"/>ſelf, and the Nobleman lugged him to the Window, in which,
ſouſing him<g ref="char:EOLhyphen"/>ſelf down, he happened to have an Eſcape, which carried
with it ſo loud a Report, that it threw the whole Company into Laughter.</p>
<p>Very well, my Lord, ſaid the Miniſter, pray what have you
farther to ſay?</p>
<p>
<q rend="inline">"Why, this it is, Sir <hi>Rob—t,</hi> I owe
Fifteen Hundred Pounds, and by G—d, if you don't give it to me, I'll go
to<g ref="char:EOLhyphen"/>morrow to the Houſe, and vote ac<g ref="char:EOLhyphen"/>cording to Conſcience."</q> 'Tis to be
preſumed his Demand was complied with in private, though laughed at in
public, as he always voted with Sir <hi>Rob—t.</hi>
</p>
<p>Mr. <hi>Rocke</hi> finding me attentive, pro<g ref="char:EOLhyphen"/>ceeded: The late Duke
of <hi>Wh—ton</hi> was a Man of infinite Variety, and Humour;
<pb n="121" facs="tcp:0095100802:128"/> at the Time of the Diſcovery of <hi>Atter<g ref="char:EOLhyphen"/>bury</hi>'s
<hi>Plot,</hi> as they called it, which was proved by decyphering Letters, and
tor<g ref="char:EOLhyphen"/>turing the harmleſs Alphabet into Treaſon; the Duke ſaw a Man at the
Door of the Parliament-Houſe, ſelling Horn-books; Sir
<hi>Rob—t</hi>'s Equipage ſtopped, and the Duke, laying hold of him as
he alight, told him, he was ſurpriſed he did not ſend that Fellow to
<hi>Newgate,</hi> who was ſelling ſuch a Libel on the Miniſtry:
<q rend="inline">"Why, ſaid Sir <hi>Rob—t,</hi> my Lord,
thoſe are Horn-books;"</q>
<q rend="inline">"Treaſon, by G—, replied the Duke, as I
will convince you;"</q> ſo holding him, he ran on,
<q>
<l>
<hi>A</hi> ſtands for an <hi>Army,</hi> and <hi>B</hi> for a
<hi>Bench,</hi>
</l>
<l>
<hi>C</hi> ſtands for a <hi>Court,</hi> and <hi>D</hi> for a
<hi>Drench,</hi>
</l>
<l>
<hi>E,</hi> I won't interpret that,</l>
<l>
<hi>F</hi> ſtands for gay <hi>France,</hi> which we hope
will not ſwerve,</l>
<l>And <hi>G</hi> ſtands for <hi>George,</hi>—whom God
long preſerve,</l>
<l>
<pb n="122" facs="tcp:0095100802:129"/>
<hi>P</hi> ſtands for the
<hi>P—x,</hi> the <hi>Pretender,</hi> the <hi>Pope,</hi>
</l>
<l>And <hi>R</hi> ſtands for <hi>Robin,</hi> and
<hi>Ribbon,</hi> and <hi>Rope!</hi>
</l>
</q> ſaid he, pulling him by the blue
String; the Miniſter could not help himſelf, and being naturally of a
pacific Temper, took this as quietly as he did G-n-r-l
<hi>Ch—ch—ll</hi>'s lying with his W<gap reason="illegible" resp="#OXF" extent="1 letter">
<desc>•</desc>
</gap>fe.</p>
<p>As I had never heard the Story, I beg<g ref="char:EOLhyphen"/>ged he would relate it: Why,
ſaid he Sir <hi>R-b-rt</hi> went out very early one Morning to the Houſe,
but having forgot ſome Paper of Importance to the dirty Work of the
Day,—he returned Home for it, and paſſing through his Wife's
Apartment to his Cloſet, what ſhould he ſee, but his ſerene Spouſe
and the General in amorous Dalliance—the General, All-Hero as he was,
jumped out of Bed, and beſought Mercy, from, as he ſuppoſed, his
incenſed Rival; but the good Man, reſembling <hi>Cato</hi> in one Point,
<q>
<pb n="123" facs="tcp:0095100802:130"/>
<l>Who, if a Friend or ſo ſhould chance to need her,</l>
<l>Would recommend her as a ſpecial Breeder.</l>
</q> ſaid
careleſly,
<q rend="inline">"Prithee, what does the Fool mean? you look very
warm; get into Bed again, or you'll catch Cold."</q>
</p>
<p>Mr. <hi>Rooke,</hi> ſeeing me ſo well diverted with this
Story, proceeded to another: As I have, ſaid he, mentioned the Duke of
<hi>Wh—rt—n,</hi>—you are to know, he had an Intrigue with
Mrs. <hi>P—,</hi> now C—teſs of <hi>B—</hi>; one Morning,
as they were in Bed together, he recollected that he had promiſed to write a
Letter to a Friend—ſo he called for a Pen, Ink, and Paper; but being at
a Loſs for a Writing-Deſk, made the Lady turn up her Poſte—s, and
dated his Letter from ſweet <hi>P—ggy P—lt—y</hi>'s
<hi>&c. &c. &c.</hi>
</p>
<p>Here entered our kind Hoſt, and brought us in a Paper called the
<hi>Champion,</hi> in which was a very humorous Piece of Advice to all who went
to C—t, to wear Shields on their Bu—s; this was ſo <hi>Mal</hi>
<pb n="124" facs="tcp:0095100802:131"/>
<hi>à propos</hi> that it raiſed out Mirth:
Said Mr. <hi>Rooke,</hi> his M—'s own was in Dan<g ref="char:EOLhyphen"/>ger the other Night; As
how, Sir? Why, ſaid he, Sir <hi>Rob—t,</hi> not chuſing to hurt the
Kingdom by the K—'s uſing foreign Commodities, when we had ſo much
cheaper and better at Home, recom<g ref="char:EOLhyphen"/>mended to him Miſs
<hi>Sk—rr—t,</hi> as an Hand-Maiden; his M— liked her ſo
well, that he invited her to ſup with him in the C—teſs of
<hi>Y—h</hi>'s Apart<g ref="char:EOLhyphen"/>ment, where growing a little more fond of his young
Miſtreſs than the old One could bear, ſhe aroſe, and as the K—
leaned over the Table, drew the Chair from under him, and let M— come
ſouſe to the Ground: Oh, what a Falling-off was there! He, all enraged,
roſe again, kicked firſt the C—ſs, next his Hat, and retired to his
Apartment, marvelouſly diſtempered with Choler.</p>
<p>Well, Sir, ſaid I, ſurely Sir <hi>R—t</hi> was a moſt
neceſſary Servant, that would even Sir <hi>Pandarus</hi> of <hi>Troy</hi>
become, and that for his own Daughter, to oblige his M—; but an able
Politician will turn <pb n="125" facs="tcp:0095100802:132"/> his Hand to any thing, where
Profits may accrue, and Mr. <hi>Gay</hi> obſerves that
<q>
<l>In Pimps, and Politicians,</l>
<l>The Genius is the ſame.</l>
</q> And yet, who could
ſuſpect a Man of his Reverence and Station, for the moſt vile and
ſervile of all Employments!</p>
<p>Oh ſy, ſaid he, don't diſgrace ſo noble an Occupation. I
aſſure you, the Knight's Complaiſance to the General proved the Means of
ſaving his own Life; for, on the Exciſe Scheme, the People were ſo
incenſed, that they determined to put him to Death, and yet make it ſeem
Chance Medley: Accordingly, as he was going down to St. <hi>Stephen</hi>'s
<hi>Steps,</hi> into our il<g ref="char:EOLhyphen"/>luſtrious S—te-Houſe! one Man puſhed
him ſo hard that he tumbled on his Face, and a Number of Perſons determined
to run over him, and trample him to Death; but the General, who was with him,
drew his Sword, and ſwore the firſt who ad<g ref="char:EOLhyphen"/>vanced ſhould die on Point of
<hi>Fox.</hi>
</p>
<p>
<pb n="126" facs="tcp:0095100802:133"/>No body ventured to encounter a
<hi>Ch—ll,</hi> ſo the Prime M—ſter eſcaped.</p>
<p>Ah! ſaid I, that was God's Mercy, and ten Thouſand Pities!
Faith, ſaid he, and ſo it was.</p>
<p>Mr. <hi>Rooke</hi> now began to be a little in<g ref="char:EOLhyphen"/>quiſitive, who I
was? I told him my Name was <hi>Meade,</hi> for by that I always went in
<hi>London</hi>; ſo that the numerous Stories of Mrs. <hi>P—n</hi>'s
being in Ta<g ref="char:EOLhyphen"/>verns, Bagnio's, <hi>&c.</hi> which my Huſband ſays be can
prove, (<hi>Mem.</hi> he lyes) never appertained to me; but to his own
C—ſin <hi>N—y P—n,</hi> whoſe Father lives in
<hi>Pill-Lane,</hi>—and who is herſelf as common a Proſtitute as ever
traverſed the Hundreds of <hi>Drury.</hi>
</p>
<p>I do this to convince him I ſcorn to rob any of his
illuſtrious Family of their noble Atchievements, and, according to the old
Proverb, '<hi>Tis but proper to ſet the Saddle on the right Horſe,</hi> or
rather Mare, for I think ſhe much reſembles one.</p>
<p>But to return.</p>
<p>
<pb n="127" facs="tcp:0095100802:134"/>Mr. <hi>Rooke</hi> aſked me, if I was
related to Capt. <hi>Meade?</hi> I told him, he was my Uncle's Son: He ſaid,
he was a worthy little Fellow; that he knew him very well, and had made him his
Confidant in his Amour with his Lady.</p>
<p>Time ſtole inſenſibly away with ſuch agreeable
Amuſement; we ſat till the ſmall Hours without Drowſineſs, nor did we
de<g ref="char:EOLhyphen"/>ſire the Aid of <hi>Bacchus</hi> to keep up our Spirits.</p>
<p>I humbly hope no body will attempt to decypher my Initials; for I
do aſſure them, the great <hi>M—</hi> is an innocent Letter, and does
not like <hi>Mitching, Mal<g ref="char:EOLhyphen"/>licho,</hi> mean Miſchief.</p>
<p>I told Mr. <hi>Rooke,</hi> I was going to pub<g ref="char:EOLhyphen"/>liſh a Book by
Subſcription; he ſaid, he was ſure it muſt be good, ſo he gave me a
Guinea, and promiſed to uſe his Intereſt for me.</p>
<p>He told me, he would come and viſit me the firſt Hour he had
to ſpare: I an<g ref="char:EOLhyphen"/>wered, I hoped he would ſoon find one: Well then, ſaid he,
I'll tell you how I paſs the Day, and do you find one.</p>
<p>
<pb n="128" facs="tcp:0095100802:135"/>I riſe about Nine, drink Coffee, not that
I like it, but that it gives a Man the Air of a Politician; for the ſame
Reaſon, al<g ref="char:EOLhyphen"/>ways read the News;—then I dreſs, and about Twelve, go to
the <hi>Cocoa-Tree,</hi> where I talk Treaſon; from thence to St.
<hi>James</hi>'s Coffee-Houſe, where I praiſe the Miniſtry; then to
<hi>White</hi>'s, where I talk Gallantry; ſo by Three I return Home to
Dinner; after that, I read about an Hour, and digeſt the Book and the Dinner
to<g ref="char:EOLhyphen"/>gether;—then I go the Opera or Play, <hi>Vaux-Hall</hi> or
<hi>Ranelagh,</hi> according to the Seaſon of the Year; from thence Home to
Supper, and about Twelve to Bed.</p>
<p>I ſmiled at the Gentleman's whimſical Deſcription of his
paſſing the Day, and told him he had, by his own Account, three or four
Hours to beſtow on me, as the Hour he talked Treaſon, the Hour he was
loyal, or the Hour in which he read;
<q rend="inline">"Ay, ſaid he, very gaily, or what think you of
the laſt Flour, wherein I go to Bed?"</q>
<q rend="inline">"Oh, Sir, you are ſo much better enga<g ref="char:EOLhyphen"/>ged, it
would not only be Wickedneſs, but Folly alſo, to think of that at
all."</q>
</p>
<p>
<pb n="129" facs="tcp:0095100802:136"/>Well, depend on it, ſaid he, I'll ſee
you to<g ref="char:EOLhyphen"/>morrow; ſo we took Leave forever, for the very firſt News I heard
next Morning, was, that Mr. <hi>Rooke,</hi> a little while after he aroſe,
fell down in an Apoplectic Fit, and inſtantly expired.</p>
<p>I never was more ſhocked than at his untimely Fate; Heavens! all
Wit, Life, and Gaiety at Night, and dead in the Morning! I wept for him as a
Friend, and ſuch, I am ſure, he would have been to me, had he lived. I
found, by theſe two me<g ref="char:EOLhyphen"/>lancholy Events, there was nothing ſerious in
Mortality; all was but Toys! I frequently recollected Dr. <hi>Delany</hi>'s
beautiful Lines on ſeeing himſelf in the Glaſs:
<q>
<l>When I revolve this evaneſcent State</l>
<l>Of ſhort Duration, and uncertain Date;</l>
<l>My Being, and my Stay dependent ſtill,</l>
<l>Not on my own, but on another's Will;</l>
<l>I aſk myſelf as I my Form review,</l>
<l>Which is the real Shadow of the two?</l>
</q>
</p>
<p>Mrs. <hi>Ryves</hi> was alſo much touched for the Loſs of this
Gentleman, and, indeed, <pb n="130" facs="tcp:0095100802:137"/> ſo was every body who knew
him. She and I went one Afternoon to walk in <hi>St. James</hi>'s
<hi>Park,</hi> but finding myſelf weary, ſhe propoſed going to a
Phyſician's Houſe in <hi>Weſtminſter,</hi> a Widower, and her
Rela<g ref="char:EOLhyphen"/>tion, where we could get a Diſh of Tea, and reſt ourſelves; I
agreed; the Doctor was at Home, and a very polite Gentle<g ref="char:EOLhyphen"/>man; I found by the
Furniture of the Room, he was a <hi>Virtuoſo,</hi> it being adorned with
Books, Medals, Paintings, dried Butterflies, and Tomes of Caſuiſtry.</p>
<p>The Dean mentions it as a Praiſe to <hi>Vaneſſa,</hi> that
<q>
<l>She, witb Addreſs, each Genius held</l>
<l>To that wherein they moſt excell'd;</l>
<l>So making others Wiſdom known,</l>
<l>She pleas'd them, and improv'd her own.</l>
</q> For no
ſooner did the Doctor perceive that I knew <hi>Mark Anthony</hi> from
<hi>Julius Caeſar,</hi> and <hi>Brutus</hi> from both, but he related a great
Part of the <hi>Roman</hi> Hiſtory to me, even from the firſt
<hi>Punic</hi> War to the Death of <hi>Julius.</hi>
</p>
<p>
<pb n="131" facs="tcp:0095100802:138"/>My Readers may venture to believe it was not
new to me, who had from my Childhood been, if I may uſe the Word, a perfect
Devourer of Books; and I found them both ſweet to the Palate, and
nou<g ref="char:EOLhyphen"/>riſhing Food to the Mind.</p>
<p>It has been obſerved, as a Piece of re<g ref="char:EOLhyphen"/>fined Policy in
<hi>Gondamore</hi> the <hi>Spaniard,</hi> that he uſed to talk bad
<hi>Latin</hi> to King <hi>James</hi> I. who being a Pedant rather than a
Prince, had ſo much Pleaſure in, as he thought, ſetting this
<hi>Machiavel</hi> right, that, to oblige his Pupil, he complimented him with
the Head of that learned and brave Man Sir <hi>Walter Raleigh.</hi>
</p>
<p>I have often ſucceſsfully practiſed the ſame Art, and
gained many Friends by ſeeming to take their Inſtruction with Pleaſure;
to acknowledge their Superiority of Underſtanding, on which even Fools pride
themſelves, is, I believe the moſt delicate way of flattering ever yet
thought of, as <hi>Caſſius</hi> ſays of <hi>Caeſar,</hi>
<q>
<l>And when I tell him, he hates Flattery,</l>
<l>He ſays he does, being then moſt flattered.</l>
</q>
<pb n="132" facs="tcp:0095100802:139"/> Very few People are Virtue Proof there, all, like
<hi>Achilles,</hi> have a mortal Heel, and though
<q>
<l>'Tis an old Maxim in the Schools,</l>
<l>That Flattery's the Food of Fools;</l>
<l>Yet, now and then, your Men of Wit</l>
<l>Will condeſcend to taſte a Bit.</l>
<bibl>Swift.</bibl>
</q>
</p>
<p>I found the good Doctor fallible here, to my great Happineſs, as
it made him my Friend; and, under God, his Skill and Care ſoon after ſaved
my Life.</p>
<p>The Gentleman made us ſtay to Supper, finding when the Wind was
in one particu<g ref="char:EOLhyphen"/>lar Point, I was as wiſe as <hi>Hamlet,</hi> and knew a Hawk
from a Handſaw.</p>
<p>At Supper I told him, I was an <hi>Amicus,</hi> a-kin to the
Faculty, being a Phyſician's Daughter, upon which he aroſe, and ſaid he
muſt ſalute his Niece; and, that if ever I ſhould fall ſick, he claimed
the Ho<g ref="char:EOLhyphen"/>nour of attending me. We ſtayed toge<g ref="char:EOLhyphen"/>ther till Twelve very chearfully,
and then parted in Peace.</p>
<p>
<pb n="133" facs="tcp:0095100802:140"/>I have obſerved, if my Life had any
Sunſhine, it was but a faint and watery Gleam, too ſoon overcaſt, for, in
a very few Days, I was ſeized with a violent Fe<g ref="char:EOLhyphen"/>ver; it took me with cold
ſhivering Fits, and remembering the Doctor's Claim, I ſent for him. He had
me bled, and ordered me to go to Bed; I did not ſee him till next Morning, by
which time I was quite light-headed, and crying out for my Chil<g ref="char:EOLhyphen"/>dren; when the
Doctor came, I told him he had ſtolen them from me, and carried them to Mr.
<hi>P—n</hi>; on this he opened my Boſom, for which I alſo
quarrelled, and ſaid he was a very impudent Fellow; he, ſmiling, ſaid, I
had a very fair Skin, but that he was under a Neceſſity of making free with
it, otherwiſe he could not anſwer for my Life; and as, it ſeems, it was
full of purple Spots, he ordered a large Bliſter for my Back, and one for
each Arm; what paſt for ſome Days, in which, they were renewed, I know not,
being quite inſenſible even to Pain; but when the Fever abated, and
Reaſon once <pb n="134" facs="tcp:0095100802:141"/> more reaſſumed her Throne, what Frail
Machines are we, when Sickneſs can diſ<g ref="char:EOLhyphen"/>place her? They aſſured me, I
raved in<g ref="char:EOLhyphen"/>ceſſantly for my dear little Ones, and fell into ſuch Fits of
Crying and Lamentation for them, that it put them in Mind of <hi>Rachel</hi>
mourning for the Loſs of her Chil<g ref="char:EOLhyphen"/>dren, who refuſed to be comforted,
be<g ref="char:EOLhyphen"/>cauſe they were not.</p>
<p>So, as it has been often obſerved, that there is Truth in Wine,
I found there was Truth in Madneſs, the Cauſe that hurts the Brain, or the
reigning Paſſion of the Soul then manifeſts itſelf, and as my Be<g ref="char:EOLhyphen"/>loved
were evermore preſent to my Ima<g ref="char:EOLhyphen"/>gination, it was no Wonder that their Names
dwelt ever on my Tongue.</p>
<p>When theſe Things were told me, I, as one newly awakened from
Sleep, remem<g ref="char:EOLhyphen"/>bered ſome wild, disjointed, incoherent Ideas, which had
poſſeſſed my Soul, even during it's lethargic State; ſuch as, that
Mr. <hi>P—n</hi> was going to offer ſome violent Injury to our
Children, but of what Kind I knew not, it was fled, like the Remembrance of a
Gueſt which tarrieth <pb n="135" facs="tcp:0095100802:142"/> but a Day. I might have as well
have endeavoured to find out the Path which the light Bird had with his Wings
beat in the buxom Air, or the Track of a Ship, when with it's crooked Keel, it
divides the briny Waves which immediately unite again; or ſeize old
<hi>Time,</hi> and bid him bring me back one Moment paſt, as hope to
recollect what, was for ever loſt in Oblivion.</p>
<p>Indeed I have frequently had theſe ſu<g ref="char:EOLhyphen"/>pernatural Sollicitings,
or a Kind of Indi<g ref="char:EOLhyphen"/>cation of whatever was to befal me before it happened: Nay,
what is more ſurpri<g ref="char:EOLhyphen"/>zing, I have read a Hiſtory, to me quite new, and it
has occurred to me, that I myſelf had been ſome way principally concerned
in the moſt material Tranſactions of it, tho' they were paſt a thouſand
Years.</p>
<p>Had I lived in the Days of <hi>Pythagoras,</hi> I believe I
ſhould have been of his Opi<g ref="char:EOLhyphen"/>nion, and have imagined,
<q>
<l>That all Things are but altered; nothing dies,</l>
<l>And here and there th' unbody'd Spirit flies.</l>
</q>
<pb n="136" facs="tcp:0095100802:143"/> Nay, I ſhould have been afraid to kill a Woodcock,
leſt I ſhould diſinherit the Soul of my Grand-dame.</p>
<p>If my Reader thinks me whimſical, let him judge by the
Event.</p>
<p>A Woman, (in whoſe Garden I had once walked in <hi>Ireland)</hi>
the firſt Day I was able to ſit up, and very weak I was after ſo long
Sickneſs, even while my kind Phyſician was rubbing my Temples with
<hi>Hungary</hi> Water to recover me out of a fainting Fit, ruſhed into the
Room, and, without the leaſt Ceremony, cried out,
<q rend="inline">"Do you know what that Villain has done?"</q> As I
neither knew her, nor who ſhe ſpoke of, I was quite ſtartled, and aſked
her, who ſhe talked about, or what ſhe meant?
<q rend="inline">"That Villain <hi>P—n,</hi> ſays ſhe,
who has ſold your two younger Children for Slaves to <hi>New York:</hi>"</q>
This was ſuch a monſtrous Crime I could ſcarce give any Credit to it;
for, even admit<g ref="char:EOLhyphen"/>ting what he had ſo cruelly charged me with in Regard to his
Bed, was Truth, how had their helpleſs Innocence offended
<pb n="137" facs="tcp:0095100802:144"/> him? I obſerved to the Doctor, my Ra<g ref="char:EOLhyphen"/>vings were
ominous, and portended ſome dire Calamity.</p>
<p>The Doctor, apprehending this Shock might make me relapſe,
begged of the Perſon who gave it, to retire; which, after ſeveral
Aſſeverations, that what ſhe ſaid was Fact, as indeed it was, and that
ſhe had brought it out in that Manner to haſte me, if poſſible, to
prevent their un<g ref="char:EOLhyphen"/>happy Fate, ſhe did.</p>
<p>As the Doctor was not only a Man of excellent Underſtanding, but
alſo of great Humanity, I told him, as he had been ſo kind to adminiſter
to the Health of my Body, he muſt now, if poſſible, adminiſter to a
Mind diſeaſed; and as it was impoſ<g ref="char:EOLhyphen"/>ſible for him to preſcribe
Remedies with<g ref="char:EOLhyphen"/>out knowing the Diſtemper, and it's Ori<g ref="char:EOLhyphen"/>ginal, I gave him my
Story in a few Words, and he adviſed me to write to <hi>Ireland,</hi> to the
Rulers, and Biſhops, which I did that very Night; and, pro<g ref="char:EOLhyphen"/>videntially, the
Letters were delivered Time enough to prevent the Children being ſold to
Slavery—the Affair was <pb n="138" facs="tcp:0095100802:145"/> enquired into, and Mr.
<hi>P—n</hi> was obliged to refund to the Maſter of the Kid-Ship, the
Golden Earneſt he had received as the Price of the Innocent.</p>
<p>What to me was moſt ſurprizing, was, that Mr.
<hi>P—n</hi>'s Mother was one of the Contrivers of this infernal Plot;
Grand<g ref="char:EOLhyphen"/>mothers being uſually more indulgent to their Grandchildren than even
their Mo<g ref="char:EOLhyphen"/>thers; but as ſhe who would have made a Prey of them is not long
ſince dead, even of the Diſeaſe that <hi>Herod, Peter the Cruel,</hi> and
other malignant Wretches fell by, I can only bid her adieu, and chari<g ref="char:EOLhyphen"/>tably
hope ſhe has eſcaped the Judgment of the next World, as it fell on her in
this.</p>
<p>Theſe Facts are ſo publickly known, that for the Evidence of
them I could pro<g ref="char:EOLhyphen"/>duce even a Cloud of Witneſſes, were it neceſſary.</p>
<p>And yet, who that beheld this Man, clad in holy Veſture at the
Altar, appear<g ref="char:EOLhyphen"/>ing like white-robed Innocence, with Eyes up-turned to Heaven,
could believe him capable of all Manner of Crimes;
<q>
<pb n="139" facs="tcp:0095100802:146"/>
<l>Perjury, Perjury in the higheſt Degree!</l>
<l>Cruelty, Cruelty in the ſterneſt Degree.</l>
</q> He may,
indeed, like <hi>Richard</hi> III. prove himſelf by theſe to be a Man; who,
when his Mother upbraids him with his mani<g ref="char:EOLhyphen"/>fold Acts of ſavage Tyranny, ſhe
ſays,
<q>
<l>No Beaſt ſo fierce, but knows ſome Touch of Pity.</l>
<l>
<hi>Rich.</hi> But I know none, and therefore am no
Beaſt.</l>
</q>
</p>
<p>And, indeed Mr. <hi>P—n</hi> may again ſay with him, that
he has nothing
<q>
<lg>
<l>But the plain Devil, and diſſembling Looks</l>
<l>To back his Cauſe.</l>
</lg>
<lg>
<l>Oh that <hi>Ithuriel</hi>'s heav'nly temper'd Spear</l>
<l>Would make the Fiend in his own Shape appear,</l>
</lg>
</q>
<pb n="140" facs="tcp:0095100802:147"/> Or pluck the holy Furr from off
his Back, and let the World, for once ſee what the Inſide of a wicked
Prieſt is made of.</p>
<p>As I received no Account from <hi>Ireland,</hi> I knew not what to
think; ſometimes I flattered myſelf that the Woman had be<g ref="char:EOLhyphen"/>lied him; at
other Times, reflecting on his intolerable Barbarity to the poor Crea<g ref="char:EOLhyphen"/>tures,
whom Diſtreſs alone made me leave immured within his inhoſpitable Walls,
too rough a Cradle for my pretty Ones! my very Heart died within me, and I am
as well aſſured, as that I live, that it was not the Fear of God, but the
Fear of a Halter, hindered him from embruing his own Hands in their vital
Blood.</p>
<p>But, enough of the Wretch, who, if he can diſprove me, ought to
do it; he attributes his Silence to Contempt of me, but it is well known he
neither wants Wit, nor Words, nor Impudence to bring him off: It is ſtrong
Conviction, with Proof as full and evident as Day againſt him, ties up his
guilty Tongue.</p>
<p>
<pb n="141" facs="tcp:0095100802:148"/>At length, I thought of writing to
<hi>W—rſ—le,</hi> as I had learned he was in <hi>Dublin:</hi> He
wrote me Word, that the Children were all well; that he had given an
Apprentice-Fee with my Daughter to a Milliner, and had taken my youngeſt Son
to himſelf; that old Mr. <hi>P—n</hi> and my Mother were dead, and my
laſt Child, which, being but an Infant, I could not carry to <hi>London</hi>
with me; that he had got a famous oſſified Man, and was going to carry him
to <hi>Paris</hi> for a Shew, to which Place he earneſtly invited me to
accompany him.</p>
<p>I hoped, by this Letter, that Mr. <hi>P—n</hi> had been
wronged, with re<g ref="char:EOLhyphen"/>gard to the Children under his Care; and tho' ſome humane
Tears fell for the Loſs of my Mother and my Child, yet, con<g ref="char:EOLhyphen"/>ſidering how
deſolate they both were, I en<g ref="char:EOLhyphen"/>vied rather than deplored their Fate.</p>
<p>The Child, here mentioned, was that which Mr. <hi>P—n</hi>
diſclaimed, and adviſed me to leave upon the Pariſh.</p>
<p>And now I do aſſure my Readers I was alſo ſincerely
ſorry for the Death of old <pb n="142" facs="tcp:0095100802:149"/> Mr. <hi>P—n,</hi>
inaſmuch as he always treated me with a fatherly Tenderneſs, was
exceſſively fond of my Children, was a Man of a great uncultivated Genius;
and, tho' I have mentioned his keeping an Alehouſe, I did not mean it in any
Diſ<g ref="char:EOLhyphen"/>reſpect to his Memory; for he was the Son of a Gentleman, tho', by
various Miſ<g ref="char:EOLhyphen"/>fortunes, he was reduced to take up ſo low an Occupation; but
nothing can be juſtly deemed ſcandalous which is not diſhoneſt. And, I
am well convinced, had he lived, he never would have conſented to the
in<g ref="char:EOLhyphen"/>human Barbarity of his Son.
<q>
<l>Adieu, and take thy Praiſe with thee to Heav'n!</l>
</q>
</p>
<p>So many melancholy Incidents had be<g ref="char:EOLhyphen"/>fallen me in this ſolitary
Place, that I de<g ref="char:EOLhyphen"/>termined to change my Lodging; and was recommended by a
Stationer's Wife to a ſingle Gentlewoman who kept a Milliner's Shop in
<hi>Fleet-ſtreet</hi>; ſhe was a jolly likely Dame, of about Forty, very
gay; we liked each other ſo well, that we ſoon <pb n="143" facs="tcp:0095100802:150"/> made
a Bargain, and, for a few Days, I was very well pleaſed with the Change, as
the Variety of that buſy Part of <hi>London</hi> amuſed my Mind: But I
ſoon found that I was got into very bad Hands, and that my new Landlady was
neither better nor worſe than a mercenary Town Jilt; who being pretty well
known herſelf, and conſequently deſpiſed, wanted ſomething new to
produce to her Cuſtomers.</p>
<p>I think I never ſaw any Perſon in my Life who did not
poſſeſs one good Quality, except this Creature; for Woman is a Term too
gentle for her, who had not even Decency to hide her Shame.</p>
<p>To give my Reader a Taſte of her Cleanlineſs: She told me
herſelf ſhe had not combed her Head for three Years, which, I believe, was
true, becauſe ſhe was not Miſtreſs of a Comb, except when ſhe made
free with mine, than which no<g ref="char:EOLhyphen"/>thing could be more offenſive to me, ſo that
her Hair, tho' naturally fine, being quite matted on a filthy Hair-cap,
ſeemed to be a Compoſition of raw Silk and Moſs, ſuch as I remember to
have ſtolen a Lock <pb n="144" facs="tcp:0095100802:151"/> of from the H<gap reason="illegible" resp="#OXF" extent="1 letter">
<desc>•</desc>
</gap>ad of Good Duke <hi>Hum<g ref="char:EOLhyphen"/>phrey,</hi> at <hi>St.
Albans,</hi> three hundred Years after his Death: Shifts ſhe had two as
yellow as Canvas, but they were ſleeveleſs; no Matter for thar, ſhe
ſold ready-made Cambrick Sleeves, and could eaſily pin on a Pair, for ſhe
never took any farther Trouble about them; I think I muſt for the reſt
refer my Reader to the Lady's Dreſſing-room, for
<q>
<l>In ſuch a Caſe few Words are beſt,</l>
<l>And <hi>Strephon</hi> bids us gueſs the reſt.</l>
</q>
</p>
<p>I really, 'till I ſaw this Wretch, ima<g ref="char:EOLhyphen"/>gined the Dean had only
muſtered up all the dirty Ideas in the World in one Piece, on Purpoſe to
affront the Fair Sex, as he uſed humorouſly to ſtile old Beggar-women,
and Cinder-Pickers.</p>
<p>This makes me digreſs to relate a Com<g ref="char:EOLhyphen"/>pliment of his to ſome
Ladies, who ſupped with him, of which I had the Honour to be One: The Dean
was giving us an Ac<g ref="char:EOLhyphen"/>count of ſome Woman, who, he told us, was the
naſtieſt, filthieſt, moſt ſtinking old <pb n="145" facs="tcp:0095100802:152"/>
B—ch that ever was yet ſeen, except the Company, Ladies! except the
Company! for that you know is but civil. We all bowed; could we do leſs?</p>
<p>From the Time I had the Misfortune of being her Tenant, ſhe
invited every Perſon ſhe had any Acquaintance with to ſee me, as tho' I
had been ſome outlandiſh Monſter, or wonderful Curioſity. Amongſt the
reſt, ſhe prevailed on the now L—d Ch—f J—ſt—ce
<hi>E—e,</hi> then a Stu<g ref="char:EOLhyphen"/>dent in <hi>Grays-Inn,</hi> a fine Gentleman,
po<g ref="char:EOLhyphen"/>etically turned, and ſomewhat too much upon the effeminate or delicate
Order to bear whatever was not quite refined, to venture into her Dining-Room,
where I ſat ſcribbling; I was for retiring, but that was not permitted: The
Gentleman, who was dreſſed in black Velvet, and had the Air of a Perſon
of Diſtinction, ſaid, he hoped as his Viſit was intended entirely to me,
I would not be ſo unkind as to refuſe it.</p>
<p>I ſaid, I did not know how I was enti<g ref="char:EOLhyphen"/>tled to ſuch an Honour;
but ſince he was pleaſed to beſtow it on me, I ſhould with Gratitude
accept of it. My Hoſteſs, for <pb n="146" facs="tcp:0095100802:153"/> that Name, by her
Bulk, far above the common Size of Females, ſhe ſeemed to deſerve,
prudently left the Stranger and I to ourſelves, under Pretence that ſhe
muſt at<g ref="char:EOLhyphen"/>tend her Shop. Mr. <hi>E—e,</hi> ſeeing my Table covered with
written Papers, told me, my Room reſembled that of a Law<g ref="char:EOLhyphen"/>yer, and aſked me
Leave to read my Contemplations; to which I agreeing, he had the Complaiſance
to ſeem entertained; when, to my unſpeakable Confuſion, the Brute
returned, and cried,
<q rend="inline">"What will you treat the Lady with?"</q>
<q rend="inline">Any thing ſhe chuſes,"</q> returned he, and
ſeemed as much confounded as I was:
<q rend="inline">"Pray, Madam, what do you like?"</q>
<q rend="inline">"No<g ref="char:EOLhyphen"/>thing at preſent, Sir, but what I have
ordered, ſome Coffee;"</q> as it was but Five o'Clock in the Afternoon, and
as the Gentleman was remarkable for Sobriety, he approved of my Taſte: He
offered to pay for it;
<q rend="inline">"I told him, I did not ſell it, and that he
could not more highly ag<g ref="char:EOLhyphen"/>grieve me."</q>
</p>
<p>My Landlady ſent it up, but did not think proper to partake of
our Repaſt, of <pb n="147" facs="tcp:0095100802:154"/> which I was very glad; he looked on me
with Eyes of great Compaſſion, eſpecially as he obſerved the Tears
ſpringing from mine, for indeed I was quite ſhocked; he aſked me how I
became acquainted with a Perſon ſo very unlike myſelf? I told him, I was
a Stranger, and knew very little of her: as he gave Credit to my Words, he
adviſed me to quit her Houſe, aſſuring me ſhe was a Procureſs, and,
as he ſaid, kept a Shop only to diſguiſe her real Occupation.</p>
<p>He had ſcarce finiſhed his friendly Cau<g ref="char:EOLhyphen"/>tion, when Madam
entered again with two very large Lobſters in one Hand, and a Bottle of Wine
in the other, ſhe laid a very foul Table Cloth, dreſſed her Fiſh, and
invited us to partake; which we refuſing, ſhe eat them all herſelf, drank
the Bottle of Wine, and very modeſtly deſired the Gentleman to pay for
them, to which he acquieſced.</p>
<p>This Scene made us laugh heartily, for ſhe fed with ſuch keen
Diſpatch, and drank ſo often, that ſhe ſeemed like a ſtarved Pierot,
devouring all before her.</p>
<p>
<pb n="148" facs="tcp:0095100802:155"/>Her Rage of Hunger being now, as we hoped,
ſuppreſſed, ſhe once more left us; and Mr. <hi>E—e</hi> ſaid,
<q rend="inline">"I hope you are now convinced, Madam, that, at
leaſt, your Reputation will be un<g ref="char:EOLhyphen"/>done, if you continue here:"</q> I
anſwered,
<q rend="inline">"It was but too true; but that, at pre<g ref="char:EOLhyphen"/>ſent, I
ſaw no Method of Relief, as ſhe owed me Money, which ſhe never was
baſhful in borrowing, by which means I was ill provided to remove, and had
agreed to take it out in Board and Lodging."</q>
</p>
<p>Here Madam once more ruſhed in, when, to my great Surprize!
ſhe aſked Mr. <hi>E—e,</hi> would he give her a roaſted Fowl and
Sauſages for Supper? He told her, after ſo plentiful a Meal as ſhe had
juſt made, he was ſure ſhe did but jeſt: She affirmed ſhe was in
earneſt, and that if he would not, there was a Gentleman below that
would.</p>
<p>Mr. <hi>E—e,</hi> who had a Mind to hold more Talk with me,
aſked me, what Part of the Houſe belonged to me? She anſwered, with
matchleſs Impudence, a <pb n="149" facs="tcp:0095100802:156"/> very good Bed-chamber, which
ſhe ſup<g ref="char:EOLhyphen"/>poſed, we ſhould have no Objection to, as we liked each other
ſo well.</p>
<p>I ſeemed not to take the Meaning of her Speech; and not having
the leaſt Appre<g ref="char:EOLhyphen"/>henſion of any Incivility being offered to me by a Perſon
of good Breeding, and Humanity; I told the Gentleman, he ſhould be very
welcome, if he pleaſed to walk into it,—as it was on the ſame Floor;
he ſaid, I did him great Honour, and that he would wait on me.</p>
<p>However, to avoid the evil Comments which wicked Perſons,
judging others by themſelves, are ever ready to make, I left the Door wide
open, to the no ſmall Mor<g ref="char:EOLhyphen"/>tification of my Landlady, and her new Gueſt, as
they were obliged to paſs by it.</p>
<p>And what ſhould he be but ſome drunken Swabber or Boatſwain!
whoſe Tarpaulin Compliments, of which we heard every Word diſtinctly, for
ſome time, diverted us; 'till, at laſt, their Talk became ſo
of<g ref="char:EOLhyphen"/>fenſive, that as I had left the Door open in Point of Decency, I was now
on the ſame Account obliged to ſhut it.</p>
<p>
<pb n="150" facs="tcp:0095100802:157"/>The Gentleman once more urged the
Neceſſity of my Departure from this vil<g ref="char:EOLhyphen"/>lainous Woman; aſſuring me, if
I would but change my Lodging, and ſend a Line to him, with a Direction,
where to find me, he would do every thing in his Power to ſerve
diſtreſſed Merit, as he was pleaſe to term it.</p>
<p>And that nothing might be wanting to enable me to do it, he, in a
very polite Manner, obliged me to accept of two Guineas, as a Subſcription to
my Wri<g ref="char:EOLhyphen"/>tings.</p>
<p>This ingenious Gentleman entertained me with the Recital of
ſeveral beautiful poetical Compoſitions of his own, and finding I was not
quite taſteleſs, but, at leaſt, endeavoured to give them due Praiſe, he
ſtayed with me 'till Ten o'Clock, no unſeaſonable Hour, as it was in the
Month of <hi>June</hi>; when, either being hungry himſelf, or willing to
entertain me, he inſiſted on my Permiſſion to ſend to the <hi>Devil
Tavern</hi> for ſome Supper, a Meal I never chuſe, but, in Complaiſance
to my Benefactor, and alſo as a Means of en<g ref="char:EOLhyphen"/>gaging <pb n="151" facs="tcp:0095100802:158"/> his
further Converſation, which was truly elegant, I, with ſome Reluc<g ref="char:EOLhyphen"/>tance,
ſubmitted to. Our one Maid be<g ref="char:EOLhyphen"/>ing gone for the other Bowl of Punch for the
Sailor, the Gentleman went and be<g ref="char:EOLhyphen"/>ſpoke it himſelf.</p>
<p>I could not, in his Abſence, but reflect how much the unhappy
Part of Women diſappoint even their own Ends; for when they throw off the
Appearance of Modeſty, and ſhew the mercenary Proſti<g ref="char:EOLhyphen"/>tute unveiled, no
Man of common Under<g ref="char:EOLhyphen"/>ſtanding can have the leaſt Regard for them; Mr.
<hi>Addiſon</hi> obſerves of ſome Wo<g ref="char:EOLhyphen"/>man, who kept a noted Houſe of
civil Reception, that ſhe ſaid, no Girl was fit, even for her, who was
paſt bluſhing. Well ſaid the Dean, in the following Lines:
<q>
<l>O Decency, coeleſtial Maid!</l>
<l>Deſcend from Heaven to Beauty's Aid;</l>
<l>Tho' Beauty may beget D<gap reason="illegible" resp="#OXF" extent="1 letter">
<desc>•</desc>
</gap>ſire,</l>
<l>'Tis thou muſt fan the Lover's Fire,</l>
<l>To hold him in Deluſion ſtill,</l>
<l>And make him fancy what you will.</l>
</q>
<pb n="152" facs="tcp:0095100802:159"/> And I do aſſure my Reader, I did not forget to
return Thanks to the Almighty, who had enabled me to live by his Gifts to me;
for, ſure I am, that I could raiſe no Money by vile Means;
<q>
<l>By Heav'n, I had rather coin my Heart for Gold,</l>
<l>And drop my Blood for Drachma's.</l>
<bibl>Shakeſpeare.</bibl>
</q>
</p>
<p>Mr. <hi>E—e</hi>'s Return broke off my Contemplation; he had
ordered a ſlight, but elegant Repaſt, with a Flaſk of
<hi>Cham<g ref="char:EOLhyphen"/>paigne</hi>; we ſupped together with great Pleaſure, and, except
the diſſonant and unharmonious Noiſe made by our Neigh<g ref="char:EOLhyphen"/>bours, who were
now got ſo merry, that they did, what they called, ſing; we had no
Interruption, but talked of Hiſtory, Poetry, and every Muſe-like Theme;
called all the mighty Dead before us, re-judged their Acts, commented on the
Works of <hi>Milton, Shakeſpear, Spencer,</hi> and all the <hi>Britiſh</hi>
Claſſics.
<q>
<pb n="153" facs="tcp:0095100802:160"/>
<l>Refin'd Delight, and fitted to endure!</l>
<l>But what can human Happineſs ſecure?</l>
<bibl>Delany</bibl>
</q>
</p>
<p>The Star, that uſhers in the roſy Dawn, began to reaſſume
her Empire o'er the Duſk, and drowſy World; the Bell tolled One, a Signal
of Departure to my amiable Gueſt, whoſe kind Injunctions, in regard to my
Removal, I promiſed to obey.</p>
<p>The Maid, whom her Miſtreſs half ſtarved, and though ſhe
was really her Betters, uſed ſo ill, that ſhe down-right hated her, told
me that the Sailor and ſhe were gone to Bed together, both dead drunk.</p>
<p>And yet this Creature would talk of Virtue, nay, go to Church;
but, to ſay the Truth, ſhe only went there to pick up a Gallant.</p>
<p>As I was not in the leaſt ſleepy, I diſ<g ref="char:EOLhyphen"/>miſſed the
Servant, and
<q>
<pb n="154" facs="tcp:0095100802:161"/>
<lg>
<l>Revolving in my clouded Soul</l>
<l>The various Turns of Things below,</l>
<l>Now and then a Sigh I ſtole,</l>
<l>And Tears began to flow.</l>
</lg>
<lg>
<l>I open'd the Window, looked at the Moon</l>
<l>Riding near her higheſt Noon,</l>
<l>Like One, who had been led aſtray</l>
<l>Thro' the Heav'ns wide pathleſs Way;</l>
<l>And oft, as if her Head ſhe bow'd,</l>
<l>Stooping thro' a fleecy Cloud.</l>
</lg>
</q> In ſhort, I was wrapped in a pleaſing Fit of
Melancholy, and had I been in the Country, midſt vernal Airs and Blooms,
ſhould have attuned my rural Minſtrelſy to ſome high Theme; but, alas!
Eaſe and Retirement, thoſe Friends to the Muſe, ever were denied to me,
being in a popu<g ref="char:EOLhyphen"/>lous City pent amidſt the buſy Hum of Men, obliged to work
for daily Bread, and often not obtaining even that poor Pittance.</p>
<p>Oh! that I could now retire! that ſome charitable Hand would
beſtow on my poor <pb n="155" facs="tcp:0095100802:162"/> Remains of Life, even but a Clay
Habita<g ref="char:EOLhyphen"/>tion in ſome ſequeſtered Scene, where,
<q>
<l>On ev'ry Thorn delightful Wiſdom grows,</l>
<l>In ev'ry Rill a ſweet Inſtruction flows.</l>
</q> How happy
ſhould I think myſelf!</p>
<p>My Readers will, I hope, acknow<g ref="char:EOLhyphen"/>ledge I deal candidly with them,
when I not only acquaint them with my Actions, but reveal to them even the
inmoſt Re<g ref="char:EOLhyphen"/>ceſſes of my Soul as freely as to Heaven.</p>
<p>At length, remembering that Nature requires a Time of Reſt, I
thought it but meet to indulge the pleaſing Heavi<g ref="char:EOLhyphen"/>neſs: or, in plainer
Language, I went to Bed, and enjoyed the Honey-dew of Sleep, 'till it was very
late in the Day.</p>
<p>It ſeems the Maid had, on purpoſe to mortify her Miſtreſs,
told her how genteely Mr. <hi>E—e</hi> had entertained me; which, though
ſhe herſelf had been guilty of ſuch foul Intemperance, and ſwiniſh
Gluttony, raiſed her Indignation to ſuch a Height, <pb n="156" facs="tcp:0095100802:163"/>
that ſhe downright affronted me, telling me, I had no Buſineſs with her
Gallant: Why, ſaid I, ſure you had him all to your<g ref="char:EOLhyphen"/>ſelf, I did not
interfere; for I ſuppoſed ſhe meant honeſt Tar, but, it ſeems, I was
miſtaken, for it was Mr. <hi>E—e,</hi> whom ſhe had ſo politely
diſmiſſed, and whom now ſhe had called a hundred Scrubs; aſ<g ref="char:EOLhyphen"/>ſuring
me, ſhe could never make any thing of him, and really I believed her; and by
what I then ſaw of her Temper, I am certain, had ſhe known he had made me a
Preſent, I ſhould not have eſcaped with<g ref="char:EOLhyphen"/>out a good Beating.</p>
<p>Well, ſaid ſhe, at laſt, I warrant I had a better Chap than
your fine Beau; (this was ſpeaking pretty plain) my Man gave me a Crown, and
Victuals, and Liquor enough: Now, be ſincere, what did that Mr.
<hi>Maiden</hi> give you? For what, ſaid I, I have nothing to ſell; you who
keep a Shop, and are in the way of Trade, may eaſily diſpoſe of five
Shillings Worth of Goods.</p>
<p>
<pb n="157" facs="tcp:0095100802:164"/>The Wretch knew not what Anſwer to make to
me; to acknowledge herſelf a Proſtitute, as I did not ſeem to think her
one, was too vile, even for her, and to have given but the moſt remote Hint,
that ſhe ſuſpected any evil Correſpondence between Mr.
<hi>E—e</hi> and me, laid her abſolutely at our Mercy.</p>
<p>However, ſhe turned off the Diſcourſe with what Mr.
<hi>Addiſon</hi> terms a Horſe-Laugh, an excellent Expedient to ſupply
the Lack of Brains, and which whoever can ſecure on their Side, are ſure of
Victory; for who can ſtand it, let it be ever ſo in<g ref="char:EOLhyphen"/>judiciouſly
beſtowed?</p>
<p>This I have very lately experienced, when one
<hi>W—dw—rd,</hi> a Player, got the Laugh againſt me, who never
vied with his ſuperior Excellence, only by ſaying,
<q>
<l>What, ſhall a Tumbler ſet me thus adrift,</l>
<l>I the Succeſſor of immortal <hi>Swift?</hi>
</l>
</q> Oh
that his Words had been true! that he had bequeathed to me the precious Legacy
of his Wit and Learning
<q>
<pb n="158" facs="tcp:0095100802:165"/>
<l>Or that, when all ſublim'd, he roſe to Heaven,</l>
<l>I had inherited his ſacred Mantle;</l>
<l>Then midſt the Prophets might I, in Strains</l>
<l>Such as delight the Ear of God, pour forth Unfetter'd
Harmony.</l>
</q>
</p>
<p>But to deſcend to this terrene Spot: I dreſt, and wandered
forth in queſt of a new Lodging; not well knowing this Part of the Town, I
paſt through a very clean Court, all inhabited by Jewellers, and juſt
oppoſite to the End of it ſaw on the Window of what they in <hi>London</hi>
call a Twiſt Shop, a Bill up to let the firſt Floor. The Woman of the
Houſe ſhewed me the Apartment; the Furniture was not only new but rich, and
I concluded the Price would be too high for me; but, to my great Surpriſe,
the Woman of the Houſe agreed, not only to furniſh me with Linen, but
alſo with Plate and China for Five Shillings a Week; there was but one
In<g ref="char:EOLhyphen"/>convenience, which was, that there was no Paſſage into the Houſe, but
through the <pb n="159" facs="tcp:0095100802:166"/> Shop, to which, if they did not object, I
had no Cauſe. It ſo fortuned that the Counteſs of <hi>Eſſex</hi>'s
Woman, whom I had known at the Laundreſs's before-men<g ref="char:EOLhyphen"/>tioned, came in, and
gave me ſo high a Character, that we agreed on my taking Poſſeſſion
of my new Apartment the next Day.</p>
<p>I went from this to a Friend's to Dinner, and did not return Home
till Ten at Night; but never in my Life was I more highly provoked; for lo! my
Land<g ref="char:EOLhyphen"/>lady and ſome Fellow or other were in my Bed; the Maid never apprized me
of it, being willing to expoſe her brutal Miſ<g ref="char:EOLhyphen"/>treſs to the utmoſt, but
ſhewed me into the Chamber.</p>
<p>I am certain, I was infinitely more aſhamed than ſhe was, for
ſhe called to me to ſit down on the Bed ſide; but I haſtened out, and,
as I could not take up with her Bed, I was obliged to ſit up all Night.</p>
<p>Pretty ſoon in the Morning, a Woman came to ſee me; ſhe and
I packed up my Clothes, called a Porter, and made him carry them to my new
Abode, and, as I <pb n="160" facs="tcp:0095100802:167"/> hoped never to ſee the Wretch again,
I did not bid her Adieu.</p>
<p>My Landlord was a Maſter-Taylor, in very good Circumſtances,
and his Wife a very ſober modeſt Woman.</p>
<p>I paſt a Week over very calmly, when remembering my Promiſe to
Mr. <hi>E—e,</hi> I wrote a Line to him, but, as I did not know what
Street I was in, I enquired of my Landlady, who with very great Re<g ref="char:EOLhyphen"/>luctance,
told me, it was <hi>Drury-Lane.</hi> I was extremely concerned at this Piece of
Information, which ſhe obſerved, and, aſ<g ref="char:EOLhyphen"/>ſured me, I might enquire into
her own, and her Huſband's Character; that they had kept their Lodgings
empty, ſooner than let them to any idle Perſon, though they could have had
a good Price for them; and a great deal more to the ſame effect; all which,
though I did moſt ſted<g ref="char:EOLhyphen"/>faſtly believe, yet I held it no proper Place for
me, of all Perſons in the World, to reſide in.</p>
<p>Women whoſe Characters are unble<g ref="char:EOLhyphen"/>miſhed, or, who have their
Huſbands <pb n="161" facs="tcp:0095100802:168"/> with them as Guardians to it, may do a
thouſand Things, which thoſe who have fallen on evil Days, and evil
Tongues, in Prudence muſt avoid.</p>
<p>I did not directly tell my Landlady that I muſt leave her, being
reſolved, if poſ<g ref="char:EOLhyphen"/>ſible, not to remove till I could find a Place where I
could be fixed.</p>
<p>Accordingly, I once more took my Way to <hi>St. James</hi>'s, and
called upon my old Landlady there: Her firſt Floor was let, but the ſecond
being tolerably genteel, we, as we had always been on very friend-Terms, ſoon
made a Bargain for it, and I was to enter on it as ſoon as my Week for the
other was up. The very Air of <hi>St. James</hi>'s always pleaſed me, and
indeed I received ſo many Favours from the Nobili<g ref="char:EOLhyphen"/>ty, that I had juſt
Cauſe to prefer it to any other Part of <hi>London.</hi>
</p>
<p>This happened to be ſome public Feſti<g ref="char:EOLhyphen"/>val, which, as I did not
recollect, I ſat with the good old Gentlewoman till Even<g ref="char:EOLhyphen"/>ing, when on my
return Home, there was a large Bonfire, and a great Crowd at the
<pb n="162" facs="tcp:0095100802:169"/> Temple-Gate; I ſtopped a little, being ſtar<g ref="char:EOLhyphen"/>tled,
and not well knowing how to paſs by, when an old Gentleman very well dreſt,
aſk<g ref="char:EOLhyphen"/>ed me where I was going? I told him, which was Truth, I had miſtaken my
Way, being a Stranger: He ſaid, if I'd let him know where I lived, he would
wait on me Home; I was almoſt aſhamed to do it, yet, conſidering they
were creditable Peo<g ref="char:EOLhyphen"/>ple where I lodged, I ventured to inform him. My Landlord
happened to be his Taylor, ſo he readily conducted me to his Houſe; the
People ſaluted him, and ask<g ref="char:EOLhyphen"/>ed him for his Lady and Family: Why, ſaid he,
this is one of them, ſhe is a near Relation to my Wife. I was ſurprized at
this new Kindred, and could not tell whether the old Gentleman ſpoke Truth or
not, though I could not recollect I had ever ſeen him be<g ref="char:EOLhyphen"/>fore: yet, as the
Landlord treated him with the higheſt Reſpect, I thought it not con<g ref="char:EOLhyphen"/>venient
to contradict him, ſo I invited him in, and wondered where this would
end!</p>
<p>My Landlady lighted us up to my Din<g ref="char:EOLhyphen"/>ing-room; he told her, I had
dined at his <pb n="163" facs="tcp:0095100802:170"/> Houſe, and that after ſo long a Walk I
muſt needs be dry, and therefore deſired her to get him a Bottle of Wine,
and a Plate of <hi>Scotch</hi> Collops from ſome particular Tavern he
directed her to.</p>
<p>As I found the old Gentleman did not ſtick at telling one Lye, I
concluded all he ſaid was falſe, as it really was.</p>
<p>She no ſooner departed, but he aſked me, whether he was not an
able Politician? I ſaid, he was a merry Gentleman, and I hoped as I had the
Honour of being his Couſin, he would let me know who he was, leſt I
ſhould be asked any croſs Queſtions, and our Accounts ſhould vary.</p>
<p>He told me his Name, and where he lived; that he had a
conſiderable Eſtate, and alſo a good Employment under the Government, all
of which did not make him happy, becauſe Heaven had not bleſſed him with
a Child.</p>
<p>He then asked me who I was? for he ſaid, he was ſure I had had
a good Edu<g ref="char:EOLhyphen"/>cation. As I had no reaſon to doubt of his Sincerity, I told him
my Story, with which he ſeemed much affected; and in <pb n="164" facs="tcp:0095100802:171"/>
Concluſion, I aſſured him, I was more un<g ref="char:EOLhyphen"/>happy in having Children, from
whom, in all probability, I was for ever ſeparated, than he could be, who
never had one.</p>
<p>Here my Landlady brought in Supper, to which he invited her to
ſtay; our Con<g ref="char:EOLhyphen"/>verſation turned on general Topics; it grew pretty late, when
to my great Aſtoniſh<g ref="char:EOLhyphen"/>ment, the Gentleman ſaid,
<q rend="inline">"Couſin, I think you told me, you wanted Mo<g ref="char:EOLhyphen"/>ney,
I have a good deal of your's in my Hands, though not much about me at
preſent; however, here are a couple of Guineas, when you want Fifty you know
where to come."</q> Would I did, thought I, but it was no time for me to
refuſe them.</p>
<p>When he went away, I knew not what to think of this odd Adventure,
ſometimes I fancied it was a Dream, and dreaded to wake leſt the Gold
ſhould vaniſh; then I began to flatter myſelf, that perhaps ſome
Relation had left me a Legacy; but hav<g ref="char:EOLhyphen"/>ing never ſince my Diſtreſs,
received the ſmalleſt Favour from one of them, I could hardly hope they
ſhould now feel any com<g ref="char:EOLhyphen"/>punctuous <pb n="165" facs="tcp:0095100802:172"/> Viſitings of
Nature, who were all to me, remorſeleſs as the Sea.</p>
<p>In ſhort, the more I thought, the more I was perplexed, and
could only humbly hope, that the protecting Hand of him who
<q>
<l>—Doth the Raven feed,</l>
<l>Yea, providentially catereth for the Spar<g ref="char:EOLhyphen"/>row,</l>
<l>Aſſiſted me to live for ſome good End,</l>
<l>Beſt to his Wiſdom known.</l>
</q> So recommending myſelf
to his paternal Care, who had Compaſſion on my Sor<g ref="char:EOLhyphen"/>rows, I went to my
Repoſe.</p>
<p>Early next Morning the Woman of the Houſe told me, there was a
Lady wait<g ref="char:EOLhyphen"/>ing for me in the Dining-room; ſo I aroſe, and who ſhould it
be, but my late odious Landlady!</p>
<p>My Reader may judge how welcome ſhe was. She told me there was a
Gentle<g ref="char:EOLhyphen"/>woman waiting for me at her Houſe, who had Buſineſs of the
utmoſt Conſequence, and very much to my Advantage to im<g ref="char:EOLhyphen"/>part
<pb n="166" facs="tcp:0095100802:173"/> to me: Though I ſcarce gave Credit to her, yet
Curioſity made me accompany her Home, where I beheld a marvellous
ill-favoured old Woman; her Chin, which had on it a comely black Beard,
almoſt met her Noſe, there not being a Tooth in the Way to bar their Union.
I am ſure, had <hi>Don Quixote</hi> ſeen her, he would have endeavoured to
diſenchant her Muſtachio's. Her Eyes were black and fierce, her Back nobly
prominent, her Dreſs tawdry, and take her for all in all, I hope I never
ſhall look upon her Like again. I was doubtful whether it was not a Man in
Woman's Clothes; but if it were a Crea<g ref="char:EOLhyphen"/>ture of the Feminine Gender, I concluded
it muſt be a Witch, and that the Study of the Black Art had made her ſo
hairy about the Face, that ſhe had need of a Barber. But to proceed: She
accoſted me very ci<g ref="char:EOLhyphen"/>villy, in a deep <hi>Connaught</hi> Brogue, told me ſhe
knew all my good Family, and lived in the ſame Pariſh with me in
<hi>Dublin</hi>; I ſoon grew tired of her fulſome Flattery to me and them,
and deſired to know her Commands; ſhe told me my Lord
<hi>G—l<g ref="char:EOLhyphen"/>w—y</hi>
<pb n="167" facs="tcp:0095100802:174"/> had a great Regard for my
Fa<g ref="char:EOLhyphen"/>ther, and was very deſirous of ſeeing me,—and would be a Friend to
me: and if I would dine with her next Day, he would meet me: I now began to
gueſs at my Lady's Occupation, and gave her a point blank Denial; not but
that I ſhould have been glad to ſee his Lordſhip, as I knew he had a
Regard for my Father; but a Woman muſt appear in a comtemptible Light, when
introduced to a Nobleman by one of the Devil's Agents. So I left Madam to her
Meditations, and departed, to her no ſmall Diſcomfort, for it was a gol<g ref="char:EOLhyphen"/>den
Guinea out of her Way; as it ſeems, my Lord's Price was two, one of which he
preſented to Madam Procureſs, and the other to the Lady who granted him a
Fa<g ref="char:EOLhyphen"/>vour.</p>
<p>This infernal Embaſſadreſs had taken on her the Name of
<hi>Cunningham,</hi> being, as ſhe ſaid, ruined by a Gentleman of that
Name, who had recommended her to ſe<g ref="char:EOLhyphen"/>veral of the <hi>Iriſh</hi> Noblemen,
as a very neceſſary Perſon. Oh how deteſtable it is
<pb n="168" facs="tcp:0095100802:175"/> to feed a Maw, or clothe a Back by ſuch a filthy
Vice!</p>
<p>Well, at the appointed Time, I re<g ref="char:EOLhyphen"/>turned to <hi>St. James</hi>'s,
and the firſt Day I was there, I was honoured with a Letter from Lord
<hi>G—lw—y,</hi> as follows;
<floatingText type="letter">
<body>
<opener>
<salute>MADAM,</salute>
</opener>
<p>I Thought I had had the Honour of be<g ref="char:EOLhyphen"/>ing known to you, but
find I have been impoſed upon; if you will permit me to pay my Reſpects to
you this Evening, I will unfold this Myſtery to you, and am very
ſincerely,</p>
<closer>
<salute>Madam,</salute>
<signed>Your moſt obedient Servant, G.</signed>
</closer>
</body>
</floatingText>
</p>
<p>I returned my Compliments to his Lord<g ref="char:EOLhyphen"/>ſhip, and gladly excepted
of the Honour of his Company.</p>
<p>About Six he came, and related to me the Trick Mrs.
<hi>Cunningham</hi> had put on <pb n="169" facs="tcp:0095100802:176"/> him; he told me, he had
employed her to find me out, having a Curioſity to ſee a Perſon he had
ſo often heard of, both at <hi>White</hi>'s and in <hi>Ireland</hi>; that the
Appoint<g ref="char:EOLhyphen"/>ment was made, and a Lady introduced to him, whom by his Deſcription
of her, I knew to be the odious Mrs. <hi>Smith,</hi> my ſhocking
Landlady;—he ſaid he was much diſappointed when he ſaw her, but the
Lady was very kind; nay, ſo kind that he could not reſiſt her.</p>
<p>As you ſtood at your Window this Morning, Colonel
<hi>D—ne—be</hi> aſked me, knowing I was one of the
Commiſ<g ref="char:EOLhyphen"/>ſioners of <hi>Ireland,</hi> whether I knew you? I anſwered,
no:—Why, ſaid he, that is a little <hi>Iriſh</hi> Muſe, a
Phyſician's Daugh<g ref="char:EOLhyphen"/>ter, and a Parſon's Wife, an eloped one I have been told,
but ſhe won't confeſs that; on this I aſked your Name, the Colonel ſaid
it was <hi>Pilkington,</hi> but you were uſually called Mrs. <hi>Meade</hi>;
I then found I had been deceived, and wrote immediately to you.</p>
<p>I told his Lordſhip, I had the Honour of having many
Repreſentatives, which <pb n="170" facs="tcp:0095100802:177"/> had been of very great
Diſadvantage to my Character, inaſmuch as they were pretty liberal of their
Favours, which were placed to my Account, though I knew nothing of the Matter:
My Lord ſaid, that was hard; but he hoped, now he had found the real Mrs.
<hi>Pilkington,</hi> ſhe would not be inexorable. To turn off this Sort of
Diſ<g ref="char:EOLhyphen"/>courſe, I talked of public Affairs, which put my Lord in the Head of
making me pacquet Commiſſioner <hi>Th—mpſ—n,</hi> then
Candidate in the Election for the City of <hi>Y—rk,</hi> with old
<hi>Engliſh</hi> Rhymes, after the Manner of Mother <hi>Shipton</hi>'s
Pro<g ref="char:EOLhyphen"/>phecies, to inform him of the Defeat he was to meet with in that Year. I
had the good Fortune to divert him with my co<g ref="char:EOLhyphen"/>mical Stuff ſo well, that he
left me a Task, which was to tranſlate a <hi>French Chanſon à
boire</hi>; he gave me a couple of Guineas, and promiſing to be a frequent
Viſitor, he took his Leave.</p>
<p>I do aſſure my Readers, I was very glad to be retained as his
Lordſhip's Muſe and Secretary,—an Employment both of Honour and
Profit.</p>
<p>
<pb n="171" facs="tcp:0095100802:178"/>I continued in Favour ſome Time; and we
bantered half the Nobility, either about their Love-Intrigues or Parliamentary
Af<g ref="char:EOLhyphen"/>fairs, all of which were well known to his Lordſhip, who honoured me with
his Con<g ref="char:EOLhyphen"/>fidence and Inſtruction.</p>
<p>But as all Happineſs fades away, an un<g ref="char:EOLhyphen"/>foreſeen Accident
blaſted mine.</p>
<p>My Lord was ſeized with a Fever, which confined him ſome Days;
the firſt Time he was able to go Abroad, he wrote me Word he would paſs the
Evening with me. About his appointed Hour, ſomebody tapped at the Dining-room
Door, which I opened; when, inſtead of my Lord, en<g ref="char:EOLhyphen"/>tered Colonel
<hi>D—nc—be</hi> and Mr. <hi>Sp—nc—r,</hi> whom the
Colonel pre<g ref="char:EOLhyphen"/>ſented to me, and made his <hi>Exit.</hi>
</p>
<p>This Nobleman was no more like his Brother than I to
<hi>Hercules,</hi>—for the firſt Thing he did was to double-lock the
Door, put the Key in his Pocket, and by main Strength oblige me to ſit on his
Knee. I told him I expected Lord <hi>G—l<g ref="char:EOLhyphen"/>w—y,</hi> but that had no
Effect, for he ſwore he ſhould not have Admittance; he
<pb n="172" facs="tcp:0095100802:179"/> ſaid he was as well entitled to a Lady's Favour as any
Lord: It was to no Purpoſe for me to aſſure him, my Lord never aſked
any but what were conſiſtent with Ho<g ref="char:EOLhyphen"/>nour: He gave no Credit to my Words,
and ſeeing he had ſet me weeping, he ſaid, my Lord was very happy in my
Love, but that he was not worthy of it, being an Inconſtant; but as for me,
added he, I do not come to pay you one Viſit, but to make you mine for ever,
to raiſe ſuch Me<g ref="char:EOLhyphen"/>rit above Diſtreſs, and to make you as happy as I
can.</p>
<p>Sir, returned I, your Goodneſs deſerves my Acknowledgment, but
your Meaning ſeems doubtful; on what Terms am I to receive thoſe
Advantages? On the eaſieſt and ſweeteſt in the World, ſaid he, give
me your Love in return, it is all I wiſh; and running on with Lord
<hi>Haſtings</hi>'s Speech in his Midnight Viſit to poor <hi>Jane
Shore,</hi> he cried,
<q>
<l>Be kind, my charming Miſtreſs, to my Wiſhes,</l>
<l>And ſatisfy my panting Heart with Beauty!</l>
</q>
</p>
<p>
<pb n="173" facs="tcp:0095100802:180"/>It was in vain for me to remonſtrate that
he had a fine young Lady of his own; that I was not worth the Pains he took;
that I was not handſome: He ſaid, I pleaſed him, and that to him was
Beauty, which he was reſolutely determined to poſſeſs, if not by
Conſent, he would make uſe of Force.</p>
<p>And truly the Gentleman would ſoon have convinced me he was the
ſtronger, had not Lord <hi>G—lw—y</hi> knocked at the Door; he
ſwore I ſhould not open it: My Lord called to me, and ſaid he would break
the Door open. I begged of Mr. <hi>Sp—nc—r</hi> to permit me to let
him in, and that if he would ſtay a Moment, I would frame ſome handſome
Excuſe to diſ<g ref="char:EOLhyphen"/>miſs him.</p>
<p>He gave me the Key and went into the Bed-chamber; I opened the
Door for Lord <hi>G—lw—y,</hi> who brought with him the Earl of
<hi>M—dd—x,</hi> a fine Gentleman; Lord <hi>G—lw—y</hi>
was either very angry, or affected to appear ſo; and really I knew not what
Apology to <pb n="174" facs="tcp:0095100802:181"/> make, only to ſay I had been aſleep. The
Noblemen ſeated themſelves, to the no ſmall Vexation of Mr.
<hi>Sp—nc—r.</hi> Lord <hi>G—lw—y</hi> asked me who was
in the Bed-chamber? I ſaid, Nobody;—well, Madam, ſaid he, I know you
are a Lady of Veracity, but for once I preſume to doubt it; ſo ſaying, he
made to the Door, which ſtood open, and Mr. <hi>Sp—nc—r</hi>
clapped it in his Face, doubled-locked it within-ſide, and to my great
Happineſs, went out of another Door down Stairs; this I was very glad of,
be<g ref="char:EOLhyphen"/>ing apprehenſive of a Quarrel.—Lord <hi>G—lw—y</hi> was
in a violent Paſ<g ref="char:EOLhyphen"/>ſion, and inſiſted on my telling him what Fellow, as
he called him, affronted him? So to ſatisfy him, I very ingenuouſly told
him the whole Story, to the infinite Mirth of Lord <hi>M—dd—x,</hi>
who, I thought, would have died with Laughter, for amongſt other Accidents, I
had, in the Fray, loſt a little <hi>Paris</hi> Cap I wore, and as my Hair was
very thick, never miſſed it.</p>
<p>But whatever I could ſay, would by no Means pacify Lord
<hi>G—lw—y</hi>; he <pb n="175" facs="tcp:0095100802:182"/> called me twenty
ungrateful Devils and Jilts, and I know not what, which ſur<g ref="char:EOLhyphen"/>prized me the
more, as I never in my Life imagined he loved me, and conſequently could not
form any Idea of his being jea<g ref="char:EOLhyphen"/>lous; but I ſuppoſe, his Pride was piqued at
being locked out, which was the real Cauſe of his Reſentment.</p>
<p>Lord <hi>M—dd—x</hi> in vain pleaded my Cauſe, till
at laſt, an odd Whim of his turned our Tragedy to a Farce.</p>
<p>Lord <hi>M—dd—x,</hi> it ſeems, liked an
<hi>Italian</hi> Singer, on whom Lord <hi>R—y<g ref="char:EOLhyphen"/>m—d,</hi> a very
ſmall Gentleman, with a Mind in Proportion to his diminutive Fi<g ref="char:EOLhyphen"/>gure, had
wrote a very ſtupid Satire; he begged of me to write a Love-Letter to him,
for he was, it ſeems, a Man of Gal<g ref="char:EOLhyphen"/>lantry, and his Anſwer I was to
commu<g ref="char:EOLhyphen"/>nicate at <hi>White</hi>'s.</p>
<p>As I was a perfect Stranger to his Cha<g ref="char:EOLhyphen"/>racter, the Nobleman
dictated a fine En<g ref="char:EOLhyphen"/>comium on his Learning, Wit, Poetry, Beauty,
<hi>&c.</hi> all of which united, had, it ſeems, made a Conqueſt of me,
unheard, unſeen, and made me extremely ambitious <pb n="176" facs="tcp:0095100802:183"/> of
being known to ſo accompliſhed a No<g ref="char:EOLhyphen"/>bleman; we alſo gave him ſome
Poetry, and a Direction where to find his moſt enamoured Nymph. This done,
the Letter was diſ<g ref="char:EOLhyphen"/>patched away to <hi>Bond-ſtreet,</hi> and the
Meſſenger brought Word I ſhould have an Anſwer in the Morning.</p>
<p>I know whoever reads this, may very poſſibly cenſure me; but
all who are de<g ref="char:EOLhyphen"/>pendant on the Favours of the Great, muſt comply with their
Whimſies; it is enough, if we are ſo conſcientious as not to be made a
Slave to their Vices, as <hi>R—b—t N—g—t,</hi>
<abbr>Eſq</abbr> civilly asked me to be.</p>
<p>Now, as I have mentioned this Fellow, for ſuch is the Term his
Behaviour to me merits, who am in this, in the ſame Mind with
<hi>Pope</hi>
<note n="*" place="bottom">I do not mean a Fellow of T. C.
D.</note>, That
<q>
<l>Worth makes the Man, and want of it the Fellow;</l>
<l>The reſt is all but Leather and Prunella.</l>
</q> I hope my
Reader will allow me to give them a ſhort Sketch of him, with Regard
<pb n="177" facs="tcp:0095100802:184"/> to me, and alſo, of the Mortification I had the
Happineſs of giving him.</p>
<p>My Father attended his firſt Wife, Lady <hi>E—ll—a
P—k—t,</hi> and, I had, I believe, paſſed twenty Evenings in
his Company in <hi>Dublin</hi>; he had publiſhed a Poem, written by the Rev.
Mr. <hi>Sterling,</hi> called <hi>Happineſs,</hi> as his own, and another on
his Converſion from <hi>Popery,</hi> inſcribed to <hi>W—m
P—y,</hi> now Earl of <hi>B—h,</hi> to whoſe Piety he was
indebted for his being drawn out of Error. This gave me a fine Opportunity of
paying him a Com<g ref="char:EOLhyphen"/>pliment, which I ſent to <hi>White</hi>'s; he ſent me Word
he would wait on me that Eve<g ref="char:EOLhyphen"/>ning; accordingly he came.</p>
<p>After his firſt Salutation, he very po<g ref="char:EOLhyphen"/>litely aſked me, if I
could help him to a W—, telling me, he had married an ugly old Devil for
Money, whom he hated, and wanted a Girl to take into Keeping, which he depended
on my Skill to chuſe for him: I thanked him for the honourable Employment he
recommended to me, but aſſured him, it was not in my Power to ſerve him,
as I never converſed <pb n="178" facs="tcp:0095100802:185"/> with Women. He told me, he would
not be a Friend to me on any other Terms; I ſaid, I was ſorry for it, ſo
making him a Reverence, I left the Room. He ſtayed in it ſome Time, hoping,
I ſuppoſe, I was gone of his Errand, but finding I did not return, he went
away; but to do him Juſtice, he left Half a Gui<g ref="char:EOLhyphen"/>nea on the Table, as a
Recompence for the Affront he had given me.</p>
<p>He wanted, it ſeems, to be admitted as a Member of the Club at
<hi>White</hi>'s; their Way of Election is by ballotting, and one black Bean is
ſufficient to overturn any Man's Pretenſion to that Honour. I told my Story
ſo effectually, that they all con<g ref="char:EOLhyphen"/>cluded him unfit for Society, and as many
Friends as he imagined he had amongſt three hundred Nobles, and, as vaſt a
For<g ref="char:EOLhyphen"/>tune as his Wife had brought him, he had but one white Bean in the whole
Draught.</p>
<p>However, I return him Thanks for his Ten and Sixpence, to ſhew
my Gratitude.</p>
<p>But, to return to my little Lord <hi>R—ym—d.</hi>
Early next Morning, as I was drinking Tea, his Valet de Chambre
<pb n="179" facs="tcp:0095100802:186"/> ſaid he muſt ſpeak to me. I deſired he might
come in; he was a <hi>Frenchman,</hi> who, contrary to the reſt of his
Country, was as booriſh as an <hi>Engliſh</hi> Farmer; he threw down a
Letter on the Table,
<q rend="inline">"Dere, my Lord ſend a you dat;"</q> I opened it,
and read as follows:
<floatingText type="letter">
<body>
<opener>
<salute>MADAM,</salute>
</opener>
<p>BY your Stile you ought to be a Gen<g ref="char:EOLhyphen"/>tlewoman; but I have met
with Things of this Kind, which did not an<g ref="char:EOLhyphen"/>ſwer Expectation; I have ſent my
Man to ſee you, whom I always truſt, and ſo may you; if he likes you, and
you will come where I appoint, (for I never venture to viſit any Woman) I
will meet you.</p>
<closer>I am,
<salute>MADAM,</salute>
<signed>Your's, R—YM—D.</signed>
</closer>
</body>
</floatingText>
</p>
<p>
<pb n="180" facs="tcp:0095100802:187"/>While I was peruſing this gallant
Epiſtle, the <hi>Frenchman</hi> looked ſharp about; he even opened the
Corner Cup<g ref="char:EOLhyphen"/>board; then he demanded of me what did I want with his Lorde? I
could not reſiſt my Inclination to laugh, at which he grew choleric, and
ſwore, Garzoon, he ſhould never come; which, I being quite eaſy about, he
went away muttering ſome<g ref="char:EOLhyphen"/>thing.</p>
<p>I ſent his Letter, which was wrote in a very bad Hand, and
almoſt every Word miſ-ſpelt, to Lord <hi>M—dd—x,</hi> who
ſhewed it to the Company at <hi>White</hi>'s, on whom it took the ſame
Effect it had done on me, for they all laughed heartily at
<hi>Jack-a-Dandy,</hi> a Nick-name Lord <hi>M—x</hi> had beſtowed on
him.</p>
<p>Theſe two merry Noblemen, who had ſet me on this Scheme, would
fain have prevailed on me to ſend another Letter to <hi>Jack-a-Dandy,</hi>
but I told them, I did not approve of a Man, governed by his Man, and one who
ſeemed to be a Coward into the Bargain; Lord <hi>M—dd—x</hi> then
<pb n="181" facs="tcp:0095100802:188"/> me, Lord <hi>R—ym—d</hi> had ſome Reaſon
to be fearful how he made an Aſſignation, as he had once the Misfortune to
be taken in by a Billet-doux; and, when he went to the appointed Place,
inſtead of a fine Lady, found a Couple of ſturdy Fellows, who gave him a
very good Cudgelling.</p>
<p>This put me in mind of a merry Story told me in <hi>London,</hi>
of Col. <hi>C—nn—m,</hi> who took Delight in paying his
Addreſſes to young Ladies, merely for Amuſement; and no ſooner did he
perceive he had gained their Affection, but he deſpiſed his Conqueſt.</p>
<p>As the Noblemen knew him, I related one Story to them, out of
many, of a pleaſant Revenge a forſaken Nymph took on him.</p>
<p>This Lady was of exceeding good Birth, very well accompliſhed,
and of unblemiſhed Reputation, but not of Fortune equal to his; however, he
ſeemed ſo fond, that ſhe ſuppoſed that would be no Obſtacle, and
intirely devoted herſelf to the Pleaſure of loving him; which he no
ſooner perceived, but he grew cold, civil, and reſpectful,
<pb n="182" facs="tcp:0095100802:189"/> and at laſt went to <hi>London,</hi> without ſo much
as bidding her Farewel.</p>
<p>Her Step-father, Brigadier <hi>V—ſ—y,</hi> having
ſome Call there, took his Lady and her Children with him, where, though
Miſs <hi>A—t,</hi> for that was the Lady's Name, frequently ſaw the
Colonel at Court, he never took the leaſt Notice of her, but ſeemed as
never acquainted: This, as we may preſume, ſufficiently grieved her, ſhe
made her Complaint to a Female Confidante, a Lady of Quality, and a Wo<g ref="char:EOLhyphen"/>man of
Spirit; between them they con<g ref="char:EOLhyphen"/>trived, at leaſt, to give his Vanity a
terri<g ref="char:EOLhyphen"/>ble Mortification.</p>
<p>They wrote to him a Letter, as from a married Dutcheſs, who was
fallen in Love with him at Court; the Chairman had Di<g ref="char:EOLhyphen"/>rections to wait for his
Anſwer, but they took Care that he ſhould not be able to gueſs who ſent
it;—all that the Colonel could diſcover was, that it was given to him
in the Street, and he was ordered to leave the Anſwer at a Mercer's, where it
would be ſafe delivered to the Perſon who wrote the Letter.</p>
<p>
<pb n="183" facs="tcp:0095100802:190"/>This Secrecy made him quite ſure he had
gained the Heart of ſome high-born Fair; he failed not to ſend a
paſſionate and tender Return for ſo great an Honour as the unknown
Charmer had done him. The Ladies received it, and were glad to find the Gudgeon
ſwallow the Bait ſo gree<g ref="char:EOLhyphen"/>dily. Next Night he took care to dreſs himſelf
with the utmoſt Magnificence; and, as he is really a graceful Perſon, he
made no doubt but the Lady would, by ſome favourable Glance, diſcover
herſelf to him; to this End, he went to Court, and ſtrictly examined the
Countenance of every Lady of Quality there to no Purpoſe, which only made him
ſuppoſe the Lady extremely diſcreet, and careful of her Re<g ref="char:EOLhyphen"/>putation.</p>
<p>His imaginary Miſtreſs made ſeveral Appointments with him,
then ſent him Word, her Lord was come to Town, or ſome Apology, 'till at
laſt, tired with their Sport, they reſolved to finiſh it.</p>
<p>To this End, he received a Letter, that the Lady could not find
out any Place where ſhe could, without Danger of Diſ<g ref="char:EOLhyphen"/>covery,
<pb n="184" facs="tcp:0095100802:191"/> meet him, except at his own Houſe, but begged, that he
might not let any of his Servants be in the Way; that ſhe would come in a
Chair, exactly at Ten, one ſmall Tap at the Door being the Signal for
Happineſs.</p>
<p>Never did Knight-Errant propoſe to himſelf more Glory in the
finiſhing of an Adventure, than did our happy Colonel at his near approaching
Bliſs; he had framed to himſelf an Idea of a perfect Beauty, kind, tender,
and formed for Love; his Anſwer was all Rapture, and Acknow<g ref="char:EOLhyphen"/>ledgment.</p>
<p>His Apartments were filled with Wax Lights, himſelf curled,
perfumed, and dreſſed to ſuch Advantage; who could re<g ref="char:EOLhyphen"/>ſiſt that
beheld him? He punctually o<g ref="char:EOLhyphen"/>beyed the Ladies Commands, in diſ<g ref="char:EOLhyphen"/>miſſing all
the Servants, with Orders not to appear, and waited the happy Minute, with the
Impatience of a real Lover; every Moment he looked at his Watch, and thought
the Hours, Ages.</p>
<p>At length the long wiſhed for Signal was given, he flew to
receive the Fair-one, <pb n="185" facs="tcp:0095100802:192"/> when a Porter delivered a Band-box
into his Hand, and, without ſpeaking a Word to him vaniſhed. Never was any
Man in greater Confuſion than he, at opening it; he there found, not only all
his own ſoft Epiſ<g ref="char:EOLhyphen"/>tles, but alſo a little Doll in a Chair, with a Letter
in her Hand, directed to him, the Purport of which, was, to let him know he was
a conceited Coxcomb, to ſuppoſe any Woman of Quality had the leaſt
Re<g ref="char:EOLhyphen"/>gard for him, and, that the Lady who held that, was a Miſtreſs good
enough for him.</p>
<p>The Noblemen thanked me for my Narration, and wiſhed the Trick
had been put on <hi>Jack-a-Dandy,</hi> ſuch a Lady being a much more
ſuitable Match for him than the Colonel; however, we all agreed, that this
was no Tax on the Gentleman's Un<g ref="char:EOLhyphen"/>derſtanding,
<q>
<l>Since, let a Man be ne'er ſo wiſe,</l>
<l>He may be caught, with ſober Lyes.</l>
</q> And, that his
Appearance might captivate a Lady, without any Miracle.</p>
<p>Lord <hi>M—dd—x</hi> did me the Honour to
ſubſcribe, and, aſſured me, he would pre<g ref="char:EOLhyphen"/>vail <pb n="186" facs="tcp:0095100802:193"/> on
as many of his Friends as he could, to do me the ſame Favour.</p>
<p>Next Day Colonel <hi>Duncombe</hi> asked me, did I know ſuch a
Gentleman of <hi>Ireland,</hi> as <hi>L—ft—s H—e,</hi>
<abbr>Eſq</abbr>; I ſaid I did, particularly well, as my Brother and he
were inſeparable Companions in the Col<g ref="char:EOLhyphen"/>lege; he told me, there was a Parcel
of Letters freed by the Earl <hi>Thomond,</hi> then juſt dead, lying for him
at <hi>White</hi>'s, and, that he ſhould be very glad to ſee him, to learn
ſome Account of the Particulars of Lord <hi>Thomond</hi>'s Death, with whom
he had for many Years a ſtrict Friendſhip.</p>
<p>As I had learned by Accident where Mr. <hi>H—e</hi> lived, I
wrote to let him know what the Colonel ſaid; he ſent me a Letter of Thanks,
and, that he would do himſelf the Honour of meeting the Colonel the next
Evening at my Apart<g ref="char:EOLhyphen"/>ment.</p>
<p>It ſo fortuned that my kind Benefactor Mr. <hi>Cibber</hi> came
over with the Colonel, and a little after came Mr. <hi>H—e</hi>; his
Politeneſs, and the many pleaſing Inci<g ref="char:EOLhyphen"/>dents of our younger Days, gave me
<pb n="187" facs="tcp:0095100802:194"/> infinite Delight, as it was a Proof that I was not an
Impoſtor, and convinced the Auditors I had once been in Eſteem, even in my
own Country.</p>
<p>After a good deal of agreeable Chat, wherein Mr.
<hi>H—e</hi> took an Opportunity of mentioning his having, when he was in
the College, ſpent his whole Year's Al<g ref="char:EOLhyphen"/>lowance in making one grand Ball; and
that, as on this Occaſion, he was in Diſ<g ref="char:EOLhyphen"/>grace with his own Father, he
quartered himſelf on mine, praiſing his elegant man<g ref="char:EOLhyphen"/>ner of living, and the
kind Reception he always received from him, which as he ſaid, he muſt ever
acknowledge to his Family; Mr. <hi>Cibber</hi> ſaid, he hoped, as I was the
only deſolate Perſon belonging to it, he would be ſo good as to
aſſiſt me. He aſked, how it was in his Power? Why, returned he, this
poor Lady is obliged to publiſh her Writings by Subſcription, and I dare
ſay, a Gentleman of her own Coun<g ref="char:EOLhyphen"/>try, who has ſo fine a Fortune, and knows
her ſo many Years, will, at leaſt, be as kind as Strangers have been to
her: With<g ref="char:EOLhyphen"/>out <pb n="188" facs="tcp:0095100802:195"/> doubt, Sir, ſaid Mr. <hi>H—e,</hi>
it is the Duty of every Gentleman to do it; ſo riſing, he told me, he was
very ſorry he was under an Engagement to the Duke of <hi>Devonſhire,</hi>
but that he would take ano<g ref="char:EOLhyphen"/>ther Opportunity of paying his Reſpects to me;
which ſame Opportunity, as he never found in <hi>London,</hi> I hope he will
in <hi>Ireland,</hi> and have ſuch a Dependance on his Honour, that I am
certain, he will keep it, in being my Friend.</p>
<p>As I had the Honour of being once a kind of a Favourite to
Alderman <hi>Barber,</hi> I judged him a very proper Perſon, both as he had
been a Printer, and was alſo a Man of conſiderable Intereſt, to apply to,
both to increaſe my Subſcription, and to put me into a Method of getting my
Wri<g ref="char:EOLhyphen"/>tings printed as cheap as I could; to this end, I wrote him a very
reſpectful Letter, but received no Anſwer; I followed it with a Second,
ſtill he was ſilent; at length, I found a Method to make him ſpeak to me,
for, recollecting the beſt Part of a very ſevere Satyr Mr.
<hi>P—n</hi> had <pb n="189" facs="tcp:0095100802:196"/> wrote on him, I let him know I
had it, on which he invited me to his Houſe, re<g ref="char:EOLhyphen"/>ceived me very kindly,
apologized for his Silence, being ill of the Gout, which had hindered him from
anſwering me; and aſ<g ref="char:EOLhyphen"/>ſured me, as ſoon as he was able to go abroad, he
would preſent me as a Compa<g ref="char:EOLhyphen"/>nion to the Dutcheſs of <hi>Buckingham,</hi>
who had promiſed to take one of his Recom<g ref="char:EOLhyphen"/>mendation, and who, he ſaid,
being in the Decline of Life, and having no Children, would, he was certain, if
I had the good Fortune to pleaſe her, remember me in her Will; but unhappily
for me the Al<g ref="char:EOLhyphen"/>derman died a few Days after, nor did the Dutcheſs long
ſurvive him.</p>
<p>So vaniſhed my Hopes.</p>
<p>A ſhort time after this Diſappointment, which ſenſibly
affected me, my Landlady told me, there was an ugly ſquinting old Fellow, who
ſaid he had Buſineſs of the utmoſt Conſequence, and muſt ſpeak to
me; I bid her ſhew him up, and found he anſwered her Deſcription; he
aſked me, was my Name <hi>Meade?</hi> I ſaid, yes; why
<pb n="190" facs="tcp:0095100802:197"/> then, ſaid he, I am come to inform you, that there is
a Legacy of five hundred Pounds left you by one Mr. <hi>Clark,</hi> who died
laſt Week at <hi>St. Edmondſbury,</hi> but the Lady I was ordered to
inquire for is Mr. <hi>P—n</hi>'s Wife; are you the Perſon? I told him
the Direction was very right, but that I neither was related to, nor even
ac<g ref="char:EOLhyphen"/>quainted with any Perſon of the Name of <hi>Clark,</hi> from whom I had
the ſmalleſt Rea<g ref="char:EOLhyphen"/>ſon to hope for ſuch a Favour: Nay, Madam, returned
he, as you have changed your Name, why may not he? Upon this, he ſhewed me a
Letter, to my Fancy au<g ref="char:EOLhyphen"/>thentic, wherein I was deſired, if living, to wait on
Counſellor <hi>Clark</hi> in <hi>Eſſex-Street</hi> in the
<hi>Strand,</hi> who had Orders to pay me the Money, on Proof I was Mrs.
<hi>Pil<g ref="char:EOLhyphen"/>kington.</hi>
</p>
<p>I knew not what to make of all this; I was in hopes the fickle
Goddeſs, who is well repreſented ſtanding on a Wheel, was, for once, in a
good Humour with me, and was reſolved to make me amends for her former
Caprice, or, to ſpeak more ſeriouſly, that the Supreme Almighty Being,
that Power, who
<q>
<pb n="191" facs="tcp:0095100802:198"/>
<l>Builds Life on Death, on Change Du<g ref="char:EOLhyphen"/>ration founds,</l>
<l>And gives th' eternal Wheels to know their Rounds,</l>
</q> had
taken Compaſſion on my Sufferings.</p>
<p>While I was loſt in muſing on this odd Adventure, the old
Fellow asked me very gaily, if I would give him my Company to
<hi>Richmond,</hi> and take a Dinner with him? I told him I never went abroad
with Per<g ref="char:EOLhyphen"/>ſons I did not know, eſpecially Men; he told me, he was very
capable of being ſer<g ref="char:EOLhyphen"/>viceable to me, and that it was alſo in my Power to be
ſo to him; in what, Sir? Why, I have received from <hi>Ireland,</hi> from
your Huſband, the Life of Alderman <hi>Barber,</hi> wherein there is an
Account of the Amours of <hi>Cadenus</hi> and <hi>Vaneſſa,</hi> to which
the Alderman was privy, and related them to Mr. <hi>P—n:</hi> Now I have
been informed you have ſome Letters of the Dean's, which may embelliſh the
Work; and alſo a true Character of the Alderman, written by his Chaplain; I
will make you <pb n="192" facs="tcp:0095100802:199"/> a handſome Conſideration for them, if
you will give them to me to publiſh.</p>
<p>This Diſcourſe ſurprized me almoſt as much as the firſt;
I therefore begged he would not hold me any longer in Suſpence, but let me
know who I converſed with? He anſwered his Name was <hi>Edmund Curl,</hi>
upon which, in ſpite of Vexation, and the Diſappointment of my new-born
Hope, I could not forbear laughing at the fine Scheme he had laid, to trick me
out of any valuable Manuſcripts I might poſſibly poſ<g ref="char:EOLhyphen"/>ſeſs; ſo
making him a Courteſy, I ſaid, Farewel, Legacy!</p>
<p>I ſhould not trouble the Reader with this Story, but that I have
been charged with writing the Life of the Alderman; and, as I ſhall anſwer
it to God, I never even ſaw it in my Life, not but Curioſity would have
engaged me to read it, eſpe<g ref="char:EOLhyphen"/>cially as I heard it was very well wrote; but at
the Time it was publiſhed, I was a Priſoner in the <hi>Marſhalſea,</hi>
and really had not a Crown to ſpare for a Book.</p>
<p>As Mr. <hi>Curl</hi> ſwore heartily, that his Letter, with
regard to the Legacy, was <pb n="193" facs="tcp:0095100802:200"/> genuine, I went the next Day
to Coun<g ref="char:EOLhyphen"/>ſellor <hi>Clark</hi>; there was indeed an old Gen<g ref="char:EOLhyphen"/>tleman of his name
newly dead, at <hi>St. Ed<g ref="char:EOLhyphen"/>monsbury,</hi> who had Children and Grand<g ref="char:EOLhyphen"/>children,
Heirs at Law, ſufficient to in<g ref="char:EOLhyphen"/>herit his Fortune, and, as it happened, he
died inteſtate.</p>
<p>However I comforted myſelf that Mr. <hi>Curl</hi> had not made a
Fool of me, as he has done of many a better Writer, and ſe<g ref="char:EOLhyphen"/>cured me a
Priſoner in his poetical Garret, which the ingenious Mr. <hi>Fielding</hi>
charm<g ref="char:EOLhyphen"/>ingly ridicules.</p>
<p>But oh the diſmal Summer (which ever was attended with Want and
all it's gloomy Train, not only to me, but many Perſons who ſeem in good
Circumſtances) left me quite deſolate, and obliged me to take a cheaper
Lodging, which I did in the Houſe of one Mrs. <hi>Trifoli</hi> in
<hi>Duke-ſtreet, St. James</hi>'s, a moſt extraordinary painted up,
bedizened-out old Woman, whoſe Huſband was a <hi>German</hi> Quack, not
then in <hi>England,</hi> from which, it ſeems his Wife had obliged him to
fly, for robbing her of a Deed of Settlement he had made to
<pb n="194" facs="tcp:0095100802:201"/> her at Marriage; but to ſay the Truth, I think that
was a Bleſſing to the poor Man, for ſhe was a very Devil incarnate,
un<g ref="char:EOLhyphen"/>merciful and cruel to the laſt Degree: I dare ſay, ſhe never in her
Life gave even a Cup of Water or a Morſel of Bread, to keep a poor Creature
from ſtarving!</p>
<p>Her Cuſtom was to live upon her Lodgers, even when ſhe knew
they were deſolately poor, inaſmuch, that if one of them ſent but for a
Pint of Small-Beer, ſhe would intercept it in the Way, and drink half of it;
but indeed ſhe was very civil, for ſhe always ſent them Word ſhe drank
their Healths, and ſo ſhe did in reality, by depriving them of the Means of
pre<g ref="char:EOLhyphen"/>ſerving it.</p>
<p>Being ſadly diſtreſſed by this avaritious Wretch, I was
adviſed to apply to Dr. <hi>Mead,</hi> who was a Man of Taſte, and had
ſixty thouſand Pounds left him, to give in ſuch Charities as he thought
proper. Ac<g ref="char:EOLhyphen"/>cordingly I wrote him a moving Tale of my Diſtreſs, which had
ſo good an Effect, that he ſent me Word he would wait on me himſelf the
next Day, but not keeping his Word, I addreſt him in the following Lines:
<q>
<pb n="195" facs="tcp:0095100802:202"/>
<lg>
<head>To Doctor <hi>MEAD.</hi>
</head>
<lg>
<l>SCARCE was the heavenly Virgin higher bleſt,</l>
<l>When viſited by a coeleſtial Gueſt;</l>
<l>Hail'd by the glorious Meſſenger of Grace,</l>
<l>And honour'd high above the human Race,</l>
<l>Scarce ſtronger Rapture cou'd his Words impart,</l>
<l>Than thoſe which lately extaſy'd my Heart,</l>
<l>When You, God's nobleſt Image here below,</l>
<l>Your honour'd Preſence promis'd to beſtow;</l>
<l>My Hope reviv'd, I wak'd the ſilent String,</l>
<l>The Muſe, once more, attun'd her Voice to ſing,</l>
<l>Pleas'd, that tho' long depreſt by adverſe Fate,</l>
<l>She yet found Favour with the Good and Great,</l>
<l>And that her melancholy flowing Strain</l>
<l>To Gen'rous MEAD was not addreſt in vain.</l>
</lg>
<lg>
<l>Oh, Thou, the Muſes Judge, the Muſes Friend!</l>
<l>Say, muſt thoſe Hopes in Diſappointment end;</l>
<l>
<pb n="196" facs="tcp:0095100802:203"/>Muſt ev'ry beauteous, bright Idea
fade,</l>
<l>And Death enwrap me in his ſilent Shade?</l>
<l>Death, the poor ſuff'ring Wretch's laſt Re<g ref="char:EOLhyphen"/>lief,</l>
<l>Led in by pale-ey'd Want, and pining Grief.</l>
</lg>
<lg>
<l>Would Heav'n but one aſſiſting Friend ſupply!</l>
<l>How quickly might he bid thoſe Sorrows fly?</l>
<l>Whoſe Wiſdom cou'd my Induſtry direct,</l>
<l>And as that merited his Aid, protect;</l>
<l>Not thus with endleſs Application griev'd,</l>
<l>And tho' ſo oft ſupported, ne'er reliev'd.</l>
</lg>
<lg>
<l>Pardon the bold Preſumption of my Pray'r,</l>
<l>Courage is oft extracted from Deſpair;</l>
<l>The drowning Wretch ſtruggles for Life awhile,</l>
<l>Nor God, nor Man condemns his anxious Toil;</l>
<l>But if tempeſtuous Billows round him riſe,</l>
<l>And Heav'n all Pity, all Relief denies,</l>
<l>Loſt in the Ocean, he forgotten dies.</l>
</lg>
</lg>
</q>
</p>
<p>
<pb n="197" facs="tcp:0095100802:204"/>I ſent theſe Rhymes to the Doctor, and,
in return, was deſired to come to his Houſe in <hi>Ormond-ſtreet,</hi> at
Four o'Clock that Afternoon.</p>
<p>Now were my Hopes high raiſed, high as the Spring Tide, to which
the Ebb quickly ſucceeds, as it did with me; I fancied, vainly fancied! at
leaſt ten Guineas in my Pocket, and had, like the Man with his Basket of
Glaſſes, turned them into Trade, and purchaſed in my Mind an eaſy
Subſiſtence for Life; but I was a little miſ<g ref="char:EOLhyphen"/>taken in the Matter, as the
Sequel will ſhew. I dreſſed myſelf very neatly, and waited on the
Doctor; when I knocked at his Door, a Footman with his Mouth very full, and a
Bone in his Hand, opened it, and in an <hi>Iriſh</hi> Accent, demanded my
Buſineſs? I told him I wanted to ſpeak to the Doctor:
<q rend="inline">"By my own Shoul, ſaid he, my Maiſhter will
not be ſpoke to by Nobody!"</q> Well then, Friend, if you pleaſe to let him
know Mrs. <hi>Meade</hi> is here, I believe he will ſpeak to me:
<q rend="inline">"Miſhtriſh <hi>Maide,</hi> replied he, Arah,
are you vanting Charity, and taakes up my Maiſhter's Name to claim
<pb n="198" facs="tcp:0095100802:205"/> Kin with him; well, ſtay there, I'll tell him."</q> So
he went into a back Par<g ref="char:EOLhyphen"/>lour, but was quite confounded, when the Doctor
inſtantly came out, and gave him a ſevere Reprimand for letting me ſtand
in the Hall; and I am very certain, had I thought it worth my While to have
ac<g ref="char:EOLhyphen"/>quainted the Docter with his Inſolence, he would have been diſcharged. A
proper Caution to Livery-wearing Fellows to ſpeak with Civility to every
Body.</p>
<p>The Doctor ſhewed me into a handſome Street-parlour, adorned
with ſeveral Curio<g ref="char:EOLhyphen"/>ſities, of which here needs no Account: He asked me for
Sir <hi>John Meade,</hi> whom, becauſe he remembered, he expected I ſhould,
though he died two Years before I was born; when I told him ſo, he ſeemed
diſpleaſed: And really I remember that good Mr. <hi>Cibber,</hi> in his
pleaſant Way, ſcolded me once for not remembering King <hi>Charles</hi> II.
though my Father was born in the Reign of King <hi>William.</hi>
</p>
<p>As my Anſwers to the Doctor, with re<g ref="char:EOLhyphen"/>lation to the whole Family
of the <hi>Meades,</hi> were ſufficient to convince him I was not an
<pb n="199" facs="tcp:0095100802:206"/> Impoſtor, he asked me how he could ſerve me? I told
him I had ſome Poems to publiſh, but for Want of a little Money to pay for
the Printing of them, I could not proceed:
<q rend="inline">"Poems, returned he; why, did you ever know any
Perſon get Mo<g ref="char:EOLhyphen"/>ney by Poetry?"</q>
<q rend="inline">Yes, Sir, ſeveral; Mr. <hi>Pope</hi> in
particular:"</q>
<q rend="inline">"Oh Lud, Lud, (ſaid he, grinning horribly, and
ſquinting hideouſly) what Vanity thou haſt! can you write like him?"</q>
I was quite abaſhed, and really knew not what to ſay for ſome Moments,
for my Reader may eaſily perceive, I could not but be ſenſible I had made
a fooliſh Speech, un<g ref="char:EOLhyphen"/>aware to myſelf; however, upon Recollec<g ref="char:EOLhyphen"/>tion, I
aſſured him, I did not preſume to put myſelf in any Degree of
Compariſon with ſo juſtly an admired Writer, but that perhaps, on Account
of my Sex, I might find a little Favour,</p>
<p>Well ſaid he, there are a Couple of Gui<g ref="char:EOLhyphen"/>neas for you: This,
though far ſhort of my Expectations, was a little preſent Relief, and as
the Gentleman was under no Obliga<g ref="char:EOLhyphen"/>tion <pb n="200" facs="tcp:0095100802:207"/> to reward or
encourage me, I very gratefully accepted of them, and yet
<q>
<l>Proud was the Muſe I ſerv'd, unbred to wait</l>
<l>A willing Stranger at a Great Man's Gate!</l>
</q>
</p>
<p>And here gentle Reader, give me Leave to treſpaſs a Moment on
your Patience, to make one Remark, which is, that, amongſt all the Perſons
who are celebrated for be<g ref="char:EOLhyphen"/>ing charitable, I never met one really ſo; and the
moſt humane and beneficent are thoſe whoſe Characters have been ſo
at<g ref="char:EOLhyphen"/>tacked for their Humanity, that at laſt they have even been aſhamed of
well-doing.</p>
<p>I remember Dr. <hi>Swift</hi> told me, he ſaw a Beggar attack at
Biſhop, who charitably from his Abundance, ſpared him a Half<g ref="char:EOLhyphen"/>penny, and
ſaid, God bleſs you; preſently after he attacked Brigadier
<hi>Groves,</hi> who threw Half a Crown to him, and bade G—d d—m
him; which, ſaid he, do you think the Beggar prayed for at Night?</p>
<p>
<pb n="201" facs="tcp:0095100802:208"/>But as I have mentioned Dr. <hi>Meade,</hi>
who was ſo much in Love with Mr. <hi>Pope,</hi> for ſaying,
<q>
<l>And Books for <hi>Meade,</hi> and Rarities for
<hi>Sloane,</hi>
</l>
</q> I think I muſt give them alſo a Sketch of Sir
<hi>Ha—s,</hi> to whom the Doctor adviſed me to apply, as an Encourager
of Arts. I travelled down to <hi>Chelſea</hi> to wait upon him; it ſnowed
violently, inſomuch that I, who had only a Chintz Gown on, was wet to the
Skin: The Porter, <hi>memoran<g ref="char:EOLhyphen"/>dum,</hi> better bred than his Maſter, to whom
I had ſent up a Compliment, which, as he did not deſerve, I ſhall not do
him the Ho<g ref="char:EOLhyphen"/>nour to inſert, invited me into his Lodge, where, after about two
Hours Attendance, I was at length permitted to enter to his Supreme Maj<gap reason="illegible" resp="#OXF" extent="1 letter">
<desc>•</desc>
</gap>ſty; but ſure the Pope him<g ref="char:EOLhyphen"/>ſelf,
in all his pontifical Robes, never was half ſo proud. I was conducted by an
Eſ<g ref="char:EOLhyphen"/>cort thro' ſix or ſeven Rooms, one of which was entirely
wainſcotted, if I may ſo term it, with China; but like the Idol to whom
<pb n="202" facs="tcp:0095100802:209"/> a ſtately Temple was conſecrated, which a Traveller,
attracted by it's outward Mag<g ref="char:EOLhyphen"/>nificence, thought to find an adorable Deity in,
and on Search, found a ridiculous Monkey; ſo I ſaw an old Fellow, whom I am
very well convinced never ſaw me, for he did not even vouchſafe to turn his
Eyes off a Paper he was writing, to ſee who came in, till at laſt a
Beggar-Woman entered, with a ſore eyed Child; the In<g ref="char:EOLhyphen"/>ſide of whoſe
Eyelids he very charitably tore out with a Beard of Corn, under which cruel
Operation the Girl fainted, but he ſaid that was good for her: It may be
ſo, for by two-headed <hi>Janus,</hi> Nature has fra<g ref="char:EOLhyphen"/>med ſtrange Doctors in
her Time.
<q>
<l>Some, who will bid us live on Pulſe, and Water;</l>
<l>And others of ſuch Vinegar Aſpect,</l>
<l>They would not wag their Jaws in Way of Smile,</l>
<l>Tho' <hi>Neſtor</hi> ſwore the Jeſt were
laugh<g ref="char:EOLhyphen"/>able.</l>
</q>
<pb n="203" facs="tcp:0095100802:210"/> Of this latter Sort was Sir
<hi>H—ns.</hi> Tho' I had ſent him up a Letter which lay before him, he
aſked me what I wanted? if I had bad Eyes he ſaid he would bruſh them up
for Charity; but as they happened to be tolerably good, I excuſed myſelf,
by tel<g ref="char:EOLhyphen"/>ling him I had brought him that Letter; and indeed I was quick-ſighted
enough to find out, that his Honour (as the Beggar-woman called him) was a
conceited, ridi<g ref="char:EOLhyphen"/>culous, imperious old Fool.—He then conſidered my
Letter over, and finding by the Contents, Dr. <hi>Mead</hi> had recommended me
to him, ſaid,
<q rend="inline">"Poor Creature! I ſup<g ref="char:EOLhyphen"/>poſe you want Charity;
there is Half a Crown for you."</q> I could hardly reſiſt a ſtrong
Inclination I had to quoit it, as <hi>Falſtaff</hi> ſays, into his Face,
like a Three-penny Shovel-groat; and was only con<g ref="char:EOLhyphen"/>ſtrained by the
Conſideration, that I had never a Shilling in my Pocket, and that, little as
it was, I could eat for it.</p>
<p>I have here done with the Great Sir <hi>H—ns
Sl—ne,</hi> B—r— of <hi>O—k—m,</hi> and return to
Dr. <hi>Meade.</hi>
</p>
<p>
<pb n="204" facs="tcp:0095100802:211"/>I had forgot to tell my Readers, that
re<g ref="char:EOLhyphen"/>juicing at my Succeſs, when I returned from his Houſe I threw the two
Guineas up, and had the Misfortune to loſe one in a Chink of the Room; the
Board my Land<g ref="char:EOLhyphen"/>lady would never permit me to remove, leſt, as ſhe ſaid, I
ſhould ſpoil her Floor. This trivial Accident gave me a great deal of
Uneaſineſs, as it put me out of Power of paying, and quitting her according
to my Intention.</p>
<p>However, as I was obliged to live by my Wits, which indeed were
almoſt at an End; I formed a Scheme to write a Pane<g ref="char:EOLhyphen"/>gyric on
<hi>P—p</hi> Lord <hi>H—k,</hi> then newly created L—d
H—h C—r of <hi>E—d.</hi> I did not addreſs him in the
Manner I had done a great many of the Nobility, that is with my one Poem, which
I ſent all round, like the Biſhop's Paſtoral Letter; it was, as
<hi>Swift</hi> ſays,
<q>
<l>—In another Reign,</l>
<l>Change but the Name, 'twill do again.</l>
</q> I wrote a fire
new one for himſelf, which was really paying him a higher Compliment
<pb n="205" facs="tcp:0095100802:212"/> than he deſerved, as my Readers may per<g ref="char:EOLhyphen"/>ceive
hereafter. I had compleated the Poem, and ſent it to him; he deſired me to
come to him on <hi>Sunday,</hi> that being his only leiſure Time.—</p>
<p>Accordingly, I waited on him at Eight o'Clock on <hi>Sunday</hi>
Morning; the Houſe had rather the Appearance of Deſolation and Poverty,
than that of the L—d Ch—ll—r of <hi>Br—n:</hi> He had
Complai<g ref="char:EOLhyphen"/>ſance enough to ſend his Mace-Bearer to keep me Company, till
ſuch time as a Pair of Folding-doors flew open, and my Lord appeared in his
Robes, ready to go to Church; he bowed down to the Ground to me, and aſked me
if I would drink a Diſh of Chocolate with him? which you may not doubt I
accepted of; and was ſurprized to find myſelf, though ſunk in the moſt
abject Poverty, ſitting with ſo great a Man!</p>
<p>So, for my Labour, I got a Diſh of
<note n="*" place="bottom">
<hi>Mem. Chocolate,</hi> a Word uſed by
a very emi<g ref="char:EOLhyphen"/>nent Comedian, one Mr. <hi>Foote,</hi> for Satire.</note>Chocolate,
which I now return, with the <pb n="206" facs="tcp:0095100802:213"/> utmoſt Humility, to his
L—d—p again.</p>
<p>So, my Lord went to Church, where I alſo went; I there ſaw
Doctor <hi>Meade,</hi> who, perceiving his Lordſhip made me a low Bow, made
one four times as low; and I could very hardly refrain laughing at them both,
and thinking
<q>
<l>—That all this World's a Stage, and</l>
<l>All the Men and Women merely Actors;</l>
</q> And that
<q>
<l>If ev'ry juſt Man, that now pines with Want,</l>
<l>Had but a moderate, and beſeeming Share</l>
<l>Of that, which lewdly pamper'd Luxury</l>
<l>Now heaps upon ſome Few, with vaſt Exceſs;</l>
<l>Nature's full Bleſſings would be well diſ<g ref="char:EOLhyphen"/>pens'd</l>
<l>In unſuperfluous even Proportion,</l>
<l>And ſhe no Whit encumber'd by her Store:</l>
<l>And then the Giver would be better thank'd,</l>
<l>
<pb n="207" facs="tcp:0095100802:214"/>His Praiſe due paid; for ſwiniſh
Glut<g ref="char:EOLhyphen"/>tony</l>
<l>Ne'er looks to Heav'n, amidſt his gorgeous Feaſt;</l>
<l>But, with beſotted baſe Ingratitude,</l>
<l>Crams, and blaſphemes his Feeder.</l>
<bibl>Milton's Comus.</bibl>
</q>
</p>
<p>Well, I could find no Remedy for the Conſumption of my Purſe,
nor borrow, to linger out the Diſeaſe, any where, but from the Pawnbroker;
but he was always cha<g ref="char:EOLhyphen"/>ritable.</p>
<p>However, I concealed my Diſtreſs with the utmoſt Care from
my Landlady; called every Morning for the Teakettle, though I had no
Tea;—then I ſaid I was enga<g ref="char:EOLhyphen"/>ged to dine abroad, and took a ſolitary
Walk to <hi>Weſtminſter-Abby,</hi>—and ranged the ſolemn Iſles
alone, envying thoſe who reſted in Peace from their Labours; till, at
laſt, having been three Days and three Nights without Food of any kind,
Heaven pardon me! a melancholy Thought came into my Head, that it was better to
die at once, than die daily; and that, as I could <pb n="208" facs="tcp:0095100802:215"/> not
Fardles bear, it was beſt to make my own <hi>Quietus,</hi> and no longer
ſtrive to keep up a frail and feveriſh Being: And here, indeed, I own, I
had been unmindful of the Crown which Virtue gives,
<q>
<l>After this mortal Coil, to her true Ser<g ref="char:EOLhyphen"/>vants.</l>
</q>
Deſpair vanquiſhed me quite; nay, ſo art<g ref="char:EOLhyphen"/>ful was the Enemy, as even to
perſuade me, I had a Right to diſpoſe of my own Life, eſpecially when
there did not ſeem, even a Poſſibility of preſerving it. Filled with
gloomy Ideas, I took my uſual Walk, and took notice of the Corner, between
the Monuments of <hi>Shakeſpear</hi> and <hi>Rowe,</hi> where I wiſhed to
be interred, and that Mr. <hi>Pope</hi>'s Lines,
<q>
<l>How lov'd, bow honour'd, once avails me not,</l>
<l>To whom related, or by whom begot;</l>
<l>An Heap of Duſt alone remains of me,</l>
<l>'Tis all I am, 'tis all the Proud ſhall be.</l>
</q>
<pb n="209" facs="tcp:0095100802:216"/> might be my Epitaph. I really found room for Meditation,
even to Madneſs.</p>
<p>In this Temper I went into <hi>St. James</hi>'s <hi>Park,</hi> and
ſeated myſelf by <hi>Roſamond</hi>'s Pond; the Moon, apparent Queen,
un<g ref="char:EOLhyphen"/>veiled her peerleſs Light, and I waited in the ſilent Shade, reſolved
to execute my dreadful Purpoſe, as ſoon as I could do it without
Obſervation, when a young Lady, and an old one, both very well dreſſed,
ſeated themſelves by me; they, in an ele<g ref="char:EOLhyphen"/>gant Stile began to praiſe the
ſweet and ſolemn Beauties of the Moon-light Scene, the Winds gently
whiſpered through the fragrant Lime-trees, juſt then in full Flower; and,
indeed, though they were not vernal Airs, they might have diſſipated all
Anguiſh, but Deſpair: Finding, that not<g ref="char:EOLhyphen"/>withſtanding my Taciturnity, the
Ladies would enter into Converſation with me, I could not, in Point of good
Breeding, re<g ref="char:EOLhyphen"/>fuſe to return them Anſwers, with as much Politeneſs, as I
was Miſtreſs of, till at length, we were ſo pleaſed with each other,
that Time inſenſibly flying, we found we were locked into the
<hi>Park</hi>; but the Ladies, <pb n="210" facs="tcp:0095100802:217"/> whoſe Garden opened
into it, inſiſted on my accompanying them to Supper.</p>
<p>We were let in at a Back-door, by a Servant in Livery, to a very
genteel Houſe, where, on a Sopha, ſat a very handſome Man in a Gold
Brocade Night-Gown, to whom the young Lady preſented me, and ſaid, he was
her Spouſe; the Cloth was ready laid, and a cold Supper on the Table: I would
very fain have pre<g ref="char:EOLhyphen"/>vailed on the Lady to permit me to go through her Houſe
home, for I could ea<g ref="char:EOLhyphen"/>ſily perceive the Gentleman's Civility was quite forced,
and, that he was impatient to revenge on his Wife the Liberty ſhe had taken
of inviting a Stranger in; which in<g ref="char:EOLhyphen"/>deed, I believe, ſhe did on no other
Ac<g ref="char:EOLhyphen"/>count, but, that ſhe thought Decency would prevent him from giving her a
Beating, of which, it ſeems, he was very liberal, though he was but a Footman
when the Lady married him, and threw herſelf, and twenty thouſand Pounds
away upon him, as I afterwards learned.</p>
<p>But, as the late Earl of <hi>Pembroke</hi> ob<g ref="char:EOLhyphen"/>ſerved, when he
was told a Maid of Ho<g ref="char:EOLhyphen"/>nour, <pb n="211" facs="tcp:0095100802:218"/> who was very handſome, was
in Love with him, notwithſtanding he was an old Hump-back'd Man, but one of
in<g ref="char:EOLhyphen"/>finite Wit, ſaid,
<q rend="inline">"Faith, it may be ſo, Women have ſtrange
Fancies!"</q>
</p>
<p>I, though foodleſs, never ſpent three Hours more
diſagreeably, eſpecially, as this Houſe brought back to my Mind, the Fear
and Terror I always felt in Mr. <hi>P—n</hi>'s, to which, if my Father,
Mother, or any Friend came, it threw me into Agonies, being well aſſured,
they would never de<g ref="char:EOLhyphen"/>part without receiving ſome groſs Affront, ſuch as
the two following Stories, trivial as they are, may ſerve to
illuſtrate.</p>
<p>One <hi>Alhallow</hi>'s Eve, a Night of Plea<g ref="char:EOLhyphen"/>ſure and Diſport
in <hi>Ireland,</hi> among the young Maidens and Batchelors, my Brother and
Siſter, who had invited ſome Perſons, agreeable to their own Age, to
celebrate it with them, very fairly begged of us, old Folks, to go abroad; to
oblige them, and myſelf alſo, I begged of Doctor <hi>Delany,</hi> who dined
with us, and my Father and Mother, to come home with me, and try
<pb n="212" facs="tcp:0095100802:219"/> if we could not be as chearful as they: I no ſooner
propoſed the Scheme than they all agreed to it. As my Father was no
Supper-Man, I had ordered a Cuſtard to be made for him, and having a
barnſtable Oven, it was put into it to bake.</p>
<p>While we were amuſing ourſelves in a<g ref="char:EOLhyphen"/>greeable Chat, entered
Mr. <hi>P—n,</hi> like the Deſcription of Winter,
<q>
<l>Striding the gloomy Blaſt!</l>
</q> and obſerving a Smoak,
occaſioned by the lighting of the Oven, he deſcended to ex<g ref="char:EOLhyphen"/>amine the
Contents thereof, found the Cuſtard, eat moſt part of it, and ſent the
Remainder out of Doors, telling us to our Faces, we ſhould not liquor our
Chops at his Expence; though, <hi>memorandum,</hi> my dear Father always ſent
his Supper and Wine before him, whenever he vouchſafed us the Honour of a
Viſit.</p>
<p>The ſecond Inſtance of my Spouſe's Good-nature, was, that
though he had no leſs than thirteen Hens, he, knowing I liked a new-laid Egg
for my Supper, watched <pb n="213" facs="tcp:0095100802:220"/> the Hen-rooſt cloſe, and
every Egg was in a Baſket ſent to the Widow <hi>W—rr—n,</hi>
covered with a Damaſk Napkin, of which ſhe got no leſs than eighteen
given to me by Brigadier <hi>Meade</hi>: At length, one Even<g ref="char:EOLhyphen"/>ing, when my
Huſband was abroad, my Brother and Siſter came to viſit me; when the
Clock ſtruck Ten, I concluded Mr. <hi>P—n</hi> would not come home to
Supper, and I had the Impudence to eat two Eggs; they were ſcarce down when
he came in, my Brother had ſent for a Bottle of Wine, and invited his
Reverence to drink a Glaſs, but
<note n="*" place="bottom">
<hi>Mem.</hi> He ſays, in one of his
Letters, that the Nobility ſcorned me, and my vile Inſinuations and
Impudence.</note>he ſcorned us and our vile Inſinuations; and as he always
kept an exact Reckoning for his Poultry, he very magiſterially or<g ref="char:EOLhyphen"/>dered his
Eggs to be got ready; this was a Thunder-clap to me; however, as it was in vain
to attempt to hide my Guilt, I was forced to confeſs the horrid Fact; upon
which he ſtood aghaſt, as though he had ſeen Church-yards yawn, and Hell
itſelf breathe forth Contagion to the World.</p>
<p>
<pb n="214" facs="tcp:0095100802:221"/>What, ſaid he, did you eat my black Hen's
Egg? Could not any other ſatisfy your dirty Guts? I wiſh the Devil was in
the Egg, and that it had choaked you.</p>
<p>I anſwered, he had preferred his chari<g ref="char:EOLhyphen"/>table Wiſh too late;
and, leſt it ſhould take any Effect, I drank a Glaſs of my Bro<g ref="char:EOLhyphen"/>ther's
Wine, that I might digeſt all toge<g ref="char:EOLhyphen"/>ther.</p>
<p>Oh, let the World judge how happy I was! But to return.</p>
<p>Though my <hi>Park</hi> Adventure had di<g ref="char:EOLhyphen"/>verted the Execution of
my ſad Scheme for one Evening, yet, as it had brought me no Relief, I ſtill
kept my Purpoſe, and reſolved to fulfil it the next: To this End, I came
and ſat in the ſame Place; I made ſeveral Attempts to throw myſelf in,
and ſtill, when I came near the Water, the Fear of ſomething after Death
puzzled the Will; I examined my Heart ſtrictly, to know what groſs Offence
I had ever committed, that it ſhould
<q>
<l>Pleaſe Heav'n to try me with Afflictions,</l>
<l>To ſteep me in Poverty up to the very Lips;</l>
<l>
<pb n="215" facs="tcp:0095100802:222"/>Give to Captivity me and my utmoſt
Hopes.</l>
</q> For, had I ever refuſed my Morſel to the Hungry, or ever
filled the Widow's Eyes with Tears, I ſhould not wonder at it. Quite loſt
in theſe melancholy Reflec<g ref="char:EOLhyphen"/>tions, I was waked as from a Dream, by a very well
dreſſed Gentleman, who tapped me on the Shoulder, and ſaid, Lord, can
this be Mrs. <hi>Pilkington?</hi> I looked at him earneſtly, and recollecting
I had ſeen his Face before, anſwered, it was all the Re<g ref="char:EOLhyphen"/>mains of her that
was Mrs. <hi>Pilkington.</hi> May I preſume, Madam, to aſk, on what
Intention you are ſitting her? I fancy he perceived by my Looks the
Diſorder of my Soul, which, I believe, was ſtrongly pictured there. I
begged he would leave me to myſelf—But he inſiſted on my going
along with him to the <hi>Royal Vineyard,</hi> which was not far off—it
was in vain to refuſe him, he would take no Denial. When we were got about
half way, I very ſe<g ref="char:EOLhyphen"/>riouſly demanded of him, who he was? He anſwered, he
was Capt. <hi>Hamilton,</hi> who had <pb n="216" facs="tcp:0095100802:223"/> once the Honour of
ſeeing me at my Uncle <hi>Van Lewen</hi>'s in <hi>Cork,</hi> and who ſhould
think himſelf very happy, if it was any way in his power to ſerve me. We
got a cold Fowl and ſome Ham, of which I eat a little, and took a Glaſs or
two of <hi>Cham<g ref="char:EOLhyphen"/>paigne,</hi> and I found it revive me very much. We then fell
into Diſcourſe, and I very ſincerely related to him my unhappy Situation,
and the Peril his Appearance had delivered me from. My Story affected him ſo
much, that it drew Tears from him.</p>
<p>After we had regaled ourſelves, it grow<g ref="char:EOLhyphen"/>ing late, we left the
<hi>Park,</hi> and he was ſo kind to ſee me to my Lodging; where, putting a
couple of Guineas into my Hand, we parted, and he promiſed to ſee me next
Morning; but I ſaw him no more.</p>
<p>I am ſure, when Mr. <hi>P—n</hi> comes to this part of my
Story, he will wiſh the Gentleman had been buried, ſooner than he ſhould
do him ſo ill an Office, as that of ſaving my Life; but I, among other
things, was born to let the World ſee, what the Inſide of a Prieſt is
made of;
<q>
<pb n="217" facs="tcp:0095100802:224"/>
<l>Prompt, or to ſtab, or ſaint, to ſave, or damn;</l>
<l>Heav'n's <hi>Swiſs,</hi> who fight for any God, or Man!</l>
<bibl>Pope.</bibl>
</q> Take notice, I always except the good and
valuable part of the Clergy, whom nobody more highly reſpects and honours
than I ſincerely do; for when they poſſeſs, like <hi>Berkley,</hi>
every Virtue under Heaven, who can refuſe it?</p>
<p>I once more began to believe myſelf un<g ref="char:EOLhyphen"/>der the Favour and
Protection of the Al<g ref="char:EOLhyphen"/>mighty; as his Hand, though to me in<g ref="char:EOLhyphen"/>viſible, viſibly
led me through various Mazes, perplexed with Error; and deter<g ref="char:EOLhyphen"/>mined, whatever
Sufferings he was pleaſed to inflict, to bear them with Reſignation, and
never permit them to triumph over a Chriſtian Faith.</p>
<p>And a ſevere and cruel Trial of my Conſtancy I quickly
experienced; there was a young Woman, who lodged in the Gar<g ref="char:EOLhyphen"/>ret, whom I not
only to the utmoſt of my Power ſupported, as ſhe was my Country-woman,
<pb n="218" facs="tcp:0095100802:225"/> and in great Diſtreſs, but alſo as ſhe ſaid
ſhe was related to the Lord <hi>Powerſcourt</hi>; her Maiden Name, as ſhe
told me, was <hi>Craggs</hi>; his Lordſhip may better know whether this was
true or falſe, than I can preſume to do; however, I had often made her a
Confidante to my Diſtreſs, which ſhe as conſtantly revealed to my
in<g ref="char:EOLhyphen"/>exorable Landlady; who one Day, pre<g ref="char:EOLhyphen"/>tending great Compaſſion, told me
what a Snake I harboured in my Boſom, and ſaid, as ſhe had learned from
her, that I had ſe<g ref="char:EOLhyphen"/>veral valuable Things in Pawn, ſhe would releaſe them,
and keep them in her own Hands, till ſuch time as I could pay her the Trifle
I owed her. I thought this a kind Offer, and with great Acknowledg<g ref="char:EOLhyphen"/>ment
accepted of it: Oh! what a Fool was I, to ſuſpect ſuch a <hi>Jew</hi> of
any Remorſe? I gave her a Line to the Pawnbroker, em<g ref="char:EOLhyphen"/>powering her to receive
whatever he had of mine, and out of my two Guineas paid her one. She laid out
two Guineas, took the Goods into her own Hands, and, e'er ſhe came Home, took
out a Writ againſt me, for the Money ſhe had paid for them.</p>
<p>
<pb n="219" facs="tcp:0095100802:226"/>This was on a <hi>Friday</hi>; it rained
exceſ<g ref="char:EOLhyphen"/>ceſſively all Day, to which I attributed both her ſtaying, and
the extreme Low<g ref="char:EOLhyphen"/>neſs and Dejection of Spirit I laboured un<g ref="char:EOLhyphen"/>der: I called to
Mrs. <hi>Craggs</hi> to bear me Company; but, as ſhe had told my Chri<g ref="char:EOLhyphen"/>ſtian
Name to my Landlady, in order to have me properly arreſted, ſhe did not
think convenient to come to me.</p>
<p>At length the old Beldam returned, and, in a merry way, aſked
me, Did not I think ſhe had run away with my things? I anſwered,
no—they were not worth her while. She complained of being very dry; upon
which I was weak enough to treat her with ſome Porter.</p>
<p>My Reader will pleaſe to obſerve, I was at this time employed
in writing a Tragedy, called, <hi>The Roman Father,</hi> from the Story of
<hi>Virginius</hi> and <hi>Virginia,</hi> two Acts of which I had finiſhed;
but, as at the ſame time there were two bad Plays wrote on that Subject, I
did not think pro<g ref="char:EOLhyphen"/>per to go on with it; it was lying on my Window; and after
ſome Chat with the <pb n="220" facs="tcp:0095100802:227"/> old Woman, being very much
depreſſed in Spirit, I went to Bed.</p>
<p>Early next Morning, to my no ſmall Surprize, entered a Couple of
ill-favoured Fellows, the Sight of whom ſtruck Terror to my Soul. I demanded
their Buſineſs; one of them anſwered,
<q rend="inline">"Get up, you <hi>Iriſh</hi> Papiſt Bitch, and
come along with us."</q> The other, who had employed himſelf in looking over
my Papers, cried,
<q rend="inline">"Ay, the <hi>Iriſh</hi> Whore, here is
ſomething a<g ref="char:EOLhyphen"/>bout ſome <hi>Roman</hi> Father, that's the Pope, and be damn'd
to you, is it?"</q> I was for ſome time quite ſpeechleſs, but, when I
recovered Strength enough to ſpeak, I begged of them to leave the Room, till
I put on my Clothes; but my Landlady coming in at that inſtant, cried,
<q rend="inline">"You're damn'd modeſt;—don't quit the
Place:"</q> The Fellows, who had more Decency than ſhe, looked out at the
Window, while I dreſſed myſelf, in which Time my Agony was inconceivable;
they called a Coach, and thruſting me into it, conveyed me to the Houſe of
an Officer of Mace at <hi>Cha<g ref="char:EOLhyphen"/>ring-croſs</hi>; as I happened to have a
Gui<g ref="char:EOLhyphen"/>nea <pb n="221" facs="tcp:0095100802:228"/> in my Pocket, I called for a Room and a Pint of
Wine, and then conſidered, if I had one Friend I could apply to: My dear Mr.
<hi>Cibber</hi> was out of Town, as were likewiſe moſt of the Nobility;
however, I ſaw young Mr. <hi>Cibber</hi> go by the Window, and ſent to him,
but like all the World, when he heard my Condition, he would not come near me.
My whole Debt was Forty Shillings; O, what could I do but give my Tears Vent!
which was my only Relief; and next Day, after paying twenty Shillings, I was
conveyed to the <hi>Marſhalſea</hi> Priſon. I ſat withinſide of the
Lodge for ſome Minutes quite ſtupified; till at length a Man came, and
aſked me, if I was a Priſoner, which, it ſeems, he did not be<g ref="char:EOLhyphen"/>fore know;
I told him I was, upon which he brought me into a Room, where a Par<g ref="char:EOLhyphen"/>cel of
Wretches ſeized me, and ſung a long Song about Garniſh, and were going to
pull my Clothes off, till a Servant, who had ſeen me before, ſaid,
<q rend="inline">"For God's ſake don't uſe Dr. <hi>Meade</hi>'s
Wife ill:"</q> Upon this a moſt ugly Woman came up, and ſaid,
<q rend="inline">"G—d d—n you, you B—h, do you
<pb n="222" facs="tcp:0095100802:229"/> pretend to be Dr. <hi>Meade</hi>'s Wife?—I am his
Wife."</q> I begged to be heard, which was granted; I told her my Name was
<hi>Meade,</hi> and my Huſband a Clergy<g ref="char:EOLhyphen"/>man in <hi>Ireland.</hi>
<q rend="inline">"Oh, that's a different Caſe, ſaid ſhe,
going off."</q> They were kind enough to take my Word for ſome Drink; and a
good decent Woman ſaid, ſhe would accept of me for a Chum, as they call it.
She brought me into a little dirty Apartment, where, without examin<g ref="char:EOLhyphen"/>ing any
thing, I in Deſpair threw myſelf down on a Bed I ſaw there, and
reſolved never to riſe again. Three Days and Nights paſt, during which
Time I never taſted Food of any ſort. At length the Companion of my
Miſery preſſed me to take a little Refreſhment, which I was
per<g ref="char:EOLhyphen"/>ſuaded do; and ſeeing ſo many People in my own Condition, at length
reconciled me to think of making myſelf as eaſy as poſſible; and leave
myſelf to the Diſpoſi<g ref="char:EOLhyphen"/>tion of Divine Providence. One Morning a Friend
came to viſit me, by whom I ſent a Letter to Dr. <hi>M—de,</hi>
telling him my Diſtreſs, and, among other Things, theſe Lines:
<q>
<pb n="223" facs="tcp:0095100802:230"/>
<l>CAN, alas! the plaintive Pray'r,</l>
<l>Dictated by Grief ſincere,</l>
<l>Hope to reach a friendly Ear:</l>
<l>Will thy kind and bounteous Heart</l>
<l>Sympathize while I impart</l>
<l>Such Affliction, as before</l>
<l>Never hapleſs Woman bore.</l>
</q>
</p>
<p>I made no doubt but I ſhould be re<g ref="char:EOLhyphen"/>lieved, and waited
impatiently for the An<g ref="char:EOLhyphen"/>ſwer, which was as follows:
<floatingText type="letter">
<body>
<head>To Mrs. <hi>MEADE</hi> in the
<hi>Marſhalſea.</hi>
</head>
<opener>
<dateline>Ormond-ſtreet,
<date>October 16, 1742.</date>
</dateline>
<salute>MADAM,</salute>
</opener>
<p>I Have ſo many Applications for Cha<g ref="char:EOLhyphen"/>rity, that it is
impoſſible for me to re<g ref="char:EOLhyphen"/>lieve all; thoſe from your Country alone are very
numerous: The Family of the <hi>Meades</hi> there are very rich, and ſhould
take care of their needy Branches; I have, for the laſt Time, ſent you a
Guinea.</p>
<closer>
<signed>I am, Your humble Servant, <hi>R.
M.</hi>
</signed>
</closer>
</body>
</floatingText>
</p>
<p>
<pb n="224" facs="tcp:0095100802:231"/>I kept the Original of this by me, with a
Reſolution, when I ſhould theſe unlucky Deeds relate, not to omit it.
This was ſoon gone, I had many to ſatisfy: I then wrote to <hi>Henry
Furneſe,</hi>
<abbr>Eſq</abbr> who in a polite manner ſent me a Guinea,
which doubled the Obligation;
<q>
<l>For, oh! believe me, 'tis a dreadful Task,</l>
<l>To generous Minds, to be compell'd to ask;</l>
<l>More dreadful ſtill to have a Suit deny'd,</l>
<l>Or take a niggard Alms, giv'n with Con<g ref="char:EOLhyphen"/>tempt and
Pride.</l>
</q> I was by this ſupported till my dear Mr. <hi>Cibber</hi> came
to Town, who was no ſooner acquainted with my Misfortune, than he ſent me a
Guinea all changed into Six-pences, leſt it ſhould tempt ſome one to pick
my Pocket; this was an Inſtance of ſingular Humanity; but he has often
ſaid, when he did good to People in Diſtreſs, it was only to eaſe his
own Mind, which would other<g ref="char:EOLhyphen"/>wiſe have been on the Rack: Oh, Heavens! what
innate Goodneſs muſt dwell in that Breaſt?</p>
<p>
<pb n="225" facs="tcp:0095100802:232"/>Seeing the Woman, that accuſed me for
being the Doctor's Wife, lying dead drunk in the Puddle, I aſked my
Companion, who ſhe was? Madam, I'll tell you, ſaid ſhe: She was a Servant
to Dr. <hi>M—de,</hi> who had a Child by her, and ſupported her in his
Houſe for ſome time; at length they parted, and he was to allow her five
Guineas a Week: But the Doctor marry<g ref="char:EOLhyphen"/>ing his preſent Lady, began to be
remiſs in his Payments, which enraged Madam to ſuch a Degree, that,
forgetting Decency, ſhe went to his Houſe, and, in Preſence of all his
Servants, abuſed and expoſed him to the utmoſt of her power.</p>
<p>Upon this the Doctor ſtepped into his Chariot, and ordered it to
drive to her Lodging, where finding ſhe was indebted to her Landlord, one Mr.
<hi>Bradſt—t,</hi> famous for being a Spy for the D— of
<hi>C—,</hi> he deſired him to arreſt, and put her in Jail. This
artful Fellow al<g ref="char:EOLhyphen"/>ledged, it would be very expenſive; but the Doctor having
Charity-money enough to ſupply ſuch Exigencies, ſaid, he valued not the
Expence, ſo ſhe was ſecured. Upon <pb n="226" facs="tcp:0095100802:233"/> this the poor
Wretch was arreſted, and thrown into Jail; and from time to time
<hi>Bradſt—t</hi> got three hundred Pounds of the Doctor for keeping
her there; till at length the Doctor growing weary of the Expence, conſented
to her Releaſement; but ſhe had ſo entirely devoted herſelf to
drinking, that ſhe died a few Days after ſhe obtained her Liberty.</p>
<p>And ſo let this be booked among other of his good Works, ſuch
as combing the Ladies Heads, <hi>&c. &c.</hi>
</p>
<p>I think it is a great Pity that every cha<g ref="char:EOLhyphen"/>ritably diſpoſed
Perſon is not his own Al<g ref="char:EOLhyphen"/>moner, ſince it is a thouſand to one, whe<g ref="char:EOLhyphen"/>ther
that which was intended to help the Diſtreſt and Innocent, is not applied
to the Service of LUXURY and VICE! I am ſure, to my own Knowledge, in
ſeveral Inſtances it has been ſo by the D-ct-r, who has many Affairs of
the ſame Nature on his Hands; and, to quote his favourite Mr. <hi>Pope,</hi>
<q>
<l>Now, in ſuch Exigencies, not to need,</l>
<l>Upon my Word, you muſt be rich indeed,</l>
<l>
<pb n="227" facs="tcp:0095100802:234"/>A noble Superfluity it craves,</l>
<l>Not for yourſelf, but for your Whores and
Knaves!</l>
</q>
</p>
<p>I remember, twenty Years ago, to have heard Dr. <hi>Delany</hi>
ſay from the Pulpit, it was a glorious thing for a Man to be his own
EXECUTOR: I dare ſay, he never preached but what he practiſed; and, ex<g ref="char:EOLhyphen"/>cept
that eternal Treaſure, which he has wiſely laid up in ſtore, where
neither Moth nor Ruſt can corrupt, nor Thieves break thro' and ſteal:
Whenever he comes to pay his Mortal Debt—which Hour be far
away!—all he will have left on this ſide of a bleſſed and glorious
Immortality, will be a Shower of Orphans and of Wi<g ref="char:EOLhyphen"/>dows Tears, to bedew the
conſecrated Earth, where his honoured Remains ſhall reſt in Peace, till
ſummoned to partake of that Bliſs, prepared by the Almighty be<g ref="char:EOLhyphen"/>fore all
Worlds, for Souls like his.</p>
<p>As I have frequently obſerved to my Readers, that I was glad to
run away from ſuch a diſagreeable Theme as my Misfor<g ref="char:EOLhyphen"/>tunes, I hope for
their Pardon, though I <pb n="228" facs="tcp:0095100802:235"/> am obliged to return to them
again, and give them an Account even of ſo diſmal a Place as a Jail.</p>
<p>Our Head-Turnkey happened to have been a Servant to Alderman
<hi>Barber</hi>; and, like <hi>Joſeph,</hi> I found Favour in the Sight of my
Keeper, as he had ſeen me in better Days.
<q>
<l>For, <hi>Certes,</hi> I had look'd on better Days,</l>
<l>And had with holy Bell been knoll'd to Church,</l>
<l>And ſat at good Men's Feaſts, and wip'd the Eye</l>
<l>Of Drops, which ſacred Pity had en<g ref="char:EOLhyphen"/>gender'd.</l>
</q> This
Man took great Compaſſion on me, and as on every <hi>Friday,</hi> which is
Court-day, the Priſoners are all locked up in their re<g ref="char:EOLhyphen"/>ſpective Apartments,
leſt, when the Gates are thrown open for the Admiſſion of the Judge and
Lawyers, any of them ſhould make their Eſcape: I was always indul<g ref="char:EOLhyphen"/>ged in
the Liberty of hearing the Trials, which, as a Court of Judicature was a
<pb n="229" facs="tcp:0095100802:236"/> Scene I had never before beheld, greatly amuſed
me.</p>
<p>And, indeed, I quickly perceived Sir <hi>Richard Steele</hi> was
not miſtaken, when he ſaid the firſt, ſecond, and third Excellence of a
Lawyer was Tautology.</p>
<p>Yet this was but a tranſitory Relaxation, once in a Week; the
Horror of my Con<g ref="char:EOLhyphen"/>dition returned with double Violence the Moment I heard the
Key turn for my Con<g ref="char:EOLhyphen"/>finement.</p>
<p>If Mr. <hi>P—n</hi> ſhould alledge, that I have been
ſevere on him in my Writings; let him but conſider, the Extremity that he
drove a worthy Gentleman's Daughter to, nurtured in Eaſe and Plenty: and if
he does not acquit me, I am ſure the reſt of the World will.</p>
<p>We had a ſort of a Chappel belonging to the Jail, where Dr.
<hi>Friend,</hi> a Clergy<g ref="char:EOLhyphen"/>man, Brother to Dr. <hi>Friend</hi> the Phyſician,
obliged us with Divine Service every <hi>Sun<g ref="char:EOLhyphen"/>day:</hi> This Gentleman was
himſelf a Pri<g ref="char:EOLhyphen"/>ſoner in the <hi>King's-Bench,</hi> and, after all the
Grandeur he had once lived in, was now ſo low reduced, as even to be beholden
<pb n="230" facs="tcp:0095100802:237"/> to ſuch an unfortunate Creature as I for Sixpence;
which, unfortunate as I was, I could not refuſe to ſo fine an Orator, a
G<gap reason="illegible" resp="#OXF" extent="1 letter">
<desc>•</desc>
</gap>ntleman! and, by all Accounts,
only undone by boundleſs Generoſity and Hoſ<g ref="char:EOLhyphen"/>pital<gap reason="illegible" resp="#OXF" extent="1 letter">
<desc>•</desc>
</gap>ty.</p>
<p>The firſt Day I heard him preach I was charmed with his
Elocution, but the reſt of the Congregation, mad and drunk, bade him hold his
Tongue;—he indeed, like <hi>Orpheus,</hi> played to Wolves and Bears; nor
were they half ſo obliging to him, as the Storms were to <hi>Arion</hi>;
neither could he, though uttering dulcet and harmonious Sounds, make the rude
Crowd grow civil with his Song.</p>
<p>This fine Gentleman I often invited to my lonely
Manſion—he was not a lit<g ref="char:EOLhyphen"/>tle ſurpriſed to hear my mournful
Story;—and indeed it ſomewhat alleviated my Sorrow to find ſuch a
Companion:—Poor Gentleman! Death has releaſed him; I am ſure I
ſhould have done it, had the Almighty given me a Power equal to my
Inclination to ſerve him.</p>
<p>
<pb n="231" facs="tcp:0095100802:238"/>However I may praiſe God that I was, under
him, the happy Inſtrument of Good to Numbers of my wretched
Fellow-crea<g ref="char:EOLhyphen"/>tures, ſince by one pathetic Memorial I wrote for them, the
ſorrowful Sighing of the Priſoners reached the Hearts of the Le<g ref="char:EOLhyphen"/>giſlative
Powers, and obtained an Act of Grace for them.</p>
<p>But as it was now near <hi>Chriſtmas,</hi> and the Act was not
to take Place till the <hi>June</hi> following, I uſed my utmoſt Endeavours
to procure my own Liberty; for, oh! what anxious Moments muſt have paſſed
between that dreadful Interval of Time? On a ſe<g ref="char:EOLhyphen"/>cond Application to Mr.
<hi>Cibber,</hi> he uſed all his Power with the Great for me, and, as he had
been uſed to move their Paſſions, did it effectually on my Behalf,
inſomuch than no leſs than ſixteen Dukes contributed a Guinea a-piece
towards my Enlargement.</p>
<p>When I read over theſe Words, <hi>Diſcharge from your
Cuſtody the Body of,</hi> &c. as I was by nine Weeks Confinement,
Sickneſs, and Faſting, rendered quite weak, the joy<g ref="char:EOLhyphen"/>ful Surpriſe made me
faint away ſeveral Times, and indeed, my kind Benefactor
<pb n="232" facs="tcp:0095100802:239"/> had like to have fruſtrated his own gene<g ref="char:EOLhyphen"/>rous Deſign
of preſerving me.</p>
<p>However, after all Debts, Extortions, and Dues were paid, I had
juſt thirteen Shillings left, with which Sum I was once more permitted to
breathe the open Air—and go where I pleaſed.</p>
<p>As ſoon as I got as far as <hi>London-Bridge,</hi> I found my
Head turn quite giddy, and my Legs fail me, inſomuch that I went into a
Jeweller's Shop, who perceiving my weak Condition, permitted me to ſit down
in it; I begged of him to let ſome of his Servants call a Coach for me, which
he civilly complied with; when I was got into it, I was at a Loſs where to
bid the Coachman drive me; till at laſt recollecting, that all my Writings,
All, the little all! which might make my fu<g ref="char:EOLhyphen"/>ture Fortune, were in the
Poſſeſſion of Mrs. <hi>Trifoli,</hi> the Woman who had caſt me into
Miſery unſpeakable, which, not to teize my Readers, I have ſlightly
paſſed over: for what Entertainment can it poſſibly give to the
curious, learned, or polite Reader to hear from me what every
<pb n="233" facs="tcp:0095100802:240"/> Perſon, who has ever been in a Jail, can relate as
well as I.</p>
<p>Well, I was carried to her Houſe, where, as I told her, I did
not know where to lodge that Night; ſhe kindly accepted of me for a
Bedfellow, but a very bad one I found, for ſhe, as my Spirits were quite
fatigued, no ſooner found I was faſt aſleep, but ſhe picked my
Pocket.</p>
<p>When I awoke in the Morning, ſhe asked me to give her ſome
Tea, on which taking up my Pocket to give her Money to go for it, I found I had
none; when I complained of this Uſage, ſhe told me ſhe was too charitable
to permit me to ſleep with her, and now this was her Reward; ſo ſhe
inſiſted on my turning out of her Doors, and truly I knew not where to
<q>
<l>—Inform my unacquainted Feet</l>
<l>Thro' the blind Mazes of a tangled World;</l>
</q> So I went
dirty, as I came out of Jail, to Mr. <hi>Cibber</hi>; for I ought before to
have obſerved, that this Wretch not only ſecured my Perſon, but my
Clothes alſo, inſomuch that I had not a Shift to change me, till,
<pb n="234" facs="tcp:0095100802:241"/> out of what Charity was ſent me, I bought a ſecond
one in the Jail.</p>
<p>However, he received me with as much Regard and Kindneſs, as
though I had been ever ſo well dreſt; but he charged me not to give him
Thanks for any Thing he had done to ſerve me, but to praiſe God, who, as he
ſaid, had given me Me<g ref="char:EOLhyphen"/>rit;
<q rend="inline">"For, Child, ſaid he, were you ſtupid,
inſenſible, or wicked, I ſhould never have had the ſmalleſt
Compaſſion for you."</q>
</p>
<p>He asked me what I now intended to do? I aſſured him I did not
know; for that I neither had a Lodging, nor, what was yet worſe, a Shilling
to get one;
<q rend="inline">"Well, ſaid he, I have a little Money in Store
for you; I told your melancholy Story to the Duke of <hi>Richmond,</hi> and he
gave me Five Guineas for you; there they are."</q>
</p>
<p>This was a Lottery Prize to one in my unhappy Situation; I could
not, though prohibited, forbear the warmeſt Expreſ<g ref="char:EOLhyphen"/>ſions of Gratitude,
both to his Grace and Mr. <hi>Cibber</hi>; to the Duke I wrote a Letter
<pb n="235" facs="tcp:0095100802:242"/> of Acknowledgment, and provided myſelf with a Lodging
in <hi>Weſtminſter,</hi> and, as it was on <hi>Chriſtmas</hi> Eve I
obtained my Li<g ref="char:EOLhyphen"/>berty, on <hi>New-Year</hi>'s Day I publiſhed in the
<hi>Gazette</hi> the following Lines:
<q>
<lg>
<head>To <hi>COLLEY CIBBER,</hi>
<abbr>Eſq</abbr>
</head>
<lg>
<l>LOST in a Priſon's joyleſs Gloom,</l>
<l>Chearleſs and dreary as the Tomb,</l>
<l>Where on the Bed of Care I lay,</l>
<l>And wept the lonely Hours away:</l>
<l>When ev'ry Hope and Wiſh was fled,</l>
<l>But to be number'd with the Dead,</l>
<l>You, like a Meſſenger of Grace,</l>
<l>Spoke my deſpairing Soul to Peace;</l>
<l>Wip'd off the Tear from Sorrow's Eye,</l>
<l>Bid Bars, and Bolts, ſtrong warded, fly;</l>
<l>Bounty, the Angel-Men revere</l>
<l>Wrought Miracles of Mercy there.</l>
<l>Say, ſhall thoſe Deeds forgotten die,</l>
<l>Or, loſt in cold Oblivion lie?</l>
<l>May Heav'n no longer guard that Breath</l>
<l>You reſcu'd from untimely Death,</l>
<l>Than Gratitude attunes my Lays</l>
<l>In ſweeteſt Notes to hymn your Praiſe;</l>
<l>
<pb n="236" facs="tcp:0095100802:243"/>Nor can the Song offend the Ear,</l>
<l>Thus offer'd from a Soul ſincere.</l>
</lg>
<lg>
<l>Enlarg'd, once more, with Joy I view</l>
<l>The circling Sun his Courſe renew.</l>
<l>May He, whoſe Wiſdom guides the Spheres,</l>
<l>Proportion Bleſſings to thy Years;</l>
<l>To Thee, may roſy-boſom'd Spring,</l>
<l>Pleaſure, and Health, and Plenty bring,</l>
<l>Till Time, with gentle Steps, convey</l>
<l>Thy Soul to Realms of endleſs Day,</l>
<l>Where Cherubims for Thee, with Care,</l>
<l>Unenvy'd deathleſs Wreaths prepare.</l>
<l>Thoſe modeſt Virtues You conceal,</l>
<l>Shall Heav'n-born Charity reveal;</l>
<l>And mortal Goodneſs, to improve,</l>
<l>Unite You can immortal Love.</l>
</lg>
<lg>
<l>Oh, let your Gaiety excuſe,</l>
<l>My ſerious melancholy Muſe!</l>
<l>This World appears a Dream to me,</l>
<l>Afflictions teach Philoſophy;</l>
<l>And thus, alone, a Chriſtian Heart,</l>
<l>It's grateful Raptures can impart.</l>
</lg>
</lg>
</q>
</p>
<p>My dear old Friend was pleaſed with my Senſe of his Goodneſs
to me; only he told <pb n="237" facs="tcp:0095100802:244"/> me, my Lines were more proper to be
ad<g ref="char:EOLhyphen"/>dreſſed to an Archbiſhop than to him, who had nothing to boaſt of
more than a little common Humanity.</p>
<p>Well, being now free,—and with five Guineas in my Pocket, in
flowing Circum<g ref="char:EOLhyphen"/>ſtances, I began to conſider, in what Man<g ref="char:EOLhyphen"/>ner I ſhould
improve them; ſo I wrote to his Grace of <hi>M—h,</hi> who, like Lord
<hi>Kingsborough,</hi> knows not how to give one Guinea by way of Relief, he
immediately ſent me Ten, ſealed up in a very genteel Letter, with his
beſt Wiſhes and Compli<g ref="char:EOLhyphen"/>ments to me: who was now ſo rich as I?</p>
<p>But, as <hi>Shakeſpear</hi> obſerves,
<q>
<l>There is a Tide in the Affairs of Men,</l>
<l>Which taken at the Height, is proſpe<g ref="char:EOLhyphen"/>rous;</l>
<l>But, ſlighted, the Reſidue of their Lives</l>
<l>Is bound in Shallows and in Miſcry.</l>
</q> So I juſt then
heard a Clergyman was in <hi>England,</hi> who was a near and intimate Friend
of my Father's; him I addreſſed, and was ordered to go to Mr.
<hi>Richardſon,</hi>
<pb n="238" facs="tcp:0095100802:245"/> a Printer, in
<hi>Saliſbury-court,</hi> for an An<g ref="char:EOLhyphen"/>ſwer to my Letter.</p>
<p>As I had never formed any great Idea of a
<note n="*" place="bottom">
<hi>Mem.</hi> Not our preſent Set of
Printers, who are many of them Gentlemen, and Perſons in good
Cir<g ref="char:EOLhyphen"/>cumſtances, prrticularly my own.</note>Printer, by thoſe I had ſeen
in <hi>Ireland,</hi> I was very negligent of my Dreſs, any more than making
myſelf clean; but was extremely ſurpriſed, when I was directed to a
Houſe of a very grand outward Ap<g ref="char:EOLhyphen"/>pearance, and had it been a Palace, the
beneficent Maſter deſerved it.</p>
<p>I met a very civil Reception from him; and he not only made me
break<g ref="char:EOLhyphen"/>faſt, but alſo dine with him, and his agree<g ref="char:EOLhyphen"/>able Wife and Children.
After Dinner he called me into his Study, and ſhewed me an Order he had
received to pay me twelve Guineas, which he immediately took out of his
Eſcrutore, and put it into my Hand; but when I went to tell them over, I
found I had fourteen, and ſuppo<g ref="char:EOLhyphen"/>ſing the Gentleman had made a Miſtake, I
was for returning two of them; but he, <pb n="239" facs="tcp:0095100802:246"/> with a
Sweetneſs and Modeſty almoſt pe<g ref="char:EOLhyphen"/>culiar to himſelf, ſaid, he hoped I
would not take it ill, that he had preſumed to add a Trifle to the Bounty of
my Friend.</p>
<p>I really was confounded, till, recollecting that I had read
<hi>Pamela,</hi> and been told it was written by one Mr. <hi>Richardſon,</hi>
I aſked him, whether he was not the Au<g ref="char:EOLhyphen"/>thor of it? He ſaid, he was the
Editor: I told him, my Surprize was now over, as I found he had only given to
the incompa<g ref="char:EOLhyphen"/>rable <hi>Pamela</hi> the Virtues of his own worthy Heart.</p>
<p>When he reads theſe Lines, as read them I am certain he will,
even for the Writer's ſake, let him reflect, that, at leaſt, his Bread was
not ſcattered on the Water; but that though I have no other Way of ſhewing
my Gratitude for his boundleſs and repeated Acts of Humanity to me, and my
Children, but Words, mere Words; yet, if every Word of mine could charm down
Bleſſings on him,
<q>
<l>Then never ſhou'd Misfortune croſs his Foot;</l>
<l>
<pb n="240" facs="tcp:0095100802:247"/>But Peace ſhou'd be within his Walls
and Plenty,</l>
<l>Health, and Happineſs his conſtant
At<g ref="char:EOLhyphen"/>tendants.</l>
</q>
</p>
<p>And now, that I might, if poſſible, avoid the Miſery of
extreme Want, I re<g ref="char:EOLhyphen"/>ſolved to turn my Stock into Trade; and, after long
Conſideration, thought nothing would ſuit my Inclination ſo well as a
Pamphlet-Shop, nor no Place was ſo pro<g ref="char:EOLhyphen"/>per for my Purpoſe as <hi>St.
James</hi>'s-<hi>Street,</hi> where I ſhould be in the Center of my noble
Benefactors; to this end, I walked through it, and finding one to be let, which
anſwered my Purpoſe, I directly agreed to give the Landlord twenty-one
Pounds a Year, for a Shop, Parlour, and Kitchen; but the Landlord inſiſted
upon my paying a Quarter's Rent before-hand, which, though a little hard upon
me, as I not only had the Shop to ſtock, but Fur<g ref="char:EOLhyphen"/>niture of all Kinds to buy,
I complied with.</p>
<p>
<pb n="241" facs="tcp:0095100802:248"/>So, Reader, here was a new Scene, and I, for
the firſt of my Family, took my Place behind a Counter.</p>
<p>Having met with a very great Bargain of Prints, which were ſold
under Diſtreſs, and having ſome Knowledge in that Way, I reſolved
alſo to deal in them; ſo, having decorated out my Windows with them to the
beſt Advantage, early on <hi>Monday</hi> Morning I entered on my new
Employ.</p>
<p>The firſt Perſon who entered was Lord
<hi>P—ſt—n,</hi> dreſs'd <hi>à la mode de Paris,</hi>
with long ſloped double Ruffles, ſuch as the La<g ref="char:EOLhyphen"/>dies wear; he took down the
Print of <hi>Shakeſpear</hi>'s Monument, and, though it was marked Price
Eighteen-pence, he bade me a Groat for it, which, as it had coſt me a
Shilling, I could by no means take; ſo he went away very much diſpleaſed,
and truly, I began to be out of Conceit with my Occupation.</p>
<p>As my dear Mr. <hi>Cibber</hi> had made me a preſent of fifty of
his laſt Anſwer to Mr. <hi>Pope,</hi> I ſat down to read it, and found it
ſo full of Spirit and Humour, that juſt as it had thrown me into a hearty
Fit of <pb n="242" facs="tcp:0095100802:249"/> Laughter, a Clergyman entered, who aſked me,
what I had got new? I told him <hi>my preſent Situation</hi>: He looked
earneſtly on me, and ſaid, he was very ſure of that;
<q rend="inline">"But, Madam, ſaid he, all are not born to be
happy in this World, however they may merit it, which plainly demon<g ref="char:EOLhyphen"/>ſtrates a
future State, where Rewards and Puniſhments will be impartially
diſ<g ref="char:EOLhyphen"/>tributed; but why ſhould I tell this to Mrs. <hi>Pilkington,</hi> who
may better in<g ref="char:EOLhyphen"/>ſtruct her Teacher?"</q>
</p>
<p>I begged of the Gentleman to inform me, where I had had the Honour
of ſeeing him? He told me, he was Son to Colonel <hi>Stuart,</hi> who lived
next Door to my Father, before I was married, and when he himſelf was in the
College: I then recollected, that he uſed every Day to ſend me ſome
poetical Praiſe, and as I never before had an Op<g ref="char:EOLhyphen"/>portunity of thanking him
for his elegant Compliments, I took it now.</p>
<p>As he was deſirous of giving me Hanſel, as they call it, I
recommended Mr. <hi>Cibber</hi>'s Letter to him, as a Cure for the Spleen, a
Diſtemper moſt ſtudious and learned Per<g ref="char:EOLhyphen"/>ſons <pb n="243" facs="tcp:0095100802:250"/> are
apt to fall into; he took the Ghoſt's Word for the Excellence of the
Performance, and gave me a Guinea; I was going to give him Change, but he would
not accept of it; ſo, promiſing to be a conſtant Cuſtomer for whatever
I ſold, and wiſhing me all Succeſs, he de<g ref="char:EOLhyphen"/>parted. <hi>Mem.</hi> The
Clergyman infinitely more generous than the Peer.</p>
<p>As my Obligations to Mr. <hi>Cibber</hi> were ever preſent to my
Mind, I wrote to him the following kind of Paraphraſe on an Ode of
<hi>Horace:</hi>
<q>
<lg>
<head>To Mr. <hi>CIBBER.</hi>
</head>
<epigraph>
<q>
<l>Donarem pateras.</l>
<bibl>Hor.</bibl>
</q>
</epigraph>
<lg>
<l>DID Fortune wait upon my Hand,</l>
<l>Cou'd I her various Gifts command,</l>
<l>Her nobleſt Offering wou'd I give</l>
<l>To Him, whoſe Bounty bade me live,</l>
<l>A golden Goblet, richly chas'd,</l>
<l>Cloſe by a mantling Vine embrac'd,</l>
<l>Whoſe Fruitage round the Brim ſhould ſhine,</l>
<l>And ſeem to yield the ſparkling Wine,</l>
<l>
<pb n="244" facs="tcp:0095100802:251"/>Or radiant Gems, of Value rare,</l>
<l>Shou'd ſpeak my Gratitude ſincere,</l>
<l>For thy far nobler Gift to me,</l>
<l>Ineſtimable LIBERTY!</l>
</lg>
<lg>
<l>Tho' Poets boaſt a fair Eſtate,</l>
<l>They ſeldom deal in Gems, or Plate;</l>
<l>For yet in all <hi>Parnaſſus</hi> Mold,</l>
<l>There ne'er appear'd one Vein of Gold.</l>
<l>We toil, and labour all our Days</l>
<l>For a few Sprigs of barren Bays;</l>
<l>They, Thunder-proof, its Rage defy,</l>
<l>Yet, touch'd by Envy, blaſted die.</l>
</lg>
<lg>
<l>Yet Verſe can conſecrate a Name,</l>
<l>And worthy Deeds conſign to Fame;</l>
<l>Oh! cou'd I raiſe a Song ſublime,</l>
<l>Triumphant over Fate and Time,</l>
<l>Thy Virtue in the Lays divine</l>
<l>Should with immortal Luſtre ſhine:</l>
<l>Let others place phantaſtic Joys</l>
<l>In orient Trinkets, ſplendid Toys!</l>
<l>While your exalted Soul refin'd,</l>
<l>Like Heav'n, accepts the GRATEFUL MIND.</l>
</lg>
</lg>
</q>
</p>
<p>
<pb n="245" facs="tcp:0095100802:252"/>I ſent theſe Lines to my dear Gentleman,
who preſently came to me, as I was once more in his Neighbourhood,—and
in his chearful way, ſaid,
<q rend="inline">"Faith, Child, you have praiſed me ſo, that, I
think, it is the leaſt I can do to make you eat for a
Fortnight;"</q>—ſo he gave me three Guineas.</p>
<p>As my Mind was now a little at Peace, I began to think of my dear
Children, whom nothing but my Incapacity of doing them Service, and a
Suppoſition that their Father took proper Care of them, could ever divert my
Thoughts from, even a Moment; ſo ſtrong is maternal Love, at leaſt, if
every Mother loves like me: For, really, and I hope it is a pardonable
Frail<g ref="char:EOLhyphen"/>ty, my very Life is treaſured in him, whom I may properly ſtile my
only Child, and were he to die I ſhould not long ſur<g ref="char:EOLhyphen"/>vive him.</p>
<p>I know not of what impenetrable Stuff his Father's Heart was made
of, that could let ſuch a Son, not only want the Advan<g ref="char:EOLhyphen"/>tages of Education,
which had it not been <pb n="246" facs="tcp:0095100802:253"/> in his Power to pay for it, it was
in his own Power to beſtow on him, ſo far as inſtructing him in the
Knowledge of <hi>Latin</hi> and <hi>Greek,</hi> which <hi>Cato</hi> would not
permit his Son to be indebted to a Slave for;—and yet <hi>Cato</hi> was,
at leaſt, as good, and a much greater Man than the Parſon; ſurely this he
might have done:—No; on the contrary, he choſe to expoſe him, at Nine
Years of Age, to every Calamity in Life; and that he did not turn Thief or
Pickpocket, was due to God's reſtraining Grace, and providential Care of
him.</p>
<p>And here, I muſt, in Vindication of my Child, declare, he never
was undutiful or diſreſpectful to me, as his Father has falſly and
cruelly reported; he is, like all Per<g ref="char:EOLhyphen"/>ſons of his Age, ſo full of Mirth and
over<g ref="char:EOLhyphen"/>flowing Spirits, that, I am certain, the Dulneſs his Father brings, as
an Excuſe for taking him from School, never was his Fault;</p>
<p>For he is—
<q>
<pb n="247" facs="tcp:0095100802:254"/>
<l>All my Mirth, my Exerciſe, my Matter,</l>
<l>He makes my <hi>July</hi>'s Days ſhort as
<hi>De<g ref="char:EOLhyphen"/>cember,</hi>
</l>
<l>And, with his varying Playfulneſs, kills in me</l>
<l>Thoughts which would thick my Blood.</l>
</q> Though, I am
ſure, only that he has too much Reſpect for his Father, to throw any
Reflection on him; yet he might properly ſay,
<q>He let me feed with his Hinds, debar'd me of a Place in his
Love, and, as much as was in him, mined my Gentility by baſe Education.</q>
And I may ſay, with Truth, the Boy is gentle, though
<q>
<l>Never ſchool'd, learn'd; full of noble Device,</l>
<l>And of all Sorts enchantingly belov'd.</l>
<bibl>Shakeſpear, As you like it.</bibl>
</q>
</p>
<p>
<pb n="248" facs="tcp:0095100802:255"/>But to return. I wrote to <hi>Ireland</hi>
to my eldeſt Son, who, either through Fear of his Father's Anger, or an
ill-natur'd Spirit derived from him, did not think me worth an Anſwer;
however, he ſhewed the Letter to his Siſter, who, in her low Stile, ſent
me an affectionate Letter. Before it reached me, I heard Mr.
<hi>Ar—e</hi> was come to <hi>London,</hi> and having been told my Child
was bound Apprentice to him, I did not doubt but I ſhould find him with him,
ſo I went to wait on him; he received me very politely, and told me, my Son
had left him, and was gone to <hi>Scotland:</hi> When I demanded, how they came
to part? He ſaid, he had pawned ſome of his Muſic Books, and that he had
complained to his Father of him, who aſked what they might be worth? It is to
be preſumed that they were valued to the utmoſt they coſt; upon which Mr.
<hi>P—n,</hi> ever tender, ſaid he was glad to hear that the Theft, as
he termed it, amounted to Death, intreating Mr. <hi>Ar—e</hi> to
proſecute the Child, for ſuch he then was, and declaring that no<g ref="char:EOLhyphen"/>thing in
the World would give him greater Satis<g ref="char:EOLhyphen"/>faction <pb n="249" facs="tcp:0095100802:256"/> than to
hear that the Dog was hang'd.</p>
<p>Mr. <hi>Ar—e</hi> ſaid, Mr. <hi>P—n</hi>'s
In<g ref="char:EOLhyphen"/>humanity quite ſhocked him,—ſo he corrected the Boy very
ſeverely, upon which he ran away from him; that he had ſince received a
Letter from him, which he ſhewed to me, and from thence I got a Direction
where to write to him. I was, as may be ſuppoſed, infinitely diſturbed at
this Account of my Son; I wrote to him that very Night, and informed him of
what Mr. <hi>A—e</hi> had ſaid; I begged of him to come to me, and that
as his Maſter had highly commended his muſical Talents, I hoped, by Mr.
<hi>Cibber</hi>'s Intereſt, to get him engaged at one of the Theatres.</p>
<p>About ten Days after, having juſt paid my Rent, and bought
ſome Shop-Goods, on which I had laid out every Penny I was worth;—as I
had ſtuck up on my Shop Window, <hi>Letters written here on any Subject,
except the Law, Price Twelve-pence; Petitions alſo drawn at the ſame
Rate.</hi> Mem. <hi>Ready Money, no Truſt.</hi>
</p>
<p>
<pb n="250" facs="tcp:0095100802:257"/>A Man came in, very badly dreſt, with a
greaſy Leather Apron before him; he looked over ſome Prints, when the
Poſt<g ref="char:EOLhyphen"/>man brought me a large Pacquet, marked <hi>Edinburgh</hi>; as I had no
Money, I was in terrible Confuſion, eſpecially as the Fellow cried,
<q rend="inline">"Come, Miſtreſs, don't keep me waiting;"</q> I
ſaid, I muſt ſend out for Change: Oh, ſaid he, I never go without it;
where's your Piece? Upon this, the Leather-apron'd Gentleman, for ſuch he
was, drew out a Handful of Gold, and throwing down a Guinea, ſaid,
<q rend="inline">"There, take your Money;"</q> and what was yet
more ſurprizing, he inſiſted on my taking the Change, for he determined,
he ſaid, to have me his Debtor.</p>
<p>Upon this I began to have a very different Opinion of my new
Cuſtomer than what his firſt Appearance gave me, and therefore civilly
entreated his Permiſſion to peruſe my Letter, to which he agreeing, I had
not read above ten Lines when I burſt into Tears, ſo the Gentleman
inſiſted on my laying it aſide while he ſtayed, telling me,
<pb n="251" facs="tcp:0095100802:258"/> I muſt ſo far oblige him as to write a Love-Letter
for him.</p>
<p>Upon this I invited him into the Parlour, and told him, he muſt
make me his Confi<g ref="char:EOLhyphen"/>dant: He ſaid, he had never mentioned Love to the Lady;
that, as to her Perſon, ſhe was very agreeable, but that her Mind far
ſurpaſſed it: So, having my Inſtruc<g ref="char:EOLhyphen"/>tions, I quickly finiſhed my
Taſk greatly to his Satisfaction, inſomuch that he pro<g ref="char:EOLhyphen"/>teſted I muſt
give him Leave to ſend for a Flaſk of <hi>Champaigne</hi> to raiſe my
Spirits, which, indeed, were greatly oppreſſed.</p>
<p>By the time he had drank a Glaſs or two, he began to talk of
<hi>Homer, Horace, Milton,</hi> and all the Poets; ſung an <hi>Italian</hi>
Song; and ſoon convinced me, that Dreſs was put on merely to diſguiſe a
fine Gen<g ref="char:EOLhyphen"/>tleman, which it was no way in his Power to do; I told him ſo, and
aſked him, why he walked in Maſquerade?</p>
<p>He ſmiled at my Queſtion, but aſſured me, he was neither
better or worſe than a Houſe-Painter, and that his Name was <hi>Tom
Bruſh.</hi>
</p>
<p>
<pb n="252" facs="tcp:0095100802:259"/>This put me in Mind of an Adventure I once
had in <hi>Ireland,</hi> when one of the fineſt Gentlemen in it came to
viſit me in a Grazier's Coat, and told me his Name was <hi>Tom Long,</hi> the
Carrier, though he hap<g ref="char:EOLhyphen"/>pened to be an <hi>Engliſh</hi> Baronet, with a large
Eſtate, and a great Employment.</p>
<p>But I have been a Lady of Adventure, and almoſt every Day of my
Life produces ſome new one: I am ſure, I ought to thank my loving Huſband
for the Opportunity he has afforded me of ſeeing the World from the Palace to
the Priſon; for had he but permitted me to be what Nature cer<g ref="char:EOLhyphen"/>tainly intended
me for, a harmleſs houſ<g ref="char:EOLhyphen"/>hold Dove, in all human Probability I ſhould have
reſted contented with my humble Situation, and, inſtead of uſing a Pen,
been employed with a Needle, to work for the little ones we might, by this
time, have had.</p>
<p>Now, after all my ſtrange Viciſſitudes of good and evil
Fortune, I ſincerely de<g ref="char:EOLhyphen"/>clare, that were I to have my Wiſh, tho' I ſhould
not now in the Decline of Life be able to ſtruggle through Misfortunes, as in
<pb n="253" facs="tcp:0095100802:260"/> it's firſt ſprightly Career; yet as by the Bounty,
Compaſſion, and Kindneſs of all my noble, and honoured Benefactors, I
have the unſpeakable Happineſs of being ſet above the low
Diſtreſſes of Life.
<q>
<l>Now pleas'd Remembrance builds Delight on Woe.</l>
<bibl>Pope's Homer.</bibl>
</q> I think I am glad that there has
been ſuch ſtrong Proof made of my Conſtancy, without which I had ſcarce
known how duly to praiſe that eternal Goodneſs, who evermore gave me
Strength adequate to the ſevere Afflictions he was pleaſed to try me with.
Be then all Praiſe to him, who
<q>
<l>From ſeeming Evil, ſtill educes good,</l>
<l>And better ſtill from thence, and better ſtill</l>
<l>To infinite Perfection.</l>
</q>
</p>
<p>Well, when Mr. <hi>Bruſh</hi> departed, I read my dear Child's
Letter, which was as fol<g ref="char:EOLhyphen"/>lows:
<floatingText type="letter">
<body>
<pb n="254" facs="tcp:0095100802:261"/>
<opener>
<dateline>Edinburgh,
<date>Sept. 16, 1744.</date>
</dateline>
<salute>My dear, dear MOTHER,</salute>
</opener>
<p>NO Tongue can expreſs the Joy which the Receipt of your kind
Letter in<g ref="char:EOLhyphen"/>ſpired me with, to find a long loſt Trea<g ref="char:EOLhyphen"/>ſure! for I was ſo
poſitively aſſured you were dead, that I can hardly believe my Eyes, when
I ſee your dear and well<g ref="char:EOLhyphen"/>known Hand, and read your beloved Name, which I have
kiſſed a thouſand Times: If it be Deluſion, may I never be
undeceived!</p>
<p>You deſire me to give you a particular Account of whatever
has befallen me ſince I had the Misfortune of looſing you, my deareſt and
only Friend; for I, with all Duty and Gratitude, remember your fond Affection
to me: It is to you I am indebted that I can either read or write, or know any
part of my Duty either to God or Man; for I do aſſure you my Father neither
in<g ref="char:EOLhyphen"/>ſtructed me himſelf, nor (tho' Mr. <hi>Baldrick</hi> whom my Grandfather
put me to School to, when the good old Man was dead, would have taught for me
nothing) would <pb n="255" facs="tcp:0095100802:262"/> he permit me to go School, becauſe one
Day a Boy threw a Stone at me, and I throwing another at him, happened to break
a Pane of Glaſs in an Alehouſe Window, for which the People followed me
home, and made my Father pay a Groat for it.</p>
<p>Upon this I received a moſt inhuman Correction from him,
which was repeated every Morning and Night for ſix Days to<g ref="char:EOLhyphen"/>gether; he
ſtripped off all my Clothes, though in the Depth of Winter, and locked them
up, leaving me without any Covering but my Shirt in the dark Back Kitchen,
which, as you may remember, was in the Winter overflowed with Water, charging
the Servants not to give me a Morſel of Food; and that I am alive is due to
God's Providence, who, I hope, preſerved me to be a Comfort to you.</p>
<p>However the Servants, though they had but a Groat a Day
allowed them to live upon, uſed to give me Share of their Bread and
Butter-Milk, and, when my Father was abroad, would permit me to warm my Body at
the Kitchen Fire; nay, and as my Father ſaid, it was too much Indulgence
<pb n="256" facs="tcp:0095100802:263"/> for me to ſleep with his Footman, the poor Fellow
uſed to let me lie down in the Day, where I ſpent moſt of my Time, and
was neither allowed Pen, Ink, or Book to a<g ref="char:EOLhyphen"/>muſe me.</p>
<p>I will in ſome time give you a full Hiſ<g ref="char:EOLhyphen"/>tory; but, at
preſent, ſhall confine my<g ref="char:EOLhyphen"/>ſelf to Mr. <hi>A—e</hi>'s Affair. I
lived with him ſome time before I was bound Ap<g ref="char:EOLhyphen"/>prentice, in which I was
uſed very well; but as ſoon as that was done the Scene was changed. Mrs.
<hi>A—e,</hi> who was prodi<g ref="char:EOLhyphen"/>giouſly fond of Gin, uſed to take ſo
much of it, that ſhe ſeldom knew what ſhe did, and would often perſuade
her Husband to believe well or ill of me, juſt as ſhe was drunk or ſober:
It was in one of theſe Fits ſhe was when <hi>Tommy L—e</hi> landed,
who is really a worthleſs conceited Fellow; and becauſe he thought I did
not ſufficiently admire his fine ſinging, uſed, by way of Fun, to ſet
Mrs. <hi>A—e</hi> on to abuſe me and Mr. <hi>A—e,</hi> who is
really a good-natured Man. I was diſcharged from fetching Half-quarterns to
my Miſtreſs; and there being an old Box in the Garret, in which
<pb n="257" facs="tcp:0095100802:264"/> Mr. <hi>A—e</hi> kept ſome Muſick-Books, ſhe
went up to examine it, and ſaid there were ſome of them ſtole: He, who
did not know what number of Books there was in it, ſaid, there was none gone;
upon which, without the leaſt Ceremony, ſhe ſtruck him in the Face,
ſwearing by the great God, if he did not correct me, ſhe would do it
herſelf. I, who was not far off, and heard this Diſcourſe, made the
beſt of my way out of the Houſe; which Mrs. <hi>A—e</hi> taking as a
Proof of Guilt, and a villai<g ref="char:EOLhyphen"/>nous Maid ſhe had joining with her, ſhe
ſearched the Houſe, and ſwore ſhe had loſt many things, as Braſs
Candleſticks, Bottles, <hi>&c.</hi> all this poor Mr. <hi>A—e</hi>
was obliged to agree to for Quietneſs ſake. When I had ſtaid a Day away,
I wrote to him, telling him, I was ſurprized at his Suſpi<g ref="char:EOLhyphen"/>cions of me, and
that I was willing to re<g ref="char:EOLhyphen"/>turn: He came directly with the Meſſen<g ref="char:EOLhyphen"/>ger, and
brought me home. I ſtayed there till Night, when Mr. <hi>L—e</hi>
com<g ref="char:EOLhyphen"/>ing in, and hearing I was there, called for his Horſewhip, and Mr.
<hi>A—e,</hi> his Wife, and <hi>L—e</hi> were beating me for three
<pb n="258" facs="tcp:0095100802:265"/> Hours, to make me confeſs what I had done with the
Books, ſwearing they would cut me to Death, if I did not own. I was forced
one time to ſay that I ſold them; another, that I gave them away, to get a
little Reſpite; ſo, when they had made me confeſs to what they pleaſed,
I was put to Bed, and locked in, in order to be ſent to <hi>Newgate</hi> next
Day.</p>
<p>I ſtayed all Night, never ſlept, and all the next Day did
not eat a Morſel. In the Evening they were rehearſing <hi>Comus,</hi> when
I ſhot back the Lock of my Priſon, and finding the other Door open, I took
off my Shoes, and crept down ſtairs, got to the Street, and run five Streets
Length in my Stockings: What Advantage the Maid might make of finding the Door
open and me gone I know not, as Mrs. <hi>A—e</hi> ſaid ſhe had loſt
ſome of her Jewels, Things the poor Woman never had in her Life; and ſo far
I was from a Thought of taking any thing of theirs, that I did not take my Hat,
a Shirt, or any thing elſe with me. Now all the Reaſon I can ever deviſe
for her uſing me ſo, was, I believe, <pb n="259" facs="tcp:0095100802:266"/> becauſe I
once ſaw her and <hi>L—e</hi> toying on the Bed together. So now, my
Dear Mother, as I fear I have taken up too much of your Time already, I ſhall
conclude, with aſſuring you</p>
<closer>
<signed>I am, With the greateſt Tenderneſs, Reſpect
and Duty, Your affectionate Son, J. PILKINGTON.</signed>
</closer>
</body>
</floatingText>
</p>
<p>This Account of my poor Child's Suf<g ref="char:EOLhyphen"/>ferings threw me into what
they call <hi>An Hiſterick Cholick,</hi> under which I languiſhed many
Days; but my Hour was not yet come, nor had my Sorrows reached their Summit.
But of that in due place.</p>
<p>But to return to my Seat behind the Counter, where I was tolerably
content with my Situation, except for the Concern I felt for my Children, from
whom I could ſeldom diſengage my Thoughts, although the ſad Remembrance
grieves my <pb n="260" facs="tcp:0095100802:267"/> Soul. I muſt proceed: I went to indulge a
pleaſing Fit of Melancholy into <hi>Weſtmin<g ref="char:EOLhyphen"/>ſter-Abbey,</hi>
<q>
<l>Where breathing Paint, and ſpeaking Marbles ſhew</l>
<l>What Worthies form the hallow'd Mold below.</l>
</q> I wandered
through the Cloyſters, reading the Inſcriptions till it grew duſkiſh. I
haſtened to the great Gate, but was infi<g ref="char:EOLhyphen"/>nitely ſhocked to find I was
locked into the ſolitary Manſions of the Dead: I called a<g ref="char:EOLhyphen"/>loud to no
purpoſe, except to fright myſelf with my own Voice, reverborated through
<q>
<l>Long ſounding Iſles, and intermingled Graves.</l>
</q> 'Tis
ſcarce in the power of Imagination to paint the Horror which
poſſeſſed me, eſ<g ref="char:EOLhyphen"/>pecially as, by the Glimpſes of the Moon, the
Statues, which had before been Subjects of Amuſement to me, now looked
dread<g ref="char:EOLhyphen"/>ful, when each Mole-hill Ant ſwelled to a huge <hi>Olympus</hi>; I knew
not what to do, <pb n="261" facs="tcp:0095100802:268"/> but, if poſſible, take Sanctuary at
the Altar.</p>
<p>I went up to the Iron Wicket, which opens into that part of the
Abbey where Divine Service is performed, and to my unſpeakable Happineſs,
pulled it open: I thought to ſit down in one of the Pews till Morning, till,
recollecting the Church was full of Rats, my Terrors were again re<g ref="char:EOLhyphen"/>newed, and I
had Inclination to go into the Iſles, yet, how ſtrong a Paſſion is
Fear? the very Look of them terrified me; till, at length gathering Courage,
even from De<g ref="char:EOLhyphen"/>ſpair, I went to the Communion Table, took off from thence a
Carpet, which co<g ref="char:EOLhyphen"/>vered it, and thinking I could no where be ſo ſecure from
thoſe Vermin as in the Pulpit, I, with great Difficulty, dragged it up, where
finding alſo a Velvet Cuſhion, I ſeated myſelf, and laid the Cuſhion
un<g ref="char:EOLhyphen"/>der my Head, wrapping even my Face up with the Carpet.</p>
<p>I endeavoured all in my Power, by the Force of Reaſon and
Religion, to conquer the Terrors which ſeized me; I reflected that God was
every where, and able to <pb n="262" facs="tcp:0095100802:269"/> defend me; that he was not
ſlow to hear, nor impotent to ſave; and alſo that the Church was
peculiarly under his Care, as conſecrated to Acts of Holineſs, and both
relying on his Providence, and commit<g ref="char:EOLhyphen"/>ting to his Protection, I found my Mind
as tranquil and compoſed, as if I had been at home in my Bed, and fell into a
deep Sleep: And here, tho' I may be thought whimſical or ſuperſtitious
for it, I cannot avoid relating my Dream, produced, no doubt, by the ſame Set
of Ideas which had poſſeſſed my waking Thoughts, and ſtill held their
place in Sleep.</p>
<p>I imagined myſelf to be exactly where I was, and that ſuddenly
the Graves gave up their mighty dead, who walked in mar<g ref="char:EOLhyphen"/>tial Array before me; I
thought, by ſome ſecret intuitive Knowledge, I became ac<g ref="char:EOLhyphen"/>quainted not only
with their Names, but alſo with their Aſpects. Many crowned Heads and
ſceptered Hands ſtalked by me in venerable Majeſty: <hi>Henry</hi> V.
clad in Armour, drew in a particular manner my Attention, inſomuch that I
could not for<g ref="char:EOLhyphen"/>bear bleſſing him; I thought he ſmiled,
<pb n="263" facs="tcp:0095100802:270"/> and, with a placid Air, returned my Salu<g ref="char:EOLhyphen"/>tation, and
ſaid,
<q rend="inline">"I ſhould have been Great, if, when I had
conquered <hi>France,</hi> I had not married the perfidious Daugh<g ref="char:EOLhyphen"/>ter of it,
who at the Age of Thirty-four poiſoned me. This Crime of hers has been truly
viſited on all our unhappy Race, who are now quite extinct."</q>
</p>
<p>I ſaid, Thanks, Gracious Monarch. He diſappeared, and two
Perſons ſtruggling for a Diadem next approached. Death, Deſolation, and
Ruin were ſpread around them, till at length, a ſurly-looking Fel<g ref="char:EOLhyphen"/>low
deſtroyed them both, and all their Friends.</p>
<p>I mourned at this ſad Scene, when, lo! a Hero appeared, who held
in one Hand red Roſes and white, ſo blended that they looked lovely to the
Eye; he ſeemed once or twice to ſmell to them, when inſtantly the Flowers
faded and died, while in their Place, appeared a large Bag of Money.</p>
<p>Next came a ſquat, ſquare-faced King, who held in his
right-hand four bloody Heads, one of whom I thought I knew to
<pb n="264" facs="tcp:0095100802:271"/> be that of <hi>Anna Bullen,</hi> and the other that of
the Marquis of <hi>Surrey.</hi>
</p>
<p>A ſweetly blooming Youth, whoſe Por<g ref="char:EOLhyphen"/>trait was juſt at my
Back in the Pulpit, ap<g ref="char:EOLhyphen"/>peared and vaniſhed like my Dream, out of which I
ſtartled by the Chimes; finding the Bell tolled Four, and knowing the early
Service did not begin till Six, I once more endeavoured to compoſe myſelf
to Reſt.</p>
<p>I muſt reaſſume my Dream juſt where it broke off, as it
really occurred to me. A lovely Lady made her Entrance, holding <hi>Plato</hi>
in one Hand, and the Bible in the other; two Men, by Force, put a Crown on her
Head, at which ſhe ſeemed ter<g ref="char:EOLhyphen"/>rified, when immediately came a Woman with a
Countenance like <hi>Maegara,</hi> attended by a Train of Fellows, with Cords,
Axes, and Hatchets, Wheels, and other Imple<g ref="char:EOLhyphen"/>ments of Death and Torture, waited
on again by Perſons, who, by their holy Veſtments, I hoped would be, at
leaſt hu<g ref="char:EOLhyphen"/>mane; but alas! inſtead of comforting the lovely Lady, they forced
the above-ſaid Fury, who ſeemed for once inclined to pity
<pb n="265" facs="tcp:0095100802:272"/> her, to permit thoſe ſavage and inhuman Butchers to
cut off the lovelieſt, the moſt learned Head that ever, from the prime
Creation, adorned a Woman.</p>
<p>But to the unſpeakable Happineſs of <hi>Great-Britain,</hi>
this deteſtable Wretch told me, as I thought, that <hi>Philip</hi> of
<hi>Spain</hi> poi<g ref="char:EOLhyphen"/>ſoned her, in Hopes of marrying her Siſter
<hi>Elizabeth,</hi> then a Priſoner in the Tower.</p>
<p>I was tired with theſe ſhadowy crowned Heads paſſing by
me, like thoſe in <hi>Macbeth,</hi> and wiſhed to ſee the ſweetly
inſpired, Lau<g ref="char:EOLhyphen"/>rel-wreathed Poets advance; my Wiſh was immediately
gratified, and a merry old Fellow appeared, who was, as it were in Jeſt,
laſhing a whole Swarm of Friars:
<q>
<l>Piec'd, patch'd, and pye-bal'd, linſey-woolſey
Brothers,</l>
<l>Bare-headed, ſleeveleſs ſome, and ſhirtleſs
others.</l>
<bibl>Pope.</bibl>
</q> And though the Blows were dealt pretty
ſmart, they affected to ſmile at them.</p>
<p>
<pb n="266" facs="tcp:0095100802:273"/>Next appeared a Queen, to whom a Gentleman,
with a ſweet but melancholy Countenance, humbly preſented a Volume of
inimitable Poetry, as he was the Prince of Poets in his Time: His
<hi>Gloriana</hi> re<g ref="char:EOLhyphen"/>ceived it graciouſly, and putting her Hand in her Pocket
gave him a large Bag; I ſup<g ref="char:EOLhyphen"/>poſed it had been filled with Gold, but the
Poet opening it, found nothing in it but Grains, ſu<gap reason="illegible" resp="#OXF" extent="1 letter">
<desc>•</desc>
</gap>h as they feed the Hogs with, of which he put a large
Handful into his Mouth, and inſtantly dropped down.</p>
<p>The Concern I felt for him awaked me; the Bell tolling for Morning
Prayer, and the Sexton miſſing the Carpet, and ſuppo<g ref="char:EOLhyphen"/>ſing the Church
had been robbed, was al<g ref="char:EOLhyphen"/>moſt beſide himſelf, till I called to him, and
bade him not be frighted, there was nothing gone; the Man ſtared at me, I
begged him to come and help me down, for I found myſelf ſo weak I could
ſcarce move.</p>
<p>I then told him by what odd Accident I came there: He ſeemed
amazed that I out<g ref="char:EOLhyphen"/>lived it, and ſwore heartily he would not have been in my
Place for all the World. <pb n="297" facs="tcp:0095100802:274"/> I begged of him to get
ſomebody to call me a Chair; he went himſelf for one, and with great
Good-nature, brought from his own Houſe a ſmall Phial, with ſome
Cherry-brandy in it, and a Tea-cup in his Pocket; I am ſure I wanted a
Cordial, and there<g ref="char:EOLhyphen"/>fore took a little of it, though not with<g ref="char:EOLhyphen"/>out obliging him
to accept of Payment for it.</p>
<p>When I returned Home, my Servant, who had ſat up for me all
Night, was amazed to ſee me ſo pale and dirty, for the old Carpet had
ſufficiently ſoiled my Apparel; but, leſt ſhe ſhould conceive a bad
Opinion of me, I told her where I had been, and went to Bed; I ſlept for two
Hours, and awoke extremely ill, notwith<g ref="char:EOLhyphen"/>ſtanding which I cleaned myſelf,
and went into my Shop.</p>
<p>A young Gentleman, but very gravely dreſt, was my firſt
Cuſtomer; he aſked me the Price of an old Print in the Window, and ſeemed
ſurprized at my aſking Half a Crown for it, aſſuring me it was not
worth a Groat; I ſaid, I was ſure he was too good a Judge not to know the
Value of <pb n="268" facs="tcp:0095100802:275"/> any Print taken out of <hi>Montfaucon</hi>'s
An<g ref="char:EOLhyphen"/>tiquities: He ſaid, he wondered why, ſince I knew the Value of the
Author, I ſhould be ſo taſteleſs as to cut one of them out of the Work,
which in many Places ſerved to illuſtrate it, particularly in the Medals: I
aſſured him I had not done it, but had bought them amongſt a Number of
others. The Gentleman perceiving I ſpoke very faintly, ſaid, he believed I
was not well; I aſſured him I was ſo ill, it was with in<g ref="char:EOLhyphen"/>finite
Difficulty I ſpoke at all; he demanded of me, who was my Phyſician? I
ſaid, I had none ſince my dear Father died, who was one of the Faculty:
Then, Madam, ſaid he, allow me to have that Honour; ſo feeling my Pulſe,
he ordered me to be bled, which greatly relieved my poor Head, which, with the
Agitation of Spirit I had ſuffered over Night, aked ready to ſplit. As this
Gentleman gave me his Attendance as long as I had the leaſt Complaint, I
ſhould, I think, be highly ungrateful not to acknowledge my Obligation to Dr.
<hi>Lawſon.</hi>
</p>
<p>
<pb n="269" facs="tcp:0095100802:276"/>And indeed, I muſt here ſay, I never met
with more learned, more generous, or more humane Gentlemen than Phyſicians;
yet as no general Rule is without an Excep<g ref="char:EOLhyphen"/>tion, Dr.
<hi>W—lk—r</hi> refuſed me a Sub<g ref="char:EOLhyphen"/>ſcription, altho' every other
Phyſician had, on my dear Father's Account, relieved his unhappy Family; but
he alledged it would diſoblige Mr. <hi>P—n</hi>; I know not but it
might; yet how he came to fear him more than the reſt of the World did, that
I know not, but any Excuſe will ſerve a Man to ſave five Shillings;
perhaps he could not ſpare them, as it is more than probable, were he ſee'd
according to his Skill, he might not be worth a ſingle <hi>Marvedi</hi>; and
for many Reaſons, he ought not to be ſevere on any Woman's Cha<g ref="char:EOLhyphen"/>racter, let
him amend the Females of his own Family firſt, a Taſk, I fear he will never
be able to perform.</p>
<p>I might alſo give the ſame Advice to Dr. <hi>O—ns,</hi>
whoſe two Siſters took a ſolitary Walk over <hi>Eſſex-Bridge</hi>
every Evening, perhaps to ſay their Prayers.</p>
<p>
<pb n="270" facs="tcp:0095100802:277"/>But to return to <hi>Albion.</hi> I had one
Even<g ref="char:EOLhyphen"/>ing been invited abroad, and at my Return, my Servant told me there had
been two very fine Gentlemen to viſit me, who would not leave their Names,
but ſaid they would come the next Morning. Accord<g ref="char:EOLhyphen"/>ingly they did; one of whom
I knew to be Lieutenant <hi>Southwel,</hi> ſince dead, and the other the
L—d V—t <hi>D—le</hi>; Mr. <hi>Southwel,</hi> who had been
many Years acquainted with me, ſeemed rejoiced to ſee me, but my Lord
looked on me with the utmoſt Contempt, nay, with ſuch an Air, as I had
never before met with from any Gentleman, and cried,
<q rend="inline">"Prithee, come away, I thought you were to take me
to a Girl of Sixteen;"</q> though, <hi>mem.</hi> he was at that time married to
his preſent Lady, who is, by all Accounts, a very great Beauty: I aſſured
his Lordſhip I had been once Sixteen, but as it happened ſix<g ref="char:EOLhyphen"/>teen Years had
rolled over ſince that bloom<g ref="char:EOLhyphen"/>ing Seaſon, and that, to my great
Morti<g ref="char:EOLhyphen"/>fication, I could not arreſt old Father <hi>Time:</hi> Mr.
<hi>Southwel</hi> very politely ſaid, I ſhould be always young; but my Lord
<pb n="271" facs="tcp:0095100802:278"/> urging his Departure, he whiſpered me, that he would
come and paſs the Evening with me.</p>
<p>He kept his Word, and gave me a long Detail of the Calamities he
had ſuffered on Board a Man-of-War, where, becauſe ſome ſaucy Fellow
called him a <hi>Baſtard,</hi> and he in Return, broke his Head, the Captain
confined him ſixteen Weeks to his Cabin; but learning that he was very ill,
he per<g ref="char:EOLhyphen"/>mitted him to come upon Deck; he was ſupported by two Men, weak, cold,
and trembling, as he aſſured me, and ready to faint, ſo that he was
obliged to ſit down; upon which the Captain demanded how he dare to ſit
down in his Preſence, or to wear his Hat? ſo he firſt knocked it off, and
then threw it into the Sea.</p>
<p>Theſe Indignities, ſaid he, ſo highly provoked me, that I
retired to my Cabin, reſolved, if ever I ſet my foot on Shore, to call the
Captain to an Account for them. Accordingly, as ſoon as we were on
<hi>Engliſh</hi> Ground, I challenged him, for which Of<g ref="char:EOLhyphen"/>fence I was mulcted
eighteen Months pay; ſo here is the Hiſtory of poor <hi>Dick</hi> for
you.</p>
<p>
<pb n="272" facs="tcp:0095100802:279"/>I was ſenſibly touched with his
Narra<g ref="char:EOLhyphen"/>tion, and could not help reflecting how ter<g ref="char:EOLhyphen"/>ribly it muſt be to
Gentlemen of Family and Education, to bear with Inſults from Wretches ſo
far beneath them, as thoſe Marine Commanders frequently are, who are perhaps
advanced for being abject, and no ſooner are they advanced, but they be<g ref="char:EOLhyphen"/>come
inſolent Tyrants.</p>
<p>And indeed, I believe this is eternally the Caſe; for it is a
conſtant Remark, that the worſt Maſters and Miſtreſſes, are thoſe
who have been Servants themſelves; they know what Frauds they have committed
when in the like Situation, and conſe<g ref="char:EOLhyphen"/>quently pry into ſuch low Affairs, as
Per<g ref="char:EOLhyphen"/>ſons of genteel Birth, and generous Educa<g ref="char:EOLhyphen"/>tion could never think of, and
even if they were informed of them, would chuſe to overlook.</p>
<p>Mr. <hi>Southwel</hi> then told me, Lord <hi>D—le</hi> had
abuſed me all Day, tho' for what Cauſe I know not; but, with blunt
<hi>Ben,</hi> in <hi>Love for Love,</hi> I merrily told my Sea Officer, that as
for my Lord's Love or Liking, I valued it not of a Rope's <pb n="273" facs="tcp:0095100802:280"/> End, and that, mayhap, I liked him as little as he did me.</p>
<p>I almoſt forced him to drink a Pint of Wine with me, and would
have alſo forced Half a Guinea on him, but his Spirit would not admit of
that.</p>
<p>I was ſo highly provoked at Lord <hi>D—le</hi>'s
Inſolence and Pride, ſo lit<g ref="char:EOLhyphen"/>tle becoming the Character of a Nobleman, that
I could not forbear writing ſome Lines on ſo proper a Subject for Satire,
which Mr. <hi>Southwel</hi> had ſnatched from me, and directly carried to his
Lordſhip.</p>
<p>I went next Morning to wait on Ad<g ref="char:EOLhyphen"/>miral <hi>Anſon,</hi> with a
Petition from the Siſter of his Valet de Chambre, who hap<g ref="char:EOLhyphen"/>pened to be the
firſt Man ſhot in his firſt Sea Engagement, to whom, beſide a Part of
the Prize then taken, there was ſeven Years Wages due. I was ſhewn into the
Back Parlour of a ſmall Houſe in <hi>Hanover-Square.</hi> It was well
adorned with Books in Glaſs Caſes, even from the Ceiling to the Floor; and
on this Occaſion, as I had a thouſand Pounds worth of Jewels left with me
by Mr. <hi>Fiſher,</hi> whoſe Father kept a <pb n="274" facs="tcp:0095100802:281"/> Shop in
<hi>Caſtle-ſtreet, Dublin,</hi> to diſpoſe off for him, knowing how
much Dreſs com<g ref="char:EOLhyphen"/>mands Reſpect, I put a pair of Diamond Ear-rings into my
Ears, tied on a Diamond Solitaire, and as for Lace, and every other
Appurtenance to ſuit thoſe Ornaments, I had them of my own.</p>
<p>My glittering Appearance, and being in a Chair, ſoon b<gap reason="illegible" resp="#OXF" extent="1 letter">
<desc>•</desc>
</gap>ought the Admiral down in a rich
Undreſs, as he ſuppoſed, by the Account delivered of me, I muſt be a
Wo<g ref="char:EOLhyphen"/>man of Quality; my Eyes were faſt en<g ref="char:EOLhyphen"/>gaged to the Books when he entered;
he begged my Pardon for his <hi>Diſhabille:</hi> I turned, and ſaid, I was
glad for once to ſee Learning and Valour ſo happily united.</p>
<p>But no ſooner did he find that I had only a Petition to deliver,
but his Coun<g ref="char:EOLhyphen"/>tenance changed to the ſevere, and he told me, he believed
People thought he had brought Home the Wealth of the <hi>Indies,</hi> whereas
he had not a ſingle Shilling to com<g ref="char:EOLhyphen"/>mand, no more than the meaneſt Sailor
aboard, the Money being all, as he ſaid, paid into the Treaſury, from
whence no <pb n="275" facs="tcp:0095100802:282"/> Man, without the utmoſt Difficulty, could
extract one ſingle Farthing of it; and hav<g ref="char:EOLhyphen"/>ing the Word of ſo great a Man,
I really believed it: A ſad Diſcouragement to all Sailors to venture their
Lives, when even their very Admirals are not rewarded!</p>
<p>However, as I told the Admiral the Woman was actually ſtarving,
he gave me a Guinea for her.</p>
<p>When I returned Home, I found in my Shop Lord <hi>D—le,</hi>
Mr. <hi>Skeffington,</hi> ſince dead, and another Gentleman waiting for me;
Lord <hi>D—le</hi> aſked what he had done, to provoke me to write with
ſo much Bitterneſs againſt him? Nay, my Lord, what had I done to
diſoblige you, or occaſion your beſtowing on me ſuch groſs Abuſe,
as Mr. <hi>Southwel</hi> aſſured me you did? My Lord ſaid, upon his
Honour it was falſe, and taking me by the Hand, aſſured me he would be a
Friend to me, provided I gave him no more of my Pen; but as from that Hour to
this, he never did me any kind of Service, I think the Obligation void on my
Side, and there<g ref="char:EOLhyphen"/>fore <pb n="276" facs="tcp:0095100802:283"/> preſent my Readers with the
follow<g ref="char:EOLhyphen"/>ing Sketch of his inimitable Character.
<q>
<lg>
<head>To the Right Honourable the L—d V—t
<hi>D—LE.</hi>
</head>
<l>SATYRIC Muſe! let me prevail</l>
<l>On thee to picture <hi>D—le:</hi>
</l>
<l>Fierce, as the ſurly northern Gale,</l>
<l>Is proud, contemptuous <hi>D—le</hi>;</l>
<l>What makes the Artiſt rot in Jail?</l>
<l>Truſting the baſe-born <hi>D—le</hi>;</l>
<l>The Roſe-cheek'd Nymph turns wan, and pale,</l>
<l>Touch'd by infectious <hi>D—le</hi>;</l>
<l>Light Goſſamer would turn the Scale,</l>
<l>Weigh'd 'gainſt the Wit of <hi>D—le</hi>;</l>
<l>Nay, were thy Virtues put to Sale,</l>
<l>A Mite o'er-rates them, <hi>D—le:</hi>
</l>
<l>Honour and Equity ſhall fail,</l>
<l>E'er practis'd once by <hi>D—le</hi>;</l>
<l>For Hell may <hi>Charon</hi> hoiſt his Sail</l>
<l>O'er <hi>Styx,</hi> to waft curſt <hi>D—le:</hi>
</l>
<l>In ſhort, my Subject now grows ſtale,</l>
<l>I'm tir'd with Rhymes to <hi>D—le</hi>;</l>
<l>
<pb n="277" facs="tcp:0095100802:284"/>So were each Fault and Vice
combin'd,</l>
<l>That e'er debas'd the human Mind;</l>
<l>To ſum up all the black Detail,</l>
<l>I'd name the Scoundrel <hi>D—le.</hi>
</l>
</lg>
</q>
</p>
<p>And now, my L—d, as I believe I am the firſt Poet who ever
celebrated the illuſtrious Name of <hi>St. L—dg—r,</hi> which
Name, by your ſuppoſed noble, and right-well remembered Father's Account,
you are as much intitled to, as I am to that of <hi>Plantagenet,</hi> I hope
you will, according to your true Nobility, give me a hand<g ref="char:EOLhyphen"/>ſome Reward for
this extraordinary Pane<g ref="char:EOLhyphen"/>gyric!</p>
<p>And here I cannot avoid relating, that I believe, the true Cauſe
of his L—d—p's Averſion to me, was this: A little Time after I
was ſeparated from my Huſ<g ref="char:EOLhyphen"/>band, as it was quite the Mode to attack me, he
employed one of his infernal Agents to inform me, he ſhould be glad to drink
a Diſh of Tea with me; I told the Wretch I did not know his
L—d—p, and there<g ref="char:EOLhyphen"/>fore hoped he would excuſe me.</p>
<p>
<pb n="278" facs="tcp:0095100802:285"/>But the <hi>Harridan,</hi> being reſolved
not to loſe her Reward, told my L—d I would meet him ſomewhere,
indeed I do not know the Place, and introduced to him a great, luſty,
maſculine Woman, dreſſed in a Calimanco Cap and Cloak, or long
Riding-hood. I believe his L—d—p wondered that ſuch a Creature
had made any Noiſe in the World; ſo telling her, he was ſorry he had
given her the Trouble of coming there, he gave her a Guinea, and haſtly
departed.</p>
<p>A few Nights after this, <hi>W—rſd—le</hi> had
<hi>The Cure for a Scold,</hi> altered from <hi>Shakeſpear</hi>'s <hi>Taming
of a Shrew,</hi> into a Ballad Opera, by Mr. <hi>P—n,</hi> played for his
own Benefit; I wrote a flaming Pro<g ref="char:EOLhyphen"/>logue to it, in Honour of my fair
Coun<g ref="char:EOLhyphen"/>trywomen, and <hi>W—rſd—le</hi> inſiſted on my going to
ſee it, aſſuring me, he would have a Lettice ſecured entirely for me,
or any Friends I ſhould pleaſe to bring, and would himſelf take care of
placing me, and alſo guarding me ſafe out, for really I was very much
afraid of receiving ſome Inſult.</p>
<p>
<pb n="279" facs="tcp:0095100802:286"/>On theſe Promiſes I ventured to go; when
behold! the Lettice was full; but that was no Matter, the Ladies, though my
in<g ref="char:EOLhyphen"/>timate Friends, quickly decamped, and Mrs. <hi>Dub—g,</hi> the
Fidler's Wife, de<g ref="char:EOLhyphen"/>clared ſhe had like to faint at the Sight of the <hi>odious
Creature!</hi> the Rev. Mr. <hi>Gr—n</hi> alſo took to his Heels, ſo
I had indeed the whole Lettice for me and my Company, which were two young
Miſſes, Daughters to my Landlady.</p>
<p>My <hi>Gorgon</hi> Face, inſtead of turning my Enemies into
Stone, clapped Wings to their Feet, and made them fly down Stairs, like ſo
many feathered <hi>Mercuries,</hi> Parſon and all, tho' he was bulky, and
tipſy, and dull, and ſo forth; tho' indeed, thoſe Qualities might make
him deſcend with the greater Velocity, and give him a natural Alacrity in
ſinking.</p>
<p>However, by their precipitant Flight, I got the front Row.</p>
<p>When the Play began, I forgot to keep up my Fan, and two Gentlemen
of Diſ<g ref="char:EOLhyphen"/>tinction in the Pit bowed to me; pre<g ref="char:EOLhyphen"/>ſently after the Orange Girl
came up, and <pb n="280" facs="tcp:0095100802:287"/> ſaid a Gentleman deſired I would accept
of half a Dozen Oranges; I aſked who it was? and ſhe ſhewed me a Perſon
dreſſed in Scarlet, trimmed with Black; as I did not know him, I told her
it was a Miſtake, and a young Girl, who followed her in, ſaid, that was
L—d <hi>D—le,</hi> and that the Compliment was intended for her;
but the Orange Girl, calling her very fami<g ref="char:EOLhyphen"/>liarly by her Name, which was
<hi>Nancy Raymond,</hi> ſwore to the contrary; for, ſaid ſhe, you know
how you uſed my L—d. They talked to one another in the vulgar Tongue,
being exceedingly well known to each other, having both followed the ſame
Occupation of Orange and Oyſter Selling, and both came up Stairs into the
World.</p>
<p>To compoſe the Animoſity, I bought ſome Fruit, and though I
really paid for it, I doubt not but his L—d—p did alſo.</p>
<p>When the Play was over, to which I moſt heartily repented that I
went, <hi>W—rſ<g ref="char:EOLhyphen"/>d—le</hi> came to put me into a Chair, ſaid he
would ſup with me, and kept his Word.</p>
<p>
<pb n="281" facs="tcp:0095100802:288"/>I related to him the Play-Houſe
Adven<g ref="char:EOLhyphen"/>ture, and asked him what kind of a Man L—d <hi>D—le</hi> was?
He told me, he was both a very looſe, and a very unge<g ref="char:EOLhyphen"/>nerous Man, Qualities
which no way re<g ref="char:EOLhyphen"/>commended him to me; ſo being honoured with a ſecond
Meſſage from him, I, with an abſolute, <hi>Sir, not I,</hi>
diſmiſſed me back the cloudy Meſſenger.</p>
<p>But to return:</p>
<p>The next Day a moſt ugly, ſquinting, mean looking Fellow,
whoſe good Clothes made his Awkwardneſs but the more con<g ref="char:EOLhyphen"/>ſpicuous, came
in to buy ſome Prints; his Mind was portrayed in his Countenance, where
Impudence and Ignorance ſeemed to vie for Pre-eminence; however, he ſpoke
to me with great Civility, and perceiving, by his Accent, that he was an
<hi>Hibernian,</hi> I aſked him, how long he had been in <hi>London?</hi>
Curioſity lead me into a great deal of Chat with him, and as he knew every
great Family in <hi>Ireland,</hi> their Ser<g ref="char:EOLhyphen"/>vants at leaſt, he was able to
give me a good deal of Intelligence: I then enquired, whether Buſineſs or
Pleaſure had brought <pb n="282" facs="tcp:0095100802:289"/> him to <hi>London?</hi> He
ſaid, both; and pull<g ref="char:EOLhyphen"/>ing out his Pocket-Book, told me, he would ſurprize
me; I cannot ſay indeed but he did; for he ſhewed me Dr. <hi>Swift</hi>'s
Head, engraven in Vellum, not in ſize much larger than a ſmall Locket,
ſuch as they wear in Rings, yet ſo extremely like the Original, that there
was no Occaſion to write the Name under it: Several more Pieces of the ſame
curious Work he ſhewed to me, and ſaid, he hoped to make his Fortune by
them in <hi>London.</hi>
</p>
<p>I told him, I was afraid he would be diſappointed, as Painting
and Statuary were the Taſte of the <hi>Engliſh</hi> Nobility; beſide,
this is Work more ſuited to a Wo<g ref="char:EOLhyphen"/>man than a Man; if I could do it, it might
turn to Account to me. Upon which, of his own Accord, he begged I would paſs
his Works for mine, and that he would give me a third part of the Profit
ariſing from the Sale of them: he gave me to un<g ref="char:EOLhyphen"/>derſtand he very well knew
who I was, and that our united Intereſt might be ſer<g ref="char:EOLhyphen"/>viceable to each
other, an Offer I did not reject.</p>
<p>
<pb n="283" facs="tcp:0095100802:290"/>As he had many fine Mantlings cut, he could
very quickly inſert the Arms, ſo I deſired he would finiſh one for
General <hi>Ch—h—l</hi>; he obeyed me, and I wait<g ref="char:EOLhyphen"/>ed on the old
Gentleman with it, and a few complimentary Lines, which I have now forgot. I
ſent in my Preſents, and the General deſired I might be ſhewn in: He
was in a very magnificent Drawing<g ref="char:EOLhyphen"/>room, adorned with Stucco Work, the
op<g ref="char:EOLhyphen"/>poſite Door opened into a Garden, full blown;—the General was
ſeated on a rich Sopha, at a Table adorned with Dreſ<g ref="char:EOLhyphen"/>ſing-plate. He
deſired I might ſit down on a Sopha, oppoſite to him, and ordered his
Servant to remove the Table; there were ſeveral Vaſes filled with Flowers,
ſweetly ſmelling round the Chamber; and, for my part, I rather imagined I
was in ſome <hi>Aſian</hi> Palace, than a Houſe in
<hi>Groſ<g ref="char:EOLhyphen"/>venor-ſtreet.</hi>
</p>
<p>He thanked me for my Preſent,
<q rend="inline">"But, Madam, ſaid he, it is to me quite
uſe<g ref="char:EOLhyphen"/>leſs, as all my Houſe is Stucco Work; however, if you'll be ſo kind
as to come up ſtairs with me, we may perhaps find <pb n="284" facs="tcp:0095100802:291"/>
ſome Place, where a Nail may be driven without Injury."</q>
</p>
<p>As the old Gentleman doubted I might poſſibly miſtake his
Meaning, he was go<g ref="char:EOLhyphen"/>ing to explain himſelf; upon which I took up the Picture,
and in very great Confuſion made the beſt Speed out of his Houſe.</p>
<p>I had not walked above twenty Yards, when one of the General's
Footmen over<g ref="char:EOLhyphen"/>took me, who told me, his Maſter was afraid I might fall in a
Fever, if I walked in the Heat of ſo warm a Day, and there<g ref="char:EOLhyphen"/>fore deſired I
would accept of a Guinea to pay my Chair; I took it, and returned my
Compliments.</p>
<p>As there was ſomething humorous in the General's Behaviour, I
addreſſed him the next Day in the following Lines:
<q>
<lg>
<head>To the Hon. Gen. <hi>CH—H—L.</hi>
</head>
<lg>
<l>FIVE Weeks, Great <hi>Ch—ll,</hi> to my Coſt,</l>
<l>Cutting your Coat of my Arms I loſt;</l>
<l>I por'd my Eyes, I ſoil'd my Rayment,</l>
<l>Not doubting of a gen'rous Payment:</l>
<l>
<pb n="285" facs="tcp:0095100802:292"/>When, well I wot, your whole
Deſign</l>
<l>Was bent to quarter your's with mine.</l>
</lg>
<lg>
<l>Curſe on your plaguy Stucco Work;</l>
<l>Sure 'twas invented hy ſome <hi>Turk,</hi>
</l>
<l>To bid to Chriſtian Art Defiance,</l>
<l>And overturn each beaut'ous Science;</l>
<l>No Nail, forſooth, their <hi>Paſte</hi> muſt
enter,</l>
<l>Would one were ſtuck in the Inventor!</l>
</lg>
<lg>
<l>But will a Chief of <hi>Marlborough</hi>'s Strain,</l>
<l>The Off'ring of the Muſe diſdain,</l>
<l>Or give her Reaſon to complain?</l>
</lg>
<lg>
<l>Should I be ſeiz'd by Bailiff's Setter,</l>
<l>What muſt I ſay? that you're my Debtor;</l>
<l>Why, if they threat me with a Jail,</l>
<l>I'll ſurely ſend to you for Bail.</l>
</lg>
<lg>
<l>The Muſe and Hero ne'er ſhould quar<g ref="char:EOLhyphen"/>rel,</l>
<l>Our Bays thrives beſt beneath your Laurel:</l>
<l>Your Province is to ſhine in Fight,</l>
<l>But our's your noble Acts to write.</l>
<l>
<hi>Achilles</hi>' Deeds had loſt their Glory,</l>
<l>'Till famous made by <hi>Homer</hi>'s Story:</l>
<l>
<pb n="286" facs="tcp:0095100802:293"/>Nor can You eternize your Name,</l>
<l>'Till we conſign your Praiſe to Fame.</l>
<l>Want damps the Poets genial Fire,</l>
<l>Bounty can Thoughts ſublime inſpire;</l>
<l>So, cruſted o'er with Flint and Clay,</l>
<l>The Di'mond ſcarce emits a Ray,</l>
<l>'Till diſencumber'd of the Mold,</l>
<l>Poliſh'd with Art, and ſet in Gold,</l>
<l>Reſplendent Glory it diſplays,</l>
<l>And rivals <hi>Phoebus</hi>' Noontide Blaze.</l>
</lg>
</lg>
</q>
</p>
<p>I never received any Anſwer to theſe Lines, but in a very
ſhort time after I heard the General was Dead.</p>
<p>I gave the young Man both his Coat of Arms and the Guinea; ſo we
reſolved next to addreſs the Earl of <hi>Stair,</hi> then Veldt
Marſhal.</p>
<p>It is a very great Loſs to me, that by the Ignorance of my
Daughter half of my Writings were burned, for ſhe never ſcru<g ref="char:EOLhyphen"/>pled, if even
the Fire was bad, to take a whole Bundle of them to enliven it; but whether
this may be any Loſs to the World I muſt leave to their Judgment.</p>
<p>
<pb n="287" facs="tcp:0095100802:294"/>I can recollect but very few Lines of the
Poem to his Excellency, which were as follows:
<q>
<lg>
<head>To his Excellency the Earl of <hi>STAIR.</hi>
</head>
<epigraph>
<q>
<l>Arma Virumque cano.</l>
<bibl>Virg. Aen.</bibl>
</q>
</epigraph>
<l>IN <hi>Rome,</hi> when all was Happineſs and Eaſe,</l>
<l>In the full Splendor of voluptuous Days,</l>
<l>Their Chiefs neglected ſought the ſilent Shade,</l>
<l>'Till loudly ſummon'd to their Country's Aid.</l>
<l>For when tempeſtuous Ills aſſault a Realm,</l>
<l>They call their ableſt Pilot to the Helm;</l>
<l>To guard their Freedom, to preſerve their Fame;</l>
<l>So God-like <hi>Stair,</hi> ſo <hi>Cincinnatus</hi>
came!</l>
<l>Alike illuſtrious in their Country's Cauſe,</l>
<l>Guardians of dying Liberty and Laws.</l>
<l>Accept, my Lord, this Off'ring, nor re<g ref="char:EOLhyphen"/>fuſe</l>
<l>The varied Labours of an artleſs Muſe:</l>
<l>No H<gap reason="illegible" resp="#OXF" extent="1 letter">
<desc>•</desc>
</gap>rald can add
Luſtre to thy Birth,</l>
<l>No Poet juſtly praiſe thy noble Worth;</l>
<l>
<pb n="288" facs="tcp:0095100802:295"/>Yet let the fair Attempt Acceptance
find,</l>
<l>And my weak Sex plead to thy gen'rous Mind;</l>
<l>What Wonders then may I hereafter do?</l>
<l>At once protected, and inſpir'd by You!</l>
</lg>
</q>
</p>
<p>A very fine young Gentleman undertook to deliver my Preſent to
the Earl, and a Servant ſhewed me into a Parlour. In a few Minutes the
Gentleman returned, and ſaid my Lord deſired to ſee me; ſo he handed me
up into a full Levee of Stars, and different coloured Ribbons. As I had never
before been in ſo auguſt an Aſſembly, I was ready to die with Shame,
eſpecially as there was not one of my own Sex to keep me in Countenance. My
Lord in a moſt polite manner thanked me for the Honour, as he termed it, I
had done him; and the Noblemen, after his Example, ſeemed to contend who
ſhould praiſe me moſt; to which I could make no other Re<g ref="char:EOLhyphen"/>turn than
Courteſies and Bluſhes.</p>
<p>At length, the Earl of <hi>Stair</hi> ſaid there was a Defect in
the placing the Swords, which go through the Veldt Marſhal's Arms,
<pb n="289" facs="tcp:0095100802:296"/> which he would willingly have altered; and brought me
out a Print of the Noblemen's Arms, who held the ſame Dignity in
<hi>France,</hi> as a Pattern; I told his Lordſhip I could eaſily alter it:
<q rend="inline">"Pray then do, Madam, returned he, for I admire
your Work ſo much, that I would willingly have it quite compleat."</q>
Accordingly, it was finiſhed, and the next Morning I waited on his Excellency
with it, when, to my great Surprize, I had no Admiſſion to him, but a
Footman brought down five Guineas to me.</p>
<p>I was not a little ſurprized at this ſudden Alteration in his
Lordſhip's Mind. But what had the Fool, who did the Work, done? truly told
Major <hi>Elliotſon,</hi> that I made a Hand of his Performances; he told my
Lord,—who vexed at being im<g ref="char:EOLhyphen"/>poſed upon, ſent me the Trifle
above<g ref="char:EOLhyphen"/>mentioned, which was not, by any means, a Payment for the Labour and
Curioſity of the Work, and what, from a Perſon of his Station, I ſhould
not have thought an extraordinary Reward even for the Lines.</p>
<p>
<pb n="290" facs="tcp:0095100802:297"/>So, finding the Folly of the Man, I would
not undertake to diſpoſe of any more cut Vellum, but left him to make his
moſt of it.</p>
<p>I ſhould never have thought this Fellow worth ſpeaking of,
only that my Huſband has ſaid he was my G<gap reason="illegible" resp="#OXF" extent="1 letter">
<desc>•</desc>
</gap>llant, not that I owe any Reverence or Honour to him, or re<g ref="char:EOLhyphen"/>gard
what he can ſay, any more than the idle Wind, but that I would not have
ſuch an Imputation laid on my Underſtanding, to ſay I made Choice of a
low-born, ugly, illiterate Scoundrel. No, no; Mr. <hi>P—n</hi> may reſt
aſſured, that if I would have done him the Honour to exalt his Horn like
that of an Unicorn, it ſhould, at leaſt, have been to me a
<hi>Cornu-Copia.</hi>
</p>
<p>But, alas! poor I, have been for many Years a <hi>Noun
Subſtantive,</hi> obliged to ſtand alone, which, praiſe to the eternal
Goodneſs! I have done, notwithſtanding the various Efforts of my Enemies to
deſtroy me, many of whom I have lived to triumph over, though they
encompaſſed me on every Side, like ſo many Bulls of <hi>Baſan:</hi> and
though they ſhould now kick up their <pb n="291" facs="tcp:0095100802:298"/> Heels, like ſo
many wild Aſſes in the Valley of <hi>Geohron</hi>; though the Dunces
ſhould make Songs of me, and though
<q>
<l>Envy ſhou'd my faireſt Deeds belie,</l>
</q> I think it
would not afflict me, but that I ſhould be able to convince them I had, at
leaſt, Patience, Hope, and Charity, ſuffi<g ref="char:EOLhyphen"/>cient to make them aſhamed of
the Injuries they have been weak and wicked enough to offer.</p>
<p>Becauſe I would now fairly challenge my moſt malicious Foes to
anſwer from the Tribunal of their own Conſcience, what Provocation I ever
gave them to uſe me ill?</p>
<p>Whom have I defrauded or belyed? Nay, indeed, of whom have I
ſpoke half the Evil which it was in my Power to do? There are few Characters
immaculate, and had I an Inclination to retaliate Injuries, I am, I believe,
able enough to do it.</p>
<p>And ſometimes one has ſo ſtrong an In<g ref="char:EOLhyphen"/>clination to it, that
it is hard to reſiſt, eſ<g ref="char:EOLhyphen"/>pecially when a Lady of Quality, (that is
<pb n="292" facs="tcp:0095100802:299"/> by Marriage, for her Grandfather was a Smith at
<hi>G—n,</hi> and kept the Sign of the Horſeſhoe there, as I have
frequently heard the late Lord <hi>Montgarret</hi> relate) could, becauſe I
preſumed to beg ſhe would do me the Honour of being a Sub<g ref="char:EOLhyphen"/>ſcriber to me,
a Privilege I thought a long Acquaintance might have entitled me to take, order
my Maid to be kicked; and as I am really aſhamed to uſe her Lady<g ref="char:EOLhyphen"/>ſhip's
Words on the Occaſion, being much too indecent for a Repetition, methinks
ſhe might have ſpared them, eſpecially to one who knew her too!
<q>
<l>When ſhe was a Maid, if ſhe e'er was a Maid;</l>
<l>When afraid of a Man, if ſhe e'er was afraid.</l>
</q>
</p>
<p>Heaven knows poor ******* had but the Leavings of half the Town;
but he botched up a broken Reputation with Matrimony, an admirable Salve!</p>
<p>
<pb n="293" facs="tcp:0095100802:300"/>As ſhe was pleaſed to ſay, my Life
could be nothing but a continued Series of —, I am aſhamed to ſpeak
the Word;—I dare ſay had it been ſo, ſhe would have purchaſed my
Book ſooner than the Bible, to indulge her private Meditations, eſpecially
if I had the wicked Art of paint<g ref="char:EOLhyphen"/>ing up Vice in attractive Colours, as too many
of our Female Writers have done, to the Deſtruction of Thouſands, amongſt
whom Mrs. <hi>Manly</hi> and Mrs. <hi>Haywood</hi> de<g ref="char:EOLhyphen"/>ſerve the foremoſt
Rank.</p>
<p>But what extraordinary Paſſions theſe Ladies may have
experienced, I know not; far be ſuch Knowledge from a modeſt Woman: Indeed
Mrs. <hi>Haywood</hi> ſeems to have dropped her former luſcious Stile, and,
for Variety, preſents us with the in<g ref="char:EOLhyphen"/>ſipid: Her <hi>Female Spectators</hi>
are a Col<g ref="char:EOLhyphen"/>lection of trite Stories, delivered to us in ſtale and worn-out
Phraſes: bleſs'd Re<g ref="char:EOLhyphen"/>volution!
<q>
<l>Yet, of the two, leſs dang'rous is th' Offence,</l>
<l>To tire the Patience, than miſlead the Senſe.</l>
</q>
</p>
<p>
<pb n="294" facs="tcp:0095100802:301"/>And here give me Leave to obſerve, that
amongſt the Ladies who have taken up the Pen, I never met with but two who
de<g ref="char:EOLhyphen"/>ſerved the Name of a <hi>Writer</hi>; the firſt is Madam
<hi>Dacier,</hi> whoſe Learning Mr. <hi>Pope,</hi> while he is indebted to
her for all the Notes on <hi>Homer,</hi> endeavours to depreciate; the ſecond
is Mrs. <hi>Catherine Philips,</hi> the matchleſs <hi>Orinda,</hi> celebrated
by Mr. <hi>Cowly,</hi> Lord <hi>Orrery,</hi> and all the Men of Genius who
lived in her Time.</p>
<p>I think this incomparable Lady was one of the firſt Refiners of
the <hi>Engliſh</hi> Numbers; Mr. <hi>Cowly</hi>'s, though full of Wit, have
ſomewhat harſh and uncouth in them, while her Sentiments are great and
virtuous; her Diction natural, eaſy, flow<g ref="char:EOLhyphen"/>ing, and harmonious.</p>
<p>Love ſhe wrote upon with Warmth, but then it was ſuch as
Angels might ſhare in without injuring their original Purity. Her Elegy on
her Huſband's Daughter, is a Proof of the Excellency and Tenderneſs of her
own Heart, rarely met with in a Step-mother; nor could I ever read it without
Tears, a Proof it was wrote from her Heart.</p>
<p>
<pb n="295" facs="tcp:0095100802:302"/>And dear <hi>Orinda!</hi> gentle Shade!
ſweet Poet! Honour of thy Sex! Oh, if thou haſt Power to do it, inſpire
me! for ſure Thou art in the happy Bowers of Bliſs, praiſing that eternal
Goodneſs, who, to the Loſs of this World, took Thee early away to adorn the
Holieſt of Holies, where in Songs of Love, not ill-eſſay'd below, great
Saint Thou continueſt to celebrate thy Maker.
<q>
<l>Oh pour thy Spirit o'er my Lays,</l>
<l>Coeleſtial Melody inſpire!</l>
<l>Sweet as the Royal Pſalmiſt's Lyre,</l>
<l>That I with Thee may hymn his Praiſe.</l>
</q>
</p>
<p>I cannot, except my own Country-woman, Mrs. <hi>Grierſon,</hi>
find out another female Writer, whoſe Works are worth reading; ſhe indeed
had a happy and well-improved Genius. I remember ſhe wrote a very fine Poem
on Biſhop <hi>Berkley's Ber<g ref="char:EOLhyphen"/>mudian</hi> Scheme; the Plan of it was this: She
ſuppoſes that the Night before St. <hi>Paul</hi> ſuffered, an Angel
appeared to comfort him with the future Proſpect of the Church,
<pb n="296" facs="tcp:0095100802:303"/> and the Growth of Chriſtianity; the Angel informs him
that in ſuch a Year there ſhall be born in the Weſtern Iſland a great
Apoſtle, who ſhall be known by this Token:
<q>
<l>'Tis he from Words firſt rids Philoſophy,</l>
<l>And lays the dull material Syſtem by,</l>
<l>Affrights the daring Libertine to find</l>
<l>Naught round him, but the pure, all-holy Mind;</l>
<l>The bluſhing Sinner from his Covert draws</l>
<l>Of Matters various Forms, and Motions Laws,</l>
<l>His only Fortreſs from the Atheiſt takes,</l>
<l>And his atomic World at once unmakes.</l>
</q> I am ſorry
that I cannot recollect any more of this Poem, or that the Prophecy con<g ref="char:EOLhyphen"/>tained
in it of the Biſhop's converting the <hi>Indians</hi> was, by the Avarice of
ſome in Power, fruſtrated; for ſurely he was well fitted for that holy
Miſſion, having Learn<g ref="char:EOLhyphen"/>ing and Innocence in Perfection. Nor do I at all
doubt that had this true Embaſſador <pb n="297" facs="tcp:0095100802:304"/> of
<hi>Chriſt</hi> been enabled to purſue the ſacred Purpoſe of his Soul,
but the Power of working Miracles would have been added to his other heavenly
Gifts.</p>
<p>I have been accuſed of writing bitterly againſt the Clergy; I
never did, but when they forgot their own High Calling; one B— in
particular, ſays,
<q rend="inline">"that I <hi>Alexander</hi> the Copper-ſmith have
done him much Wrong, in talking about Pence, and Farthings, and ſuch ſmall
Coin, whereas he has within theſe two and twenty Years, given me the Sum
total of ſixteen Pounds <hi>Iriſh,</hi> in hard Gold, out of which, had I
been induſ<g ref="char:EOLhyphen"/>trious, I might have made a comfortable Livelihood:"</q> But I am
afraid, had he been in my Caſe, he would have ſtarved. Happy for him his
Father was born be<g ref="char:EOLhyphen"/>fore him, and <hi>Happy is the Son whoſe Fa<g ref="char:EOLhyphen"/>ther is gone
to the Devil,</hi> is an old Pro<g ref="char:EOLhyphen"/>verb. But indeed, now my L—, I take it a
little unkindly, that you ſhould declare in public, that you had me, as well
as my Maid, <hi>ſur la Tapis</hi>; methinks, tho' you are a Conjurer, you
need not be a <pb n="298" facs="tcp:0095100802:305"/> Blab: Oh, fy! is it thus you return my
generous Paſſion? for, by your own Ac<g ref="char:EOLhyphen"/>count, you did not pay me well; why
<hi>Juggy Mackſhane,</hi> the Chairman's Wife, had a better Price from you,
and you made her Son a Parſon, while you quarrelled with mine for having his
Bu<gap reason="illegible" resp="#OXF" extent="1 letter">
<desc>•</desc>
</gap>ton holes worked in the beſt
Taſte, and told him, he muſt be very wicked to be guilty of ſuch
Extravagance: Were not you a little cenſorious, think you? Why you, tho' in
the Vauward of your Youth, have yet a ſtrong Daſh of the Cox—b, and
might excuſe it in a Boy. Well, but as theſe ſaid ſixteen Pounds are
ſo inſiſted on, I acknow<g ref="char:EOLhyphen"/>ledge to have received them, and ſhould have
thanked you, but that you ſent me Word, in <hi>London,</hi> you did not know
who I was, and that it was very impudent in me to apply to you for Charity; but
leſt you ſhould again forget me, I am willing to be your ſweet
Remembrancer: And, oh! by our chaſte Love, I conjure you to make my Huſband
a Dean; ſure this you ought to do, when you ſay you made him a Cuckhold;
beſides, you know it was in <pb n="299" facs="tcp:0095100802:306"/> that ſweet Hope I
yielded up my Heart; then be a gentle Mediator between us, plead for me as you
did for the fair
<note n="*" place="bottom">Mrs. <hi>Pilkington.</hi>
</note>Quaker;
tho' Hiſtorians relate, that your Lady would have been as well pleaſed, had
you been leſs aſſiduous in that Affair.</p>
<p>And now, I confeſs, I am a little ſpite<g ref="char:EOLhyphen"/>ful, but it is only
Jealouſy; ſend me an hundred Pounds to cure the Anguiſh your Infidelity
has given me, and I will try to conquer my hopeleſs ill-ſtar'd
Paſſion!</p>
<p>Your L—'s Poetry in my Praiſe I never can forget; and as
it would be a Loſs to the World, if any Part of ſo juſtly an admired
Author's Works ſhould be bu<g ref="char:EOLhyphen"/>ried in Oblivion; take, oh World! the following
Lines:
<q>
<l>I ſcorn to drag about a Flame</l>
<l>For any She, that thinks my Love Blame,</l>
<l>I'll take a Reſolution to be free,</l>
<l>Without Return, I ſcorn to burn,</l>
<l>And oh! I will be free.</l>
</q>
</p>
<p>
<pb n="300" facs="tcp:0095100802:307"/>Your ſecond Poem is, I confeſs, a little
obſcure, yet, no doubt, may have much Meaning in it:
<q>
<l>Oh thou,</l>
<l>Jow Jow, Bow Wough!</l>
</q>
</p>
<p>And indeed, I remember another R— R— Author, who
entertained ſome very polite Company with the following Epi<g ref="char:EOLhyphen"/>taph, written as
he aſſured us, by himſelf, it is very laconic:
<q>
<l>Here lies Major <hi>Brady,</hi> and St. <hi>Comeen,</hi>
</l>
<l>Sure ſuch a Saint, and ſuch a Major never were
ſeen.</l>
</q> If the curious Reader cannot digeſt this Heaven-born Verſe,
why let him be gra<g ref="char:EOLhyphen"/>minivercus, and chew the Cud.</p>
<p>But pray, my L—, do not you think it was a little ill judged
of you, to attack my Character at the Expence of your own? and to deſcribe
yourſelf as ſuch a Cormo<g ref="char:EOLhyphen"/>rant in Love, that you muſt have two Fe<g ref="char:EOLhyphen"/>males at
once; why, <hi>Turk Gregory</hi> never did ſuch Feats in Arms;
<q>
<pb n="301" facs="tcp:0095100802:308"/>
<l>Oh rav'nous Hell Kite!</l>
<l>Wou'dſt thou have Maid, and Miſtreſs</l>
<l>At one fell
<note n="*" place="bottom">This Word admits of various Readings,
ſome call it <hi>Swoop,</hi> ſome <hi>Souſe,</hi> ſome <hi>Swop,</hi>
which latter I chuſe.</note>Swop?</l>
</q> Truth is, I am afraid this is
apocryphal, and will win no Credit, eſpecially as it was after your
Expedition to the South of <hi>France,</hi> when you were ill of the —,
<hi>&c. &c. &c.</hi>
</p>
<p>But prithee now, for I think I am en<g ref="char:EOLhyphen"/>titled to talk a little
familiarly to you; do not boaſt of Abilities, either of Mind or Body, which
you never had; no Perſon living will believe you, any more than they would
me, if I ſhould tell them I had been a great Beauty, when they could ſee no
Remains of it.</p>
<p>But you are, as the good Man ſaid of <hi>Nero,</hi> a very
Wag!</p>
<p>Hang it, why ſhould you and I go to Logger-heads? Order your
Equipage to drive here to-morrow Morning, and let us buſs, as we uſed to
do, and be Friends.</p>
<p>Otherwiſe, I have two or three Pieces <pb n="302" facs="tcp:0095100802:309"/> of
the ſame Stuff, of which I have given you Samples at your Service.</p>
<p>Lord, 'tis a ſtrange Thing that all B— will needs be
Authors! now would they avoid manifeſting their Dulneſs, we the illiterate
might conclude they were Men of profound Erudition, and that on that Account,
they were advanced to their high Stations: but the Devil owes ſome of them a
Shame, and is, when they do his Work, an excellent Paymaſter; yet it is
ſtrange, this ſame Dulneſs is not confined to them, it deſcends to
their Sons, witneſs our celebrated Comedy, <hi>The Suſpicious Husband,</hi>
which, but for it's neither hav<g ref="char:EOLhyphen"/>ing one Character well drawn, any Plot, any
thing like a Sentiment, and wrote too in a gallimawfry Stile, might be a good
Performance; but as long as it is ſtamped with a Name, it paſſes current,
tho' Ster<g ref="char:EOLhyphen"/>ling No-Senſe.</p>
<p>But, my L—d B—, tho' I have di<g ref="char:EOLhyphen"/>greſſed from you,
yet ſee my Love! I re<g ref="char:EOLhyphen"/>turn again: Ah, it was well I did not, even from
Scripture, pick up an unſavory Si<g ref="char:EOLhyphen"/>mile; I am much offended that you ſhould
<pb n="303" facs="tcp:0095100802:310"/> ſay, when I was laſt at Shrift with your Holineſs,
that we had no better Accom<g ref="char:EOLhyphen"/>modation for our Feaſt of Love, but a Carpet,
whereas I inſiſt on it, that the Pe<g ref="char:EOLhyphen"/>nance you enjoyned me, was as eaſy as
a Down-bed could make it; ſo here I inva<g ref="char:EOLhyphen"/>lidate your Evidence in one Point,
and the reſt of your Accuſation naturally falls to the Ground.</p>
<p>But being now tired at laughing at you, I'll tell you an
<hi>Arabian</hi> Tale. There was a really generous Man, who built a fine
Pa<g ref="char:EOLhyphen"/>vilion, to which were an Hundred Open<g ref="char:EOLhyphen"/>ings; as the Poor had free acceſs to
it, they were relieved by him at every Opening and Avenue; they bleſſed his
Goodneſs, and his Fame flew far.</p>
<p>There was in his Neighbourhood the Son of an old Miſer, who was
left im<g ref="char:EOLhyphen"/>menſely rich; he was of a ſordid Temper, yet emulous of Praiſe,
ſo he built ſuch an<g ref="char:EOLhyphen"/>other Pavilion, and in like Manner diſ<g ref="char:EOLhyphen"/>tributed Alms;
it ſo fortuned, that one old Man attacked him ſeven times in the ſame
Morning at ſeven of the Entrances, he met him again at the eighth, and
aſked <pb n="304" facs="tcp:0095100802:311"/> for an Alms, at this he loſt all Patience, and
cried,
<q rend="inline">"Did not I ſeven times re<g ref="char:EOLhyphen"/>lieve you?"</q>
<q rend="inline">"Ah, quoth the poor Man, Lord bleſs my Lord
<hi>Aboulcaſem,</hi> I have walked three hundred times round his Pavilion,
been three hundred times relieved, and yet I am certain he does not know my
Face.</q>
</p>
<p>So, to apply the Story, God bleſs my dear loved Lord
<hi>Kingsborough,</hi> who gives Hundreds without blowing a Trumpet be<g ref="char:EOLhyphen"/>fore his
good Deeds, or defaming the Cha<g ref="char:EOLhyphen"/>racters of thoſe whom his Bounty
bleſſes.</p>
<p>I have often been ſurprized at one of our C—s, which, to
ſhew my Charity, I will inſert.
<q>O Lord, who alone workeſt great Mar<g ref="char:EOLhyphen"/>vels! ſend down upon our
B— and C— the healthful Spirit of thy Grace.</q>
<hi>Marvellous</hi> would it be indeed, if they had either <hi>Health,
Spirit,</hi> or <hi>Grace</hi>; no Doubt but the learned Compilers of the
Liturgy had their own Reaſons for this ſupernatural Invocation; but why
nothing leſs than a <pb n="305" facs="tcp:0095100802:312"/> Miracle ſhould bleſs theſe,
any more than any other Order of Men, I leave to ſome future Commentators,
and hope they will oblige us with Annotations on this extra<g ref="char:EOLhyphen"/>ordinary
Ejaculation.</p>
<p>I would not incur the Cenſure of the Cl— ſo far as to
give a Hint that they are not <hi>ſound:</hi> No, no, many of them are; but
then it is ſo ſound as things that are hollow, Impiety hath made a Feaſt
of them, and now that their Bones are mar<g ref="char:EOLhyphen"/>rowleſs, their Blood is cold, and
Specula<g ref="char:EOLhyphen"/>tion dwells not in their Eyes; they hate us Youth. Gorbellied K—,
Bacon fed! ah, would we had the ſhaking of their Bags! I knew one of them,
who, without the leaſt Study, wrote the following two elegant and learned
Lines:
<q>
<l>Yon ſlanting Mountains glow with blue Marine,</l>
<l>And yon cornuted Moons two Horns give ſhine.</l>
</q> I know
the Gentlemen had too much Mo<g ref="char:EOLhyphen"/>deſty and Diffidence of their own ſuperior
<pb n="306" facs="tcp:0095100802:313"/> Talents to give their Works to the Preſs; but I hope,
as they are charitable, they won't be diſpleaſed, as they are above mak<g ref="char:EOLhyphen"/>ing
Money of their Performances, that I ſhould, ſince they, though but little,
ſerve to ſwell my Volume, and, no doubt, will edify my Readers. I think I
have nothing to boaſt of as a Writer, but a great Memory, for if I could not
have retained <hi>Shakeſpear, Milton,</hi> &c. and the great Authors I
have laſt mentioned, to give a Taſte of their Wit, when I was myſelf at a
Loſs, I do not know how I could ever have com<g ref="char:EOLhyphen"/>paſſed three Volumes of
Memoirs.</p>
<p>Indeed if I had printed all the Poetry that has been ſent me for
that purpoſe, ſince I came to this Kingdom, it would have proved as odd a
Medley, as any thing ever yet exhibited to publick View. I ſuppoſe every
one who fancied they had Wit, had a mind to ſee how it would look in Print,
but I muſt beg to be excuſed. Though the learned Mr. <hi>Timothy
Ticklepitcher</hi> preſ<g ref="char:EOLhyphen"/>ſed very hard for a Place, it would be a ſtrong
Proof of my Vanity, to inſert his anti ſublime Compliments to me.</p>
<p>
<pb n="307" facs="tcp:0095100802:314"/>Another poetical Gentleman wrote me a long
Letter in a Text Hand, which put me into a Palpitation of the Heart, as I was
about that time threatened, (for certain ſcan<g ref="char:EOLhyphen"/>dalous Truths I have been
guilty of relat<g ref="char:EOLhyphen"/>ing) with ſome Law; and truly I hate that as much as Sir
<hi>John Falſtaff</hi> did Secu<g ref="char:EOLhyphen"/>rity: When I, in plain <hi>Engliſh,</hi>
ſet down undeniable Facts, they menace me with Law, I would as lieve they
would ſtop my Mouth with Ratsbane: But I find I am like Sir <hi>John,</hi>
not only witty myſelf, but am alſo the Occaſion that Wit is in others;
there is not an Halfpenny Paper can peep its Head out, but preſently my Name
muſt be dragged in by Head and Shoulders to grace it. But to the Letter:
Having recovered my Spirits, I read it over; and found a great many
Compli<g ref="char:EOLhyphen"/>ments, with a Promiſe, that the profound Author would wait on me at
Four o'Clock. I never thought of it till the time appointed, when
<q>
<l>The punctual Devil kept his Word.</l>
</q>
<pb n="308" facs="tcp:0095100802:315"/> I own I ſuppoſed he came to ſee if he could
<q>
<l>Convey out of my Box of Hints by a Trick,</l>
<l>Sincerely believing he dealt with Old Nick.</l>
</q> And I
always ſuſpect Falſhood to lurk un<g ref="char:EOLhyphen"/>der a full Peruke. He juſt came in
with a huge fat Man, as fat as Butter, with him, but would not ſtay, for
which Reaſon I will not print his fond Letter, ſo I think I am even with
him. If I were any way given to be proud, I think I have a great deal of
Reaſon to be ſo, ſince I cannot go any where, as I am not very well
known, but I hear ſome Piece of my own Hiſtory, quite new. I am ſeen in
this Place and t'other Place, and ſay ſomething mighty witty to be
ſure!</p>
<p>I do not wonder that Perſons of For<g ref="char:EOLhyphen"/>tune and Diſtinction of
this Kingdom go to <hi>England</hi> to ſpend their Time and E<g ref="char:EOLhyphen"/>ſtates;
ſince here, be you as chaſte as Ice, or pure as Snow, thou ſhalt not
eſcape Calumny, eſpecially among your half-bred, half-witted Gentry, but
<q>
<pb n="309" facs="tcp:0095100802:316"/>
<l>Let my unhappy Tale be falſely told</l>
<l>By the raſh Young, or the ill-natur'd Old;</l>
<l>Let ev'ry Tongue it's various Cenſures chuſe,</l>
<l>Abſolve with Coldneſs, or with Spite ac<g ref="char:EOLhyphen"/>cuſe,</l>
<l>Fair Truth, at laſt, her radiant Beams ſhall raiſe,</l>
<l>And, Malice vanquiſh'd, heighten'd Vir<g ref="char:EOLhyphen"/>tue's <hi>PRIOR</hi>
Praiſe.</l>
</q>
</p>
<p>In <hi>London</hi> almoſt every one, in the mid<g ref="char:EOLhyphen"/>dling State of
Life, has ſome Employment or Diverſion to kill their Time; and here it is
the reverſe, we are all Gentry, where<g ref="char:EOLhyphen"/>fore the Females have no Amuſement
but that of SLANDER.</p>
<p>Where
<q>
<l>
<hi>Rufa,</hi> with her Comb of Lead,</l>
<l>Whiſpers that <hi>Sappho</hi>'s Hair is red.</l>
</q>
</p>
<p>I ſhould be very glad, e'er they look for the Mote in my Eye,
they would be pleaſed to pull the Beam out of their own. I could mention
Numbers of theſe Scandal-mon<g ref="char:EOLhyphen"/>gers, <pb n="310" facs="tcp:0095100802:317"/> who have ſaid,
<q rend="inline">"Oh Lord! may be ſhe'll put us down in her
<hi>Memorials!</hi>"</q> But goon, incorrigible Dunces, too contemp<g ref="char:EOLhyphen"/>tible for
my Notice: All I ſhall beg of the <hi>Men</hi> is, never to believe any thing
that is ſaid of me by a <hi>Woman,</hi> as it is more than Four to One it is
a Lye—But as the great <hi>Milton</hi>'s Genius could even deſcend to
Hell, ſo I think I muſt mention one Mrs. <hi>Ir—d—ll,</hi> who
hearing I got Money for my Work, a thing ſhe could never do, exclaimed
bitterly againſt me, nay, even kept her Bed for a Week on Account of it, and
wrote two or three very ſtupid Pa<g ref="char:EOLhyphen"/>pers againſt me; and though ſhe could
not ſhew her Wit, at leaſt ſhewed Envy, Ma<g ref="char:EOLhyphen"/>lice, and all
Uncharitableneſs.</p>
<p>I know a very ingenious Gentleman, who, whenever he ſees a
Parcel of Females ſeated at their Tea, names the Chamber
<hi>Pandaemonium</hi>; and Dr. <hi>Young,</hi> in one of his Satires, ſays,
<q>
<l>Tea! how I tremble at the dreadful Stream!</l>
<l>As <hi>Lethe</hi> fatal to the Love of Fame;</l>
<l>
<pb n="311" facs="tcp:0095100802:318"/>What Devaſtations on thy Banks are
ſeen,</l>
<l>What Shades of mighty Names that once have been?</l>
</q>
</p>
<p>And I really cannot remember ever to have ſeen a Set of Ladies
tippling this Li<g ref="char:EOLhyphen"/>quor but Scandal ſtrait enſued; ay, even amongſt our new
Teachers, commonly called <hi>Moravians,</hi> amongſt whom I had, in
<hi>London,</hi> the Misfortune to live, and whom, though they took
themſelves to be inſpired, I really always believed to be under the
Deluſion of <hi>Satan.</hi>
</p>
<p>One of the holy Siſters once told me the Devil inſpired
<hi>Milton:</hi> ay, and me into the Bargain: Truly ſhe did his infernal
Majeſty the greateſt Honour he ever yet received, and I could not avoid
thinking her either very ignorant or very wicked; but I comforted myſelf with
hoping that the former was her Fault, and that ſhe did not know how heinous a
Sin ſhe commit<g ref="char:EOLhyphen"/>ted, when ſhe robbed the Maker of his Glory, and attributed
his beſt Gifts and Graces to the common Enemy of Man. I <pb n="312" facs="tcp:0095100802:319"/> think I might juſtly apply to theſe Secta<g ref="char:EOLhyphen"/>ries Mr.
<hi>Pope</hi>'s Lines:
<q>
<l>'Tis your's a <hi>Bacon,</hi> and a <hi>Locke</hi> to
blame,</l>
<l>A <hi>Newton</hi>'s Genius, and a Seraph's Flame;</l>
<l>But, oh! with One, Immortal One diſ<g ref="char:EOLhyphen"/>penſe</l>
<l>The Source of <hi>Newton</hi>'s Light, and <hi>Ba<g ref="char:EOLhyphen"/>con</hi>'s
Senſe!</l>
<l>Content each Emanation of his Fires,</l>
<l>That beams on Earth; each Science he inſpires,</l>
<l>Each Art he prompts, each Charm he can create,</l>
<l>Whate'er he gives, is giv'n for you to hate:</l>
<l>Go on, by all divine in Man, unaw'd,</l>
<l>But learn, ye Dunces, not to mock your God.</l>
</q>
</p>
<p>I believe theſe Wretches would be very proud of being
perſecuted; but our Go<g ref="char:EOLhyphen"/>vernors, of the ſame Mind with the witty and gallant
Emperor <hi>Julian,</hi> vulgarly call<g ref="char:EOLhyphen"/>ed the <hi>Apoſtate,</hi> will neither
hinder them to aſſemble, nor preach, any more <pb n="313" facs="tcp:0095100802:320"/> than
he did the <hi>Galileans,</hi> unleſs they preach Sedition, and then they
come under the Penalty of the Law.</p>
<p>Poor <hi>Julian!</hi> the Chriſtians murdered him, for not
permitting them to murder each other. St. <hi>Gregory</hi> the Younger,
preaching old St. <hi>Gregory</hi>'s Funeral Ser<g ref="char:EOLhyphen"/>mon, forty Years after the
Death of <hi>Julian,</hi> when one would have thought Reſentment might be
alſo dead, (if he had any Cauſe for it) has theſe remarkable Words:
<q rend="inline">"And now, ſays he, here lies my Uncle dead, who
delivered you from the Perſecution of that old Bull-burning Tyrant
<hi>Julian</hi>: Now, who had a greater Hand in his Death than my Uncle? For
once, when he and his Captain of the Archers came in to hear Maſs, had he not
ſuddenly gone away, my Uncle would have kicked him."</q> The Tranſlator
ſays, he had more Difficulty with this Paſſage than all the reſt of the
Work; for he would fain have had the Kicking intended for the Captain of the
Archers, not being able to conceive, that the Emperor of the World
<pb n="314" facs="tcp:0095100802:321"/> ſhould be afraid that an old Prieſt ſhould kick
him.</p>
<p>But the old Prieſt propheſied that ſuch a Day this
Apoſtate ſhould die, and truly he took eſpecial Care that his Prophecy
ſhould be fulfilled, by hiring one of the Emperor's own Soldiers to put him
to Death.</p>
<p>I could ſay ſomething more; why ſhould I not; nay, out it
muſt: I believe, if my favourite Apoſtle St. <hi>Paul</hi> had not behaved
himſelf with more good Manners than our modern <hi>New Lighters,</hi> he
would not have <hi>almoſt</hi> perſuaded his Auditors to be Chri<g ref="char:EOLhyphen"/>ſtians;
how noble is his Anſwer on the Oc<g ref="char:EOLhyphen"/>caſion?</p>
<p>But he was as remarkably a fine Gentle<g ref="char:EOLhyphen"/>man, as he was a Saint, a
Martyr, and a Chriſtian; like Dr. <hi>Delany,</hi> whoſe preaching goes
even to the dividing of the Blood and Spirit. And let me here, dear Sir, beg
you will fulfil a Promiſe you gave me many Years ago, that you would at<g ref="char:EOLhyphen"/>tend
my laſt Moments; if I ſend to you, will you refuſe to chear a dying
Sinner with Hope of Peace and Pardon; for the Doctrine of Damnation is now ſo
univerſally recei<g ref="char:EOLhyphen"/>ved, <pb n="315" facs="tcp:0095100802:322"/> that Half the World are caſt
into Deſ<g ref="char:EOLhyphen"/>pair.</p>
<p>Theſe poor Enthuſiaſts uſed, in <hi>London,</hi> to
ſteal every thing they could lay their Hands on from me, inſomuch that at
laſt they ſtole my one Pair of Shoes; and yet they brought Scripture
Authority for Theft, for they ſaid the Children of <hi>Iſrael borrowed
Jewels of Gold and Silver</hi> of the <hi>Egyptians,</hi> which they ran away
with, <hi>and they ſpoiled the</hi> Egyptians. I remember I once menti<g ref="char:EOLhyphen"/>oned
this Paſſage to Dr. <hi>Delany,</hi> who underſtanding <hi>Hebrew</hi>
perfectly, turned over to it to there, where it is very differ<g ref="char:EOLhyphen"/>rently related:
For the <hi>Egyptians</hi> finding ſo many Plagues brought on them, and
particularly the Leproſy, with which theſe People were all infected,
ordered them to depart, but they declared they would not go, unleſs their
Hire was paid to them, and alſo ſo many Changes of Apparel, and Jewels of
Gold, given to ſupport them in their Pilgrimage; how they behaved
them<g ref="char:EOLhyphen"/>ſelves in the Wilderneſs, is ſo well ſet forth in the <hi>Old
Teſtament,</hi> that it would puzzle a wiſer Head than mine to know how
they <pb n="316" facs="tcp:0095100802:323"/> became the peculiar Favourites of an im<g ref="char:EOLhyphen"/>partial and
unprejudiced Deity.</p>
<p>Indeed it were to be wiſhed, that ei<g ref="char:EOLhyphen"/>ther this learned and
excellent Divine, or ſome other of equal Abilities, if ſuch may be found,
would oblige the World with a new Tranſlation of the <hi>Old
Teſtament,</hi> ſince, as we now have it, it ſeems filled with
Incon<g ref="char:EOLhyphen"/>gruities, Indecencies, and ſhocking Abſur<g ref="char:EOLhyphen"/>dities, ſuch as the Holy
Spirit could never have dictated, <hi>whoſe Body is Light, and whoſe Shadow
Truth.</hi>
</p>
<p>I beg pardon for this rambling Digreſ<g ref="char:EOLhyphen"/>ſion, and hope the
Divines will not cenſure me for it, as I only preſume to give them Hints,
which their ſuperior Knowledge may improve upon,
<q>
<l>And juſtify the Ways of God to Man.</l>
</q>
</p>
<p>For I intend not this Addreſs to the ig<g ref="char:EOLhyphen"/>norant Part of the
Clergy, who would many of them be more fit to till the Earth, than plant or
water the Goſpel, but to the learn<g ref="char:EOLhyphen"/>ed, juſt, and pious, that they may
remove Scruples from weak Minds, <hi>raiſe up thoſe</hi>
<pb n="317" facs="tcp:0095100802:324"/>
<hi>that are fallen, and finally, beat down Satan under
our Feet,</hi> which God of his infinite Mercy enable them to do, through the
Me<g ref="char:EOLhyphen"/>rits and Mediation of our Lord <hi>Jeſus Chriſt.</hi>
</p>
<p>But once more to return to my Shop. One Afternoon two young
Gentlemen came into it, one of whom aſked me for ſome Tea; I told him, I
did not ſell any, but that there was a Coffee-Houſe next Door, where he
might be ſupplied: He aſked me, would not I give a Diſh of Tea to a
Friend, and Relation? I ſaid, yes, with Pleaſure: Why then, ſaid he, this
Gentleman is Dean <hi>M<gap reason="illegible" resp="#OXF" extent="1 letter">
<desc>•</desc>
</gap>ade</hi>'s
Son, of <hi>Cor<gap reason="illegible" resp="#OXF" extent="1+ letters">
<desc>•…</desc>
</gap>,</hi> and my Name
is <hi>Bl—nd—n</hi>; as his Father was married to Brigadier
<hi>Meade's</hi> Widow, I gave them an Invitation into the Parlour, and ordered
ſome Tea to be got ready. I was really very glad to ſee any Perſon from
<hi>Ireland,</hi> particularly thoſe I was allied to, nor could I conceive
that they came in that manner only to inſult a Woman, who never of<g ref="char:EOLhyphen"/>fended
either of them; indeed, as for the Dean's Son, I muſt acquit him, for he did
not affront me, but I took it ill he ſhould bring with him a Fellow he knew
deſigned it.</p>
<p>
<pb n="318" facs="tcp:0095100802:325"/>There was nothing groſs, indecent,
abu<g ref="char:EOLhyphen"/>ſive, or unmannerly, which this Wretch did not, without the leaſt
Provocation, ſay to me, till, at length, though I am not really of a
paſſionate Diſpoſition, I loſt all Pa<g ref="char:EOLhyphen"/>tience, and thinking myſelf
very much his Betters, I aſked him, whether his Father continued to ſell
Butter-milk to the Poor at a Penny a Quart, with his own Hand, in a hard
Seaſon, when every other Perſon gave their's away.</p>
<p>Upon this he very politely threatened to kick me, but as he was
then at a great Di<g ref="char:EOLhyphen"/>ſtance from his own Dunghill, and I am ſure I give
<hi>Caſtle-Bl—nd—n</hi> its proper Title when I ſtile it one, I
was not in the leaſt intimidated, and only bade him go ſhew his Slaves how
choleric he was, and
<q>
<l>Make his Bondmen tremble.</l>
</q>
</p>
<p>And here excuſe me, Sir, if I give your Picture to the World.
When you make Love, if any but the leaden-darted <hi>Cupid</hi> ever touched
your unworthy, groveling, baſe Heart, your Argument is that of a
<pb n="219" facs="tcp:0095100802:326"/> Highwayman's, you bring a loaden Piſtol, clap it to
the Fair-one's Boſom, and ſay,
<q rend="inline">"De<g ref="char:EOLhyphen"/>liver your Treaſure, or you are
dead."</q>
</p>
<p>Could not you have taken your ancient Father, the old Stick
picker's Advice, and have coaxed the Girl, and have given her a Cherry-coloured
Top-knot? but you
<q>
<l>Were like the haughty, hot-brain'd <hi>Spa<g ref="char:EOLhyphen"/>niard,</hi>
</l>
<l>Inſtead of Love, you brought a Poignard.</l>
</q>
</p>
<p>And filthy as your rotten Leg, and more corrupted Soul, muſt
have been every thing you could produce; for thou art the Quinteſſence of
Filth, and I am weary of writing, when every thing baſe, every thing low,
every thing inſolent is the Theme, and all compriſed in pretty Maſter
<hi>Jacky Bl—nd—n.</hi>
</p>
<p>As I have mentioned an Attempt to write a Play, which
<q>
<l>—Is a bold Pretence</l>
<l>To Learning, Genius, Wit, and Eloquence.</l>
</q>
<pb n="320" facs="tcp:0095100802:327"/> I preſent my Readers with an Act of it, and would,
with great Pleaſure, finiſh it, but that I am certain our preſent Manager
would never permit it to be played, m<gap reason="illegible" resp="#OXF" extent="1+ letters">
<desc>•…</desc>
</gap>ly becauſe it was mine; for ſince his Prejudice againſt me,
though how I incurred his Diſpleaſure I know not, carried him him ſo far
as to ſay a Prologue I wrote for the King's Birth-Night was Blaſphemy, I
don't know but he may be ingenious enough to prove the Play to be
High-Treaſon; but leſt my Readers ſhould be<g ref="char:EOLhyphen"/>lieve me capable of writing
any thing like it, I preſent them with the Lines.
<q>
<lg>
<head>PROLOGUE.</head>
<l>WHILE foreign Climes are rent with dire Alarms,</l>
<l>The Shout of Battle and the Clang of Arms,</l>
<l>
<hi>Britannia,</hi> happy in her Monarch's Care,</l>
<l>Enjoys at once the Fruits of Peace, and War;</l>
<l>
<pb n="321" facs="tcp:0095100802:328"/>And while her Thunders o'er the Ocean
roll,</l>
<l>And ſpread her riſing Fame from Pole to Pole,</l>
<l>Sees her victorious Fleets the Sea com<g ref="char:EOLhyphen"/>mand,</l>
<l>And Plenty, Wealth, and Pleaſure, bleſs the Land:</l>
<l>Fair Science joyful, lifts her laurell'd Head,</l>
<l>The Muſes, in the Groves delighted tread;</l>
<l>Or, near the Azure Fount, or haunted Spring,</l>
<l>Their great INSPIRER and PROTECTOR ſing;</l>
<l>The Woods, the Vales reſound AUGUSTUS' Name,</l>
<l>His glorious Actions, and immortal Fame!</l>
<l>Shou'd Heav'n th' inimitable <hi>Shakeſpear</hi>
raiſe</l>
<l>To breathe Hiſtoric Truth in tuneful Lays,</l>
<l>How wou'd the Poet in ſublimer Strains</l>
<l>With GEORGE's Virtue elevate his Scenes?</l>
<l>Tranſmit his Wiſdom to the future Age,</l>
<l>The nobleſt Theme that e'er adorn'd a Stage!</l>
<l>
<pb n="322" facs="tcp:0095100802:329"/>Not the Great Ruler of the genial
Year,</l>
<l>Whoſe radiant Beams the whole Creation chear,</l>
<l>Inſpires ſuch Joy, ſuch Rapture, ſuch De<g ref="char:EOLhyphen"/>light,</l>
<l>As ſwells each Boſom at their Monarch's Sight.</l>
<l>Oh, may our Loyalty this Bliſs deſerve,</l>
<l>And Heav'n the Hero to our Hopes pre<g ref="char:EOLhyphen"/>ſerve!</l>
</lg>
</q>
</p>
<p>I believe none, but ſuch a Conjurer as Mr. <hi>Sherridan,</hi>
would have found out Blaſ<g ref="char:EOLhyphen"/>phemy in theſe Lines, and I am ſorry he did not
ſay they were as flat Burglary too as ever was committed; but he is a Judge,
a Gentleman: his Father was an Author, ay, and a Parſon! and for the ſignal
Fa<g ref="char:EOLhyphen"/>vours he has beſtowed on me, I return him theſe my Acknowledgments!</p>
<p>However, at all Hazards, I'll venture to ſtand the Teſt of
publiſhing the Following, becauſe Mr. <hi>Cibber</hi> approved it.</p>
<q>
<pb n="323" facs="tcp:0095100802:330"/>
<floatingText xml:lang="eng">
<body>
<div type="play">
<head>THE ROMAN FATHER, a Tragedy.</head>
<div type="dramatis_personae">
<head>DRAMATIS PERSONAE.</head>
<list>
<head>MEN.</head>
<item>Appius Claudius,</item>
<item>Clodius,</item>
<item>Virginius,</item>
<item>Iccilius.</item>
<item>
<hi>Officers, Servants, Attendants,</hi>
&c.</item>
</list>
<list>
<head>WOMEN.</head>
<item>Virginia.</item>
<item>
<hi>Nurſe.</hi>
</item>
</list>
</div>
<div n="1" type="act">
<div n="1" type="scene">
<head>ACT. I. SCENE I.</head>
<stage>Diſcovers <hi>Appius Claudius,</hi> and
<hi>Clodius.</hi>
</stage>
<sp>
<speaker>App.</speaker>
<l>THUS far has Force main<g ref="char:EOLhyphen"/>tain'd what Cunning won,</l>
<l>And haughty <hi>Rome,</hi> who with indignant
Rage,</l>
<l>Spurn'd off the regal Yoke, now lowly bows</l>
<l>Beneath my ſtronger Sway!</l>
<l>While under Covert of chuſing from the
<hi>Grecian</hi> Laws the beſt;</l>
<l>
<pb n="324" facs="tcp:0095100802:331"/>To guard her Freedom, and
preſerve her Power,</l>
<l>I hold Laws, Offices, and all ſuſpended;</l>
<l>And in their Place, I ſubſtitute my Will,</l>
<l>The Rule of Action, and the ſov'reign Guide:</l>
<l>Say, <hi>Clodius,</hi> is it not a Maſter-piece of
Art,</l>
<l>To hold the <hi>Romans</hi> thus enſlav'd?</l>
</sp>
<sp>
<speaker>Clo.</speaker>
<l>Sir, I applaud, and wonder at your Wiſdom,</l>
<l>As fair Succeſs has crown'd your tow'ring
Hopes:</l>
<l>The bold Plebeians, who with reſtleſs
Outrage,</l>
<l>For ever brawl'd at every Innovation,</l>
<l>And urg'd the Senate for the Execution</l>
<l>Of the <hi>Agrarian</hi> Law, now bleſs your
Mercy,</l>
<l>For Leave to live, and prate no more of Lands:</l>
<l>The haughty Senators, ſtripp'd of their Pride,</l>
<l>Retire for Safety to their native Fields,</l>
<l>While the <hi>Decemvirate</hi> triumphant reign,</l>
<l>Regardleſs of their Murmurs, or their Threats.</l>
</sp>
<sp>
<pb n="325" facs="tcp:0095100802:332"/>
<speaker>App.</speaker>
<l>And ſtill we mean to hold the Reins of Empire,</l>
<l>Nor quit them but with Life; yet, oh vain
Boaſt!</l>
<l>Why do I fondly talk of ruling others?</l>
<l>Who am myſelf a Slave, a Woman's Slave!</l>
<l>The Captive of a fair enchanting Face,</l>
<l>Sweet, as the firſt young Bluſhes of the
Dawn,</l>
<l>Streaking with roſy Light the Eaſtern
Clouds;</l>
<l>Say, <hi>Clodius,</hi> haſt thou ſeen the
matchleſs Maid,</l>
<l>The young <hi>Virginia?</hi>
</l>
</sp>
<sp>
<speaker>Clo.</speaker>
<l>Even now, my Lord, I met the blooming Maid, and
traced her Footſteps</l>
<l>To <hi>Dian</hi>'s ſacred Fane, before whoſe
Shrine</l>
<l>She bent in lowly Adoration down,</l>
<l>And look'd the chaſte Divinity herſelf.</l>
</sp>
<sp>
<speaker>App.</speaker>
<l>Oh <hi>Venus!</hi> wilt thou ſuffer ſuch a
Wrong,</l>
<l>That heav'nly Beauty, radiant as thy own,</l>
<l>Shou'd, coldly obſtinate, reject thy Power?</l>
</sp>
<sp>
<speaker>Clo.</speaker>
<l>However, ſhe may ſcorn the wanton Goddeſs,</l>
<l>
<pb n="326" facs="tcp:0095100802:333"/>Her Son exerts his Empire o'er
her Heart;</l>
<l>Her Nurſe, whom to your Intereſt I have
brib'd,</l>
<l>By the perſuaſive Eloquence of Gold,</l>
<l>Gold, the prevailing Argument with Age,</l>
<l>Informs me, that <hi>Virginius</hi> has
contracted</l>
<l>His youthful Daughter to the brave
<hi>Iccilius,</hi>
</l>
<l>The nobleſt Youth of the plebeian Order,</l>
<l>Not more renown'd for military Virtue</l>
<l>Than for the poliſh'd Arts which ſoften
Life,</l>
<l>And win the Soul of Woman; he to<g ref="char:EOLhyphen"/>morrow</l>
<l>In <hi>Hymen</hi>'s Rites for ever joins the
Fair.</l>
</sp>
<sp>
<speaker>App.</speaker>
<l>Thy Tale has ſhot ten thouſand burning
Arrows,</l>
<l>Which pierce with agonizing Pangs my Soul:</l>
<l>Oh, ſhould thoſe Charms, which might adorn a
Throne,</l>
<l>Be doom'd to the Poſſeſſion of a Wretch</l>
<l>So lowly born, the World might tax my Juſtice;</l>
<l>I muſt exalt them to their proper Sphere,</l>
<l>Where they ſhall ſhine, and bleſs the
won<g ref="char:EOLhyphen"/>d'ring World.</l>
</sp>
<sp>
<pb n="327" facs="tcp:0095100802:334"/>
<speaker>Clo.</speaker>
<l>You would not wed her.</l>
</sp>
<sp>
<speaker>App.</speaker>
<l>Ignorance! thou know'ſt</l>
<l>I am already married, and our Law's</l>
<l>Still to preſerve the noble Blood unmix'd,</l>
<l>Forbid Patricians, and Plebeians joining;</l>
<l>And <hi>Appius Claudius,</hi> from the Greateſt
ſprung,</l>
<l>Shall never ſully his illuſtrious Birth,</l>
<l>Or ſtoop beneath the Honour of his Race,</l>
<l>To mingle with the People: No, my
<hi>Clo<g ref="char:EOLhyphen"/>dius,</hi>
</l>
<l>The Name of Marriage is the Bane of Plea<g ref="char:EOLhyphen"/>ſure,</l>
<l>And Love ſhould have no Tie, but Love to bind
it;</l>
<l>Wives oft are haughty, inſolent, and proud,</l>
<l>But ſweet <hi>Virginia,</hi> fair as Infant
Nature,</l>
<l>And gentle as the balmy Breath of Spring,</l>
<l>Shall be the Miſtreſs of my ſoften'd
Hours,</l>
<l>And bid them ſmile with ever-blooming
Pleaſure;</l>
<l>But, oh! this ſudden Marriage blaſts my
Hopes!</l>
</sp>
<sp>
<speaker>Clo.</speaker>
<l>Near as it ſeems, my active Thoughts have
ſchem'd</l>
<l>A Way to rob the Lover of his Bliſs,</l>
<l>
<pb n="328" facs="tcp:0095100802:335"/>Only do you approve what I
ſhall act,</l>
<l>And truſt my Diligence to make her yours,</l>
<l>Or fall in the Attempt.</l>
</sp>
<sp>
<speaker>App.</speaker>
<l>I know thee wiſe,</l>
<l>Active, and reſolute; talk not of falling,</l>
<l>Let but thy Skill aſſiſt my fond Deſire,</l>
<l>And make my Power ſubſervient to thy Will.</l>
</sp>
<sp>
<speaker>Clo.</speaker>
<l>I ſee her, Sir, returning from the Temple,</l>
<l>Led by the deſtin'd Bridegroom; beſt retire,</l>
<l>Leſt Paſſion hurry you to Indiſcretion,</l>
<l>Where Policy, and Craft muſt win our Cauſe.</l>
<stage>[Exeunt.</stage>
</sp>
</div>
<div n="2" type="scene">
<head>ACT I. SCENE II.</head>
<stage>Enter <hi>Iccilius,</hi> and
<hi>Virginia.</hi>
</stage>
<sp>
<speaker>Iccil.</speaker>
<l>Was not that <hi>Appius?</hi> how the Ty<g ref="char:EOLhyphen"/>rant ey'd
me,</l>
<l>As if he mark'd me for his future Victim!</l>
<l>No Matter; let me but enjoy to-morrow,</l>
<l>Let me but live to call <hi>Virginia</hi> mine,</l>
<l>And I ſhall reſt your Debtor, bount'ous
Gods!</l>
<l>Let what will come hereafter.</l>
</sp>
<sp>
<pb n="329" facs="tcp:0095100802:336"/>
<speaker>Virg.</speaker>
<l>Alas! <hi>Iccilius,</hi> a thouſand boding</l>
<l>Cares poſſeſs my Soul,</l>
<l>And Heavineſs and Woe, unfelt before,</l>
<l>Hang deathful on my Heart; to-morrow, ſaidſt
thou,</l>
<l>The Times are full of Violence and Blood,</l>
<l>The Hand of Tyranny deſtroys the Juſt,</l>
<l>Virtue is Guilt, when Wickedneſs is Judge;</l>
<l>Who then can ſafely anſwer for a Moment,</l>
<l>Or tell where thou or I may be to-mor<g ref="char:EOLhyphen"/>row?</l>
</sp>
<sp>
<speaker>Iccil.</speaker>
<l>Lock'd in the Circle of each others Arms,</l>
<l>And taſting ev'ry Tranſport, ev'ry Sweet,</l>
<l>Which <hi>Hymen,</hi> Guardian God of chaſte
De<g ref="char:EOLhyphen"/>lights,</l>
<l>Profuſely ſheds to crown the happy Pair,</l>
<l>By him in holy Union join'd for ever.</l>
</sp>
<sp>
<speaker>Virg.</speaker>
<l>Believe me, were my Soul to form a Wiſh,</l>
<l>And have that Wiſh indulg'd me by the Gods,</l>
<l>For ever to converſe with my
<hi>Iccilius,</hi>
</l>
<l>To liſten to his Eloquence divine,</l>
<l>To learn his Wiſdom, to return his Love</l>
<l>With tender Duty, Gratitude, and Truth,</l>
<l>
<pb n="330" facs="tcp:0095100802:337"/>Wou'd be the utmoſt Scope of
my Deſires.</l>
</sp>
<sp>
<speaker>Iccil.</speaker>
<l>Tranſporting Sounds! oh, may thoſe awful
Pow'rs</l>
<l>Render <hi>Iccilius</hi> worthy to poſſeſs
thee:</l>
<l>But why, my Fair-one! this dejected Look?</l>
<l>This pining Care, this gloomy Diſcontent</l>
<l>Should only dwell in black and guilty Bo<g ref="char:EOLhyphen"/>ſoms;</l>
<l>Serenity of Soul, and tranquil Peace,</l>
<l>Should wait on ſpotleſs Innocence like
thine.</l>
</sp>
<sp>
<speaker>Virg.</speaker>
<l>A dreadful Viſion has deſtroy'd that Peace,</l>
<l>Sent as to warn me of approaching Danger,</l>
<l>Nor will the ſad Remembrance leave my Soul.</l>
</sp>
<sp>
<speaker>Iccil.</speaker>
<l>Relate this horrid Dream, which ſo affrights
thee!</l>
</sp>
<sp>
<speaker>Virg.</speaker>
<l>Laſt Night, when ſleep had ſpread her downy
Wings</l>
<l>O'er half Mankind, and lull'd my Cares to
Reſt,</l>
<l>Methought I walk'd with thee, my deareſt
Lover!</l>
<l>Thro' flow'ry Meads, in vernal Beauty dreſs'd,</l>
<l>
<pb n="331" facs="tcp:0095100802:338"/>All Nature bloom'd, around us
falling Streams,</l>
<l>And warbling Birds in tuneful Concert join'd,</l>
<l>Charming the Air with Melody divine!</l>
<l>While ev'ry lovely Object of Delight</l>
<l>Receiv'd new Luſtre from <hi>Iccilius</hi>'
Pre<g ref="char:EOLhyphen"/>ſence;</l>
<l>Sudden the Foreſt ſhook, and thro' the
Trees,</l>
<l>With dreadful Cries, ruſh'd forth, an hun<g ref="char:EOLhyphen"/>gry
Lion,</l>
<l>Who ſought me for his Prey; I trembling fled</l>
<l>To my lov'd Father's Arms; he drew his Poignard,</l>
<l>And when I look'd he ſhould have ſlain the
Savage,</l>
<l>With erring Fury plung'd it in my Heart;</l>
<l>The piercing Anguiſh wak'd me, and the Terror</l>
<l>Remain'd, when all the horrid Scene was
vaniſh'd.</l>
</sp>
<sp>
<speaker>Iccil.</speaker>
<l>This is the Mimickry of active Fancy,</l>
<l>Who when the Senſes are all charm'd to Reſt,</l>
<l>
<pb n="332" facs="tcp:0095100802:339"/>Preſents herſelf to the
Imagination</l>
<l>In vary'd Figures, and unnumber'd Shapes,</l>
<l>Theſe leſſer Faculties diſport at large,</l>
<l>When Reaſon, ſov'reign Miſtreſs of the
Soul,</l>
<l>O'er-wrought with Care, repairs herſelf by
Reſt;</l>
<l>Believe me, 'tis no more; raiſe then thy Eyes,</l>
<l>And bleſs <hi>Iccilius</hi> with their wonted
Sweet<g ref="char:EOLhyphen"/>neſs:</l>
<l>My Care ſhall be to ſeek thy Godlike
Fa<g ref="char:EOLhyphen"/>ther,</l>
<l>And urge him to appoint the bliſsful Hour,</l>
<q>
<l>
<hi>Then ſmiling Love each Moment ſhall
em<g ref="char:EOLhyphen"/>ploy,</hi>
</l>
<l>
<hi>Tranſporting Rapture, and ecſtatic
Joy.</hi>
</l>
</q>
<stage>[Exeunt.</stage>
</sp>
<stage>Enter <hi>Virginius</hi> ſolus.</stage>
<sp>
<speaker>Virg.</speaker>
<l>How long, oh <hi>Rome!</hi> ſhall thy majeſtic
Head</l>
<l>Be cruſh'd by the tyrannic Hand of Power?</l>
<l>Oh Liberty! thou beſt Prerogative of
Hu<g ref="char:EOLhyphen"/>mankind,</l>
<l>
<pb n="333" facs="tcp:0095100802:340"/>How have the bloody
<hi>Decemvirs</hi> defaced</l>
<l>Thy moſt tranſcendent Beauties? ſhall they
then</l>
<l>Rage unreſtrain'd, and violate thy Charms</l>
<l>With bold Impunity? forbid it Heaven!</l>
<l>No; there are yet among us ſome brave Spirits,</l>
<l>Who dare aſſert the ſacred Cauſe of
Free<g ref="char:EOLhyphen"/>dom:</l>
<l>Oh Father <hi>Jove,</hi> propitious ſmile upon
us!</l>
<l>And if my Life, or aught more dear than Life,</l>
<l>May be a Sacrifice acceptable,</l>
<l>Lo I devote it freely to the Cauſe,</l>
<l>The glorious Cauſe of Liberty, and
<hi>Rome!</hi>
</l>
</sp>
<stage>Enter <hi>Iccilius,</hi> and
<hi>Virginia.</hi>
</stage>
<sp>
<speaker>Virg.</speaker>
<l>Welcome <hi>Iccilius</hi>; Welcome, dear
<hi>Virginia,</hi>
</l>
<l>My Soul's Delight, my laſt remaining Com<g ref="char:EOLhyphen"/>fort.</l>
</sp>
<sp>
<speaker>Iccil.</speaker>
<l>Oh! ſhe was born to give tranſ<g ref="char:EOLhyphen"/>cendant Joy</l>
<l>To her glad Father, and her raptur'd Lover;</l>
<l>And all thoſe outward Charms ſo heav'nly
ſweet,</l>
<l>
<pb n="334" facs="tcp:0095100802:341"/>Are but an Emanation from thy
Soul,</l>
<l>Where ev'ry Beauty, Grace, and Virtue live;</l>
<l>Since then your Approbation crowns my Love,</l>
<l>And gives the matchleſs Virgin to my Wiſhes,</l>
<l>I claim your Promiſe, that to-morrow's Sun</l>
<l>May ſee us one.</l>
</sp>
<sp>
<speaker>Virg.</speaker>
<l>Auſpicious may it riſe upon your Union,</l>
<l>Clear unclouded Days, and Nights of ſweet Repoſe
for ever wait you.</l>
<l>I know when Love has winged the eager Wiſh,</l>
<l>It flies impatient to the promis'd Joy,</l>
<l>Nor ſhall Delay retard your youthful Ardor;</l>
<l>Take her, <hi>Iccilius,</hi> from her Father's
Hand.—</l>
</sp>
<sp>
<speaker>Iccil.</speaker>
<l>Thus kneeling I receive, and bleſs your
Bounty;</l>
<l>Oh my <hi>Virginia!</hi> but all Words are
faint,</l>
<l>To paint the Extaſy which ſwells my Heart:</l>
<l>Nor Air, nor Light, nor Liberty, nor Health,</l>
<l>
<pb n="335" facs="tcp:0095100802:342"/>To one long pin'd within a
joyleſs Dun<g ref="char:EOLhyphen"/>geon,</l>
<l>Are half ſo lovely, charming, ſweet, or
welcome!</l>
</sp>
<stage>Enter Meſſenger.</stage>
<sp>
<speaker>Meſſ.</speaker>
<l>An Officer from <hi>Appius Claudius,</hi>
</l>
<l>Sir, demands Admittance.</l>
</sp>
<sp>
<speaker>Virg.</speaker>
<l>Bid him enter.</l>
<l>Retire, my Child; what can the Tyrant want?</l>
<stage>[Exit <hi>Virg.</hi>
</stage>
</sp>
<sp>
<speaker>Officer.</speaker>
<l>The <hi>Decemvirate</hi> Guardians of our State</l>
<l>Greet thee with Honour, and Reſpect,
<hi>Vir<g ref="char:EOLhyphen"/>ginius,</hi>
</l>
<l>And ſignify by me their ſacred Pleaſure;</l>
<l>A Meſſenger is from the Camp arriv'd,</l>
<l>With Notice, that the <hi>Capuans</hi> have
re<g ref="char:EOLhyphen"/>volted;</l>
<l>And to your Care, brave Veteran, they truſt</l>
<l>The Conduct of their Legions: on the In<g ref="char:EOLhyphen"/>ſtant</l>
<l>Muſt you ſet forth, and thou, <hi>Iccilius,</hi>
with him.</l>
</sp>
<sp>
<pb n="336" facs="tcp:0095100802:343"/>
<speaker>Virg.</speaker>
<l>Their Pleaſures be obey'd, but this is
ſudden.</l>
</sp>
<sp>
<speaker>Off.</speaker>
<l>The Time cries haſte, delay not then a Moment;</l>
<l>May Victory and Fame attend your Arms.</l>
<stage>[Exit Off.</stage>
</sp>
<stage>Enter <hi>Virginia.</hi>
</stage>
<sp>
<speaker>Virg.</speaker>
<l>My Daughter, we muſt leave you, inſtant
Danger</l>
<l>Demands our Preſence in the <hi>Roman</hi>
Camp;</l>
<l>Nay, do not weep, we ſhall not long be
abſent,</l>
<l>Mean time thy Innocence ſhall reſt in Safety</l>
<l>Beneath the friendly hoſpitable Roof</l>
<l>Of good <hi>Iccilius'</hi> Father. Do not weep,</l>
<l>I go to ſeek him, take a ſhort Farewel,</l>
<l>And follow me.</l>
<stage>[Exit <hi>Virginius.</hi>
</stage>
</sp>
<stage>
<hi>Iccilius</hi> and <hi>Virginia.</hi>
</stage>
<sp>
<speaker>Iccil.</speaker>
<l>Oh my lov'd <hi>Virginia!</hi> are all my eager
Longings,</l>
<l>Wiſhings, Hopes, defeated thus? now muſt I leave
you;</l>
<l>
<pb n="337" facs="tcp:0095100802:344"/>Now, oh 'tis a Pang too great
to bear, and live!</l>
</sp>
<sp>
<speaker>Virg.</speaker>
<l>Thus fade our Dreams of Happineſs and Bliſs:</l>
<l>Not that a ſhort, or momentary Abſence,</l>
<l>When our lov'd Country call'd thee to its Aid,</l>
<l>Cou'd ſhake my Temper; no, I oft with Pride,</l>
<l>Have ſeen my Hero arm him for the Field,</l>
<l>And only griev'd that my weak Sex denied me</l>
<l>To ſhare the glorious Toils, the noble
Dan<g ref="char:EOLhyphen"/>ger;</l>
<l>But now my ſad preſaging Heart aſſures
me,</l>
<l>We part to meet no more.</l>
</sp>
<sp>
<speaker>Iccil.</speaker>
<l>Oh ſofteſt Charmer!</l>
<l>Ceaſe t' afflict me with a Thought ſo ſad,</l>
<l>Leſt, Coward like, I ſtain my ſacred
Ho<g ref="char:EOLhyphen"/>nour,</l>
<l>And, ſhunning Glory, and the duſty Field,</l>
<l>Remain for ever in <hi>Virginia</hi>'s Arms;</l>
<l>For what are Trophies, Honours, Tri<g ref="char:EOLhyphen"/>umphs,
Spoils,</l>
<l>
<pb n="338" facs="tcp:0095100802:345"/>Th' envy'd Pageant, and the
People's Shout,</l>
<l>To the tranſporting Joys of mutual Love,</l>
<l>And Harmony of corr<gap reason="illegible" resp="#OXF" extent="1 letter">
<desc>•</desc>
</gap>ſpondent Souls?</l>
</sp>
<sp>
<speaker>Virg.</speaker>
<l>No, my <hi>Iccilius,</hi> let not my fond Fears</l>
<l>Betray thee into miſbecoming Weakneſs;</l>
<l>I love thy Glory dearer than thy Perſon,</l>
<l>And wiſh thy Name enroli'd amongſt the
foremoſt</l>
<l>Who arduous trod the ſteep Aſcent to Fame:</l>
<l>High on the Summit of a lofty Hill,</l>
<l>Encompaſs'd round with Danger, Toil, and
Death,</l>
<l>The Goddeſs ſtands, and holds the Victor
Wreath</l>
<l>Of ever-verdant Laurel! ſacred Emblem</l>
<l>Of undecaying Virtue and Renown;</l>
<l>Who would not wiſh to gain the glorious Prize,</l>
<l>And ſcorn the Danger, viewing the Re<g ref="char:EOLhyphen"/>ward!</l>
</sp>
<sp>
<speaker>Iccil.</speaker>
<l>Oh thou! well-worthy of the <hi>Ro<g ref="char:EOLhyphen"/>man</hi>
Name,</l>
<l>
<pb n="339" facs="tcp:0095100802:346"/>Not the chaſte Fair, who
ſwam the rapid <hi>Tyber,</hi>
</l>
<l>Nor ſhe who fearleſs pierc'd her ſnowy
Boſom,</l>
<l>And with pure Blood waſh'd out the fatal Stain</l>
<l>The brutal Tyrant gave her, e'er poſſeſs'd</l>
<l>Such Dignity of Soul, ſuch Fortitude,</l>
<l>Such Wiſdom, or ſuch Innocence as thine;</l>
<l>Thy noble Arguments bent to perſuade</l>
<l>Thy Lover hence, but charm him here more
ſtrongly;</l>
<l>I gaze with endleſs Admiration on thee,</l>
<l>And wonder at a Greatneſs ſo divine.</l>
</sp>
<sp>
<speaker>Virg.</speaker>
<l>Forever cou'd I liſten to thy Lan<g ref="char:EOLhyphen"/>guage,</l>
<l>More chearing than the Breath of new-born
Spring,</l>
<l>When firſt her vernal Airs ſalute the
Groves,</l>
<l>And wake to Life the Infant Blooms and Flowers,</l>
<l>To deck her lovely Boſom; but no more,</l>
<l>Thy Duty calls thee to the Battle now.</l>
<stage>[Flouriſh.</stage>
<l>My Father waits you, the protecting Pow'rs</l>
<l>
<pb n="340" facs="tcp:0095100802:347"/>Conduct you forth, and bring
you back in Safety.</l>
</sp>
<sp>
<speaker>Iccil.</speaker>
<l>Thy pious Pray'r ſhall charm down Bleſſings on
us,</l>
<l>And Love ſhall guard me for <hi>Virginia</hi>'s
Sake.</l>
<q>
<l>
<hi>Think with what fierce Impatience I ſhall
burn,</hi>
</l>
<l>
<hi>'Till to thy Arms triumphant I
return;</hi>
</l>
<l>
<hi>To bid thy Sighs, thy Tears, thy Anguiſh,
ceaſe,</hi>
</l>
<l>
<hi>And ſcoth thy gentle Soul to Love and
Peace.</hi>
</l>
</q>
<stage>[Exeunt.</stage>
</sp>
</div>
<trailer>END OF THE ACT.</trailer>
</div>
</div>
</body>
</floatingText>
</q>
<p>One Day, as I was in my Shop, a Gen<g ref="char:EOLhyphen"/>tleman, very richly
dreſſed, told me, he had a Letter for me; I received it very
reſpectfully, but could not help ſmiling, when I found it was the Letter I
wrote for <hi>Tom Bruſh,</hi> neatly copied and directed to me, and that,
leſt it ſhould miſcarry, he had brought it himſelf.</p>
<p>I ſaid it was a very genteel Piece of Gal<g ref="char:EOLhyphen"/>lantry, and quite now.
He told me he <pb n="241" facs="tcp:0095100802:348"/> was going to his Seat in the County of
<hi>Sur<g ref="char:EOLhyphen"/>rey</hi> the next Day, and gave me a very kind Invitation to paſs the
Remainder of the Summer there, but as he was a young, gay, ſingle Gentleman,
I did not hold it convenient.</p>
<p>Pray, Madam, ſaid he, do you never go to the Opera? No, really,
Sir; not but that I love Muſic, but it happens to be too expenſive an
Entertainment for me: Well then, Madam, returned he, I muſt inſiſt on
having the Honour of treating you to it; on which, he downright forced a
Cou<g ref="char:EOLhyphen"/>ple of Guineas on me, and making me promiſe to correſpond with him till
his Re<g ref="char:EOLhyphen"/>turn to <hi>London,</hi> we parted.</p>
<p>Unfortunately I loſt his Direction, and ſo had it not in my
Power to keep my Word.</p>
<p>And I do aſſure my Readers, I did not go to the Opera,
wiſely conſidering that two Pound two, would be of infinitely more Service
to me, than it could poſſibly be to Mr. <hi>Heydeigger.</hi>
</p>
<p>But, alas! before the Return of Winter, I had neither Shop, nor
almoſt an Habi<g ref="char:EOLhyphen"/>tation. <pb n="342" facs="tcp:0095100802:349"/> By what ſtrange Reverſe of
For<g ref="char:EOLhyphen"/>tune I was again reduced to the utmoſt Calamity, and by what unexpected
and ſig<g ref="char:EOLhyphen"/>nal Mercy delivered from it, muſt, as it is impoſſible for me
to get it into the Com<g ref="char:EOLhyphen"/>paſs of this Volume, be the Subject of a Third.</p>
<p>I ſhould be highly ungrateful not to ac<g ref="char:EOLhyphen"/>knowledge the Favour and
Bounty of the whole Body of the Nobility, Clergy, and Gentry of this Kingdom,
whoſe Goodneſs, as it is my higheſt Pride to own, ſo it ſhall ever be
my utmoſt Ambition to merit; and if their poor Servant can in the leaſt
contribute to their Entertainment, ſhe ſhall think herſelf over-paid, or,
to uſe my dear Mr. <hi>Cibber</hi>'s Words:
<q>
<l>As for what's left of Life, if yet 'twill do,</l>
<l>'Tis at your Service, pleas'd while plea<g ref="char:EOLhyphen"/>ſing you.</l>
<l>But then miſtake me not, when you've enough,</l>
<l>One thin Subſcription ſhews all Parties off;</l>
<l>
<pb n="343" facs="tcp:0095100802:350"/>Or Truth in homely Proverb to
advance,</l>
<l>I pipe no longer than you care to dance.</l>
</q>
</p>
<p>But, oh my loved, honoured, and ex<g ref="char:EOLhyphen"/>cellent Lord
<hi>Kingſborough!</hi> where ſhall I find Words adequate to the Senſe I
have of your Goodneſs, your unlimited Gene<g ref="char:EOLhyphen"/>roſity? thou kind Preſerver of
mine, and my Son's Life!
<q>
<l>Did Eloquence divine adorn my Speaking,</l>
<l>Tho' ev'ry Muſe, and ev'ry Grace ſhould crown me,</l>
<l>Why then, ev'n then, I ſhould fall ſhort</l>
<l>Of my Soul's Meaning.</l>
</q>
</p>
<p>But as with You my Muſe began, with You alſo ſhe muſt end,
yet not 'till I re<g ref="char:EOLhyphen"/>late the following Story.</p>
<p>I ſaw in <hi>London</hi> the truly elegant and beautiful Speech
of a certain great Man, not long ſince our ſupreme Governor here; I was
really ſo charmed with it, that I wrote the following Lines, which I ſhewed
to Mr. <hi>Cibber.</hi> As his Excellency was re<g ref="char:EOLhyphen"/>turned to <hi>England,</hi>
Mr. <hi>Cibber</hi> was ſo well <pb n="344" facs="tcp:0095100802:351"/> pleaſed with them,
that, as he was particu<g ref="char:EOLhyphen"/>larly intimate with him, he undertook to deliver them,
and ſaid, he did not doubt but he would give me a handſome Re<g ref="char:EOLhyphen"/>ward: To give
this Theſis plainer Proof, I put it to the Teſt.
<q>
<lg>
<head>To his Excellency the Earl of
<hi>CHESTER<g ref="char:EOLhyphen"/>FIELD.</hi>
</head>
<lg>
<l>O THOU! to bind whoſe awful Brow</l>
<l>Triumphant Laurels joy to grow,</l>
<l>To whom the Sons of Science bend,</l>
<l>As to the great inſpiring Soul,</l>
<l>That brightens and informs the whole,</l>
<l>The Muſes Patron, Judge, and Friend.</l>
</lg>
<lg>
<l>Never did <hi>Britain</hi>'s King before,</l>
<l>A Subſtitute ſo noble find,</l>
<l>Nor ever yet deputed Pow'r</l>
<l>With ſuch tranſcendent Luſtre ſhin'd.</l>
</lg>
<lg>
<l>For when, to grace <hi>Hibernia</hi>'s Throne,</l>
<l>The God-like <hi>Cheſterfield</hi> was giv'n,</l>
<l>How did the joyful People own</l>
<l>Their Monarch's Love! the Care of Heav'n?</l>
<l>
<pb n="345" facs="tcp:0095100802:352"/>On thy exalted
<note n="*" place="bottom">His Speech to both Houſes of
<hi>Parliament,</hi> in <hi>Dublin.</hi>
</note>
<hi>Speech</hi> their Senates
hung,</l>
<l>And bleſt the Elocation of thy Tongue!</l>
</lg>
<lg>
<l>'Tis <hi>Stanhope</hi> can alone untie</l>
<l>The <hi>Gordian</hi> Knot of Policy.</l>
<l>He ev'ry Kingdom's Int'reſt knows:</l>
<l>Were to his Care the World conſign'd,</l>
<l>Th' Almighty's everlaſting Mind</l>
<l>Might there ſecure his Truſt repoſe.</l>
</lg>
<lg>
<l>Thy Genius, for all Stations fit,</l>
<l>The Reins of Empire knows to guide,</l>
<l>Nor leſs the ſacred Realms of Wit</l>
<l>Acknowledge thee their Boaſt and Pride;</l>
<l>So <hi>Phoebus</hi> rules the Chariot of the Day,</l>
<l>And charms the Groves with his melodi<g ref="char:EOLhyphen"/>ous Lay.</l>
</lg>
<lg>
<l>How did of late the Nations fear,</l>
<l>Sickneſs, the Meſſenger of Fate,</l>
<l>Would take thee to thy native Sphere,</l>
<l>'Midſt throned Gods to hold thy State.</l>
<l>We fear'd a Soul, ſo eminently wiſe,</l>
<l>Was call'd to grace th' Synod of the Skies.</l>
</lg>
<lg>
<pb n="346" facs="tcp:0095100802:353"/>
<l>But ſoon the Roſe-lip'd Cherub Health,</l>
<l>Commiſſion'd by the Pow'r Divine,</l>
<l>Reſtor'd <hi>Britannia</hi>'s Deareſt Wealth,</l>
<l>The Glory of her Patriot Line.</l>
<l>Oh may'ſt Thou long from better Worlds be ſpa<gap reason="illegible" resp="#OXF" extent="1 letter">
<desc>•</desc>
</gap>'d,</l>
<l>And late receive thy Virtues full Reward.</l>
</lg>
<lg>
<l>Ev'n I, whom many Griefs oppreſs,</l>
<l>Enraptur'd with thy flowing Strain,</l>
<l>A while forget my own Diſtreſs,</l>
<l>And Anguiſh ceaſes to complain;</l>
<l>Such Charms to Heav'n-born Eloquence belong,</l>
<l>And ſuch the magic Force of ſacred Song.</l>
</lg>
</lg>
</q>
</p>
<p>I ought to have premiſed, that juſt as I had finiſhed this
Poem, <hi>W—rſd—le</hi> came in, and ſnatched it from me,
ſaying he would ſend it himſelf to his old Friend <hi>Phil<gap reason="illegible" resp="#OXF" extent="1 letter">
<desc>•</desc>
</gap>p.</hi> I could not get it from him, but
as I remembered every Syllable of it, I wrote it in a better Hand than that
rough Draught I had given to Mr. <hi>Cibber,</hi> and having the Honour of his
Correction, who <pb n="347" facs="tcp:0095100802:354"/> is a fair and candid Critic, ſent it
again to him.</p>
<p>
<hi>W—ſd—le</hi> came in the Evening, told me that
the Earl ſent him many Thanks, and would be glad to ſee his old Friend.</p>
<p>Upon this I aſked <hi>W—rſd—le</hi> to lend me
Half a Crown to buy a Pair of Shoes, which he abſolutely refuſing, when he
had convinced me he had fifty Guineas in his Pocket, I, though ill-ſhod, was
obliged to reſt contented.</p>
<p>Early next Morning I received from Mr. <hi>Cibber</hi> the
following ſhort Epiſtle:
<floatingText type="letter">
<body>
<opener>
<salute>MADAM,</salute>
</opener>
<p>THE Poetry of poor People, how<g ref="char:EOLhyphen"/>ever it may riſe in Value,
always ſinks in the Price; what might in happier Hours have brought you ten
Guineas for it's intrinſic Worth, is now reduced to two, which I deſire you
will come and re<g ref="char:EOLhyphen"/>ceive from the Hand of</p>
<closer>
<signed>Your old humble Servant, COLLEY
CIBBER.</signed>
</closer>
</body>
</floatingText>
</p>
<p>
<pb n="348" facs="tcp:0095100802:355"/>By this I found Mr.
<hi>W—rſd—le</hi> had boaſted of an Intereſt in his
Excellency, which he certainly never had, for who would have even given me that
ſmall Re<g ref="char:EOLhyphen"/>ward that had received the Poem before from another Hand, would they
not have laughed at me!</p>
<p>I waited on Mr. <hi>Cibber,</hi> who told me he had given my Poem
to his Excellency with theſe Words:
<q rend="inline">"That if he had not thought it beautiful, he would
not have ta<g ref="char:EOLhyphen"/>ken the Liberty of preſenting it to him."</q>
</p>
<p>
<q rend="inline">"As Dinner, ſaid he, was juſt brought up my
Lord put it into his Pocket. In the Evening I reminded him of it: He told me he
was attack'd by all the World with paultry Rhimes, which his L—d always
beſt rewarded."</q>
</p>
<p>The next Day Mr. <hi>Cibber</hi> attacked his Excellency again,
and aſked him how he liked the Lines? Upon which he ſaid,
<q rend="inline">"Oh I had forgot, there's two Guineas for her, but
don't put them into your Sil<g ref="char:EOLhyphen"/>ver Pocket, leſt you ſhould make a Miſtake
and pay your Chair with them: <pb n="349" facs="tcp:0095100802:356"/> So here, Madam, are the
two Guineas for you."</q> As I was entirely indebted to Mr. <hi>Cibber</hi> for
this Bounty, I return my Acknowledgements to Him.</p>
<p>My dear Lord <hi>Kingſborough,</hi> I never ſhould have
related this Story, except by way of Contraſt to your amiable Virtues; for I
may juſtly ſay with <hi>Swift,</hi>
</p>
<p>My fav'rite Lord is none of thoſe,
<q>
<l>Who owe their Virtue to their Stations,</l>
<l>Or Characters to Dedications;</l>
<l>His Worth, altho a Poet ſaid it</l>
<l>Before a Play, would loſe no Credit.</l>
<l>Nor <hi>Swift</hi> would dare deny him Wit,</l>
<l>Altho' to praiſe it I have writ.</l>
</q>
</p>
<p>Juſt as I was writing about <hi>W—rſd—le,</hi> a
Gentleman brought me a Pamphlet en<g ref="char:EOLhyphen"/>tituled, <hi>A Parallel between Mrs.</hi>
Pilking<g ref="char:EOLhyphen"/>ton <hi>and Mrs.</hi> Phillips, <hi>written by an</hi> Ox<g ref="char:EOLhyphen"/>ford
<hi>Scholar,</hi> as he tells us, himſelf, ſtar<g ref="char:EOLhyphen"/>ving in a Garret; Pray, Mr.
Scholar, deal ingenouſly did not <hi>W—rſd—le</hi> hire you to
write it, becauſe he was indolent; dull, I <pb n="350" facs="tcp:0095100802:357"/> ſuppoſe
you mean; if he can write ſo much better than I, let him give the World a
Proof of his Abilities; but it ſeems, he is diſcontented that I have not
ſufficiently ex<g ref="char:EOLhyphen"/>poſed him: Why, let him have but a little Patience, and my
Life on't he ſhall have no Cauſe of Complaint on that Head, but I cannot
break in on the Order of Time ſo far as to give the World a ſecond Act of
him, yet</p>
<p>Unity of Time and Place, you know, Mr. Critick, muſt be
obſerved, otherwiſe we muſt renounce the Stagyrite.</p>
<p>If you intend your Performance for a Satire on me, truly your
Words are ſo clerkly couched, that I cannot find any Sting in them.—You
ſay I admired the Dean for being a Brute.—<hi>N. B.</hi> You lye; and
none but a Villain would call him one. I admired his Charity, Wit, Senſe,
Taſte, <hi>&c.</hi> and to ſay he had Paſſions, which ob<g ref="char:EOLhyphen"/>ſcured
for a while his ſhining and uncom<g ref="char:EOLhyphen"/>mon Excellencies, is no more than ſaying
he was human, and conſequently liable to Error.</p>
<p>
<pb n="351" facs="tcp:0095100802:358"/>Then you aſk me, how I dare mention Mr.
<hi>Pope?</hi> Why truly, like <hi>Drawcanſir,</hi> all this I can do,
becauſe I dare.—I never refuſed doing Juſtice to his poetical
Merits; but all your Art can never per<g ref="char:EOLhyphen"/>ſuade the World, that he was not an
en<g ref="char:EOLhyphen"/>vious Defamer of other Men's good Parts, and intolerably vain of his own.
How does he boaſt of his Acquaintance with the Great, even to childiſh
Folly? The late Earl of <hi>Peterborough</hi> could not divert him<g ref="char:EOLhyphen"/>ſelf with
pruning a Tree in his Garden, but preſently we are told of it in theſe
high<g ref="char:EOLhyphen"/>ſounding unharmonious Words:
<q>
<l>And he, whoſe Thunder ſtorm'd th'<hi>Iberian</hi>
Lines,</l>
<l>Now forms my Quincunx, and now prues my Vines.</l>
</q> Why,
one would have thought he had hired the Earl for a Gardener.</p>
<p>And as for his Gratitude, let that appear by his Poem, called
<hi>Taſte,</hi> wherein he abuſes the late Duke of <hi>Chandos</hi> for his
Munificence to Writers, whereof take the following Sample:
<q>
<pb n="352" facs="tcp:0095100802:359"/>
<l>His Wealth Lord <hi>Timon</hi> gloriouſly con<g ref="char:EOLhyphen"/>founds,</l>
<l>Ask'd for a Groat, he gives an hundred Pounds;</l>
<l>Or, if three Ladies like a luckleſs Play,</l>
<l>Takes the whole Houſe upon the Author's Day.</l>
</q> Was
this any Defect in his Grace's Charac<g ref="char:EOLhyphen"/>ter, eſpecialy in a poetical Eye? No,
ſurely: but I ſuppoſe Mr. <hi>Pope</hi> was angry, as he was not a
Dramatick Writer, that his Grace ſhould beſtow any Favour on them.</p>
<p>He then proceeds to ridicule his Grace's Library, and the Grandeur
and Magnifi<g ref="char:EOLhyphen"/>cence of his Improvements.
<q>
<l>And when up ten ſteep Slopes you've drag'd your Thighs,</l>
<l>Juſt at his Study-door he'll bleſs your Eyes.</l>
<l>His Study! with what Authors is it ſtor'd?</l>
<l>In Books, not Authors, curious is my Lord.</l>
<l>
<pb n="353" facs="tcp:0095100802:360"/>To all their letter'd Backs he turns you
round,</l>
<l>Theſe <hi>Aldus</hi> printed, theſe <hi>De Sewel</hi>
bound:</l>
<l>Theſe, Sir, are <hi>Elziver</hi>'s, and thoſe as good,</l>
<l>For all his Lordſhip knows they are but Wood;</l>
<l>For <hi>Locke</hi> or <hi>Milton</hi> 'tis in vain to
look,</l>
<l>Theſe Shelves admit not any modern Book.</l>
</q> I
ſuppoſe, becauſe he did not find his own Works there, he reſolved at
all Hazards to depreciate his Betters. Shall I proceed, or have I ſaid enough
<q>To thee, who haſt not Ear, nor Eye, nor Soul to comprehend
it.</q>
</p>
<p>And now, how dare you to abuſe my Huſband? Why, thou, poor
paultry Gar<g ref="char:EOLhyphen"/>retteer! thou ſtarveling Bard! if I have a Mind to do it
myſelf, what's that to you?
<q>
<l>The diſtant <hi>Trojan</hi> never injur'd thee.</l>
<bibl>Pope's Homer.</bibl>
</q>
<q>
<pb n="354" facs="tcp:0095100802:361"/>
<l>And ſuppoſe I've a Mind for to drub,</l>
<l>Whoſe Bones is it, Sir, I muſt lick?</l>
<l>At whoſe Expence is it, you Scrub?</l>
<l>You are not to find me a Stick.</l>
</q> Poor Creature! and as
you ſay you are in Neceſſity, I hope you will be relieved, even by
putting together
<q>
<l>Figures ill-pair'd, and Similies unlike:</l>
<l>
<hi>Letty</hi> and <hi>Conny,</hi> pious, precious
Pair!</l>
</q> I ſuppoſe this this is an Alluſion to <hi>Niſus</hi> and
<hi>Euryalus</hi>; but prithee learn more Wit,
<q>
<l>Than to make ill-coupled Hounds</l>
<l>Drag different Ways in miry Grounds.</l>
</q> For I am certain
I never was a Match for Mrs. <hi>Philips,</hi> either in Beauty or in Art, in
both of which ſhe reigns unrivalled, and I, as in Duty bound, give her the
Pre<g ref="char:EOLhyphen"/>eminence. But
<q>
<l>I imagine this <hi>Oxonian</hi> ſitting on his Bed,</l>
<l>One greaſy Stocking round his Head,</l>
<l>
<pb n="355" facs="tcp:0095100802:362"/>While t'other he ſits down to
darn,</l>
<l>With Threads of different colour'd Yarn;</l>
<l>The Remnants of his laſt Night's Pot</l>
<l>On Embers plac'd, to make it hot;</l>
<l>But now if <hi>W—dale</hi> deign to drop</l>
<l>A Slice of Bread, or Mutton-chop,</l>
<l>Mounting he writes, and writing ſings,</l>
<l>While, from beneath, all <hi>Grub-ſtreet</hi> rings.</l>
<bibl>Swift.</bibl>
</q>
</p>
<p>Ha! have I gueſſed right? thou wicked Scribbler, that
praiſeſt the Worſt beſt, and Beſt worſt; thou art juſt fit to
nurture Fools, and chronicle Small-beer.</p>
<p>Now to criticize on your wonderful Work: In the firſt Place, you
ſay all my Characters are well drawn, eaſy, natural and pictureſque; and
yet after this high Compliment, that I even made a dull Story entertaining by
the Force of a ſpark<g ref="char:EOLhyphen"/>ling Wit, and retentive Memory; why, preſently after I
dwindle, by the Force of your Pen, into a mere Dunce: And ſo though you
promiſed us a Parallel, you give us a Contraſt; you are a very witty
Fellow, I aſſure you, and deal much in <pb n="356" facs="tcp:0095100802:363"/> the
Surprizing. And ſo you do not like my Poetry, there was no Thought of
pleaſing you when it was writ; but go to my Treaſurer, tell him I order him
to give you three hundred Kicks in private, and the Lord ſend you a b<gap reason="illegible" resp="#OXF" extent="1 letter">
<desc>•</desc>
</gap>tter Taſte!</p>
<p>Hey-day, the Devil rides on a Fiddle<g ref="char:EOLhyphen"/>ſtick! freſh News
arrived! all my Letters to <hi>W—rſd—le</hi> to be publiſhed;
oh terrible! well; I hope he will publiſh every Poem that was incloſed in
them, that I may come by my own again? let him return to me three Operas,
twenty-five Odes, the Let<g ref="char:EOLhyphen"/>ters I wrote for him, the Poem which begins,
<q>
<l>To diſtant Climes, while fond <hi>Cleora</hi> flies.</l>
</q>
And then he has my full Leave to publiſh every Letter of mine that he thinks
will ſerve his Purpoſe; but remember that if you and he ſhould ſit
down, and out of your own Loggerheads write Nonſenſe, and offer it to the
World as mine, I enter my <hi>Caveat,</hi> and will not adopt the ſpurious
Iſſue. So here I quit ye, and upon mature <pb n="357" facs="tcp:0095100802:364"/>
Deliberation, am ſorry I waſted ſo much Time, Paper, and Ink, on ſo
contemptible a Subject as either of ye.</p>
<p>My Lord, I beg Pardon for ſo long di<g ref="char:EOLhyphen"/>greſſing from my
darling Theme, but it was almoſt impoſſible for me not to <hi>beſtow
thoſe Libellers a Laſh</hi>;
<q>
<l>For, tho' tis hopeleſs to reclaim them,</l>
<l>Scorpion Rods perhaps may tame them.</l>
<bibl>Swift.</bibl>
</q>
</p>
<p>And though it is not in reality worth while to purſue
Graſhoppers, who die in a Seaſon, yet while their Noiſe offends me, I
cannot forbear it.</p>
<p>And, now my Lord, and oh! (ſince you permit me to call you by
that tender Name) my Friend, and let me add, my Guardian Angel; for ſurely,
very excellent has thy Favour been to me, far ſurpaſſing that of Kindred,
as you generouſly bid me name my Wiſh to you, and obtain it; and as I,
broken with the Storms of Fortune, for I may truly ſay with Holy
<hi>David,</hi> to my Creator,
<q>
<pb n="358" facs="tcp:0095100802:365"/>Even from my Youth up, thy Terrors have I
ſuffered with a troubled Mind, and thou haſt vexed me with all thy
Storms.</q> Have little to hope for on this Side Diſſo<g ref="char:EOLhyphen"/>lution, and have no
other Concern about parting with a Life, which has been but a continual Scene
of Sorrow, except that of leaving my Son unprovided for: Let your Favour extend
to him, as your Station and Virtue muſt ever give you a powerful In<g ref="char:EOLhyphen"/>tereſt;
uſe a Portion of it to get him ſome little Employment, or Place, which may
give him Bread, when I no more want it.</p>
<p>I flatter myſelf he will not be entirely unworthy of your
Goodneſs, as he is of a generous, humane, and grateful Diſpo<g ref="char:EOLhyphen"/>ſition.</p>
<p>I muſt beg your Lordſhip's Pardon for praiſing my Son, which
indeed, I ſhould not do, but that both his Father and Mr. <hi>A—e,</hi>
endeavoured all in their Power to injure his Character; the latter of whom is
ſince convinced he wronged him.</p>
<p>
<pb n="359" facs="tcp:0095100802:366"/>And here I muſt apologize for ſo long
deferring the Publication of this Second Volume; and as no Reaſon is ſo
good as the true one, take it as follows:</p>
<p>When I came to <hi>Ireland,</hi> I took a Houſe near
<hi>Bow-Bridge,</hi> as well for the Pleaſure of a fine Art, as to keep
retired from buſy Tongues; but, finding it was highly inconvenient to be at
ſuch a Diſtance from Printers, Stationers, <hi>&c.</hi> I took a
Firſt-Floor in <hi>Abbey-Street,</hi> and having my own Furniture, ſent it
there, with Orders to the Men to put up the Beds, which accordingly was done:
When I came in the Evening to take Poſſeſſion of my new Habitation,
be<g ref="char:EOLhyphen"/>hold all my Furniture was torn down, and lying in Heaps in the Paſſage;
when I demanded the Cauſe of this, I was told, the Reverend Dr. <hi>J—n
V—ey,</hi> who, it ſeems, lodged in the Houſe, had, by his own
ſpecial Authority, commanded the Goods ſhould be thrown into the Street,
but the Landlord knowing himſelf liable to be called to an Account for what
he had <pb n="360" facs="tcp:0095100802:367"/> received, did not chuſe to obey him in that
Article.</p>
<p>Well, as my Houſe was empty, I knew not where I, or my Child
could ſleep that Night, but, as I was not ill-beloved in the Neighbourhood I
left, I went back to it, where a good Woman gave me part of her Bed, and her
Huſband, my Son, and two little Children of theirs, lay together.</p>
<p>Early next Morning, my Son took a Lodging for me in
<hi>Big-butter-lane</hi>; my Goods, damaged as they were, were carried there,
but, wot you well, the Parſon fol<g ref="char:EOLhyphen"/>lowed them! Dr. <hi>V—ey,</hi> I
mean, told the People I was a very bad Woman, and they were again left in the
Paſſage; ſo when I came, there was no Entrance for me, and I was obliged
to return to the Place from whence I came. <hi>Mem.</hi> I was forty Shillings
out of Pocket by this pious Divine, I wiſh he would pay me.</p>
<p>Next Day my Son took a Lodging for me in <hi>Gol en-lane,</hi>
where the Woman no ſooner underſtood I was Dr. <hi>Van Lewin</hi>'s
Daughter, who, as ſhe ſaid, ſaved her Life, but ſhe gladly accepted of
me for a Lodger; <pb n="361" facs="tcp:0095100802:368"/> but what with the Vexation of my Mind,
and the Cold I had got, I fell into a violent Fever, and was for many Weeks
confined to my Bed, till, by the Care and Skill of Dr. <hi>Ould,</hi> I was
once more enabled to pur<g ref="char:EOLhyphen"/>ſue my Work; and, as I am much indebted to his
Humanity, I take this Opportunity of acknowledging it.</p>
<p>And now do I expect an Army of Cri<g ref="char:EOLhyphen"/>tics to attack my poor Work,
and to ſave them the Trouble, I will even do it my<g ref="char:EOLhyphen"/>ſelf, altho' I own the
Task to be a little un<g ref="char:EOLhyphen"/>grateful. But, Mrs. <hi>Pilkington,</hi>
notwith<g ref="char:EOLhyphen"/>ſtanding the Regard and Affection which I really have for you, I
muſt tell you what the World ſays of you; but however, I will give you fair
Play, and allow you to make the beſt Defence you can for your<g ref="char:EOLhyphen"/>ſelf:
Suppoſe you and I enter into a Dia<g ref="char:EOLhyphen"/>logue, I being the Accuſer, begin:
Ma<g ref="char:EOLhyphen"/>dam, your Story has nothing in it, either new or entertaining; the
Occurrences are common, trivial, and ſuch as happen every Day; your Vanity is
intolerable, your Stile borrowed from <hi>Milton, Shakeſpear</hi>
<pb n="362" facs="tcp:0095100802:369"/> and <hi>Swift,</hi> whom you pretend to deſcribe,
though you never knew him; you tell us a Story of his Beef being
over-roaſted, and another of a mangy Dog; fine Themes truly! for my Part, I
wonder you ever got a Shilling for your curious Performance; I am ſure it is
a Proof of the Stupidity of the <hi>Boeotians,</hi> who, tho' they have ſtill
done you the Honour to advertiſe in every Paper, that you were not a Dunce,
proved themſelves to be little better for taking ſo much Notice of you.</p>
<p>
<hi>Myſelf.</hi> Hold, hold, you charge me ſo faſt you do
not give me Leave to reply; to your firſt Article I plead guilty; my Story is
dull enough, it was therefore I ſtrove to embelliſh it with ſuch poetical
Ornaments, as I could beg, borrow, or ſteal: I have known a Gentleman write a
<hi>Latin</hi> Poem, and every Line of it was borrowed from the Claſſicks,
yet this was eſteemed a Beauty in him; why then ſhould it be deemed a Fault
in your humble Servant? Had I not an equal Right to make free with <hi>Milton,
Swift,</hi> and <hi>Shakeſpear,</hi> as he had with <hi>Vir<g ref="char:EOLhyphen"/>gil</hi> and
<hi>Horace.</hi>
</p>
<p>
<hi>I.</hi> O lud, lud! why the beſt Part of your firſt
Volume, is that which you wrote from yourſelf, without theſe
Auxiliaries.</p>
<p>
<hi>Myſelf.</hi> Oh, upon my Word you com<g ref="char:EOLhyphen"/>pliment now.</p>
<p>
<pb n="363" facs="tcp:0095100802:370"/>
<hi>I.</hi> Truly, I did not intend it, but
we would rather have ſome of your own Stuff.</p>
<p>
<hi>Myſelf.</hi> Why I muſt bring you a Simile from what I do
not much deal in, that is, Needle-work; do not Ladies buy coarſe Canvaſs,
and work thereon Fruits, Flowers, Trees, all Summer, and all Autumn's Pride?
and ſhould we ſay the Canvas would have been better without the Artiſt's
curi<g ref="char:EOLhyphen"/>ous Embroidery; the ſame will hold in Painting.</p>
<p>
<hi>I.</hi> O come, do not think to put us off at this Rate, you
give us Quotation on Quotation; why, we know the Works of other Writers, and
expected ſomething en<g ref="char:EOLhyphen"/>tirely new from your ſuperior Pen.</p>
<p>
<hi>Myſelf.</hi> I am ſorry it is not in my Power to oblige
you, but Kings and Prophets, who lived before me, have declared, there was
nothing new under the Sun.</p>
<p>
<hi>I.</hi> But you ſhew no Reverence, either to Ermin, Crape or
Lawn.</p>
<p>
<hi>Myſelf.</hi> O I really do, when the Wearers deſerve them;
but I hope you would not have me pay Homage to the Things them<g ref="char:EOLhyphen"/>ſelves? Why
then, I may go and kneel down to all the Goods in the Shops, becauſe as the
Author of <hi>The Tale of a Tub,</hi> ſays, in them we live, move, and have
our Be<g ref="char:EOLhyphen"/>ing.</p>
<p>
<pb n="364" facs="tcp:0095100802:371"/>
<hi>I.</hi> But have you no farther Regard
to Station? Is your licentious Pen to laſh all Orders and Degrees of People?
are you to indulge your laughing, and laſhing Hu<g ref="char:EOLhyphen"/>mour, at every Bodies
Expence.</p>
<p>
<hi>Myſelf.</hi> Why, ſure I have a Right to it; have they not
laughed and laſhed me round? This is but a Retaliation, they were the firſt
Aggreſſors; no Perſon who did not deſerve a Stripe, ever got one from
me: Is Station a Privilege for doing every Thing Evil with Impunity? If ſo,
let <hi>Satan</hi> on his burning Throne be honoured!</p>
<p>
<hi>I.</hi> Well, upon my Word, Mrs. <hi>Pil<g ref="char:EOLhyphen"/>kington,</hi> I am
weary of your Arguments; you ſeem reſolved to get the better of me, and
<hi>that</hi> my Readers may always be aſſured I will do, when I am both
Plaintiff and Defendant.</p>
<p>And I aſſure my Readers, that if my Third Volume is not filled
with more ſur<g ref="char:EOLhyphen"/>prizing Events, and i<gap reason="illegible" resp="#OXF" extent="1 letter">
<desc>•</desc>
</gap>finitely more enter<g ref="char:EOLhyphen"/>taining than either of the foregoing, I will for
ever quit my Magic Art, and
<q>
<l>Deeper than did ever Plummet ſound,</l>
<l>I'll drown my Book.</l>
<bibl>Shakeſpear.</bibl>
</q>
</p>
<trailer>END of the SECOND VOLUME.</trailer>
</div>
</body>
</text>
</TEI>
| {
"content_hash": "185c3c7272a3c97a172310d109f53956",
"timestamp": "",
"source": "github",
"line_count": 7456,
"max_line_length": 878,
"avg_line_length": 64.00013412017168,
"alnum_prop": 0.6258306526818739,
"repo_name": "benjaminpauley/RBSDigitalApproaches",
"id": "49da73e9e92af7ff041dfc3897fb0a6b144f9fb6",
"size": "486288",
"binary": false,
"copies": "2",
"ref": "refs/heads/master",
"path": "TCP-texts/K111040.002.xml",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "JavaScript",
"bytes": "125733"
},
{
"name": "Python",
"bytes": "2798"
}
],
"symlink_target": ""
} |
FROM balenalib/jetson-xavier-nx-devkit-ubuntu:cosmic-build
ENV NODE_VERSION 10.24.0
ENV YARN_VERSION 1.22.4
RUN for key in \
6A010C5166006599AA17F08146C2130DFD2497F5 \
; do \
gpg --keyserver pgp.mit.edu --recv-keys "$key" || \
gpg --keyserver keyserver.pgp.com --recv-keys "$key" || \
gpg --keyserver ha.pool.sks-keyservers.net --recv-keys "$key" ; \
done \
&& curl -SLO "http://nodejs.org/dist/v$NODE_VERSION/node-v$NODE_VERSION-linux-arm64.tar.gz" \
&& echo "65e6255c6f95b6dcf87f13c21994bc80205b4bd7c7d9a3fe1f8f2a18daec576d node-v$NODE_VERSION-linux-arm64.tar.gz" | sha256sum -c - \
&& tar -xzf "node-v$NODE_VERSION-linux-arm64.tar.gz" -C /usr/local --strip-components=1 \
&& rm "node-v$NODE_VERSION-linux-arm64.tar.gz" \
&& curl -fSLO --compressed "https://yarnpkg.com/downloads/$YARN_VERSION/yarn-v$YARN_VERSION.tar.gz" \
&& curl -fSLO --compressed "https://yarnpkg.com/downloads/$YARN_VERSION/yarn-v$YARN_VERSION.tar.gz.asc" \
&& gpg --batch --verify yarn-v$YARN_VERSION.tar.gz.asc yarn-v$YARN_VERSION.tar.gz \
&& mkdir -p /opt/yarn \
&& tar -xzf yarn-v$YARN_VERSION.tar.gz -C /opt/yarn --strip-components=1 \
&& ln -s /opt/yarn/bin/yarn /usr/local/bin/yarn \
&& ln -s /opt/yarn/bin/yarn /usr/local/bin/yarnpkg \
&& rm yarn-v$YARN_VERSION.tar.gz.asc yarn-v$YARN_VERSION.tar.gz \
&& npm config set unsafe-perm true -g --unsafe-perm \
&& rm -rf /tmp/*
CMD ["echo","'No CMD command was set in Dockerfile! Details about CMD command could be found in Dockerfile Guide section in our Docs. Here's the link: https://balena.io/docs"]
RUN curl -SLO "https://raw.githubusercontent.com/balena-io-library/base-images/8accad6af708fca7271c5c65f18a86782e19f877/scripts/assets/tests/[email protected]" \
&& echo "Running test-stack@node" \
&& chmod +x [email protected] \
&& bash [email protected] \
&& rm -rf [email protected]
RUN [ ! -d /.balena/messages ] && mkdir -p /.balena/messages; echo 'Here are a few details about this Docker image (For more information please visit https://www.balena.io/docs/reference/base-images/base-images/): \nArchitecture: ARM v8 \nOS: Ubuntu cosmic \nVariant: build variant \nDefault variable(s): UDEV=off \nThe following software stack is preinstalled: \nNode.js v10.24.0, Yarn v1.22.4 \nExtra features: \n- Easy way to install packages with `install_packages <package-name>` command \n- Run anywhere with cross-build feature (for ARM only) \n- Keep the container idling with `balena-idle` command \n- Show base image details with `balena-info` command' > /.balena/messages/image-info
RUN echo '#!/bin/sh.real\nbalena-info\nrm -f /bin/sh\ncp /bin/sh.real /bin/sh\n/bin/sh "$@"' > /bin/sh-shim \
&& chmod +x /bin/sh-shim \
&& cp /bin/sh /bin/sh.real \
&& mv /bin/sh-shim /bin/sh | {
"content_hash": "314bb65d85a32bc994587391234c5290",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 694,
"avg_line_length": 67.09756097560975,
"alnum_prop": 0.7102871683024354,
"repo_name": "nghiant2710/base-images",
"id": "4e3f7354c89a4cbef2232ad3eef43c2b11a8bfde",
"size": "2772",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "balena-base-images/node/jetson-xavier-nx-devkit/ubuntu/cosmic/10.24.0/build/Dockerfile",
"mode": "33188",
"license": "apache-2.0",
"language": [
{
"name": "Dockerfile",
"bytes": "144558581"
},
{
"name": "JavaScript",
"bytes": "16316"
},
{
"name": "Shell",
"bytes": "368690"
}
],
"symlink_target": ""
} |
PROJECT_ID=$1
IPV6_HACK=true
DRYRUN=${DRYRUN:-}
set +x
if [ "$IPV6_HACK" = "true" ]; then
# Workaround https://github.com/hashicorp/terraform-provider-google/issues/6782
sudo sysctl -w net.ipv6.conf.all.disable_ipv6=1 net.ipv6.conf.default.disable_ipv6=1 net.ipv6.conf.lo.disable_ipv6=1 > /dev/null
export APIS="googleapis.com www.googleapis.com storage.googleapis.com iam.googleapis.com container.googleapis.com cloudresourcemanager.googleapis.com"
for name in $APIS
do
ipv4=$(getent ahostsv4 "$name" | head -n 1 | awk '{ print $1 }')
grep -q "$name" /etc/hosts || ([ -n "$ipv4" ] && sudo sh -c "echo '$ipv4 $name' >> /etc/hosts")
done
# Workaround end
fi
set -x
pushd terraform/spez-example
terraform plan -destroy -var project=$PROJECT_ID -out=tf.plan
terraform apply -auto-approve tf.plan
rm -f tf.plan
popd
| {
"content_hash": "ffa0ed1a23f37983c4a53be1169883b6",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 154,
"avg_line_length": 33.92,
"alnum_prop": 0.6981132075471698,
"repo_name": "GoogleCloudPlatform/retail-common-services",
"id": "b579e9ec98f95c7423c29dcd91c1c2c0583043f4",
"size": "866",
"binary": false,
"copies": "1",
"ref": "refs/heads/main",
"path": "deploy/rcs-example-teardown.sh",
"mode": "33261",
"license": "apache-2.0",
"language": [
{
"name": "Dockerfile",
"bytes": "1969"
},
{
"name": "Groovy",
"bytes": "5040"
},
{
"name": "HCL",
"bytes": "21064"
},
{
"name": "Java",
"bytes": "239877"
},
{
"name": "Kotlin",
"bytes": "14947"
},
{
"name": "Python",
"bytes": "15343"
},
{
"name": "Shell",
"bytes": "12850"
}
],
"symlink_target": ""
} |
layout: page
title: About Me
---
Hello, I'm Sagang, a student at the University of California, Berkeley pursuing a degree in Computer Science.
## About This Site
This site is built using [Jekyll](https://jekyllrb.com/), and [Poole's](http://getpoole.com/) [Hyde](http://hyde.getpoole.com) theme. It is developed on GitHub using [GitHub Pages](https://pages.github.com).
| {
"content_hash": "89e8ea6bb82bf1a7e0152f3890a957dd",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 208,
"avg_line_length": 41.666666666666664,
"alnum_prop": 0.728,
"repo_name": "sagangwee/sagangwee.github.io",
"id": "725c62e8a4be73a3924c6e137d6ed7a8f680ed42",
"size": "379",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "about/index.md",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "APL",
"bytes": "587"
},
{
"name": "ASP",
"bytes": "636"
},
{
"name": "ActionScript",
"bytes": "5595"
},
{
"name": "Ada",
"bytes": "5145"
},
{
"name": "Agda",
"bytes": "3154"
},
{
"name": "Alloy",
"bytes": "6579"
},
{
"name": "AngelScript",
"bytes": "91"
},
{
"name": "AppleScript",
"bytes": "421"
},
{
"name": "Assembly",
"bytes": "3294"
},
{
"name": "Asymptote",
"bytes": "10210"
},
{
"name": "AutoHotkey",
"bytes": "3733"
},
{
"name": "AutoIt",
"bytes": "692"
},
{
"name": "Awk",
"bytes": "4528"
},
{
"name": "Batchfile",
"bytes": "6084"
},
{
"name": "BlitzBasic",
"bytes": "1824"
},
{
"name": "BlitzMax",
"bytes": "2387"
},
{
"name": "Boo",
"bytes": "1111"
},
{
"name": "Bro",
"bytes": "7337"
},
{
"name": "C",
"bytes": "108623"
},
{
"name": "C#",
"bytes": "17784"
},
{
"name": "C++",
"bytes": "79372"
},
{
"name": "CMake",
"bytes": "2127"
},
{
"name": "COBOL",
"bytes": "117432"
},
{
"name": "CSS",
"bytes": "183832"
},
{
"name": "Ceylon",
"bytes": "1387"
},
{
"name": "Chapel",
"bytes": "4366"
},
{
"name": "Cirru",
"bytes": "2574"
},
{
"name": "Clean",
"bytes": "2878"
},
{
"name": "Clojure",
"bytes": "23871"
},
{
"name": "CoffeeScript",
"bytes": "20149"
},
{
"name": "ColdFusion",
"bytes": "9263"
},
{
"name": "Common Lisp",
"bytes": "49017"
},
{
"name": "Coq",
"bytes": "66"
},
{
"name": "Cuda",
"bytes": "776"
},
{
"name": "D",
"bytes": "5475"
},
{
"name": "Dart",
"bytes": "591"
},
{
"name": "Dylan",
"bytes": "6343"
},
{
"name": "ECL",
"bytes": "2599"
},
{
"name": "Eiffel",
"bytes": "2145"
},
{
"name": "Elixir",
"bytes": "4340"
},
{
"name": "Erlang",
"bytes": "5746"
},
{
"name": "F#",
"bytes": "19734"
},
{
"name": "Factor",
"bytes": "10194"
},
{
"name": "Fancy",
"bytes": "2581"
},
{
"name": "Fantom",
"bytes": "25331"
},
{
"name": "Fortran",
"bytes": "27879"
},
{
"name": "GAP",
"bytes": "15760"
},
{
"name": "GLSL",
"bytes": "450"
},
{
"name": "Gherkin",
"bytes": "390"
},
{
"name": "Gnuplot",
"bytes": "10376"
},
{
"name": "Go",
"bytes": "172"
},
{
"name": "Golo",
"bytes": "1649"
},
{
"name": "Gosu",
"bytes": "2853"
},
{
"name": "Groovy",
"bytes": "2586"
},
{
"name": "HTML",
"bytes": "20099149"
},
{
"name": "Haskell",
"bytes": "49593"
},
{
"name": "Haxe",
"bytes": "16812"
},
{
"name": "Hy",
"bytes": "7237"
},
{
"name": "IDL",
"bytes": "2098"
},
{
"name": "Idris",
"bytes": "2771"
},
{
"name": "Inform 7",
"bytes": "2046"
},
{
"name": "Ioke",
"bytes": "469"
},
{
"name": "Isabelle",
"bytes": "21392"
},
{
"name": "Jasmin",
"bytes": "9428"
},
{
"name": "Java",
"bytes": "82240"
},
{
"name": "JavaScript",
"bytes": "17801"
},
{
"name": "Julia",
"bytes": "27687"
},
{
"name": "Kotlin",
"bytes": "971"
},
{
"name": "LSL",
"bytes": "160"
},
{
"name": "Lasso",
"bytes": "18650"
},
{
"name": "Lean",
"bytes": "6921"
},
{
"name": "Limbo",
"bytes": "9891"
},
{
"name": "Liquid",
"bytes": "862"
},
{
"name": "LiveScript",
"bytes": "972"
},
{
"name": "Logos",
"bytes": "306"
},
{
"name": "Logtalk",
"bytes": "7260"
},
{
"name": "Lua",
"bytes": "8677"
},
{
"name": "MQL4",
"bytes": "6230"
},
{
"name": "MQL5",
"bytes": "4866"
},
{
"name": "Makefile",
"bytes": "65407"
},
{
"name": "Mask",
"bytes": "855"
},
{
"name": "Mathematica",
"bytes": "191"
},
{
"name": "Modelica",
"bytes": "6213"
},
{
"name": "Modula-2",
"bytes": "23838"
},
{
"name": "Monkey",
"bytes": "2587"
},
{
"name": "Moocode",
"bytes": "3343"
},
{
"name": "MoonScript",
"bytes": "14862"
},
{
"name": "Myghty",
"bytes": "3939"
},
{
"name": "NSIS",
"bytes": "7663"
},
{
"name": "Nemerle",
"bytes": "1517"
},
{
"name": "NewLisp",
"bytes": "42726"
},
{
"name": "Nim",
"bytes": "37191"
},
{
"name": "Nit",
"bytes": "55581"
},
{
"name": "Nix",
"bytes": "2448"
},
{
"name": "OCaml",
"bytes": "42416"
},
{
"name": "Objective-C",
"bytes": "3385"
},
{
"name": "Objective-J",
"bytes": "15340"
},
{
"name": "Opa",
"bytes": "172"
},
{
"name": "OpenEdge ABL",
"bytes": "318"
},
{
"name": "PHP",
"bytes": "17354"
},
{
"name": "POV-Ray SDL",
"bytes": "436"
},
{
"name": "Pan",
"bytes": "1241"
},
{
"name": "Pascal",
"bytes": "84519"
},
{
"name": "Pawn",
"bytes": "6555"
},
{
"name": "Perl",
"bytes": "2714"
},
{
"name": "Perl 6",
"bytes": "49676"
},
{
"name": "PigLatin",
"bytes": "6657"
},
{
"name": "Pike",
"bytes": "8479"
},
{
"name": "PostScript",
"bytes": "8648"
},
{
"name": "PowerShell",
"bytes": "6127"
},
{
"name": "Prolog",
"bytes": "738"
},
{
"name": "Puppet",
"bytes": "130"
},
{
"name": "Python",
"bytes": "5093987"
},
{
"name": "QML",
"bytes": "3912"
},
{
"name": "R",
"bytes": "4057"
},
{
"name": "REXX",
"bytes": "862"
},
{
"name": "Racket",
"bytes": "11341"
},
{
"name": "Rebol",
"bytes": "1887"
},
{
"name": "Red",
"bytes": "10792"
},
{
"name": "Redcode",
"bytes": "830"
},
{
"name": "Roff",
"bytes": "47103"
},
{
"name": "Ruby",
"bytes": "98503"
},
{
"name": "Rust",
"bytes": "6788"
},
{
"name": "SaltStack",
"bytes": "1040"
},
{
"name": "Scala",
"bytes": "730"
},
{
"name": "Scheme",
"bytes": "46097"
},
{
"name": "Scilab",
"bytes": "943"
},
{
"name": "Shell",
"bytes": "112576"
},
{
"name": "ShellSession",
"bytes": "320"
},
{
"name": "Smali",
"bytes": "832"
},
{
"name": "Smalltalk",
"bytes": "156665"
},
{
"name": "SourcePawn",
"bytes": "130"
},
{
"name": "Stan",
"bytes": "2306"
},
{
"name": "Standard ML",
"bytes": "36869"
},
{
"name": "Swift",
"bytes": "2035"
},
{
"name": "SystemVerilog",
"bytes": "265"
},
{
"name": "Tea",
"bytes": "391"
},
{
"name": "TypeScript",
"bytes": "535"
},
{
"name": "VHDL",
"bytes": "4446"
},
{
"name": "Vim script",
"bytes": "16922"
},
{
"name": "Visual Basic",
"bytes": "17210"
},
{
"name": "XQuery",
"bytes": "4289"
},
{
"name": "XSLT",
"bytes": "755"
},
{
"name": "Xtend",
"bytes": "727"
},
{
"name": "Zephir",
"bytes": "485"
},
{
"name": "eC",
"bytes": "26388"
},
{
"name": "mupad",
"bytes": "2442"
},
{
"name": "nesC",
"bytes": "23697"
},
{
"name": "xBase",
"bytes": "3349"
}
],
"symlink_target": ""
} |
angular.module("umbraco").controller(
"ConfirmModalController",
function ($scope, modals) {
// ---
// PUBLIC METHODS.
// ---
// Wire the modal buttons into modal resolution actions.
$scope.close = modals.reject;
$scope.yes = modals.resolve;
}
); | {
"content_hash": "b526dcc2057915104229f3d0f38bc612",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 72,
"avg_line_length": 29.846153846153847,
"alnum_prop": 0.44329896907216493,
"repo_name": "ccasalicchio/UmbracoPackages",
"id": "129d3f3244e0c41404d024366f697b1276702d92",
"size": "390",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "App_Plugins/UmbracoFlare/backoffice/js/controllers/confirmModal.controller.js",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "ASP.NET",
"bytes": "15254"
},
{
"name": "C#",
"bytes": "238189"
},
{
"name": "CSS",
"bytes": "209484"
},
{
"name": "HTML",
"bytes": "637506"
},
{
"name": "JavaScript",
"bytes": "2831362"
},
{
"name": "Less",
"bytes": "54052"
},
{
"name": "SCSS",
"bytes": "124"
},
{
"name": "XSLT",
"bytes": "21153"
}
],
"symlink_target": ""
} |
module.exports = submodule
var npm = require("./npm.js")
, cache = require("./cache.js")
, git = require("./utils/git.js")
, asyncMap = require("slide").asyncMap
, chain = require("slide").chain
submodule.usage = "npm submodule <pkg>"
submodule.completion = require("./docs.js").completion
function submodule (args, cb) {
if (npm.config.get("global")) {
return cb(new Error("Cannot use submodule command in global mode."))
}
if (args.length === 0) return cb(submodule.usage)
asyncMap(args, function (arg, cb) {
cache.add(arg, null, null, false, cb)
}, function (er, pkgs) {
if (er) return cb(er)
chain(pkgs.map(function (pkg) { return function (cb) {
submodule_(pkg, cb)
}}), cb)
})
}
function submodule_ (pkg, cb) {
if (!pkg.repository
|| pkg.repository.type !== "git"
|| !pkg.repository.url) {
return cb(new Error(pkg._id + ": No git repository listed"))
}
// prefer https:// github urls
pkg.repository.url = pkg.repository.url
.replace(/^(git:\/\/)?(git@)?github.com[:\/]/, "https://github.com/")
// first get the list of submodules, and update if it's already there.
getSubmodules(function (er, modules) {
if (er) return cb(er)
// if there's already a submodule, then just update it.
if (modules.indexOf(pkg.name) !== -1) {
return updateSubmodule(pkg.name, cb)
}
addSubmodule(pkg.name, pkg.repository.url, cb)
})
}
function updateSubmodule (name, cb) {
var args = [ "submodule", "update", "--init", "node_modules/", name ]
git.whichAndExec(args, cb)
}
function addSubmodule (name, url, cb) {
var args = [ "submodule", "add", url, "node_modules/", name ]
git.whichAndExec(args, cb)
}
var getSubmodules = function (cb) {
var args = [ "submodule", "status" ]
git.whichAndExec(args, function _(er, stdout) {
if (er) return cb(er)
var res = stdout.trim().split(/\n/).map(function (line) {
return line.trim().split(/\s+/)[1]
}).filter(function (line) {
// only care about submodules in the node_modules folder.
return line && line.match(/^node_modules\//)
}).map(function (line) {
return line.replace(/^node_modules\//g, "")
})
// memoize.
getSubmodules = function (cb) { return cb(null, res) }
cb(null, res)
})
}
| {
"content_hash": "340c89e5060b999322f4ca219f63f445",
"timestamp": "",
"source": "github",
"line_count": 86,
"max_line_length": 73,
"avg_line_length": 26.837209302325583,
"alnum_prop": 0.6161178509532063,
"repo_name": "ronbelson/ghost-proxy-hebrew",
"id": "eab4d21b05cea95a56fdb908f5f48adfd285aecf",
"size": "2464",
"binary": false,
"copies": "2",
"ref": "refs/heads/master",
"path": "node_modules/npm/lib/submodule.js",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "CSS",
"bytes": "57161"
},
{
"name": "HTML",
"bytes": "34200"
},
{
"name": "Handlebars",
"bytes": "57843"
},
{
"name": "JavaScript",
"bytes": "4928805"
}
],
"symlink_target": ""
} |
::
:: Collect files to be installed to install directory
::
:: This file is part of the Sofia-SIP package
::
:: Copyright (C) 2006 Nokia Corporation.
::
:: Contact: Pekka Pessi <[email protected]>
::
:: This library is free software; you can redistribute it and/or
:: modify it under the terms of the GNU Lesser General Public License
:: as published by the Free Software Foundation; either version 2.1 of
:: the License, or (at your option) any later version.
::
:: This library is distributed in the hope that it will be useful, but
:: WITHOUT ANY WARRANTY; without even the implied warranty of
:: MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
:: Lesser General Public License for more details.
::
:: You should have received a copy of the GNU Lesser General Public
:: License along with this library; if not, write to the Free Software
:: Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
:: 02110-1301 USA
::
set name=sofia-sip
set major=1.11
set config=debug
:: Uncomment this if you want release
:: set config=release
set destdir=..\..\%name%-%major%-%config%
set includedir=%destdir%\include
set sofiadir=%includedir%\sofia-sip
set libdir=%destdir%\lib
mkdir %destdir% %includedir% %sofiadir% %libdir%
::
:: Copy docs
::
set docs=README AUTHORS COPYING COPYRIGHTS README.developers RELEASE TODO ChangeLog
for %%f in (%docs%) do xcopy /Y ..\%%f %destdir%
::
:: Copy headers
::
set SUBDIRS=su features bnf sresolv sdp url msg sip stun ipt soa tport http nta nea iptsec nth nua
xcopy /Y sofia-sip\*.h %sofiadir%
for %%s in (%SUBDIRS%) do xcopy /Y ..\libsofia-sip-ua\%%s\sofia-sip\*.h %sofiadir%
xcopy /Y pthread\.*.h %includedir%
::
:: Copy libraries
::
::xcopy /Y libsofia-sip-ua\%config%\libsofia_sip_ua.dll %libdir%
xcopy /Y libsofia-sip-ua\%config%\libsofia_sip_ua.lib %libdir%
xcopy /Y Pthread\*.dll %libdir%
xcopy /Y Pthread\*.lib %libdir%
| {
"content_hash": "4c2291109ac3d53276af0b4c185cb6a4",
"timestamp": "",
"source": "github",
"line_count": 62,
"max_line_length": 98,
"avg_line_length": 31.483870967741936,
"alnum_prop": 0.7008196721311475,
"repo_name": "ctdao/dektalk",
"id": "75457fd2cbd40b1fa8f649c6519509d524070c8a",
"size": "1952",
"binary": false,
"copies": "7",
"ref": "refs/heads/master",
"path": "mobile/ios/dependencies/sources/sofia-sip/win32/install.cmd",
"mode": "33188",
"license": "apache-2.0",
"language": [
{
"name": "Awk",
"bytes": "23946"
},
{
"name": "Batchfile",
"bytes": "17898"
},
{
"name": "C",
"bytes": "9627184"
},
{
"name": "C++",
"bytes": "759250"
},
{
"name": "CSS",
"bytes": "5343"
},
{
"name": "DIGITAL Command Language",
"bytes": "2203"
},
{
"name": "HTML",
"bytes": "69657"
},
{
"name": "Java",
"bytes": "15757"
},
{
"name": "JavaScript",
"bytes": "4035756"
},
{
"name": "M4",
"bytes": "57006"
},
{
"name": "Makefile",
"bytes": "1304665"
},
{
"name": "Matlab",
"bytes": "1808"
},
{
"name": "Objective-C",
"bytes": "322281"
},
{
"name": "Objective-C++",
"bytes": "164601"
},
{
"name": "Python",
"bytes": "32811"
},
{
"name": "Roff",
"bytes": "934560"
},
{
"name": "Shell",
"bytes": "321097"
}
],
"symlink_target": ""
} |
<?php
namespace PHPExiftool\Driver\Tag\DICOM;
use JMS\Serializer\Annotation\ExclusionPolicy;
use PHPExiftool\Driver\AbstractTag;
/**
* @ExclusionPolicy("all")
*/
class DetectorActiveOrigin extends AbstractTag
{
protected $Id = '0018,7028';
protected $Name = 'DetectorActiveOrigin';
protected $FullName = 'DICOM::Main';
protected $GroupName = 'DICOM';
protected $g0 = 'DICOM';
protected $g1 = 'DICOM';
protected $g2 = 'Image';
protected $Type = '?';
protected $Writable = false;
protected $Description = 'Detector Active Origin';
}
| {
"content_hash": "31c7506d3a9ba37cc30b45e87533288d",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 54,
"avg_line_length": 16.36111111111111,
"alnum_prop": 0.6689303904923599,
"repo_name": "bburnichon/PHPExiftool",
"id": "8881af6876bc29018fc6a91d02381113feea8c9c",
"size": "813",
"binary": false,
"copies": "2",
"ref": "refs/heads/master",
"path": "lib/PHPExiftool/Driver/Tag/DICOM/DetectorActiveOrigin.php",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "PHP",
"bytes": "22076400"
}
],
"symlink_target": ""
} |
package org.apache.druid.query;
import com.fasterxml.jackson.core.type.TypeReference;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.google.common.annotations.VisibleForTesting;
import com.google.common.base.Preconditions;
import org.apache.druid.java.util.common.ISE;
import org.apache.druid.java.util.common.guava.BaseSequence;
import org.apache.druid.java.util.common.guava.BaseSequence.IteratorMaker;
import org.apache.druid.java.util.common.guava.MergeSequence;
import org.apache.druid.java.util.common.guava.Sequence;
import org.apache.druid.java.util.common.guava.Yielder;
import org.apache.druid.java.util.common.guava.YieldingAccumulator;
import org.apache.druid.java.util.common.guava.YieldingSequenceBase;
import org.apache.druid.java.util.common.logger.Logger;
import org.apache.druid.query.context.ResponseContext;
import org.apache.druid.query.context.ResponseContext.Keys;
import org.apache.druid.segment.SegmentMissingException;
import java.util.Collections;
import java.util.Iterator;
import java.util.List;
import java.util.NoSuchElementException;
import java.util.concurrent.ConcurrentHashMap;
import java.util.function.BiFunction;
public class RetryQueryRunner<T> implements QueryRunner<T>
{
private static final Logger LOG = new Logger(RetryQueryRunner.class);
private final QueryRunner<T> baseRunner;
private final BiFunction<Query<T>, List<SegmentDescriptor>, QueryRunner<T>> retryRunnerCreateFn;
private final RetryQueryRunnerConfig config;
private final ObjectMapper jsonMapper;
/**
* Runnable executed after the broker creates the query distribution tree for the first attempt. This is only
* for testing and must not be used in production code.
*/
private final Runnable runnableAfterFirstAttempt;
private int totalNumRetries;
public RetryQueryRunner(
QueryRunner<T> baseRunner,
BiFunction<Query<T>, List<SegmentDescriptor>, QueryRunner<T>> retryRunnerCreateFn,
RetryQueryRunnerConfig config,
ObjectMapper jsonMapper
)
{
this(baseRunner, retryRunnerCreateFn, config, jsonMapper, () -> {});
}
/**
* Constructor only for testing.
*/
@VisibleForTesting
RetryQueryRunner(
QueryRunner<T> baseRunner,
BiFunction<Query<T>, List<SegmentDescriptor>, QueryRunner<T>> retryRunnerCreateFn,
RetryQueryRunnerConfig config,
ObjectMapper jsonMapper,
Runnable runnableAfterFirstAttempt
)
{
this.baseRunner = baseRunner;
this.retryRunnerCreateFn = retryRunnerCreateFn;
this.config = config;
this.jsonMapper = jsonMapper;
this.runnableAfterFirstAttempt = runnableAfterFirstAttempt;
}
@VisibleForTesting
int getTotalNumRetries()
{
return totalNumRetries;
}
@Override
public Sequence<T> run(final QueryPlus<T> queryPlus, final ResponseContext context)
{
// Calling baseRunner.run() (which is SpecificQueryRunnable.run()) in the RetryingSequenceIterator
// could be better because we can minimize the chance that data servers report missing segments as
// we construct the query distribution tree when the query processing is actually started.
// However, we call baseRunner.run() here instead where it's executed while constructing a query plan.
// This is because ResultLevelCachingQueryRunner requires to compute the cache key based on
// the segments to query which is computed in SpecificQueryRunnable.run().
final Sequence<T> baseSequence = baseRunner.run(queryPlus, context);
// runnableAfterFirstAttempt is only for testing, it must be no-op for production code.
runnableAfterFirstAttempt.run();
return new YieldingSequenceBase<T>()
{
@Override
public <OutType> Yielder<OutType> toYielder(OutType initValue, YieldingAccumulator<OutType, T> accumulator)
{
final Sequence<Sequence<T>> retryingSequence = new BaseSequence<>(
new IteratorMaker<Sequence<T>, RetryingSequenceIterator>()
{
@Override
public RetryingSequenceIterator make()
{
return new RetryingSequenceIterator(queryPlus, context, baseSequence);
}
@Override
public void cleanup(RetryingSequenceIterator iterFromMake)
{
totalNumRetries = iterFromMake.retryCount;
}
}
);
return new MergeSequence<>(queryPlus.getQuery().getResultOrdering(), retryingSequence)
.toYielder(initValue, accumulator);
}
};
}
private List<SegmentDescriptor> getMissingSegments(QueryPlus<T> queryPlus, final ResponseContext context)
{
// Sanity check before retrieving missingSegments from responseContext.
// The missingSegments in the responseContext is only valid when all servers have responded to the broker.
// The remainingResponses MUST be not null but 0 in the responseContext at this point.
final ConcurrentHashMap<String, Integer> idToRemainingResponses =
Preconditions.checkNotNull(
context.getRemainingResponses(),
"%s in responseContext",
Keys.REMAINING_RESPONSES_FROM_QUERY_SERVERS.getName()
);
final int remainingResponses = Preconditions.checkNotNull(
idToRemainingResponses.get(queryPlus.getQuery().getMostSpecificId()),
"Number of remaining responses for query[%s]",
queryPlus.getQuery().getMostSpecificId()
);
if (remainingResponses > 0) {
throw new ISE("Failed to check missing segments due to missing responses from [%d] servers", remainingResponses);
}
// TODO: the sender's response may contain a truncated list of missing segments.
// Truncation is aggregated in the response context given as a parameter.
// Check the getTruncated() value: if true, then the we don't know the full set of
// missing segments.
final List<SegmentDescriptor> maybeMissingSegments = context.getMissingSegments();
if (maybeMissingSegments == null) {
return Collections.emptyList();
}
return jsonMapper.convertValue(
maybeMissingSegments,
new TypeReference<List<SegmentDescriptor>>()
{
}
);
}
/**
* A lazy iterator populating a {@link Sequence} by retrying the query. The first returned sequence is always the base
* sequence from the baseQueryRunner. Subsequent sequences are created dynamically whenever it retries the query. All
* the sequences populated by this iterator will be merged (not combined) with the base sequence.
*
* The design of this iterator depends on how {@link MergeSequence} works; the MergeSequence pops an item from
* each underlying sequence and pushes them to a {@link java.util.PriorityQueue}. Whenever it pops from the queue,
* it pushes a new item from the sequence where the returned item was originally from. Since the first returned
* sequence from this iterator is always the base sequence, the MergeSequence will call {@link Sequence#toYielder}
* on the base sequence first which in turn initializes the query distribution tree. Once this tree is built, the query
* servers (historicals and realtime tasks) will lock all segments to read and report missing segments to the broker.
* If there are missing segments reported, this iterator will rewrite the query with those reported segments and
* reissue the rewritten query.
*
* @see org.apache.druid.client.CachingClusteredClient
* @see org.apache.druid.client.DirectDruidClient
*/
private class RetryingSequenceIterator implements Iterator<Sequence<T>>
{
private final QueryPlus<T> queryPlus;
private final ResponseContext context;
private Sequence<T> sequence;
private int retryCount = 0;
private RetryingSequenceIterator(
QueryPlus<T> queryPlus,
ResponseContext context,
Sequence<T> baseSequence
)
{
this.queryPlus = queryPlus;
this.context = context;
this.sequence = baseSequence;
}
@Override
public boolean hasNext()
{
if (sequence != null) {
return true;
} else {
final List<SegmentDescriptor> missingSegments = getMissingSegments(queryPlus, context);
final int maxNumRetries = QueryContexts.getNumRetriesOnMissingSegments(
queryPlus.getQuery(),
config.getNumTries()
);
if (missingSegments.isEmpty()) {
return false;
} else if (retryCount >= maxNumRetries) {
if (!QueryContexts.allowReturnPartialResults(queryPlus.getQuery(), config.isReturnPartialResults())) {
throw new SegmentMissingException("No results found for segments[%s]", missingSegments);
} else {
return false;
}
} else {
retryCount++;
LOG.info("[%,d] missing segments found. Retry attempt [%,d]", missingSegments.size(), retryCount);
context.initializeMissingSegments();
final QueryPlus<T> retryQueryPlus = queryPlus.withQuery(
Queries.withSpecificSegments(queryPlus.getQuery(), missingSegments)
);
sequence = retryRunnerCreateFn.apply(retryQueryPlus.getQuery(), missingSegments).run(retryQueryPlus, context);
return true;
}
}
}
@Override
public Sequence<T> next()
{
if (!hasNext()) {
throw new NoSuchElementException();
}
final Sequence<T> next = sequence;
sequence = null;
return next;
}
}
}
| {
"content_hash": "1a0f7ae94c9706988853357149cb655c",
"timestamp": "",
"source": "github",
"line_count": 239,
"max_line_length": 121,
"avg_line_length": 39.83682008368201,
"alnum_prop": 0.7122151034555194,
"repo_name": "nishantmonu51/druid",
"id": "9302763d3e5f134685473848787c67f987619c65",
"size": "10328",
"binary": false,
"copies": "2",
"ref": "refs/heads/master",
"path": "server/src/main/java/org/apache/druid/query/RetryQueryRunner.java",
"mode": "33188",
"license": "apache-2.0",
"language": [
{
"name": "ANTLR",
"bytes": "5547"
},
{
"name": "CSS",
"bytes": "3878"
},
{
"name": "Dockerfile",
"bytes": "8937"
},
{
"name": "FreeMarker",
"bytes": "5193"
},
{
"name": "HTML",
"bytes": "2536"
},
{
"name": "Java",
"bytes": "37882426"
},
{
"name": "JavaScript",
"bytes": "61017"
},
{
"name": "Makefile",
"bytes": "659"
},
{
"name": "PostScript",
"bytes": "5"
},
{
"name": "Python",
"bytes": "72969"
},
{
"name": "R",
"bytes": "17002"
},
{
"name": "Roff",
"bytes": "3617"
},
{
"name": "SCSS",
"bytes": "117054"
},
{
"name": "Shell",
"bytes": "87161"
},
{
"name": "Smarty",
"bytes": "3517"
},
{
"name": "Stylus",
"bytes": "7682"
},
{
"name": "TeX",
"bytes": "399468"
},
{
"name": "Thrift",
"bytes": "1003"
},
{
"name": "TypeScript",
"bytes": "1308608"
}
],
"symlink_target": ""
} |
package org.elasticsearch.test;
import com.google.common.collect.Lists;
import org.elasticsearch.action.admin.cluster.node.info.NodeInfo;
import org.elasticsearch.action.admin.cluster.node.info.NodesInfoResponse;
import org.elasticsearch.action.admin.cluster.node.stats.NodeStats;
import org.elasticsearch.action.admin.cluster.node.stats.NodesStatsResponse;
import org.elasticsearch.client.Client;
import org.elasticsearch.client.transport.TransportClient;
import org.elasticsearch.cluster.node.DiscoveryNode;
import org.elasticsearch.common.breaker.CircuitBreaker;
import org.elasticsearch.common.collect.Tuple;
import org.elasticsearch.common.logging.ESLogger;
import org.elasticsearch.common.logging.Loggers;
import org.elasticsearch.common.settings.ImmutableSettings;
import org.elasticsearch.common.settings.Settings;
import org.elasticsearch.common.transport.InetSocketTransportAddress;
import org.elasticsearch.common.transport.TransportAddress;
import org.elasticsearch.env.Environment;
import org.elasticsearch.node.internal.InternalSettingsPreparer;
import java.io.IOException;
import java.net.InetSocketAddress;
import java.util.Iterator;
import static junit.framework.Assert.assertFalse;
import static org.hamcrest.Matchers.equalTo;
import static org.junit.Assert.assertThat;
/**
* External cluster to run the tests against.
* It is a pure immutable test cluster that allows to send requests to a pre-existing cluster
* and supports by nature all the needed test operations like wipeIndices etc.
*/
public final class ExternalTestCluster extends TestCluster {
private final ESLogger logger = Loggers.getLogger(getClass());
private final Client client;
private final InetSocketAddress[] httpAddresses;
private final String clusterName;
private final int numDataNodes;
private final int numBenchNodes;
public ExternalTestCluster(TransportAddress... transportAddresses) {
Settings clientSettings = ImmutableSettings.settingsBuilder()
.put("client.transport.ignore_cluster_name", true)
.put("node.mode", "network").build(); // we require network here!
// verify that the end node setting will have network enabled.
Tuple<Settings, Environment> finalSettings = InternalSettingsPreparer.prepareSettings(clientSettings, true);
assertFalse("testing against an external cluster must run in network mode. You probably have a system property overriding the test settings.",
DiscoveryNode.localNode(finalSettings.v1()));
this.client = new TransportClient(clientSettings).addTransportAddresses(transportAddresses);
NodesInfoResponse nodeInfos = this.client.admin().cluster().prepareNodesInfo().clear().setSettings(true).setHttp(true).get();
httpAddresses = new InetSocketAddress[nodeInfos.getNodes().length];
this.clusterName = nodeInfos.getClusterName().value();
int dataNodes = 0;
int benchNodes = 0;
for (int i = 0; i < nodeInfos.getNodes().length; i++) {
NodeInfo nodeInfo = nodeInfos.getNodes()[i];
httpAddresses[i] = ((InetSocketTransportAddress) nodeInfo.getHttp().address().publishAddress()).address();
if (nodeInfo.getSettings().getAsBoolean("node.data", true)) {
dataNodes++;
}
if (nodeInfo.getSettings().getAsBoolean("node.bench", false)) {
benchNodes++;
}
}
this.numDataNodes = dataNodes;
this.numBenchNodes = benchNodes;
logger.info("Setup ExternalTestCluster [{}] made of [{}] nodes", nodeInfos.getClusterName().value(), size());
}
@Override
public void afterTest() {
}
@Override
public Client client() {
return client;
}
@Override
public int size() {
return httpAddresses.length;
}
@Override
public int numDataNodes() {
return numDataNodes;
}
@Override
public int numBenchNodes() {
return numBenchNodes;
}
@Override
public InetSocketAddress[] httpAddresses() {
return httpAddresses;
}
@Override
public void close() throws IOException {
client.close();
}
@Override
public void ensureEstimatedStats() {
if (size() > 0) {
NodesStatsResponse nodeStats = client().admin().cluster().prepareNodesStats()
.clear().setBreaker(true).setIndices(true).execute().actionGet();
for (NodeStats stats : nodeStats.getNodes()) {
assertThat("Fielddata breaker not reset to 0 on node: " + stats.getNode(),
stats.getBreaker().getStats(CircuitBreaker.Name.FIELDDATA).getEstimated(), equalTo(0L));
// ExternalTestCluster does not check the request breaker,
// because checking it requires a network request, which in
// turn increments the breaker, making it non-0
assertThat("Fielddata size must be 0 on node: " + stats.getNode(), stats.getIndices().getFieldData().getMemorySizeInBytes(), equalTo(0l));
assertThat("Filter cache size must be 0 on node: " + stats.getNode(), stats.getIndices().getFilterCache().getMemorySizeInBytes(), equalTo(0l));
assertThat("FixedBitSet cache size must be 0 on node: " + stats.getNode(), stats.getIndices().getSegments().getFixedBitSetMemoryInBytes(), equalTo(0l));
}
}
}
@Override
public Iterator<Client> iterator() {
return Lists.newArrayList(client).iterator();
}
@Override
public boolean hasFilterCache() {
return true; // default
}
@Override
public String getClusterName() {
return clusterName;
}
}
| {
"content_hash": "3c6711f2f401f6e9b6e2692387f83bdd",
"timestamp": "",
"source": "github",
"line_count": 151,
"max_line_length": 168,
"avg_line_length": 38.264900662251655,
"alnum_prop": 0.6915887850467289,
"repo_name": "dmiszkiewicz/elasticsearch",
"id": "64838887ad1aae563464da8935135395474a6ae7",
"size": "6566",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "src/test/java/org/elasticsearch/test/ExternalTestCluster.java",
"mode": "33188",
"license": "apache-2.0",
"language": [],
"symlink_target": ""
} |
#ifndef PSOC6_IPCPIPE_TRANSPORT_DRIVER_H_
#define PSOC6_IPCPIPE_TRANSPORT_DRIVER_H_
#include <stdint.h>
#include "mbed.h"
#include "CordioHCITransportDriver.h"
namespace ble {
namespace vendor {
namespace cypress {
using namespace ble::vendor;
/**
* Implementation of the H4 driver over PSoC6 IPC pipe.
*/
class IPCPipeTransportDriver : public cordio::CordioHCITransportDriver {
public:
/**
* Initialize the transport driver.
*
*/
IPCPipeTransportDriver();
/**
* Destructor
*/
virtual ~IPCPipeTransportDriver() { }
/**
* @see CordioHCITransportDriver::initialize
*/
virtual void initialize();
/**
* @see CordioHCITransportDriver::terminate
*/
virtual void terminate();
/**
* @see CordioHCITransportDriver::write
*/
virtual uint16_t write(uint8_t type, uint16_t len, uint8_t *pData);
private:
};
} // namespace cypress
} // namespace vendor
} // namespace ble
#endif /* PSOC6_IPCPIPE_TRANSPORT_DRIVER_H_ */
| {
"content_hash": "809bb2dc0a70f45f7f7d06b335e66a06",
"timestamp": "",
"source": "github",
"line_count": 56,
"max_line_length": 72,
"avg_line_length": 18.178571428571427,
"alnum_prop": 0.6601178781925344,
"repo_name": "andcor02/mbed-os",
"id": "02f7fe69e0fa7c2cef9c313be40bbb0d093833b5",
"size": "1738",
"binary": false,
"copies": "16",
"ref": "refs/heads/master",
"path": "features/FEATURE_BLE/targets/TARGET_Cypress/TARGET_CY8C63XX/drivers/IPCPipeTransportDriver.h",
"mode": "33188",
"license": "apache-2.0",
"language": [
{
"name": "Assembly",
"bytes": "6601399"
},
{
"name": "Batchfile",
"bytes": "22"
},
{
"name": "C",
"bytes": "295194591"
},
{
"name": "C++",
"bytes": "9038670"
},
{
"name": "CMake",
"bytes": "5285"
},
{
"name": "HTML",
"bytes": "2063156"
},
{
"name": "Makefile",
"bytes": "103497"
},
{
"name": "Objective-C",
"bytes": "460244"
},
{
"name": "Perl",
"bytes": "2589"
},
{
"name": "Python",
"bytes": "38809"
},
{
"name": "Shell",
"bytes": "16862"
},
{
"name": "XSLT",
"bytes": "5596"
}
],
"symlink_target": ""
} |
layout: post
title: "Revamping Curriculum"
description: "Time to focus on Javascript."
headline:
category: Bootcamp
tags: [Technical, Curriculum, Incoming Students]
image:
feature:
comments: true
mathjax:
---
We'll be making some major changes to the curriculm at Coder Camps in the following months, starting with more JavaScript. This will be a huge challenge for me, becuase I don't know all the corners of JS. Taking a challenge like this head on will help me develop better skills, so it's a great place to try to strengthen areas where I'm weak.
We will be integrating a main framework, but haven't officially decided which one we will teach. Some of the javascript frameworks are vastly more complex than others, so I'd like to pick one that's easy to teach with a short learning curve.
I really think that focusing on the JS fundamentals will yield the best result for our students. Steering clear of teaching JQuery may be a first step. Without JQuery, I think our students would be better C# developers as well, because the syntax is very similar.
We'll keep trying new things with each class, and see what works. | {
"content_hash": "21515715923d34d4e0c3326b43ed1b79",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 342,
"avg_line_length": 62.94444444444444,
"alnum_prop": 0.7837599293909974,
"repo_name": "brassington/brassington.github.io",
"id": "b8195c45aba550cece5ca9f1846d703dee7fa2cd",
"size": "1137",
"binary": false,
"copies": "2",
"ref": "refs/heads/master",
"path": "_posts/2014-01-16-revamping-curriculum.md",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "CSS",
"bytes": "69556"
},
{
"name": "HTML",
"bytes": "75551"
},
{
"name": "JavaScript",
"bytes": "52215"
},
{
"name": "Ruby",
"bytes": "156"
}
],
"symlink_target": ""
} |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "45e0d4faa2e6f3335be4808ded139694",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "36dbe167e90129762a90256b52839c1d6cd19fde",
"size": "185",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "life/Plantae/Magnoliophyta/Magnoliopsida/Gentianales/Gentianaceae/Centaurodes/Centaurodes quitense/README.md",
"mode": "33188",
"license": "apache-2.0",
"language": [],
"symlink_target": ""
} |
namespace NativeCode.Sqlite.QueryBuilder.Statements
{
using System;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using System.Text;
using NativeCode.Sqlite.QueryBuilder.Extensions;
[SuppressMessage("StyleCop.CSharp.ReadabilityRules", "SA1126:PrefixCallsCorrectly", Justification = "Reviewed. Suppression is OK here.")]
public class WhereStatement : QueryStatement
{
private static readonly Type[] AllowedStatements = { typeof(DeleteStatement), typeof(SelectStatement), typeof(UpdateStatement) };
public WhereStatement(EntityTable table) : base("WHERE", table)
{
}
public override bool CanBeginStatement(QueryStatement current)
{
return AllowedStatements.Contains(current.GetType());
}
protected internal override void WriteTo(StringBuilder template, QueryStatement parent)
{
var aliases = !(parent is UpdateStatement || parent is InsertStatement);
template.AppendLine();
template.Append(this.Keyword);
template.Append(Space);
template.Append(aliases ? this.GetFilterStringWithAlias() : this.GetFilterString());
}
private static string GetFilterComparison(EntityColumnFilter filter, string result, bool last)
{
if (filter.Comparison != FilterComparison.IsNotNull && filter.Comparison != FilterComparison.IsNull)
{
var value = filter.Column.Tokenize();
if (filter.Column.IsQuotable)
{
value = value.QuoteString();
}
result += Space + value;
}
if (!last)
{
result += Space + filter.Condition.Stringify() + Space;
}
return result;
}
private string GetFilterString()
{
var result = string.Empty;
for (var index = 0; index < this.Filterables.Count; index++)
{
var filter = this.Filterables[index];
var last = index == this.Filterables.Count - 1;
result += filter.Column.Name + Space + filter.Comparison.Stringify();
result = GetFilterComparison(filter, result, last);
}
return result;
}
private string GetFilterStringWithAlias()
{
var result = string.Empty;
for (var index = 0; index < this.Filterables.Count; index++)
{
var filter = this.Filterables[index];
var last = index == this.Filterables.Count - 1;
result += filter.Column.GetName(false) + Space + filter.Comparison.Stringify();
result = GetFilterComparison(filter, result, last);
}
return result;
}
}
} | {
"content_hash": "66209662e3552e8d52ee0d7cab7afa47",
"timestamp": "",
"source": "github",
"line_count": 88,
"max_line_length": 141,
"avg_line_length": 32.90909090909091,
"alnum_prop": 0.5783839779005525,
"repo_name": "nativecode-dev/sqlitenet-querybuilder",
"id": "621569bb223dfe53f7649a05837496ad686bfc3b",
"size": "2898",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "src/NativeCode.Sqlite.QueryBuilder/Statements/WhereStatement.cs",
"mode": "33188",
"license": "apache-2.0",
"language": [
{
"name": "C#",
"bytes": "46270"
}
],
"symlink_target": ""
} |
function SingInWindow() {
//var tabGroup = Titanium.UI.createTabGroup();
var win = Titanium.UI.createWindow({
title : L('singin'),
tabBarHidden : true,
backgroundColor : "black"
});
win = Titanium.UI.createWindow({
backgroundImage : '/images/background.png',
id : "window1"
});
var scrollView = Ti.UI.createScrollView({
contentWidth : 'auto',
contentHeight : 'auto',
showVerticalScrollIndicator : true,
showHorizontalScrollIndicator : true,
top : 0,
height : '100%',
width : '100%',
layout : 'vertical'
});
var eMobile = Ti.UI.createView({
//backgroundColor : '#333333',
backgroundImage : '/images/eMobile.png',
width : "45%",
height : '8%',
top : 5,
left : 1
/*bottom : {
x : '50%',
y : '50%'
}*/
});
scrollView.add(eMobile);
/*var tab = Titanium.UI.createTab({
title : L('singin'),
window : win
});
tabGroup.addTab(tab);
tabGroup.open();*/
var userName = Titanium.UI.createLabel({
text : Ti.Locale.getString('username'),
top : 35,
//left : 10,
width : Ti.UI.SIZE,
height : Ti.UI.SIZE,
verticalAlign : 'center',
font : {
fontSize : '16dp'
},
color : '#302e2f'
//width : 'auto',
//height : 'auto'
});
scrollView.add(userName);
var usernameField = Titanium.UI.createTextField({
color : '#336699',
top : 10,
//left : 10,
//right : 0,
verticalAlign : 'center',
width : "65%",
value : 'driver1chi',
keyboardType : Titanium.UI.KEYBOARD_DEFAULT,
returnKeyType : Titanium.UI.RETURNKEY_DEFAULT,
borderStyle : Titanium.UI.INPUT_BORDERSTYLE_ROUNDED,
verticalAlign : 'center',
font : {
fontSize : '16dp'
}
});
scrollView.add(usernameField);
var passWord = Titanium.UI.createLabel({
color : '#302e2f',
text : Ti.Locale.getString('password'),
top : 0,
//left : 10,
//right : 0,
verticalAlign : 'center',
width : 'auto',
height : 'auto',
verticalAlign : 'center',
font : {
fontSize : '16dp'
},
color : '#302e2f'
});
scrollView.add(passWord);
var passwordField = Titanium.UI.createTextField({
color : '#336699',
top : 0,
//left : 10,
//right : 0,
verticalAlign : 'center',
width : "65%",
value : 'Password1',
passwordMask : true,
keyboardType : Titanium.UI.KEYBOARD_DEFAULT,
returnKeyType : Titanium.UI.RETURNKEY_DEFAULT,
borderStyle : Titanium.UI.INPUT_BORDERSTYLE_ROUNDED,
verticalAlign : 'center',
font : {
fontSize : '16dp'
}
});
scrollView.add(passwordField);
var loginButton = Titanium.UI.createButton({
title : L('singin'),
top : 20,
//left : 10,
//right : 0,
width : "65%",
borderRadius : 1,
verticalAlign : 'center',
font : {
fontFamily : 'Arial',
fontWeight : 'bold',
fontSize : '20%'
}
});
scrollView.add(loginButton);
loginButton.addEventListener('click', function(e) {
var indicatorWindow = require('CreateIndicatorWindow');
var indicator = indicatorWindow.CreateIndicatorWindow();
indicator.openIndicator();
var username = usernameField.value;
var password = passwordField.value;
var netWork = require('lib/network');
netWork.singIn(username, password, function(response) {
var validLogin = false;
validLogin = response;
if (validLogin) {
if (Ti.App.Properties.getString('user') != 'undefined') {
(function() {
var osname = Ti.Platform.osname, version = Ti.Platform.version, height = Ti.Platform.displayCaps.platformHeight, width = Ti.Platform.displayCaps.platformWidth;
var isTablet = osname === 'ipad' || (osname === 'android' && (width > 899 || height > 899));
var Window;
if (isTablet) {
Window = require('ui/tablet/ApplicationWindow');
} else {
Window = require('ui/handheld/ApplicationWindow');
}
indicator.closeIndicator();
var ApplicationTabGroup = require('ui/common/ApplicationTabGroup');
new ApplicationTabGroup(Window).open();
})();
} else {
//alert(L('loginerror'));
indicator.closeIndicator();
}
} else if (response == false) {
alert(L('loginerror'));
indicator.closeIndicator();
}
});
});
imageViewItStaff = Titanium.UI.createImageView({
backgroundImage : "/images/staff_logo.png",
verticalAlign : 'center',
width : "80%",
height : '25%',
bottom : 5,
top : 50
});
scrollView.add(imageViewItStaff);
eMobile.addEventListener('click', function(e) {
Ti.Platform.openURL("http://emobile.com.mx/");
});
win.navBarHidden = true;
win.add(scrollView);
return win;
};
module.exports = SingInWindow;
| {
"content_hash": "ac2b4531321a403c1400418a492a5f04",
"timestamp": "",
"source": "github",
"line_count": 193,
"max_line_length": 165,
"avg_line_length": 23.378238341968913,
"alnum_prop": 0.637854609929078,
"repo_name": "alexjabf/itstaff-movil",
"id": "b78f380469a8aa10d4e2b43a31e8ab52240ab2f1",
"size": "4512",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "Resources/ui/tablet/SingInWindow.js",
"mode": "33188",
"license": "apache-2.0",
"language": [
{
"name": "CSS",
"bytes": "1276"
},
{
"name": "JavaScript",
"bytes": "76979"
},
{
"name": "Perl",
"bytes": "3732"
},
{
"name": "Shell",
"bytes": "203"
}
],
"symlink_target": ""
} |
/*
MIT License http://www.opensource.org/licenses/mit-license.php
*/
"use strict";
const RuntimeGlobals = require("../RuntimeGlobals");
const Template = require("../Template");
const HelperRuntimeModule = require("./HelperRuntimeModule");
class CreateFakeNamespaceObjectRuntimeModule extends HelperRuntimeModule {
constructor() {
super("create fake namespace object");
}
/**
* @returns {string} runtime code
*/
generate() {
const { runtimeTemplate } = this.compilation;
const modern =
runtimeTemplate.supportsArrowFunction() &&
runtimeTemplate.supportsConst();
const fn = RuntimeGlobals.createFakeNamespaceObject;
return Template.asString([
`var getProto = Object.getPrototypeOf ? ${runtimeTemplate.returningFunction(
"Object.getPrototypeOf(obj)",
"obj"
)} : ${runtimeTemplate.returningFunction("obj.__proto__", "obj")};`,
"var leafPrototypes;",
"// create a fake namespace object",
"// mode & 1: value is a module id, require it",
"// mode & 2: merge all properties of value into the ns",
"// mode & 4: return value when already ns object",
"// mode & 16: return value when it's Promise-like",
"// mode & 8|1: behave like require",
// Note: must be a function (not arrow), because this is used in body!
`${fn} = function(value, mode) {`,
Template.indent([
`if(mode & 1) value = this(value);`,
`if(mode & 8) return value;`,
"if(typeof value === 'object' && value) {",
Template.indent([
"if((mode & 4) && value.__esModule) return value;",
"if((mode & 16) && typeof value.then === 'function') return value;"
]),
"}",
"var ns = Object.create(null);",
`${RuntimeGlobals.makeNamespaceObject}(ns);`,
"var def = {};",
"leafPrototypes = leafPrototypes || [null, getProto({}), getProto([]), getProto(getProto)];",
"for(var current = mode & 2 && value; typeof current == 'object' && !~leafPrototypes.indexOf(current); current = getProto(current)) {",
Template.indent([
modern
? `Object.getOwnPropertyNames(current).forEach(key => def[key] = () => value[key]);`
: `Object.getOwnPropertyNames(current).forEach(function(key) { def[key] = function() { return value[key]; }; });`
]),
"}",
modern
? "def['default'] = () => value;"
: "def['default'] = function() { return value; };",
`${RuntimeGlobals.definePropertyGetters}(ns, def);`,
"return ns;"
]),
"};"
]);
}
}
module.exports = CreateFakeNamespaceObjectRuntimeModule;
| {
"content_hash": "0b20bfe854c66cb8ab09ec507c3e4f2c",
"timestamp": "",
"source": "github",
"line_count": 70,
"max_line_length": 139,
"avg_line_length": 35.642857142857146,
"alnum_prop": 0.6368737474949899,
"repo_name": "jarv/cmdchallenge",
"id": "83506677ee4a665a66d750ea705acc8e507d660a",
"size": "2495",
"binary": false,
"copies": "4",
"ref": "refs/heads/master",
"path": "node_modules/webpack/lib/runtime/CreateFakeNamespaceObjectRuntimeModule.js",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "Go",
"bytes": "9107"
},
{
"name": "Makefile",
"bytes": "1117"
},
{
"name": "Python",
"bytes": "10274"
},
{
"name": "Roff",
"bytes": "11314"
},
{
"name": "Shell",
"bytes": "3325"
}
],
"symlink_target": ""
} |
package com.norwand.game.desktop;
import com.badlogic.gdx.Files.FileType;
import com.badlogic.gdx.backends.lwjgl.LwjglApplication;
import com.badlogic.gdx.backends.lwjgl.LwjglApplicationConfiguration;
import com.norwand.game.MainGame;
/** The main launcher for the desktop application. */
public class DesktopLauncher {
public static void main(String[] arg) {
LwjglApplicationConfiguration config = new LwjglApplicationConfiguration();
config.height = 600;
config.width = 800;
config.title = "Les Chroniques de Norwand";
config.addIcon("../android/assets/textures/icon.png", FileType.Internal);
@SuppressWarnings("unused")
LwjglApplication app = new LwjglApplication(new MainGame("../android/assets/"),
config);
}
} | {
"content_hash": "5923ad135af441e57c7ac190f830ab48",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 81,
"avg_line_length": 33.81818181818182,
"alnum_prop": 0.7661290322580645,
"repo_name": "Darkxell/Les-Chroniques-de-Norwand",
"id": "8dfdbb2cd5670f1a305eecd24f690836526da5a9",
"size": "744",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "desktop/src/com/norwand/game/desktop/DesktopLauncher.java",
"mode": "33188",
"license": "apache-2.0",
"language": [
{
"name": "CSS",
"bytes": "3809"
},
{
"name": "HTML",
"bytes": "9259"
},
{
"name": "Java",
"bytes": "138281"
},
{
"name": "JavaScript",
"bytes": "24"
}
],
"symlink_target": ""
} |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>People</title>
<meta name="generator" content="Serif WebPlus X7">
<meta name="viewport" content="width=320">
<link rel="stylesheet" type="text/css" href="wpscripts/wpstyles.css">
<style type="text/css">
.C-1 { line-height:33.00px;font-family:"Arial", sans-serif;font-style:normal;font-weight:700;color:#ffffff;background-color:transparent;text-decoration:none;font-variant:normal;font-size:26.7px;vertical-align:0; }
.C-2 { line-height:16.00px;font-family:"Arial", sans-serif;font-style:normal;font-weight:700;color:#000000;background-color:transparent;text-decoration:none;font-variant:normal;font-size:13.3px;vertical-align:0; }
.C-2 a:link { color:#5b5a5f;text-decoration:underline; }
.C-2 a:visited { color:#5b5a5f;text-decoration:underline; }
.C-2 a:hover { color:#78a333;text-decoration:underline; }
.C-2 a:active { color:#5b5a5f;text-decoration:underline; }
.C-3 { line-height:16.00px;font-family:"Arial", sans-serif;font-style:normal;font-weight:normal;color:#000000;background-color:transparent;text-decoration:none;font-variant:normal;font-size:13.3px;vertical-align:0; }
.C-3 a:link { color:#000000;text-decoration:underline; }
.C-3 a:visited { color:#000000;text-decoration:underline; }
.C-3 a:hover { color:#000000;text-decoration:underline; }
.C-3 a:active { color:#000000;text-decoration:underline; }
.C-4 { line-height:16.00px;font-family:"Arial", sans-serif;font-style:normal;font-weight:normal;color:#000000;background-color:transparent;text-decoration:none;font-variant:normal;font-size:13.3px;vertical-align:0; }
.OBJ-1,.OBJ-1:link,.OBJ-1:visited { background-image:url('wpimages/wp31bef370_06.png');background-repeat:no-repeat;background-position:0px 0px;text-decoration:none;display:block;position:absolute; }
.OBJ-1:focus { outline-style:none; }
button.OBJ-1 { background-color:transparent;border:none 0px;padding:0;display:inline-block;cursor:pointer; }
button.OBJ-1:disabled { pointer-events:none; }
.OBJ-1.Inline { display:inline-block;position:relative;line-height:normal; }
.OBJ-1 span,.OBJ-1:link span,.OBJ-1:visited span { color:#ffffff;font-family:Arial,sans-serif;font-weight:normal;text-decoration:none;text-align:center;text-transform:uppercase;font-style:normal;left:2px;top:12px;width:77px;height:12px;font-size:9px;display:block;position:absolute;cursor:pointer; }
.OBJ-2 { padding:0; }
</style>
<script type="text/javascript" src="http://maps.google.com/maps/api/js?vs=3.3&sensor=false"></script>
<script type="text/javascript" src="wpscripts/jsWPGoogleMaps.js"></script>
<script type="text/javascript" src="wpscripts/jquery.js"></script>
<script type="text/javascript">
$(document).ready(function() {
$("a.ActiveButton").bind({ mousedown:function(){if ( $(this).attr('disabled') === undefined ) $(this).addClass('Activated');}, mouseleave:function(){ if ( $(this).attr('disabled') === undefined ) $(this).removeClass('Activated');}, mouseup:function(){ if ( $(this).attr('disabled') === undefined ) $(this).removeClass('Activated');}});
});
</script>
</head>
<body style="height:677px;background:#dcbe78 url('wpimages/wpfcdf0163_06.jpg') repeat scroll center top;">
<div style="height:inherit;width:100%;min-width:320px;margin:0;position:absolute;background:transparent url('wpimages/wp98a37ac9_06.png') repeat-x scroll center top;"></div>
<div style="height:inherit;width:100%;min-width:320px;margin:0;position:absolute;background:transparent url('wpimages/wp529ec277_06.png') repeat-x fixed center top;"></div>
<div style="height:inherit;width:100%;min-width:320px;margin:0;position:absolute;background:transparent url('wpimages/wp3258058f_06.png') repeat-x scroll center bottom;"></div>
<div style="height:inherit;width:100%;min-width:320px;margin:0;position:absolute;background:transparent url('wpimages/wp3101680e_06.png') repeat-x scroll center bottom;"></div>
<div id="divMain" style="background:transparent;margin-left:auto;margin-right:auto;position:relative;width:320px;height:677px;">
<div id="txt_14" style="position:absolute;left:20px;top:366px;width:280px;height:36px;overflow:hidden;">
<h2 class="Heading-18"><span class="C-1">People </span></h2>
</div>
<div id="people_1" style="position:absolute;left:58px;top:418px;width:242px;height:64px;overflow:hidden;"><h3 class="Heading-27"><span class="C-2">(New) Johnny Appleseed</span></h3><p class="Body9"><span class="C-3">Neighbour</span></p>
<p class="Hyperlink10"><a href="#map_people" class="C-4">Map</a></p></div>
<div id="person_2" style="position:absolute;left:58px;top:491px;width:242px;height:65px;overflow:hidden;">
<h3 class="Heading-27"><span class="C-2">King George </span></h3><p class="Body9"><span class="C-3">Chicken dancer</span></p>
<p class="Hyperlink10"><a href="#map_people" class="C-4">Map</a></p>
</div>
<div id="event_chicken" style="position:absolute;left:58px;top:564px;width:242px;height:73px;overflow:hidden;">
<h3 class="Heading-27"><span class="C-2">Arnold Apricot</span></h3><p class="Body9"><span class="C-3">Farmer of note</span></p>
<p class="Hyperlink10"><a href="#map_people" class="C-4">Map</a></p>
</div>
<div id="map_people" style="position:absolute;left:51px;top:157px;width:192px;height:192px;background-color:#e5e3df;">
<p style="padding:1em;color:gray;">Loading...</p>
</div>
<img alt="" src="wpimages/wp6ba97b02_06.png" id="meta_236" style="position:absolute;left:19px;top:428px;width:27px;height:29px;">
<img alt="" src="wpimages/wp6ba97b02_06.png" id="pic_8" style="position:absolute;left:19px;top:500px;width:27px;height:29px;">
<img alt="" src="wpimages/wp6ba97b02_06.png" id="pic_9" style="position:absolute;left:19px;top:575px;width:27px;height:29px;">
<img alt="" src="wpimages/wpb78a4f62_06.png" id="pcrv_591" style="position:absolute;left:0px;top:59px;width:320px;height:1px;">
<div id="nav_171" style="position:absolute;left:0px;top:58px;width:320px;height:40px;">
<a href="index.html" id="nav_171_B1" class="OBJ-1 ActiveButton" style="display:block;position:absolute;left:0px;top:2px;width:80px;height:36px;">
<span>Dashboard</span>
</a>
<a href="events.html" id="nav_171_B2" class="OBJ-1 ActiveButton" style="display:block;position:absolute;left:80px;top:2px;width:80px;height:36px;">
<span>Events</span>
</a>
<a href="people.html" id="nav_171_B3" class="OBJ-1 ActiveButton Down" style="display:block;position:absolute;left:160px;top:2px;width:80px;height:36px;">
<span>People</span>
</a>
<a href="resources1.html" id="nav_171_B4" class="OBJ-1 ActiveButton" style="display:block;position:absolute;left:240px;top:2px;width:80px;height:36px;">
<span>Resources</span>
</a>
</div>
<div class="OBJ-2" id="txt_1" style="position:absolute;left:9px;top:649px;width:303px;height:18px;overflow:hidden;">
<p class="Body9"><span class="C-3">Growsocial<span class="C-3"> © </span></span><span class="C-3">2015</span></p>
</div>
<img alt="" src="wpimages/wpda0a470d_06.png" id="pic_14" style="position:absolute;left:4px;top:3px;width:303px;height:49px;">
</div>
<script type="text/javascript">
wpGMapLoad( 'map_people', 27.9689336567406000, -82.5224304199219030, 10, 0, 1, 1, 1, 1, 1, 3,
[new wpGMapMarker( 27.8706445996733550, -82.4359130859375000, 0, 'Johnny Appleseed', '', 0, 0, 1, false ),
new wpGMapMarker( 27.9301140896186020, -82.5457763671875000, 0, 'Water Lily', '', 0, 0, 1, false ),
new wpGMapMarker( 28.0647096572966670, -82.5086975097656250, 0, 'King George', '', 0, 0, 1, false )]
, 'Failed to generate Google map.', '<br>Street view is not available at this location.');
</script>
</body>
</html>
| {
"content_hash": "1ff910d807a8636f636f5dc057525386",
"timestamp": "",
"source": "github",
"line_count": 92,
"max_line_length": 341,
"avg_line_length": 87.40217391304348,
"alnum_prop": 0.6900882974754384,
"repo_name": "GrowSocial/pilot",
"id": "c4163a502f29d61cc3f1d28a1e0c37b8974c9cb3",
"size": "8044",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "webplus-dashboard/people.html",
"mode": "33188",
"license": "apache-2.0",
"language": [
{
"name": "CSS",
"bytes": "83780"
},
{
"name": "HTML",
"bytes": "269269"
},
{
"name": "JavaScript",
"bytes": "174961"
}
],
"symlink_target": ""
} |
package io.reactivex.netty.server;
import io.netty.bootstrap.ServerBootstrap;
import io.netty.buffer.PooledByteBufAllocator;
import io.netty.channel.ChannelOption;
import io.netty.channel.EventLoopGroup;
import io.netty.channel.ServerChannel;
import io.netty.channel.epoll.EpollServerSocketChannel;
import io.netty.channel.socket.nio.NioServerSocketChannel;
import io.reactivex.netty.RxNetty;
import io.reactivex.netty.channel.ConnectionHandler;
/**
* @author Nitesh Kant
*/
@SuppressWarnings("rawtypes")
public abstract class ConnectionBasedServerBuilder<I, O, B extends ConnectionBasedServerBuilder>
extends AbstractServerBuilder<I,O, ServerBootstrap, ServerChannel, B, RxServer<I, O>> {
protected ConnectionBasedServerBuilder(int port, ConnectionHandler<I, O> connectionHandler) {
this(port, connectionHandler, new ServerBootstrap());
}
protected ConnectionBasedServerBuilder(int port, ConnectionHandler<I, O> connectionHandler,
ServerBootstrap bootstrap) {
super(port, bootstrap, connectionHandler);
}
public B eventLoops(EventLoopGroup acceptorGroup, EventLoopGroup workerGroup) {
serverBootstrap.group(acceptorGroup, workerGroup);
return returnBuilder();
}
public <T> B childChannelOption(ChannelOption<T> option, T value) {
serverBootstrap.childOption(option, value);
return returnBuilder();
}
@Override
protected Class<? extends ServerChannel> defaultServerChannelClass() {
if (RxNetty.isUsingNativeTransport()) {
return EpollServerSocketChannel.class;
}
return NioServerSocketChannel.class;
}
@Override
protected void configureDefaultEventloopGroup() {
serverBootstrap.group(RxNetty.getRxEventLoopProvider().globalServerParentEventLoop(true),
RxNetty.getRxEventLoopProvider().globalServerEventLoop(true));
}
@Override
public B defaultChannelOptions() {
channelOption(ChannelOption.SO_KEEPALIVE, true);
childChannelOption(ChannelOption.SO_KEEPALIVE, true);
childChannelOption(ChannelOption.ALLOCATOR, PooledByteBufAllocator.DEFAULT);
return super.defaultChannelOptions();
}
}
| {
"content_hash": "8ee93d94002291b5cc2171545a452d01",
"timestamp": "",
"source": "github",
"line_count": 62,
"max_line_length": 97,
"avg_line_length": 36.61290322580645,
"alnum_prop": 0.728193832599119,
"repo_name": "mgajdos/RxNetty",
"id": "df19f86602da32cc01f69a365035b8c1a1ff89b5",
"size": "2866",
"binary": false,
"copies": "3",
"ref": "refs/heads/0.x",
"path": "rxnetty/src/main/java/io/reactivex/netty/server/ConnectionBasedServerBuilder.java",
"mode": "33188",
"license": "apache-2.0",
"language": [
{
"name": "HTML",
"bytes": "1278"
},
{
"name": "Java",
"bytes": "1587719"
}
],
"symlink_target": ""
} |
The examples are written with nim-0.10.2.
Use
$ nim c NAME.nim
or
$ nim c --opt:speed NAME.nim
to build, where `NAME.nim` is the project main file.
| {
"content_hash": "81f81f54a4dcb42769140271e8651fb0",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 52,
"avg_line_length": 14.636363636363637,
"alnum_prop": 0.6583850931677019,
"repo_name": "arthurtw/nim-examples",
"id": "746c95f9738a0dc2cd0ef49956e43133a084363b",
"size": "177",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "README.md",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "Nimrod",
"bytes": "4260"
}
],
"symlink_target": ""
} |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_60) on Wed Nov 26 10:53:03 PST 2014 -->
<title>Request.GraphUserCallback</title>
<meta name="date" content="2014-11-26">
<link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Request.GraphUserCallback";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!-- -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../index-all.html">Index</a></li>
<li><a href="../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../com/facebook/Request.GraphPlaceListCallback.html" title="interface in com.facebook"><span class="strong">Prev Class</span></a></li>
<li><a href="../../com/facebook/Request.GraphUserListCallback.html" title="interface in com.facebook"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../index.html?com/facebook/Request.GraphUserCallback.html" target="_top">Frames</a></li>
<li><a href="Request.GraphUserCallback.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary: </li>
<li>Nested | </li>
<li>Field | </li>
<li>Constr | </li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail: </li>
<li>Field | </li>
<li>Constr | </li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">com.facebook</div>
<h2 title="Interface Request.GraphUserCallback" class="title">Interface Request.GraphUserCallback</h2>
</div>
<div class="contentContainer">
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>Enclosing class:</dt>
<dd><a href="../../com/facebook/Request.html" title="class in com.facebook">Request</a></dd>
</dl>
<hr>
<br>
<pre>public static interface <span class="strong">Request.GraphUserCallback</span></pre>
<div class="block">Specifies the interface that consumers of
<a href="../../com/facebook/Request.html#executeMeRequestAsync(com.facebook.Session,%20com.facebook.Request.GraphUserCallback)"><code>Request.executeMeRequestAsync(Session, com.facebook.Request.GraphUserCallback)</code></a>
can use to be notified when the request completes, either successfully or with an error.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method_summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span>Methods</span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../com/facebook/Request.GraphUserCallback.html#onCompleted(com.facebook.model.GraphUser,%20com.facebook.Response)">onCompleted</a></strong>(<a href="../../com/facebook/model/GraphUser.html" title="interface in com.facebook.model">GraphUser</a> user,
<a href="../../com/facebook/Response.html" title="class in com.facebook">Response</a> response)</code>
<div class="block">The method that will be called when the request completes.</div>
</td>
</tr>
</table>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method_detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="onCompleted(com.facebook.model.GraphUser, com.facebook.Response)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>onCompleted</h4>
<pre>void onCompleted(<a href="../../com/facebook/model/GraphUser.html" title="interface in com.facebook.model">GraphUser</a> user,
<a href="../../com/facebook/Response.html" title="class in com.facebook">Response</a> response)</pre>
<div class="block">The method that will be called when the request completes.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>user</code> - the GraphObject representing the returned user, or null</dd><dd><code>response</code> - the Response of this request, which may include error information if the request was unsuccessful</dd></dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!-- -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../index-all.html">Index</a></li>
<li><a href="../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../com/facebook/Request.GraphPlaceListCallback.html" title="interface in com.facebook"><span class="strong">Prev Class</span></a></li>
<li><a href="../../com/facebook/Request.GraphUserListCallback.html" title="interface in com.facebook"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../index.html?com/facebook/Request.GraphUserCallback.html" target="_top">Frames</a></li>
<li><a href="Request.GraphUserCallback.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary: </li>
<li>Nested | </li>
<li>Field | </li>
<li>Constr | </li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail: </li>
<li>Field | </li>
<li>Constr | </li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>
| {
"content_hash": "4a97e7ca5cd4e7febda31b5d1e7fe659",
"timestamp": "",
"source": "github",
"line_count": 217,
"max_line_length": 300,
"avg_line_length": 36.654377880184335,
"alnum_prop": 0.6532562232838823,
"repo_name": "GoldenMobile009/BeingAgent-facebook-android-sdk-3.21.0-",
"id": "93fd42040854a193d2a3a5d9d1b4e614397681d5",
"size": "7954",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "docs/com/facebook/Request.GraphUserCallback.html",
"mode": "33261",
"license": "apache-2.0",
"language": [
{
"name": "Java",
"bytes": "1427554"
}
],
"symlink_target": ""
} |
namespace System.Management.Automation
{
/// <summary>
/// Providers that want to specify OutputType can use these strings
/// for the ProviderCmdlet parameter.
/// </summary>
public static class ProviderCmdlet
{
/// <summary>
/// Add-Content cmdlet.
/// </summary>
public const string AddContent = "Add-Content";
/// <summary>
/// Clear-Content cmdlet.
/// </summary>
public const string ClearContent = "Clear-Content";
/// <summary>
/// Clear-Item cmdlet.
/// </summary>
public const string ClearItem = "Clear-Item";
/// <summary>
/// Clear-ItemProperty cmdlet.
/// </summary>
public const string ClearItemProperty = "Clear-ItemProperty";
/// <summary>
/// Convert-Path cmdlet.
/// </summary>
public const string ConvertPath = "Convert-Path";
/// <summary>
/// Copy-Item cmdlet.
/// </summary>
public const string CopyItem = "Copy-Item";
/// <summary>
/// Copy-ItemProperty cmdlet.
/// </summary>
public const string CopyItemProperty = "Copy-ItemProperty";
/// <summary>
/// Get-Acl cmdlet.
/// </summary>
public const string GetAcl = "Get-Acl";
/// <summary>
/// Get-ChildItem cmdlet.
/// </summary>
public const string GetChildItem = "Get-ChildItem";
/// <summary>
/// Get-Content cmdlet.
/// </summary>
public const string GetContent = "Get-Content";
/// <summary>
/// Get-Item cmdlet.
/// </summary>
public const string GetItem = "Get-Item";
/// <summary>
/// Get-ItemProperty cmdlet.
/// </summary>
public const string GetItemProperty = "Get-ItemProperty";
/// <summary>
/// Get-Location cmdlet.
/// </summary>
public const string GetLocation = "Get-Location";
/// <summary>
/// Get-PSDrive cmdlet.
/// </summary>
public const string GetPSDrive = "Get-PSDrive";
/// <summary>
/// Get-PSProvider cmdlet.
/// </summary>
public const string GetPSProvider = "Get-PSProvider";
/// <summary>
/// Invoke-Item cmdlet.
/// </summary>
public const string InvokeItem = "Invoke-Item";
/// <summary>
/// Join-Path cmdlet.
/// </summary>
public const string JoinPath = "Join-Path";
/// <summary>
/// Move-Item cmdlet.
/// </summary>
public const string MoveItem = "Move-Item";
/// <summary>
/// Move-ItemProperty cmdlet.
/// </summary>
public const string MoveItemProperty = "Move-ItemProperty";
/// <summary>
/// New-Item cmdlet.
/// </summary>
public const string NewItem = "New-Item";
/// <summary>
/// New-ItemProperty cmdlet.
/// </summary>
public const string NewItemProperty = "New-ItemProperty";
/// <summary>
/// New-PSDrive cmdlet.
/// </summary>
public const string NewPSDrive = "New-PSDrive";
/// <summary>
/// Pop-Location cmdlet.
/// </summary>
public const string PopLocation = "Pop-Location";
/// <summary>
/// Push-Location cmdlet.
/// </summary>
public const string PushLocation = "Push-Location";
/// <summary>
/// Remove-Item cmdlet.
/// </summary>
public const string RemoveItem = "Remove-Item";
/// <summary>
/// Remove-ItemProperty cmdlet.
/// </summary>
public const string RemoveItemProperty = "Remove-ItemProperty";
/// <summary>
/// Remove-PSDrive cmdlet.
/// </summary>
public const string RemovePSDrive = "Remove-PSDrive";
/// <summary>
/// Rename-Item cmdlet.
/// </summary>
public const string RenameItem = "Rename-Item";
/// <summary>
/// Rename-ItemProperty cmdlet.
/// </summary>
public const string RenameItemProperty = "Rename-ItemProperty";
/// <summary>
/// Resolve-Path cmdlet.
/// </summary>
public const string ResolvePath = "Resolve-Path";
/// <summary>
/// Set-Acl cmdlet.
/// </summary>
public const string SetAcl = "Set-Acl";
/// <summary>
/// Set-Content cmdlet.
/// </summary>
public const string SetContent = "Set-Content";
/// <summary>
/// Set-Item cmdlet.
/// </summary>
public const string SetItem = "Set-Item";
/// <summary>
/// Set-ItemProperty cmdlet.
/// </summary>
public const string SetItemProperty = "Set-ItemProperty";
/// <summary>
/// Set-Location cmdlet.
/// </summary>
public const string SetLocation = "Set-Location";
/// <summary>
/// Split-Path cmdlet.
/// </summary>
public const string SplitPath = "Split-Path";
/// <summary>
/// Test-Path cmdlet.
/// </summary>
public const string TestPath = "Test-Path";
}
}
| {
"content_hash": "a93ecd82d809acacd3c9d157d3116713",
"timestamp": "",
"source": "github",
"line_count": 194,
"max_line_length": 71,
"avg_line_length": 27.432989690721648,
"alnum_prop": 0.5189778278842541,
"repo_name": "JamesWTruher/PowerShell-1",
"id": "c91c3ce69fbf090672f6e7731b25f7c493b2b6c7",
"size": "5398",
"binary": false,
"copies": "5",
"ref": "refs/heads/master",
"path": "src/System.Management.Automation/utils/CoreProviderCmdlets.cs",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "Batchfile",
"bytes": "24"
},
{
"name": "C#",
"bytes": "30851582"
},
{
"name": "Dockerfile",
"bytes": "6482"
},
{
"name": "HTML",
"bytes": "18060"
},
{
"name": "JavaScript",
"bytes": "8738"
},
{
"name": "PowerShell",
"bytes": "5083167"
},
{
"name": "Rich Text Format",
"bytes": "40664"
},
{
"name": "Roff",
"bytes": "214984"
},
{
"name": "Shell",
"bytes": "57893"
},
{
"name": "XSLT",
"bytes": "14394"
}
],
"symlink_target": ""
} |
import {
isEqual,
isFn,
Subscribable,
FormPath,
FormPathPattern,
defaults,
shallowClone,
isStr,
isValid
} from '@formily/shared'
import { Immer, enableAllPlugins, Draft, setAutoFreeze } from 'immer'
import { StateDirtyMap, IDirtyModelFactory, NormalRecord } from '../types'
enableAllPlugins()
setAutoFreeze(false)
const { produce } = new Immer({
autoFreeze: false
})
type Recipe<State> = (state?: State) => any
type ExtendsState = NormalRecord & { displayName?: string }
type ExtendsProps<State> = NormalRecord & {
computeState?: (state: Draft<State>, prevState: State) => any
dirtyCheck?: (path: FormPathPattern, value: any, nextValue: any) => boolean
}
type Patch = {
op: 'replace' | 'remove' | 'add'
path: (string | number)[]
value?: any
}
const applyPatches = (target: any, patches: Patch[]) => {
patches.forEach(({ op, path, value }) => {
if (op === 'replace' || op === 'add') {
FormPath.setIn(target, path, value)
} else if (op === 'remove') {
FormPath.deleteIn(target, path)
}
})
}
type CacheKey = string | Symbol | number
export const createModel = <
State extends ExtendsState,
Props extends ExtendsProps<State>
>(
Factory: IDirtyModelFactory<State, Props>
) => {
return class Model extends Subscribable {
factory: InstanceType<IDirtyModelFactory<State, Props>>
state: State
prevState: State
props: Props
patches: Patch[]
dirtyStack: StateDirtyMap<State>[]
dirtyCountStack: number[]
batching: boolean
cache: Map<any, any>
displayName: string
constructor(props: Props = {} as any) {
super()
this.props = defaults(Factory.defaultProps, props)
this.displayName = Factory.displayName
this.factory = new Factory(this.props)
this.cache = new Map()
this.state = this.factory.state as any
this.state.displayName = this.displayName
this.prevState = this.state
this.batching = false
this.dirtyStack = []
this.dirtyCountStack = []
}
enterCalculateDirtys() {
this.dirtyStack.push({})
this.dirtyCountStack.push(0)
}
existCalculateDirtys() {
this.dirtyStack.pop()
this.dirtyCountStack.pop()
}
get dirtys(): StateDirtyMap<State> {
return this.dirtyStack[this.dirtyStack.length - 1] || {}
}
set dirtys(dirtys: StateDirtyMap<State>) {
if (this.dirtyStack.length === 0) {
this.dirtyStack.push({})
}
this.dirtyStack[this.dirtyStack.length - 1] = dirtys
}
get dirtyCount() {
return this.dirtyCountStack[this.dirtyCountStack.length - 1] || 0
}
set dirtyCount(value) {
if (this.dirtyCountStack.length === 0) {
this.dirtyCountStack.push(0)
}
this.dirtyCountStack[this.dirtyCountStack.length - 1] = value
}
getBaseState() {
if (isFn(this.factory.getState)) {
return this.factory.getState.call(this.factory, this.state)
} else {
return this.state
}
}
getDirtysFromPatches(
patches: Patch[],
refresh?: boolean
): StateDirtyMap<State> {
return patches.reduce(
(buf, { path }) => {
buf[path[0]] = true
return buf
},
refresh ? {} : this.batching ? this.dirtys : {}
)
}
dirtyCheck(path: FormPathPattern, nextValue: any) {
const currentValue = FormPath.getIn(this.state, path)
if (isFn(this.factory.dirtyCheck)) {
if (isFn(this.props.dirtyCheck)) {
return (
this.factory.dirtyCheck(path, currentValue, nextValue) &&
this.props.dirtyCheck(path, currentValue, nextValue)
)
} else {
return this.factory.dirtyCheck(path, currentValue, nextValue)
}
} else {
if (isFn(this.props.dirtyCheck)) {
return this.props.dirtyCheck(path, currentValue, nextValue)
} else {
return !isEqual(currentValue, nextValue)
}
}
}
setState(recipe?: Recipe<State>, silent: boolean = false) {
if (!isFn(recipe)) return
const base = this.getBaseState()
this.patches = []
this.prevState = base
this.factory.prevState = base
this.factory.state = base
this.factory?.beforeProduce?.()
if (!this.batching) {
this.enterCalculateDirtys()
}
produce(
base,
draft => {
recipe(draft)
if (isFn(this.props.computeState)) {
this.props.computeState(draft, this.prevState)
}
},
patches => {
this.patches = this.patches.concat(patches)
}
)
const produced = produce(
base,
draft => {
applyPatches(draft, this.patches)
const dirtys = this.getDirtysFromPatches(this.patches, true)
if (isFn(this.factory.produce)) {
this.factory.produce(draft, dirtys)
}
},
patches => {
patches.forEach(patch => {
const { path, value } = patch
if (this.dirtyCheck(path, value)) {
this.patches.push(patch)
this.dirtyCount++
}
})
}
)
this.factory.state = produced
this.state = produced
this.dirtys = this.getDirtysFromPatches(this.patches)
this.patches = []
this.factory?.afterProduce?.()
if (this.dirtyCount > 0 && !silent) {
if (this.batching) {
return
}
this.notify(this.getState(), silent)
}
this.existCalculateDirtys()
}
setSourceState(recipe?: Recipe<State>) {
if (!isFn(recipe)) return this.state
recipe(this.state)
}
getState<T extends Recipe<State>>(
recipe?: T
): T extends Recipe<State> ? ReturnType<T> : State {
if (!isFn(recipe)) return this.getBaseState()
return recipe(this.getBaseState())
}
getSourceState<T extends Recipe<State>>(
recipe?: T
): T extends Recipe<State> ? ReturnType<T> : State {
if (!isFn(recipe)) return this.state as any
return recipe(this.state)
}
batch(callback?: () => void) {
this.batching = true
this.enterCalculateDirtys()
const prevState = this.state
if (isFn(callback)) {
callback()
}
this.prevState = prevState
if (this.dirtyCount > 0) {
this.notify(this.getState())
}
this.batching = false
this.existCalculateDirtys()
}
setCache(key: CacheKey, value: any) {
this.cache.set(
key,
typeof value === 'object' ? shallowClone(value) : value
)
}
getCache(key: CacheKey) {
const value = this.cache.get(key)
if (isValid(value)) return value
if (this.cache.size === 1) {
let findKey = null
this.cache.forEach((value, key) => {
findKey = key
})
return this.cache.get(findKey)
}
return value
}
removeCache(key: CacheKey) {
this.cache.delete(key)
}
isDirty(key?: string) {
if (key) {
return this.dirtys[key]
} else {
return this.dirtyCount > 0
}
}
hasChanged = (pattern?: FormPathPattern) => {
if (!pattern) {
return this.dirtyCount > 0
} else {
const path = FormPath.parse(pattern)
if (path.length > 1 || !isStr(pattern)) {
return !isEqual(
FormPath.getIn(this.prevState, path),
FormPath.getIn(this.state, path)
)
} else {
return this.dirtys[pattern]
}
}
}
}
}
| {
"content_hash": "b31eeed58c4a497d5f8f5c5473830ac8",
"timestamp": "",
"source": "github",
"line_count": 292,
"max_line_length": 77,
"avg_line_length": 26.113013698630137,
"alnum_prop": 0.5791475409836065,
"repo_name": "leomYili/my-learning-notes",
"id": "c4d33f872784cdc01160c2854b57ab5723d4300a",
"size": "7625",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "react项目积累/formily/packages/core/src/shared/model.ts",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "CSS",
"bytes": "24120"
},
{
"name": "EJS",
"bytes": "342"
},
{
"name": "HTML",
"bytes": "127187"
},
{
"name": "JavaScript",
"bytes": "3833380"
},
{
"name": "SCSS",
"bytes": "1408"
},
{
"name": "TypeScript",
"bytes": "1260141"
},
{
"name": "Vue",
"bytes": "21164"
}
],
"symlink_target": ""
} |
namespace net {
namespace test_server {
class EmbeddedTestServer;
class HttpResponse;
struct HttpRequest;
} // namespace test_server
} // namespace net
// Installs a mock crash server endpoint.
class MockCrashEndpoint {
public:
struct Report {
Report(std::string query_value, std::string content_value);
std::string query;
std::string content;
};
explicit MockCrashEndpoint(net::test_server::EmbeddedTestServer* test_server);
MockCrashEndpoint(const MockCrashEndpoint&) = delete;
MockCrashEndpoint& operator=(const MockCrashEndpoint&) = delete;
~MockCrashEndpoint();
// Returns the last received report, or waits for a query and returns it.
Report WaitForReport();
// Returns the last report received, if any.
const absl::optional<Report>& last_report() const { return last_report_; }
// Clears last report so that WaitForReport will wait for another report.
// Does not clear report_count() or all_reports().
void clear_last_report() { last_report_.reset(); }
// Get the number of reports received since this object was created.
int report_count() const { return report_count_; }
// Retrieves all the reports received by this mock crash endpoint.
const std::vector<Report>& all_reports() const { return all_reports_; }
// Configures whether the mock crash reporter client has user-consent for
// submitting crash reports.
void set_consented(bool consented) { consented_ = consented; }
// Set the response that the server will return.
void set_response(net::HttpStatusCode code, const std::string& content) {
response_code_ = code;
response_content_ = content;
}
// Returns the URL that tests should send crash reports to.
std::string GetCrashEndpointURL() const;
private:
class Client;
std::unique_ptr<net::test_server::HttpResponse> HandleRequest(
const net::test_server::HttpRequest& request);
raw_ptr<net::test_server::EmbeddedTestServer> test_server_;
std::unique_ptr<Client> client_;
absl::optional<Report> last_report_;
std::vector<Report> all_reports_;
int report_count_ = 0;
bool consented_ = true;
base::RepeatingClosure on_report_;
net::HttpStatusCode response_code_ = net::HTTP_OK;
std::string response_content_ = "123";
};
std::ostream& operator<<(std::ostream& out,
const MockCrashEndpoint::Report& report);
#endif // COMPONENTS_CRASH_CONTENT_BROWSER_ERROR_REPORTING_MOCK_CRASH_ENDPOINT_H_
| {
"content_hash": "5dc42783a2eb32f6c660c858f0e129e8",
"timestamp": "",
"source": "github",
"line_count": 72,
"max_line_length": 82,
"avg_line_length": 33.986111111111114,
"alnum_prop": 0.7176134041683694,
"repo_name": "nwjs/chromium.src",
"id": "b7cc1b8efb6bb039128d4717c594a141a176c2a6",
"size": "3004",
"binary": false,
"copies": "6",
"ref": "refs/heads/nw70",
"path": "components/crash/content/browser/error_reporting/mock_crash_endpoint.h",
"mode": "33188",
"license": "bsd-3-clause",
"language": [],
"symlink_target": ""
} |
* * *
title: React Themes built by or curated by the Material-UI's creators
* * *
# Temas Premium
<p class="description">Our collection of templates include themes to build an admin, dashboard, landing page, e-commerce site, application, and more.</p>
React Themes & Templates built by or curated by Material-UI's creators.
{{"demo": "pages/premium-themes/PremiumThemes.js", "hideHeader": true}} | {
"content_hash": "671f1308efcd6bf39e98feaad2e615a1",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 153,
"avg_line_length": 30.846153846153847,
"alnum_prop": 0.7381546134663342,
"repo_name": "allanalexandre/material-ui",
"id": "78a487e40e7f970f80883964ca8b4729bdf802a4",
"size": "401",
"binary": false,
"copies": "2",
"ref": "refs/heads/master",
"path": "docs/src/pages/premium-themes/premium-themes-es.md",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "JavaScript",
"bytes": "929297"
}
],
"symlink_target": ""
} |
package com.ocdsoft.bacta.swg.server.game.component;
/**
* Created by crush on 9/5/2014.
*/
public abstract class NpcConversationComponent implements ExtensibleComponent {
@Override
public final int getComponentType() { return ComponentTypes.NpcConversationComponent; }
public abstract void onStartConversation();
public abstract void onSelectConversationChoice();
public abstract void onStopConverstaion();
}
| {
"content_hash": "780d931ce9d360b1a5dd82ab4f16d281",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 91,
"avg_line_length": 33.38461538461539,
"alnum_prop": 0.7764976958525346,
"repo_name": "bacta/swg",
"id": "a18e00b060df29998221deb97e9d2ae56218b236",
"size": "434",
"binary": false,
"copies": "1",
"ref": "refs/heads/develop",
"path": "game-server/src/main/java/com/ocdsoft/bacta/swg/server/game/component/NpcConversationComponent.java",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "Batchfile",
"bytes": "75"
},
{
"name": "Groovy",
"bytes": "19544"
},
{
"name": "Java",
"bytes": "3358916"
},
{
"name": "Shell",
"bytes": "85"
}
],
"symlink_target": ""
} |
from django.core.urlresolvers import reverse, NoReverseMatch
from corehq.apps.reports.standard.deployments import DeploymentsReport
from corehq.apps.reports.datatables import DataTablesHeader, DataTablesColumn
from corehq.const import SERVER_DATETIME_FORMAT
from corehq.util.timezones.conversions import ServerTime
from couchforms.dbaccessors import get_forms_by_type, \
get_number_of_forms_by_type, get_number_of_forms_of_all_types
from corehq.apps.receiverwrapper.filters import SubmissionErrorType, \
SubmissionTypeFilter
from dimagi.utils.couch.pagination import FilteredPaginator, CouchFilter
from corehq.apps.reports.display import xmlns_to_name
from django.utils.translation import ugettext_noop
from django.utils.translation import ugettext as _
def compare_submissions(x, y):
# these are backwards because we want most recent to come first
return cmp(y.received_on, x.received_on)
class SubmitFilter(CouchFilter):
def __init__(self, domain, doc_type):
self.domain = domain
self.doc_type = doc_type
def get_total(self):
return get_number_of_forms_by_type(self.domain, self.doc_type)
def get(self, count):
# this is a hack, but override the doc type because there is an
# equivalent doc type in the view
def _update_doc_type(form):
form.doc_type = self.doc_type
return form
forms = get_forms_by_type(self.domain, self.doc_type,
recent_first=True, limit=count)
return [_update_doc_type(form) for form in forms]
class SubmissionErrorReport(DeploymentsReport):
name = ugettext_noop("Raw Forms, Errors & Duplicates")
slug = "submit_errors"
ajax_pagination = True
asynchronous = False
fields = ['corehq.apps.receiverwrapper.filters.SubmissionTypeFilter',
]
@property
def headers(self):
headers = DataTablesHeader(DataTablesColumn(_("View Form")),
DataTablesColumn(_("Username")),
DataTablesColumn(_("Submit Time")),
DataTablesColumn(_("Form Type")),
DataTablesColumn(_("Error Type")),
DataTablesColumn(_("Error Message")))
headers.no_sort = True
return headers
_submitfilter = None
@property
def submitfilter(self):
if self._submitfilter is None:
self._submitfilter = SubmissionTypeFilter.get_filter_toggle(self.request)
return self._submitfilter
_paginator_results = None
@property
def paginator_results(self):
if self._paginator_results is None:
filters = [SubmitFilter(self.domain, toggle.doc_type) for toggle in self.submitfilter if toggle.show]
self._paginator_results = FilteredPaginator(filters, compare_submissions)
return self._paginator_results
@property
def shared_pagination_GET_params(self):
shared_params = super(SubmissionErrorReport, self).shared_pagination_GET_params
shared_params.append(dict(
name=SubmissionTypeFilter.slug,
value=[f.type for f in self.submitfilter if f.show]
))
return shared_params
@property
def total_records(self):
return get_number_of_forms_of_all_types(self.domain)
@property
def total_filtered_records(self):
return self.paginator_results.total
@property
def rows(self):
EMPTY_ERROR = _("No Error")
EMPTY_USER = _("No User")
EMPTY_FORM = _("Unknown Form")
items = self.paginator_results.get(self.pagination.start, self.pagination.count)
def _to_row(error_doc):
def _fmt_url(doc_id):
view_name = 'render_form_data' \
if error_doc.doc_type in ["XFormInstance", "XFormArchived", "XFormError"] \
else 'download_form'
try:
return "<a class='ajax_dialog' href='%(url)s'>%(text)s</a>" % {
"url": reverse(view_name, args=[self.domain, doc_id]),
"text": _("View Form")
}
except NoReverseMatch:
return 'unable to view form'
def _fmt_date(somedate):
time = ServerTime(somedate).user_time(self.timezone).done()
return time.strftime(SERVER_DATETIME_FORMAT)
return [_fmt_url(error_doc.get_id),
error_doc.metadata.username if error_doc.metadata else EMPTY_USER,
_fmt_date(error_doc.received_on),
xmlns_to_name(self.domain, error_doc.xmlns, app_id=getattr(error_doc, 'app_id', None)) if error_doc.metadata else EMPTY_FORM,
SubmissionErrorType.display_name_by_doc_type(error_doc.doc_type),
getattr(error_doc, 'problem', None) or EMPTY_ERROR]
return [_to_row(error_doc) for error_doc in items]
| {
"content_hash": "d95d54d8741bf24828ef45fb3e0bbb00",
"timestamp": "",
"source": "github",
"line_count": 125,
"max_line_length": 145,
"avg_line_length": 40.592,
"alnum_prop": 0.6166732361056366,
"repo_name": "puttarajubr/commcare-hq",
"id": "95f475d2241f6a55db259ad50fd2c068036dcbd1",
"size": "5074",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "corehq/apps/receiverwrapper/reports.py",
"mode": "33188",
"license": "bsd-3-clause",
"language": [
{
"name": "ActionScript",
"bytes": "15950"
},
{
"name": "CSS",
"bytes": "581878"
},
{
"name": "HTML",
"bytes": "2790361"
},
{
"name": "JavaScript",
"bytes": "2572023"
},
{
"name": "Makefile",
"bytes": "3999"
},
{
"name": "Python",
"bytes": "11275678"
},
{
"name": "Shell",
"bytes": "23890"
}
],
"symlink_target": ""
} |
/**
* Author: Bob Chen
*/
package com.jcommerce.core.io;
public class FileManagerFactory {
private static IFileManager fileManager = null;
public synchronized static IFileManager getFileManager() {
if (fileManager == null) {
String root = System.getProperty("JCOMMERCE_HOME");
System.out.println("File root:"+root);
fileManager = new LocalFileManager(root);
}
return fileManager;
}
}
| {
"content_hash": "cb5194653a76a3412e02ddbb3b48d691",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 60,
"avg_line_length": 22.473684210526315,
"alnum_prop": 0.6861826697892272,
"repo_name": "jbosschina/jcommerce",
"id": "3d7fcde032cc9b448e253769d1e0bf1e4fb354ea",
"size": "427",
"binary": false,
"copies": "2",
"ref": "refs/heads/master",
"path": "sandbox/core/src/main/java/com/jcommerce/core/io/FileManagerFactory.java",
"mode": "33188",
"license": "apache-2.0",
"language": [
{
"name": "CSS",
"bytes": "200608"
},
{
"name": "GAP",
"bytes": "2286"
},
{
"name": "Java",
"bytes": "4485563"
}
],
"symlink_target": ""
} |
<!-- HTML header for doxygen 1.8.6-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.12"/>
<title>OpenCV: /build/master-contrib_docs-lin64/opencv/doc/tutorials/videoio/kinect_openni.markdown File Reference</title>
<link href="../../opencv.ico" rel="shortcut icon" type="image/x-icon" />
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/searchdata.js"></script>
<script type="text/javascript" src="../../search/search.js"></script>
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
extensions: ["tex2jax.js", "TeX/AMSmath.js", "TeX/AMSsymbols.js"],
jax: ["input/TeX","output/HTML-CSS"],
});
//<![CDATA[
MathJax.Hub.Config(
{
TeX: {
Macros: {
matTT: [ "\\[ \\left|\\begin{array}{ccc} #1 & #2 & #3\\\\ #4 & #5 & #6\\\\ #7 & #8 & #9 \\end{array}\\right| \\]", 9],
fork: ["\\left\\{ \\begin{array}{l l} #1 & \\mbox{#2}\\\\ #3 & \\mbox{#4}\\\\ \\end{array} \\right.", 4],
forkthree: ["\\left\\{ \\begin{array}{l l} #1 & \\mbox{#2}\\\\ #3 & \\mbox{#4}\\\\ #5 & \\mbox{#6}\\\\ \\end{array} \\right.", 6],
vecthree: ["\\begin{bmatrix} #1\\\\ #2\\\\ #3 \\end{bmatrix}", 3],
vecthreethree: ["\\begin{bmatrix} #1 & #2 & #3\\\\ #4 & #5 & #6\\\\ #7 & #8 & #9 \\end{bmatrix}", 9],
hdotsfor: ["\\dots", 1],
mathbbm: ["\\mathbb{#1}", 1],
bordermatrix: ["\\matrix{#1}", 1]
}
}
}
);
//]]>
</script><script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
<link href="../../stylesheet.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<!--#include virtual="/google-search.html"-->
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectlogo"><img alt="Logo" src="../../opencv-logo-small.png"/></td>
<td style="padding-left: 0.5em;">
<div id="projectname">OpenCV
 <span id="projectnumber">3.2.0</span>
</div>
<div id="projectbrief">Open Source Computer Vision</div>
</td>
</tr>
</tbody>
</table>
</div>
<script type="text/javascript">
//<![CDATA[
function getLabelName(innerHTML) {
var str = innerHTML.toLowerCase();
// Replace all '+' with 'p'
str = str.split('+').join('p');
// Replace all ' ' with '_'
str = str.split(' ').join('_');
// Replace all '#' with 'sharp'
str = str.split('#').join('sharp');
// Replace other special characters with 'ascii' + code
for (var i = 0; i < str.length; i++) {
var charCode = str.charCodeAt(i);
if (!(charCode == 95 || (charCode > 96 && charCode < 123) || (charCode > 47 && charCode < 58)))
str = str.substr(0, i) + 'ascii' + charCode + str.substr(i + 1);
}
return str;
}
function addToggle() {
var $getDiv = $('div.newInnerHTML').last();
var buttonName = $getDiv.html();
var label = getLabelName(buttonName.trim());
$getDiv.attr("title", label);
$getDiv.hide();
$getDiv = $getDiv.next();
$getDiv.attr("class", "toggleable_div label_" + label);
$getDiv.hide();
}
//]]>
</script>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.12 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</script>
<script type="text/javascript" src="../../menudata.js"></script>
<script type="text/javascript" src="../../menu.js"></script>
<script type="text/javascript">
$(function() {
initMenu('../../',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">/build/master-contrib_docs-lin64/opencv/doc/tutorials/videoio/kinect_openni.markdown File Reference</div> </div>
</div><!--header-->
<div class="contents">
</div><!-- contents -->
<!-- HTML footer for doxygen 1.8.6-->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Fri Dec 23 2016 13:00:23 for OpenCV by  <a href="http://www.doxygen.org/index.html">
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
</a> 1.8.12
</small></address>
<script type="text/javascript">
//<![CDATA[
function addButton(label, buttonName) {
var b = document.createElement("BUTTON");
b.innerHTML = buttonName;
b.setAttribute('class', 'toggleable_button label_' + label);
b.onclick = function() {
$('.toggleable_button').css({
border: '2px outset',
'border-radius': '4px'
});
$('.toggleable_button.label_' + label).css({
border: '2px inset',
'border-radius': '4px'
});
$('.toggleable_div').css('display', 'none');
$('.toggleable_div.label_' + label).css('display', 'block');
};
b.style.border = '2px outset';
b.style.borderRadius = '4px';
b.style.margin = '2px';
return b;
}
function buttonsToAdd($elements, $heading, $type) {
if ($elements.length === 0) {
$elements = $("" + $type + ":contains(" + $heading.html() + ")").parent().prev("div.newInnerHTML");
}
var arr = jQuery.makeArray($elements);
var seen = {};
arr.forEach(function(e) {
var txt = e.innerHTML;
if (!seen[txt]) {
$button = addButton(e.title, txt);
if (Object.keys(seen).length == 0) {
var linebreak1 = document.createElement("br");
var linebreak2 = document.createElement("br");
($heading).append(linebreak1);
($heading).append(linebreak2);
}
($heading).append($button);
seen[txt] = true;
}
});
return;
}
$("h2").each(function() {
$heading = $(this);
$smallerHeadings = $(this).nextUntil("h2").filter("h3").add($(this).nextUntil("h2").find("h3"));
if ($smallerHeadings.length) {
$smallerHeadings.each(function() {
var $elements = $(this).nextUntil("h3").filter("div.newInnerHTML");
buttonsToAdd($elements, $(this), "h3");
});
} else {
var $elements = $(this).nextUntil("h2").filter("div.newInnerHTML");
buttonsToAdd($elements, $heading, "h2");
}
});
$(".toggleable_button").first().click();
var $clickDefault = $('.toggleable_button.label_python').first();
if ($clickDefault.length) {
$clickDefault.click();
}
$clickDefault = $('.toggleable_button.label_cpp').first();
if ($clickDefault.length) {
$clickDefault.click();
}
//]]>
</script>
</body>
</html>
| {
"content_hash": "14ce600e7a14cfe4c34d3946cc84799e",
"timestamp": "",
"source": "github",
"line_count": 203,
"max_line_length": 140,
"avg_line_length": 37.669950738916256,
"alnum_prop": 0.5880737544134955,
"repo_name": "lucasbrsa/OpenCV-3.2",
"id": "b07eff485fa5c2b02fbfc53d7c92072119bf4acb",
"size": "7647",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "docs/3.2/dd/d91/kinect__openni_8markdown.html",
"mode": "33261",
"license": "mit",
"language": [
{
"name": "C",
"bytes": "320592"
},
{
"name": "C#",
"bytes": "12756"
},
{
"name": "C++",
"bytes": "499322"
},
{
"name": "CMake",
"bytes": "244871"
},
{
"name": "Makefile",
"bytes": "344335"
},
{
"name": "Python",
"bytes": "7735"
},
{
"name": "Visual Basic",
"bytes": "13139"
}
],
"symlink_target": ""
} |
package eu.scasefp7.eclipse.umlrec.ui.wizard;
import org.eclipse.osgi.util.NLS;
public class Messages extends NLS {
private static final String BUNDLE_NAME = "eu.scasefp7.eclipse.umlrec.ui.wizard.messages"; //$NON-NLS-1$
public static String PapyrusExportJob_Failed;
public static String PapyrusExportJobDescription;
public static String PageOne_DiagramTypeLabel;
public static String FileEditorJob_EditorOpenFailed;
public static String FileEditorJobDescription;
public static String FilterExtensionName;
public static String MyWizard;
public static String PageOne_OptionOne;
public static String PageTwo_OptionTwo;
public static String PageOne_Button;
public static String PageOne_Description;
public static String PageOne_ErrorMessage;
public static String PageOne_ImageExtensions;
public static String PageOne_Label;
public static String PageOne_Title;
public static String PageTwo_AdvancedButtonHideText;
public static String PageTwo_AdvancedButtonShowText;
public static String PageTwo_CoverAreaThrError;
public static String PageTwo_CoverAreaThrLabel;
public static String PageTwo_DistNeighborError;
public static String PageTwo_DistNeighborObjectsLabel;
public static String PageTwo_ShowImagesCheckboxLabel;
public static String PageTwo_SizeRateError;
public static String PageTwo_SizeRateLabel;
public static String PageTwo_ThreshError;
public static String PageTwo_ThreshLabel;
public static String PageTwo_Checkbox;
public static String PageTwo_Description;
public static String PageTwo_Title;
public static String PageTwo_ExportPapyrusModel;
public static String UMLrecognizerJob_GetXMIContentDescription;
public static String UMLrecognizerJob_JNIFail;
public static String UMLrecognizerJob_ProcessDescription;
public static String UMLrecognizerJob_RecognitionFail;
public static String UMLrecognizerJob_RecognitionFailGeneral;
public static String UMLrecognizerJob_RecognStart;
public static String UMLrecognizerJob_SetImageDescription;
public static String UMLrecognizerJob_UMLrecognizerJobName;
static {
// initialize resource bundle
NLS.initializeMessages(BUNDLE_NAME, Messages.class);
}
private Messages() {
}
}
| {
"content_hash": "4e4119f66eeb079c931c1110420a0375",
"timestamp": "",
"source": "github",
"line_count": 54,
"max_line_length": 105,
"avg_line_length": 40.592592592592595,
"alnum_prop": 0.833941605839416,
"repo_name": "s-case/uml-extraction",
"id": "eae593e4b5ab5812969557db8422786e1c3fa2e7",
"size": "2192",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "eu.scasefp7.eclipse.umlrec.ui/src/eu/scasefp7/eclipse/umlrec/ui/wizard/Messages.java",
"mode": "33188",
"license": "apache-2.0",
"language": [
{
"name": "Java",
"bytes": "251063"
}
],
"symlink_target": ""
} |
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.shansown.androidarchitecture">
<uses-permission android:name="android.permission.INTERNET"/>
<application
android:name=".App"
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme">
<activity
android:name=".ui.trending.TrendingActivity"
android:label="@string/launcher_name">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
</intent-filter>
</activity>
<provider
android:authorities="${applicationId}"
android:name=".data.db.provider.AAProvider"
android:exported="false"/>
</application>
</manifest> | {
"content_hash": "b8560b41de67f1281e2e827423d87eb5",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 68,
"avg_line_length": 32,
"alnum_prop": 0.6662946428571429,
"repo_name": "ShansOwn/android-architecture",
"id": "2ac4d69d5242ccd98b706531b8545f300b6f56b4",
"size": "896",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "app/src/main/AndroidManifest.xml",
"mode": "33188",
"license": "apache-2.0",
"language": [
{
"name": "Java",
"bytes": "190845"
}
],
"symlink_target": ""
} |
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.lany.pwv">
<uses-permission android:name="android.permission.INTERNET" />
<application
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:supportsRtl="true"
android:theme="@style/AppTheme">
<activity
android:name=".MainActivity"
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name=".Web1Activity"
android:exported="true" />
<activity
android:name=".Web2Activity"
android:exported="true" />
</application>
</manifest> | {
"content_hash": "a83410a1dddf263e5f641478f45fa518",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 76,
"avg_line_length": 32.03448275862069,
"alnum_prop": 0.5855758880516685,
"repo_name": "lany192/ProgressWebView",
"id": "19498536f02fe662f9a55c3b24917043481c012a",
"size": "929",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "sample/src/main/AndroidManifest.xml",
"mode": "33188",
"license": "apache-2.0",
"language": [
{
"name": "Java",
"bytes": "7964"
}
],
"symlink_target": ""
} |
function StartChallengeWindow() {
var StartChallengeView = require('ui/newChallenge/StartChallengeView');
var startChallengeView = new StartChallengeView();
var Picker = require('ui/newChallenge/Picker');
var picker = new Picker();
var self = Titanium.UI.createWindow({
navTintColor : 'white',
tintColor : '#E2BB5A',
barColor : '#E2BB5A',
extendEdges : [Ti.UI.EXTEND_EDGE_TOP],
backgroundColor : '#F5F4F2',
translucent : true,
statusBarStyle : Titanium.UI.iPhone.StatusBar.LIGHT_CONTENT,
layout : 'composite',
backButtonTitle : String.format(L('main:back'), ''),
//clipMode : Titanium.UI.iOS.CLIP_MODE_ENABLED
});
self.add(startChallengeView);
Ti.App.addEventListener('show_picker', function() {
if (!picker.isShown) {
self.add(picker);
picker.animate({
bottom : 0,
duration : 300
});
picker.isShown = true;
}
});
Ti.App.addEventListener('close_picker', function(e) {
if (picker.isShown) {
picker.animate({
bottom : -250,
duration : 300
}, function() {
self.remove(picker);
picker.isShown = false;
startChallengeView.getDateFromPicker(e.date);
});
}
});
Ti.App.addEventListener('back',function(){
self.close();
});
return self;
}
module.exports = StartChallengeWindow;
| {
"content_hash": "f56766b240f672d02899dd0a893dbf9d",
"timestamp": "",
"source": "github",
"line_count": 55,
"max_line_length": 72,
"avg_line_length": 23.145454545454545,
"alnum_prop": 0.6732128829536528,
"repo_name": "johneisenheim/bangcode",
"id": "116ddb42a255b11c65764c8ee1e6348245dfb31b",
"size": "1273",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "Resources/ui/newChallenge/StartChallengeWindow.js",
"mode": "33188",
"license": "apache-2.0",
"language": [
{
"name": "C",
"bytes": "123220"
},
{
"name": "C++",
"bytes": "14559"
},
{
"name": "JavaScript",
"bytes": "221118"
},
{
"name": "Makefile",
"bytes": "1229166"
},
{
"name": "Objective-C",
"bytes": "4845978"
},
{
"name": "Objective-C++",
"bytes": "8645"
},
{
"name": "Shell",
"bytes": "1371"
}
],
"symlink_target": ""
} |
layout: post
title: "Типовой конфиг сайта на связке NGINX + PHP-FPM"
categories: nginx php
description: "Типовой конфиг сайта на связке NGINX + PHP-FPM"
keywords: "nginx, php, php-fpm"
---
Пути файлов в зависимости от ОС, версии ОС и используемого софта (web-панели типа WHM или Parallels Plesk) могут очень сильно варьироваться, поэтому я их тут не указываю. Опции, в зависимости от конкретного сайта и сервера (особенно это касается PHP-FPM: используемого process manager и его настроек) также могут варьироваться в широких пределах. Здесь приведен более-менее дефолтный конфиг, с которым все должно “просто работать”, а производительность сервера можно тюнить уже потом.
Установки я не касаюсь ровно по той же причине. Если с nginx чаще всего все довольно просто, то с PHP-FPM каждый случай индивидуален в зависимости от используемого софта.
## NGINX Vhost
Возможные пути:
```
/etc/nginx/sites-enabled/example.conf
/etc/nginx/conf.d/example.conf
/etc/nginx/conf/example.conf
/etc/nginx/plesk.conf.d/vhosts/example.conf
```
можно попробовать посмотреть командой `nginx -V`, флаг `--conf-path`, затем уже смотреть инклуды в основном конфиге.
```
server {
listen 80;
root /srv/example.com;
server_name example.com;
error_log /var/log/nginx/example.com.error_log;
access_log /var/log/nginx/example.com.access_log;
index index.php;
location = /favicon.ico {
log_not_found off;
access_log off;
}
location = /robots.txt {
allow all;
log_not_found off;
access_log off;
}
location / {
# This is cool because no php is touched for static content.
# include the "?$args" part so non-default permalinks doesn't break when using query string
try_files $uri $uri/ /index.php?$args;
}
location ~ \.php$ {
# Filter out arbitrary code execution
location ~ \..*/.*\.php$ {return 404;}
fastcgi_index index.php;
include fastcgi_params;
fastcgi_pass unix:/var/run/php5-fpm.example.sock;
fastcgi_split_path_info ^(.+\.php)(/.+)$;
}
location ~* ^.+\.(jpg|jpeg|gif|png|svg|js|css|mp3|ogg|mpe?g|avi|zip|gz|bz2?|rar|swf)$ {
expires max;
log_not_found off;
}
}
```
## PHP-FPM pool definition
Возможные пути:
```
/etc/php5/fpm/pool.d/example.conf
/etc/php-fpm/pool.d/example.conf
/etc/php5-fpm/pool.d/example.conf
/usr/local/etc/php-fpm.conf
/usr/local/etc/php5/fpm/pool.d/example.conf
```
```
; Start a new pool named 'example'.
; the variable $pool can we used in any directive and will be replaced by the
; pool name ('example' here)
[example]
; Unix user/group of processes
; Note: The user is mandatory. If the group is not set, the default user's group
; will be used.
user = www-data
group = www-data
listen = /var/run/php5-fpm.example.sock
listen.owner = www-data
listen.group = www-data
pm = ondemand
pm.max_children = 20
; Chdir to this directory at the start.
; Note: relative path can be used.
; Default Value: current directory or / when chroot
chdir = /
``` | {
"content_hash": "10494c6a929141868a043a89ec5a4b8d",
"timestamp": "",
"source": "github",
"line_count": 106,
"max_line_length": 484,
"avg_line_length": 29.4811320754717,
"alnum_prop": 0.67808,
"repo_name": "strangeman/strangeman.github.io",
"id": "f4127d9bdd59c96eacca8bdf465c1b6865c4ed8b",
"size": "3774",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "_posts/2015-10-25-typical-nginx.md",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "CSS",
"bytes": "12018"
},
{
"name": "HTML",
"bytes": "19160"
},
{
"name": "JavaScript",
"bytes": "5990"
},
{
"name": "Ruby",
"bytes": "72"
},
{
"name": "SCSS",
"bytes": "10563"
}
],
"symlink_target": ""
} |
/// @ref core
/// @file glm/detail/type_vec.hpp
#pragma once
#include "qualifier.hpp"
#include "type_int.hpp"
#include "compute_vector_relational.hpp"
namespace glm{
namespace detail
{
template<typename T, std::size_t size, bool aligned>
struct storage
{
typedef struct type {
uint8 data[size];
} type;
};
#define GLM_ALIGNED_STORAGE_TYPE_STRUCT(x) \
template<typename T> \
struct storage<T, x, true> { \
GLM_ALIGNED_STRUCT(x) type { \
uint8 data[x]; \
}; \
};
GLM_ALIGNED_STORAGE_TYPE_STRUCT(1)
GLM_ALIGNED_STORAGE_TYPE_STRUCT(2)
GLM_ALIGNED_STORAGE_TYPE_STRUCT(4)
GLM_ALIGNED_STORAGE_TYPE_STRUCT(8)
GLM_ALIGNED_STORAGE_TYPE_STRUCT(16)
GLM_ALIGNED_STORAGE_TYPE_STRUCT(32)
GLM_ALIGNED_STORAGE_TYPE_STRUCT(64)
# if GLM_ARCH & GLM_ARCH_SSE2_BIT
template<>
struct storage<float, 16, true>
{
typedef glm_vec4 type;
};
template<>
struct storage<int, 16, true>
{
typedef glm_ivec4 type;
};
template<>
struct storage<unsigned int, 16, true>
{
typedef glm_uvec4 type;
};
/*
# else
typedef union __declspec(align(16)) glm_128
{
unsigned __int8 data[16];
} glm_128;
template<>
struct storage<float, 16, true>
{
typedef glm_128 type;
};
template<>
struct storage<int, 16, true>
{
typedef glm_128 type;
};
template<>
struct storage<unsigned int, 16, true>
{
typedef glm_128 type;
};
*/
# endif
# if (GLM_ARCH & GLM_ARCH_AVX_BIT)
template<>
struct storage<double, 32, true>
{
typedef glm_dvec4 type;
};
# endif
# if (GLM_ARCH & GLM_ARCH_AVX2_BIT)
template<>
struct storage<int64, 32, true>
{
typedef glm_i64vec4 type;
};
template<>
struct storage<uint64, 32, true>
{
typedef glm_u64vec4 type;
};
# endif
}//namespace detail
#if GLM_HAS_TEMPLATE_ALIASES
template <typename T, qualifier Q = defaultp> using tvec2 = vec<2, T, Q>;
template <typename T, qualifier Q = defaultp> using tvec3 = vec<3, T, Q>;
template <typename T, qualifier Q = defaultp> using tvec4 = vec<4, T, Q>;
#endif//GLM_HAS_TEMPLATE_ALIASES
/// @addtogroup core_precision
/// @{
/// 2 components vector of high single-qualifier floating-point numbers.
/// There is no guarantee on the actual qualifier.
///
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.1.5 Vectors</a>
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier</a>
typedef vec<2, float, highp> highp_vec2;
/// 2 components vector of medium single-qualifier floating-point numbers.
/// There is no guarantee on the actual qualifier.
///
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.1.5 Vectors</a>
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier</a>
typedef vec<2, float, mediump> mediump_vec2;
/// 2 components vector of low single-qualifier floating-point numbers.
/// There is no guarantee on the actual qualifier.
///
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.1.5 Vectors</a>
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier</a>
typedef vec<2, float, lowp> lowp_vec2;
/// 2 components vector of high double-qualifier floating-point numbers.
/// There is no guarantee on the actual qualifier.
///
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.1.5 Vectors</a>
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier</a>
typedef vec<2, double, highp> highp_dvec2;
/// 2 components vector of medium double-qualifier floating-point numbers.
/// There is no guarantee on the actual qualifier.
///
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.1.5 Vectors</a>
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier</a>
typedef vec<2, double, mediump> mediump_dvec2;
/// 2 components vector of low double-qualifier floating-point numbers.
/// There is no guarantee on the actual qualifier.
///
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.1.5 Vectors</a>
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier</a>
typedef vec<2, double, lowp> lowp_dvec2;
/// 2 components vector of high qualifier signed integer numbers.
/// There is no guarantee on the actual qualifier.
///
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.1.5 Vectors</a>
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier</a>
typedef vec<2, int, highp> highp_ivec2;
/// 2 components vector of medium qualifier signed integer numbers.
/// There is no guarantee on the actual qualifier.
///
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.1.5 Vectors</a>
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier</a>
typedef vec<2, int, mediump> mediump_ivec2;
/// 2 components vector of low qualifier signed integer numbers.
/// There is no guarantee on the actual qualifier.
///
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.1.5 Vectors</a>
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier</a>
typedef vec<2, int, lowp> lowp_ivec2;
/// 2 components vector of high qualifier unsigned integer numbers.
/// There is no guarantee on the actual qualifier.
///
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.1.5 Vectors</a>
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier</a>
typedef vec<2, uint, highp> highp_uvec2;
/// 2 components vector of medium qualifier unsigned integer numbers.
/// There is no guarantee on the actual qualifier.
///
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.1.5 Vectors</a>
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier</a>
typedef vec<2, uint, mediump> mediump_uvec2;
/// 2 components vector of low qualifier unsigned integer numbers.
/// There is no guarantee on the actual qualifier.
///
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.1.5 Vectors</a>
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier</a>
typedef vec<2, uint, lowp> lowp_uvec2;
/// 2 components vector of high qualifier bool numbers.
/// There is no guarantee on the actual qualifier.
///
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.1.5 Vectors</a>
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier</a>
typedef vec<2, bool, highp> highp_bvec2;
/// 2 components vector of medium qualifier bool numbers.
/// There is no guarantee on the actual qualifier.
///
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.1.5 Vectors</a>
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier</a>
typedef vec<2, bool, mediump> mediump_bvec2;
/// 2 components vector of low qualifier bool numbers.
/// There is no guarantee on the actual qualifier.
///
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.1.5 Vectors</a>
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier</a>
typedef vec<2, bool, lowp> lowp_bvec2;
/// @}
/// @addtogroup core_precision
/// @{
/// 3 components vector of high single-qualifier floating-point numbers.
/// There is no guarantee on the actual qualifier.
///
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.1.5 Vectors</a>
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier</a>
typedef vec<3, float, highp> highp_vec3;
/// 3 components vector of medium single-qualifier floating-point numbers.
/// There is no guarantee on the actual qualifier.
///
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.1.5 Vectors</a>
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier</a>
typedef vec<3, float, mediump> mediump_vec3;
/// 3 components vector of low single-qualifier floating-point numbers.
/// There is no guarantee on the actual qualifier.
///
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.1.5 Vectors</a>
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier</a>
typedef vec<3, float, lowp> lowp_vec3;
/// 3 components vector of high double-qualifier floating-point numbers.
/// There is no guarantee on the actual qualifier.
///
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.1.5 Vectors</a>
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier</a>
typedef vec<3, double, highp> highp_dvec3;
/// 3 components vector of medium double-qualifier floating-point numbers.
/// There is no guarantee on the actual qualifier.
///
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.1.5 Vectors</a>
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier</a>
typedef vec<3, double, mediump> mediump_dvec3;
/// 3 components vector of low double-qualifier floating-point numbers.
/// There is no guarantee on the actual qualifier.
///
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.1.5 Vectors</a>
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier</a>
typedef vec<3, double, lowp> lowp_dvec3;
/// 3 components vector of high qualifier signed integer numbers.
/// There is no guarantee on the actual qualifier.
///
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.1.5 Vectors</a>
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier</a>
typedef vec<3, int, highp> highp_ivec3;
/// 3 components vector of medium qualifier signed integer numbers.
/// There is no guarantee on the actual qualifier.
///
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.1.5 Vectors</a>
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier</a>
typedef vec<3, int, mediump> mediump_ivec3;
/// 3 components vector of low qualifier signed integer numbers.
/// There is no guarantee on the actual qualifier.
///
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.1.5 Vectors</a>
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier</a>
typedef vec<3, int, lowp> lowp_ivec3;
/// 3 components vector of high qualifier unsigned integer numbers.
/// There is no guarantee on the actual qualifier.
///
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.1.5 Vectors</a>
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier</a>
typedef vec<3, uint, highp> highp_uvec3;
/// 3 components vector of medium qualifier unsigned integer numbers.
/// There is no guarantee on the actual qualifier.
///
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.1.5 Vectors</a>
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier</a>
typedef vec<3, uint, mediump> mediump_uvec3;
/// 3 components vector of low qualifier unsigned integer numbers.
/// There is no guarantee on the actual qualifier.
///
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.1.5 Vectors</a>
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier</a>
typedef vec<3, uint, lowp> lowp_uvec3;
/// 3 components vector of high qualifier bool numbers.
///
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.1.5 Vectors</a>
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier</a>
typedef vec<3, bool, highp> highp_bvec3;
/// 3 components vector of medium qualifier bool numbers.
///
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.1.5 Vectors</a>
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier</a>
typedef vec<3, bool, mediump> mediump_bvec3;
/// 3 components vector of low qualifier bool numbers.
///
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.1.5 Vectors</a>
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier</a>
typedef vec<3, bool, lowp> lowp_bvec3;
/// @}
/// @addtogroup core_precision
/// @{
/// 4 components vector of high single-qualifier floating-point numbers.
///
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.1.5 Vectors</a>
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier</a>
typedef vec<4, float, highp> highp_vec4;
/// 4 components vector of medium single-qualifier floating-point numbers.
///
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.1.5 Vectors</a>
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier</a>
typedef vec<4, float, mediump> mediump_vec4;
/// 4 components vector of low single-qualifier floating-point numbers.
///
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.1.5 Vectors</a>
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier</a>
typedef vec<4, float, lowp> lowp_vec4;
/// 4 components vector of high double-qualifier floating-point numbers.
///
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.1.5 Vectors</a>
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier</a>
typedef vec<4, double, highp> highp_dvec4;
/// 4 components vector of medium double-qualifier floating-point numbers.
///
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.1.5 Vectors</a>
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier</a>
typedef vec<4, double, mediump> mediump_dvec4;
/// 4 components vector of low double-qualifier floating-point numbers.
///
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.1.5 Vectors</a>
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier</a>
typedef vec<4, double, lowp> lowp_dvec4;
/// 4 components vector of high qualifier signed integer numbers.
///
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.1.5 Vectors</a>
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier</a>
typedef vec<4, int, highp> highp_ivec4;
/// 4 components vector of medium qualifier signed integer numbers.
///
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.1.5 Vectors</a>
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier</a>
typedef vec<4, int, mediump> mediump_ivec4;
/// 4 components vector of low qualifier signed integer numbers.
///
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.1.5 Vectors</a>
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier</a>
typedef vec<4, int, lowp> lowp_ivec4;
/// 4 components vector of high qualifier unsigned integer numbers.
///
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.1.5 Vectors</a>
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier</a>
typedef vec<4, uint, highp> highp_uvec4;
/// 4 components vector of medium qualifier unsigned integer numbers.
///
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.1.5 Vectors</a>
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier</a>
typedef vec<4, uint, mediump> mediump_uvec4;
/// 4 components vector of low qualifier unsigned integer numbers.
///
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.1.5 Vectors</a>
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier</a>
typedef vec<4, uint, lowp> lowp_uvec4;
/// 4 components vector of high qualifier bool numbers.
///
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.1.5 Vectors</a>
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier</a>
typedef vec<4, bool, highp> highp_bvec4;
/// 4 components vector of medium qualifier bool numbers.
///
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.1.5 Vectors</a>
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier</a>
typedef vec<4, bool, mediump> mediump_bvec4;
/// 4 components vector of low qualifier bool numbers.
///
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.1.5 Vectors</a>
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier</a>
typedef vec<4, bool, lowp> lowp_bvec4;
/// @}
/// @addtogroup core_types
/// @{
// -- Default float definition --
#if(defined(GLM_PRECISION_LOWP_FLOAT))
typedef lowp_vec2 vec2;
typedef lowp_vec3 vec3;
typedef lowp_vec4 vec4;
#elif(defined(GLM_PRECISION_MEDIUMP_FLOAT))
typedef mediump_vec2 vec2;
typedef mediump_vec3 vec3;
typedef mediump_vec4 vec4;
#else //defined(GLM_PRECISION_HIGHP_FLOAT)
/// 2 components vector of floating-point numbers.
///
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.1.5 Vectors</a>
typedef highp_vec2 vec2;
//! 3 components vector of floating-point numbers.
///
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.1.5 Vectors</a>
typedef highp_vec3 vec3;
//! 4 components vector of floating-point numbers.
///
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.1.5 Vectors</a>
typedef highp_vec4 vec4;
#endif//GLM_PRECISION
// -- Default double definition --
#if(defined(GLM_PRECISION_LOWP_DOUBLE))
typedef lowp_dvec2 dvec2;
typedef lowp_dvec3 dvec3;
typedef lowp_dvec4 dvec4;
#elif(defined(GLM_PRECISION_MEDIUMP_DOUBLE))
typedef mediump_dvec2 dvec2;
typedef mediump_dvec3 dvec3;
typedef mediump_dvec4 dvec4;
#else //defined(GLM_PRECISION_HIGHP_DOUBLE)
/// 2 components vector of double-qualifier floating-point numbers.
///
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.1.5 Vectors</a>
typedef highp_dvec2 dvec2;
//! 3 components vector of double-qualifier floating-point numbers.
///
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.1.5 Vectors</a>
typedef highp_dvec3 dvec3;
//! 4 components vector of double-qualifier floating-point numbers.
///
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.1.5 Vectors</a>
typedef highp_dvec4 dvec4;
#endif//GLM_PRECISION
// -- Signed integer definition --
#if(defined(GLM_PRECISION_LOWP_INT))
typedef lowp_ivec2 ivec2;
typedef lowp_ivec3 ivec3;
typedef lowp_ivec4 ivec4;
#elif(defined(GLM_PRECISION_MEDIUMP_INT))
typedef mediump_ivec2 ivec2;
typedef mediump_ivec3 ivec3;
typedef mediump_ivec4 ivec4;
#else //defined(GLM_PRECISION_HIGHP_INT)
/// 2 components vector of signed integer numbers.
///
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.1.5 Vectors</a>
typedef highp_ivec2 ivec2;
/// 3 components vector of signed integer numbers.
///
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.1.5 Vectors</a>
typedef highp_ivec3 ivec3;
/// 4 components vector of signed integer numbers.
///
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.1.5 Vectors</a>
typedef highp_ivec4 ivec4;
#endif//GLM_PRECISION
// -- Unsigned integer definition --
#if(defined(GLM_PRECISION_LOWP_UINT))
typedef lowp_uvec2 uvec2;
typedef lowp_uvec3 uvec3;
typedef lowp_uvec4 uvec4;
#elif(defined(GLM_PRECISION_MEDIUMP_UINT))
typedef mediump_uvec2 uvec2;
typedef mediump_uvec3 uvec3;
typedef mediump_uvec4 uvec4;
#else //defined(GLM_PRECISION_HIGHP_UINT)
/// 2 components vector of unsigned integer numbers.
///
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.1.5 Vectors</a>
typedef highp_uvec2 uvec2;
/// 3 components vector of unsigned integer numbers.
///
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.1.5 Vectors</a>
typedef highp_uvec3 uvec3;
/// 4 components vector of unsigned integer numbers.
///
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.1.5 Vectors</a>
typedef highp_uvec4 uvec4;
#endif//GLM_PRECISION
// -- Boolean definition --
#if(defined(GLM_PRECISION_LOWP_BOOL))
typedef lowp_bvec2 bvec2;
typedef lowp_bvec3 bvec3;
typedef lowp_bvec4 bvec4;
#elif(defined(GLM_PRECISION_MEDIUMP_BOOL))
typedef mediump_bvec2 bvec2;
typedef mediump_bvec3 bvec3;
typedef mediump_bvec4 bvec4;
#else //defined(GLM_PRECISION_HIGHP_BOOL)
/// 2 components vector of boolean.
///
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.1.5 Vectors</a>
typedef highp_bvec2 bvec2;
/// 3 components vector of boolean.
///
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.1.5 Vectors</a>
typedef highp_bvec3 bvec3;
/// 4 components vector of boolean.
///
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.1.5 Vectors</a>
typedef highp_bvec4 bvec4;
#endif//GLM_PRECISION
/// @}
}//namespace glm
| {
"content_hash": "b8506d90b5b1cc724b8d090d4e75bc33",
"timestamp": "",
"source": "github",
"line_count": 562,
"max_line_length": 142,
"avg_line_length": 46.98398576512456,
"alnum_prop": 0.7074417723915924,
"repo_name": "f1nalspace/final_game_tech",
"id": "cf4f34c69c41955bf15335a2f2f0caf2a92fb0aa",
"size": "26405",
"binary": false,
"copies": "7",
"ref": "refs/heads/master",
"path": "demos/dependencies/glm/detail/type_vec.hpp",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "Batchfile",
"bytes": "202"
},
{
"name": "C",
"bytes": "2724436"
},
{
"name": "C#",
"bytes": "30177"
},
{
"name": "C++",
"bytes": "56221"
}
],
"symlink_target": ""
} |
<?xml version="1.0" encoding="utf-8"?>
<resources>
<plurals name="albums_quantity">
<item quantity="one">1 album</item>
<item quantity="other">%d album</item>
</plurals>
<plurals name="mediafiles_quantity">
<item quantity="one">1 média fájl</item>
<item quantity="other">%d média fájl</item>
</plurals>
<plurals name="search_found_results_quantity">
<item quantity="one">%d találat</item>
<item quantity="other">%d találat</item>
</plurals>
<plurals name="songs_quantity">
<item quantity="one">1 szám</item>
<item quantity="other">%d szám</item>
</plurals>
<plurals name="subfolders_quantity">
<item quantity="one">1 almappa</item>
<item quantity="other">%d almappa</item>
</plurals>
<plurals name="videos_quantity">
<item quantity="one">1 videó</item>
<item quantity="other">%d videó</item>
</plurals>
<string msgid="4600421777120114993" name="abc_action_bar_home_description">"Ugrás a főoldalra"</string>
<string msgid="1397052879051804371" name="abc_action_bar_home_description_format">"%1$s, %2$s"</string>
<string msgid="6623331958280229229" name="abc_action_bar_home_subtitle_description_format">"%1$s, %2$s, %3$s"</string>
<string msgid="1594238315039666878" name="abc_action_bar_up_description">"Felfelé mozgatás"</string>
<string msgid="3588849162933574182" name="abc_action_menu_overflow_description">"További lehetőségek"</string>
<string msgid="4076576682505996667" name="abc_action_mode_done">"Kész"</string>
<string msgid="7468859129482906941" name="abc_activity_chooser_view_see_all">"Összes megtekintése"</string>
<string msgid="2031811694353399454" name="abc_activitychooserview_choose_application">"Válasszon ki egy alkalmazást"</string>
<string msgid="121134116657445385" name="abc_capital_off">"KI"</string>
<string msgid="3405795526292276155" name="abc_capital_on">"BE"</string>
<string msgid="7723749260725869598" name="abc_search_hint">"Keresés…"</string>
<string msgid="3691816814315814921" name="abc_searchview_description_clear">"Lekérdezés törlése"</string>
<string msgid="2550479030709304392" name="abc_searchview_description_query">"Keresési lekérdezés"</string>
<string msgid="8264924765203268293" name="abc_searchview_description_search">"Keresés"</string>
<string msgid="8928215447528550784" name="abc_searchview_description_submit">"Lekérdezés küldése"</string>
<string msgid="893419373245838918" name="abc_searchview_description_voice">"Hangalapú keresés"</string>
<string msgid="3421042268587513524" name="abc_shareactionprovider_share_with">"Megosztás a következővel:"</string>
<string msgid="7165123711973476752" name="abc_shareactionprovider_share_with_application">"Megosztás a következővel: %s"</string>
<string msgid="1603543279005712093" name="abc_toolbar_collapse_description">"Összecsukás"</string>
<string name="about">Névjegy</string>
<string name="about_text">A VLC Android™-ra a népszerű nyílt forráskódú VLC média lejátszó androidos változata. Ez a változat képes a legtöbb fájlból és hálózati forrásból lejátszani.</string>
<string name="add_custom_path">Saját útvonal hozzáadása</string>
<string name="add_custom_path_description">Adj meg egy saját könyvtárat a kereséshez:</string>
<string name="advanced_prefs_category">Speciális</string>
<string name="album">Album</string>
<string name="albums">Albumok</string>
<string name="all_albums">Összes album</string>
<string name="aout">Hangkimenet</string>
<string name="aout_summary">Változtasd meg a VLC hangkimenetét</string>
<string name="app_name_full">VLC Android™-ra</string>
<string name="append">Hozzáfűz</string>
<string name="append_all">Összes hozzáfűzése</string>
<string name="artist">Előadó</string>
<string name="artists">Előadók</string>
<string name="audio">Hang</string>
<string name="audio_delay">Hang csúszás</string>
<string name="audio_player_tips">Zenelejátszó tippek</string>
<string name="audio_title_alignment_left">Bal</string>
<string name="audio_title_alignment_right">Jobb</string>
<string name="automatic">Automatikus</string>
<string name="bookmarks">Könyvjelzők</string>
<string name="brightness">Fényerő</string>
<string name="cancel">Mégse</string>
<string name="chroma_format">Videó színesség kényszerítése</string>
<string name="clear_history">Keresési napló törlése</string>
<string name="clear_log">Napló törlése</string>
<string name="clear_media_db">Média adatbázis törlése</string>
<string name="compiled_by">Ezt a VLC verziót lefordította:</string>
<string name="confirm_delete">Törlöd ezt a fájlt: \'%1$s\'?</string>
<string name="copied_to_clipboard">Másolva a vágólapra!</string>
<string name="copy_to_clipboard">Másolás a vágólapra</string>
<string name="cover_art">Borító</string>
<string name="deblocking">Blokkszűrő beállítások</string>
<string name="deblocking_all">Nincs (leggyorsabb)</string>
<string name="deblocking_always">Teljes (leglassabb)</string>
<string name="deblocking_nonkey">Alacsony</string>
<string name="deblocking_nonref">Közepes</string>
<string name="deblocking_summary">Blokkszűrő beállítások módosítása. Javíthatja a videólejátszás minőségét. Csak haladó felhasználóknak.</string>
<string name="debug_logs">Hibakeresési naplók</string>
<string name="delete">Törlés</string>
<string name="developer_prefs_category">Fejlesztő</string>
<string name="directories">Könyvtárak</string>
<string name="directories_summary">Válassz könyvtárakat a médiatár felöltéséhez</string>
<string name="directory">Könyvtár</string>
<string name="enable_black_theme">Sötét téma engedélyezése</string>
<string name="enable_brightness_gesture">Fényerősség gesztus engedélyezése</string>
<string name="enable_brightness_gesture_summary">Fényerő szabályozása gesztussal videólejátszás közben</string>
<string name="enable_clone_mode">Klón preferálása</string>
<string name="enable_clone_mode_summary">Eszköz képernyőjének klónozása távvezérlés nélkül.</string>
<string name="enable_frame_skip">Képkocka eldobás engedélyezése</string>
<string name="enable_frame_skip_summary">Gyorsítja a dekódolást, de rontja a videólejátszás minőségét.</string>
<string name="enable_headset_detection">Fejhallgató észlelése</string>
<string name="enable_headset_detection_summary">Fejhallgató eltávolításakor szünet; visszahelyezésekor folytatás</string>
<string name="enable_jump_buttons">Ugrás gombok engedélyezése</string>
<string name="enable_jump_buttons_summary">Előre és hátra gombok megjelenítése videólejátszáskor</string>
<string name="enable_steal_remote_control">Kizárólagosan vezérelje a fejhallgatót</string>
<string name="enable_steal_remote_control_summary">A fejhallgató vezérlőit ne használhassák más alkalmazások. Ezzel megakadályozható a tárcsázás duplakattintáskor HTC telefonokon.</string>
<string name="enable_time_stretching_audio">Időbeli hangnyújtás</string>
<string name="enable_time_stretching_audio_summary">Hang gyorsítása vagy lassítása a hangmagasság változása nélkül (gyors eszköz kell hozzá)</string>
<string name="enable_verbose_mode">Részletes</string>
<string name="enable_verbose_mode_summary">Részletesebb naplózás (logcat)</string>
<string name="encountered_error_title">Lejátszási hiba</string>
<string name="equalizer">Equalizer </string>
<string name="error_not_compatible">Sajnáljuk, a készüléked jelenleg nem támogatott ebben a VLC Android™-ra verzióban.</string>
<string name="error_problem">Sajnáljuk, a VLC Androidra problémába ütközött a betöltés közben és bezárult.</string>
<string name="extra_prefs_category">Extra beállítások</string>
<string name="general_prefs_category">Általános</string>
<string name="genres">Műfajok</string>
<string name="hardware_acceleration">Hardveres gyorsítás</string>
<string name="hardware_acceleration_decoding">Dekódolás gyorsítás</string>
<string name="hardware_acceleration_disabled">Kikapcsolva</string>
<string name="hardware_acceleration_error_message">Hiba történt a hardveres gyorsítás közben. Szeretnéd kikapcsolni és újra megpróbálni?</string>
<string name="hardware_acceleration_error_title">Hardveres gyorsítás hiba</string>
<string name="hardware_acceleration_full">Teljes gyorsítás</string>
<string name="history">Előzmények</string>
<string name="hold_to_stop">Tartsd a leállításhoz</string>
<string name="info">Információ</string>
<string name="info_title">VLC</string>
<string name="interface_other_category">Kezelőfelület - Egyéb</string>
<string name="interface_prefs_screen">Kezelőfelület</string>
<string name="interface_secondary_display_category">Kezelőfelület - Másodlagos kijelző</string>
<string name="internal_memory">Belső memória</string>
<string name="invalid_location">%1$s helyet nem lehet lejátszani.</string>
<string name="jump_to_time">Ugrás időpontra</string>
<string name="last_playlist">Előző lejátszási lista</string>
<string name="licence">Licensz</string>
<string name="loading">Betöltés</string>
<string name="lock">Zárolás</string>
<string name="locked">Zárolva</string>
<string name="media_db_cleared">Média adatbázis törölve!</string>
<string name="mediafiles">Média fájlok</string>
<string name="network_browsing">Helyi hálózat</string>
<string name="network_caching">Hálózati gyorsítótárazás időtartama</string>
<string name="network_caching_summary">Hálózati műsor pufferelési ideje (ms). Nem működik hardveres dekódolásnál. Hagyd üresen az alapértelmezett értékhez.</string>
<string name="next">Következő</string>
<string name="no_file_picker_found">Nem található fájlkiválasztó ezen a rendszeren.</string>
<string name="nohistory">Még nincsenek lejátszási előzmények.</string>
<string name="nomedia">Nem található média fájl, kérjük hozd át a fájlokat az eszközödre vagy módosítsd a beállításokat.</string>
<string name="nosubdirectory">Nincsenek alkönyvtárak.</string>
<string name="not_show_again">Ne mutasd újra ezt az üzenetet.</string>
<string name="notavailable">nem elérhető</string>
<string name="ok">OK</string>
<string name="ok_got_it">Megvan, figyelmen kívül hagyás</string>
<string name="open">Megnyitás</string>
<string name="open_mrl">MRL megnyitása</string>
<string name="open_mrl_dialog_msg">Írd be a hálózati MRL-t: pl. http://, mms:// vagy rtsp://</string>
<string name="open_mrl_dialog_title">Hálózati műsor megnyitása</string>
<string name="options">Beállítások</string>
<string name="other">Egyéb</string>
<string name="parent_folder">Vissza a szülőkönyvtárhoz</string>
<string name="pause">Szünet</string>
<string name="performance_prefs_category">Teljesítmény</string>
<string name="play">Lejátszás</string>
<string name="play_all">Összes lejátszása</string>
<string name="play_as_audio">Lejátszás hangként</string>
<string name="play_as_video">Lejátszás videóként</string>
<string name="play_from_start">Lejátszás indításkor</string>
<string name="playback_speed">Lejátszás sebessége</string>
<string name="playlist_tips">Lejátszási lista tippek</string>
<string name="playlists">Lejátszási listák</string>
<string name="please_wait">Kérlek várj...</string>
<string name="preferences">Beállítások</string>
<string name="previous">Előző</string>
<string name="previous_next_song">Előző/következő szám</string>
<string name="quit">Kilépés és újraindítás</string>
<string name="rearrange_order">Sorrend átrendezése</string>
<string name="refresh">Frissítés</string>
<string name="remove">Eltávolítás</string>
<string name="remove_custom_path">Saját útvonal eltávolítása</string>
<string name="remove_song">Szám eltávolítása</string>
<string name="resize">Átméretezés</string>
<string name="restart_vlc">VLC újraindítása</string>
<string name="revision">Javítás</string>
<string name="ringtone_error">Hiba történt a csengőhang beállítása közben.</string>
<string name="ringtone_set">\'%1$s\' beállítva csengőhangként.</string>
<string name="screen_orientation">Képernyő tájolása</string>
<string name="screen_orientation_landscape">Tájkép</string>
<string name="screen_orientation_portrait">Portré</string>
<string name="screen_orientation_reverse_landscape">Tájkép felcserélése</string>
<string name="screen_orientation_reverse_portrait">Portré felcserélése</string>
<string name="screen_orientation_sensor">Automatikus (szenzor)</string>
<string name="screen_orientation_start_lock">Indításkor zárolva</string>
<string name="search">Keresés</string>
<string name="search_history">Keresési napló</string>
<string name="searchable_hint">Keresés...</string>
<string name="send_log">Naplófájl küldése</string>
<string name="sending_log">Naplófájl küldése...</string>
<string name="set_locale">Hely beállítása</string>
<string name="set_locale_detail">Hagyd üresen a visszaállításhoz</string>
<string name="set_locale_popup">Lépj ki és indítsd újra a VLC-t a beállítások érvénybe lépéséhez.</string>
<string name="set_song">Beállítás csengőhangként</string>
<string name="show_playlist">Lejátszólista megjelenítése</string>
<string name="sleep_cancel">Elalváskapcsoló törlése</string>
<string name="sleep_title">Elalváskapcsoló</string>
<string name="songs">Számok</string>
<string name="sortby">Rendezés...</string>
<string name="sortby_date">Dátum</string>
<string name="sortby_date_desc">Dátum (leírás)</string>
<string name="sortby_length">Hosszúság</string>
<string name="sortby_length_desc">Hossz (leírás)</string>
<string name="sortby_name">Név</string>
<string name="sortby_name_desc">Név (leírás)</string>
<string name="sound_off">Hang ki</string>
<string name="sound_on">Hang be</string>
<string name="spu_delay">Felirat csúszás</string>
<string name="start_logging">Naplózás kezdése</string>
<string msgid="2869576371154716097" name="status_bar_notification_info_overflow">"999+"</string>
<string name="stop">Állj</string>
<string name="stop_logging">Naplózás befejezése</string>
<string name="subtitle_label">Feliratfájl hozzáadása</string>
<string name="subtitle_select">Feliratfájl kiválasztása</string>
<string name="subtitle_text_encoding">Felirat szöveg kódolás</string>
<string name="subtitles">Feliratok</string>
<string name="surface_best_fit">Legjobban illeszkedő</string>
<string name="surface_fill">Kitöltés</string>
<string name="surface_fit_horizontal">Vízszintes illeszkedés</string>
<string name="surface_fit_vertical">Függőleges illeszkedés</string>
<string name="surface_original">Központ</string>
<string name="thumbnail">Miniatűr</string>
<string name="title">Cím</string>
<string name="tools">Eszközök</string>
<string name="track_audio">Hangsáv</string>
<string name="track_codec_info">Kodek: %1$s\n</string>
<string name="track_language_info">Nyelv: %1$s\n</string>
<string name="track_resolution_info">Felbontás: %1$dx%2$d\n\n</string>
<string name="track_samplerate_info">Mintavételi frekvencia: %1$d Hz\n\n</string>
<string name="track_text">Feliratsáv</string>
<string name="track_unknown">Ismeretlen sáv</string>
<string name="track_video">Videosáv</string>
<string name="unknown_album">Ismeretlen album</string>
<string name="unknown_artist">Ismeretlen előadó</string>
<string name="unknown_genre">Ismeretlen műfaj</string>
<string name="unlocked">Feloldva</string>
<string name="unseekable_stream">Nem lehet ugrani ebben a műsorban</string>
<string name="validation">Biztosan vagy benne?</string>
<string name="video">Videó</string>
<string name="video_player_tips">Lejátszó tippek:</string>
<string name="vlc_authors">VLC szerzők.</string>
<string name="volume">Hangerő</string>
<string name="vout">Videókimenet</string>
<string name="vout_android_surface">Android felület</string>
<string name="vout_summary">Változtasd meg a VLC videókimenetét.</string>
</resources> | {
"content_hash": "17c3d1560cbc4b2bc59589c308e5052f",
"timestamp": "",
"source": "github",
"line_count": 249,
"max_line_length": 196,
"avg_line_length": 65.96787148594377,
"alnum_prop": 0.7301229757701205,
"repo_name": "hanhailong/VCL-Android",
"id": "1e842e66caaf40e932749f977fe76d0fa3b3259e",
"size": "17069",
"binary": false,
"copies": "3",
"ref": "refs/heads/master",
"path": "vlc-android/build/intermediates/res/merged/chromeARMv5/debug/values-hu/values-hu.xml",
"mode": "33188",
"license": "apache-2.0",
"language": [
{
"name": "Java",
"bytes": "6022428"
}
],
"symlink_target": ""
} |
import * as asn1js from "asn1js";
import { getParametersValue, clearProps } from "pvutils";
import GeneralName from "./GeneralName.js";
//**************************************************************************************
/**
* Class from RFC5280
*/
export default class AuthorityKeyIdentifier
{
//**********************************************************************************
/**
* Constructor for AuthorityKeyIdentifier class
* @param {Object} [parameters={}]
* @param {Object} [parameters.schema] asn1js parsed value to initialize the class from
*/
constructor(parameters = {})
{
//region Internal properties of the object
if("keyIdentifier" in parameters)
/**
* @type {OctetString}
* @desc keyIdentifier
*/
this.keyIdentifier = getParametersValue(parameters, "keyIdentifier", AuthorityKeyIdentifier.defaultValues("keyIdentifier"));
if("authorityCertIssuer" in parameters)
/**
* @type {Array.<GeneralName>}
* @desc authorityCertIssuer
*/
this.authorityCertIssuer = getParametersValue(parameters, "authorityCertIssuer", AuthorityKeyIdentifier.defaultValues("authorityCertIssuer"));
if("authorityCertSerialNumber" in parameters)
/**
* @type {Integer}
* @desc authorityCertIssuer
*/
this.authorityCertSerialNumber = getParametersValue(parameters, "authorityCertSerialNumber", AuthorityKeyIdentifier.defaultValues("authorityCertSerialNumber"));
//endregion
//region If input argument array contains "schema" for this object
if("schema" in parameters)
this.fromSchema(parameters.schema);
//endregion
}
//**********************************************************************************
/**
* Return default values for all class members
* @param {string} memberName String name for a class member
*/
static defaultValues(memberName)
{
switch(memberName)
{
case "keyIdentifier":
return new asn1js.OctetString();
case "authorityCertIssuer":
return [];
case "authorityCertSerialNumber":
return new asn1js.Integer();
default:
throw new Error(`Invalid member name for AuthorityKeyIdentifier class: ${memberName}`);
}
}
//**********************************************************************************
/**
* Return value of pre-defined ASN.1 schema for current class
*
* ASN.1 schema:
* ```asn1
* AuthorityKeyIdentifier OID ::= 2.5.29.35
*
* AuthorityKeyIdentifier ::= SEQUENCE {
* keyIdentifier [0] KeyIdentifier OPTIONAL,
* authorityCertIssuer [1] GeneralNames OPTIONAL,
* authorityCertSerialNumber [2] CertificateSerialNumber OPTIONAL }
*
* KeyIdentifier ::= OCTET STRING
* ```
*
* @param {Object} parameters Input parameters for the schema
* @returns {Object} asn1js schema object
*/
static schema(parameters = {})
{
/**
* @type {Object}
* @property {string} [blockName]
* @property {string} [keyIdentifier]
* @property {string} [authorityCertIssuer]
* @property {string} [authorityCertSerialNumber]
*/
const names = getParametersValue(parameters, "names", {});
return (new asn1js.Sequence({
name: (names.blockName || ""),
value: [
new asn1js.Primitive({
name: (names.keyIdentifier || ""),
optional: true,
idBlock: {
tagClass: 3, // CONTEXT-SPECIFIC
tagNumber: 0 // [0]
}
}),
new asn1js.Constructed({
optional: true,
idBlock: {
tagClass: 3, // CONTEXT-SPECIFIC
tagNumber: 1 // [1]
},
value: [
new asn1js.Repeated({
name: (names.authorityCertIssuer || ""),
value: GeneralName.schema()
})
]
}),
new asn1js.Primitive({
name: (names.authorityCertSerialNumber || ""),
optional: true,
idBlock: {
tagClass: 3, // CONTEXT-SPECIFIC
tagNumber: 2 // [2]
}
})
]
}));
}
//**********************************************************************************
/**
* Convert parsed asn1js object into current class
* @param {!Object} schema
*/
fromSchema(schema)
{
//region Clear input data first
clearProps(schema, [
"keyIdentifier",
"authorityCertIssuer",
"authorityCertSerialNumber"
]);
//endregion
//region Check the schema is valid
const asn1 = asn1js.compareSchema(schema,
schema,
AuthorityKeyIdentifier.schema({
names: {
keyIdentifier: "keyIdentifier",
authorityCertIssuer: "authorityCertIssuer",
authorityCertSerialNumber: "authorityCertSerialNumber"
}
})
);
if(asn1.verified === false)
throw new Error("Object's schema was not verified against input data for AuthorityKeyIdentifier");
//endregion
//region Get internal properties from parsed schema
if("keyIdentifier" in asn1.result)
this.keyIdentifier = new asn1js.OctetString({ valueHex: asn1.result.keyIdentifier.valueBlock.valueHex });
if("authorityCertIssuer" in asn1.result)
this.authorityCertIssuer = Array.from(asn1.result.authorityCertIssuer, element => new GeneralName({ schema: element }));
if("authorityCertSerialNumber" in asn1.result)
this.authorityCertSerialNumber = new asn1js.Integer({ valueHex: asn1.result.authorityCertSerialNumber.valueBlock.valueHex });
//endregion
}
//**********************************************************************************
/**
* Convert current object to asn1js object and set correct values
* @returns {Object} asn1js object
*/
toSchema()
{
//region Create array for output sequence
const outputArray = [];
if("keyIdentifier" in this)
{
outputArray.push(new asn1js.Primitive({
idBlock: {
tagClass: 3, // CONTEXT-SPECIFIC
tagNumber: 0 // [0]
},
valueHex: this.keyIdentifier.valueBlock.valueHex
}));
}
if("authorityCertIssuer" in this)
{
outputArray.push(new asn1js.Constructed({
idBlock: {
tagClass: 3, // CONTEXT-SPECIFIC
tagNumber: 1 // [1]
},
value: Array.from(this.authorityCertIssuer, element => element.toSchema())
}));
}
if("authorityCertSerialNumber" in this)
{
outputArray.push(new asn1js.Primitive({
idBlock: {
tagClass: 3, // CONTEXT-SPECIFIC
tagNumber: 2 // [2]
},
valueHex: this.authorityCertSerialNumber.valueBlock.valueHex
}));
}
//endregion
//region Construct and return new ASN.1 schema for this object
return (new asn1js.Sequence({
value: outputArray
}));
//endregion
}
//**********************************************************************************
/**
* Convertion for the class to JSON object
* @returns {Object}
*/
toJSON()
{
const object = {};
if("keyIdentifier" in this)
object.keyIdentifier = this.keyIdentifier.toJSON();
if("authorityCertIssuer" in this)
object.authorityCertIssuer = Array.from(this.authorityCertIssuer, element => element.toJSON());
if("authorityCertSerialNumber" in this)
object.authorityCertSerialNumber = this.authorityCertSerialNumber.toJSON();
return object;
}
//**********************************************************************************
}
//**************************************************************************************
| {
"content_hash": "867f2f7d8c01d8bda3dd72628b122cf1",
"timestamp": "",
"source": "github",
"line_count": 244,
"max_line_length": 163,
"avg_line_length": 30.40573770491803,
"alnum_prop": 0.5812104057150559,
"repo_name": "GlobalSign/PKI.js",
"id": "6573c8f502009fa1665b39dd2ad60981e8552141",
"size": "7419",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "src/AuthorityKeyIdentifier.js",
"mode": "33188",
"license": "bsd-3-clause",
"language": [
{
"name": "JavaScript",
"bytes": "1064115"
}
],
"symlink_target": ""
} |
"""
Wrapper functions for running the Kappa programs *Kasim* and *complx*.
In general only the following three functions will be needed for typical use:
* :py:func:`run_simulation`
* :py:func:`influence_map`
* :py:func:`contact_map`
The other functions are used internally and manage the execution of the Kappa
software and the parsing of the data into a Numpy format.
"""
__author__ = "johnbachman"
import pysb
from pysb.generator.kappa import KappaGenerator
import os
import subprocess
import random
import re
import sympy
import numpy as np
def run_simulation(model, **kwargs):
"""Runs the given model using KaSim and returns the parsed results.
Parameters
----------
**kwargs : List of keyword arguments
All keyword arguments specifying conditions for the simulation are
passed to the function :py:func:`run_kasim` (see documentation
associated with that function for more information).
Returns
-------
numpy.ndarray
Returns the kasim simulation data as a Numpy ndarray. Data is accessed
using the syntax::
results[index_name]
The index 'time' gives the data for the time coordinates of the
simulation. Data for the observables can be accessed by indexing the
array with the names of the observables.
"""
outs = run_kasim(model, **kwargs)
return parse_kasim_outfile(outs['out'])
def influence_map(model, do_open=False, **kwargs):
"""Generates the influence map.
Runs KaSim with no events or points and sets the dump_influence_map
argument to True.
Parameters
----------
model : pysb.core.Model
The model for generating the influence map.
do_open : boolean
If do_open is set to True, then calls the :py:func:`open_file` method
to display the influence map using the default program for opening .gv
files (e.g., GraphViz).
**kwargs : other keyword arguments
Any other keyword arguments are passed to the function
:py:func:`run_kasim`.
Returns
-------
string
Returns the name of the .gv (GraphViz) file where the influence map
has been stored. This can subsequently be used to build a networkx or
PyGraphViz graph.
"""
kasim_dict = run_kasim(model, time=0, points=0, dump_influence_map=True,
**kwargs)
im_filename = kasim_dict['im']
if do_open:
open_file(im_filename)
return im_filename
def contact_map(model, output_dir='.', base_filename=None, do_open=False,
**kwargs):
"""Runs complx with arguments for generating the contact map.
Parameters
----------
model : pysb.core.Model
The model for generating the contact map.
output_dir : string
The subdirectory in which to generate the Kappa (.ka) file for the
model and all output files produced by complx. Default value is '.'
Note that only relative paths can be specified; paths are relative
to the directory where the current Python instance is running.
If the specified directory does not exist, an Exception is thrown.
base_filename : string
The base filename to be used for generation of the Kappa (.ka) file and
all output files produced by complx. Defaults to a string of the form::
'%s_%d_%d_temp' % (model.name, os.getpid(), random.randint(0,10000))
The contact map filenames append '_cm.jpg' and '_cm.dot' to this base
filename; the reachable complexes filename appends '_rch.dot'.
do_open : boolean
If do_open is set to True, then calls the :py:func:`open_file` method
to display the contact map using the default program for opening .jpg
files.
**kwargs : other keyword arguments
Any other keyword arguments are passed through to the function
:py:func:`run_complx`.
"""
gen = KappaGenerator(model, dialect='complx')
if not base_filename:
base_filename = '%s/%s_%d_%d_temp' % (output_dir,
model.name, os.getpid(), random.randint(0, 10000))
kappa_filename = base_filename + '.ka'
jpg_filename = base_filename + '_cm.jpg'
dot_filename = base_filename + '_cm.dot'
reachables_filename = base_filename + '_rch.dot'
args = ['--output-high-res-contact-map-jpg', jpg_filename,
'--output-high-res-contact-map-dot', dot_filename,
'--output-reachable-complexes', reachables_filename]
run_complx(gen, kappa_filename, args, **kwargs)
if do_open:
open_file(jpg_filename)
### "PRIVATE" Functions ###############################################
def run_complx(gen, kappa_filename, args):
"""Generalized method for passing arguments to the complx executable.
Parameters
----------
gen : :py:class:`pysb.generator.KappaGenerator`
A KappaGenerator object that is used to produce the Kappa content
for writing to a file.
kappa_filename : string
The name of the file to write the generated Kappa to.
args : list of strings
List of command line arguments to pass to complx, with one entry for
each argument, for example::
['--output-high-res-contact-map-jpg', jpg_filename]
"""
try:
kappa_file = open(kappa_filename, 'w')
kappa_file.write(gen.get_content())
kappa_file.close()
cmd = 'complx ' + ' '.join(args) + ' ' + kappa_filename
print "Command: " + cmd
p = subprocess.Popen(['complx'] + args + [kappa_filename],
stdout=subprocess.PIPE, stderr=subprocess.PIPE)
#p.communicate()
p.wait()
if p.returncode:
raise Exception(p.stderr.read())
except Exception as e:
raise Exception("problem running complx: " + str(e))
def run_kasim(model, time=10000, points=200, output_dir='.', cleanup=False,
base_filename=None, dump_influence_map=False,
perturbation=None):
"""Run KaSim on the given model with the provided arguments.
Parameters
----------
model : pysb.core.Model
The model to simulate/analyze using KaSim.
time : number
The amount of time (in arbitrary units) to run a simulation.
Identical to the -t argument when using KaSim at the command line.
Default value is 10000. If set to 0, no simulation will be run, but
the influence map will be generated (if dump_influence_map is set to
True).
points : integer
The number of data points to collect for plotting.
Identical to the -p argument when using KaSim at the command line.
Default value is 200.
output_dir : string
The subdirectory in which to generate the Kappa (.ka) file for the
model and all output files produced by KaSim. Default value is '.'
Note that only relative paths can be specified; paths are relative
to the directory where the current Python instance is running.
If the specified directory does not exist, an Exception is thrown.
cleanup : boolean
Specifies whether output files produced by KaSim should be deleted
after execution is completed. Default value is False.
base_filename : The base filename to be used for generation of the Kappa
(.ka) file and all output files produced by KaSim. Defaults to a
string of the form::
'%s_%d_%d_temp' % (model.name, program id, random.randint(0,10000))
The influence map filename appends '_im.dot' to this base filename; the
flux map filename appends '_fm.dot'; and the simulation output file
appends '.out'
dump_influence_map : boolean
Specifies whether or not to produce the influence map. Default value
is False.
perturbation : string or None
Optional perturbation language syntax to be appended to the Kappa file.
See KaSim manual for more details. Default value is None (no
perturbation).
Returns
-------
A dict with three entries giving the filenames for the files produced:
* output_dict['out'] gives the .out filename
* output_dict['im'] gives the influence map filename
* output_dict['fm'] gives the flux map filename
"""
gen = KappaGenerator(model)
if not base_filename:
base_filename = '%s/%s_%d_%d_temp' % (output_dir,
model.name, os.getpid(), random.randint(0, 10000))
kappa_filename = base_filename + '.ka'
im_filename = base_filename + '_im.dot'
fm_filename = base_filename + '_fm.dot'
out_filename = base_filename + '.out'
args = ['-i', kappa_filename, '-t', str(time), '-p', str(points),
'-o', out_filename]
try:
kappa_file = open(kappa_filename, 'w')
# Generate the Kappa model code from the PySB model and write it to
# the Kappa file:
kappa_file.write(gen.get_content())
# If desired, add instructions to the kappa file to generate the
# influence map:
if dump_influence_map:
kappa_file.write('%def: "dumpInfluenceMap" "true"\n')
kappa_file.write('%%def: "influenceMapFileName" "%s"\n\n' %
im_filename)
# If any perturbation language code has been passed in, add it to the
# Kappa file:
if perturbation:
kappa_file.write('\n%s\n' % perturbation)
kappa_file.close()
print "Running kasim"
p = subprocess.Popen(['KaSim'] + args)
#stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
p.communicate()
if p.returncode:
raise Exception(p.stdout.read())
except Exception as e:
raise Exception("Problem running KaSim: " + str(e))
finally:
if cleanup:
for filename in [kappa_filename, im_filename,
fm_filename, out_filename]:
if os.access(filename, os.F_OK):
os.unlink(filename)
output_dict = {'out':out_filename, 'im':im_filename, 'fm':'flux.dot'}
return output_dict
def parse_kasim_outfile(out_filename):
"""
Parses the KaSim .out file into a Numpy ndarray.
Parameters
----------
out_filename : string
String specifying the location of the .out filename produced by KaSim.
Returns
-------
numpy.ndarray
Returns the KaSim simulation data as a Numpy ndarray. Data is accessed
using the syntax::
results[index_name]
The index 'time' gives the data for the time coordinates of the
simulation. Data for the observables can be accessed by indexing the
array with the names of the observables.
"""
try:
out_file = open(out_filename, 'r')
line = out_file.readline().strip() # Get the first line
out_file.close()
line = line[2:] # strip off opening '# '
raw_names = re.split(' ', line)
column_names = []
# Get rid of the quotes surrounding the observable names
for raw_name in raw_names:
mo = re.match("'(.*)'", raw_name)
if (mo): column_names.append(mo.group(1))
else: column_names.append(raw_name)
# Create the dtype argument for the numpy record array
dt = zip(column_names, ('float',)*len(column_names))
# Load the output file as a numpy record array, skip the name row
arr = np.loadtxt(out_filename, dtype=dt, skiprows=1)
except Exception as e:
raise Exception("problem parsing KaSim outfile: " + str(e))
return arr
def open_file(filename):
"""Utility function for opening files for display on Mac OS X.
Uses the 'open' command to open the given file using the default program
associated with the file's filetype. Ultimately this should be rewritten to
auto-detect the operating system and use the appropriate system call.
"""
try:
p = subprocess.Popen(['open'] + [filename],
stdout=subprocess.PIPE, stderr=subprocess.PIPE)
#p.communicate()
p.wait()
if p.returncode:
raise Exception(p.stderr.read())
except Exception as e:
raise Exception("Problem opening file: ", e)
| {
"content_hash": "74461cc19bb784e94cd6a528070640c0",
"timestamp": "",
"source": "github",
"line_count": 351,
"max_line_length": 80,
"avg_line_length": 35.33048433048433,
"alnum_prop": 0.6260785420530602,
"repo_name": "d-fan/pysb",
"id": "6ccbfd0a12acc46f42038dc32673f40b924a1bb1",
"size": "12401",
"binary": false,
"copies": "3",
"ref": "refs/heads/master",
"path": "pysb/kappa.py",
"mode": "33188",
"license": "bsd-2-clause",
"language": [
{
"name": "DOT",
"bytes": "1238"
},
{
"name": "Puppet",
"bytes": "3461"
},
{
"name": "Python",
"bytes": "471295"
},
{
"name": "Ruby",
"bytes": "2124"
},
{
"name": "Shell",
"bytes": "4507"
}
],
"symlink_target": ""
} |
using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Steep.Web.Controllers.Tests")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("Steep.Web.Controllers.Tests")]
[assembly: AssemblyCopyright("Copyright © 2016")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("7c55353f-cb74-4e8e-b272-42da1c9c2194")]
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
| {
"content_hash": "f4b5209ee7d868867aca842287f0c97c",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 84,
"avg_line_length": 39.51428571428571,
"alnum_prop": 0.7454808387563269,
"repo_name": "newmast/Steep",
"id": "a17f0e91e46a5392e8df07eae6da3f39eb160659",
"size": "1386",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "Source/Tests/Steep.Web.Controllers.Tests/Properties/AssemblyInfo.cs",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "ASP",
"bytes": "100"
},
{
"name": "C#",
"bytes": "182684"
},
{
"name": "CSS",
"bytes": "513"
},
{
"name": "JavaScript",
"bytes": "590"
}
],
"symlink_target": ""
} |
import { NG_VALUE_ACCESSOR, ControlValueAccessor } from '@angular/forms';
import { Component, OnInit, Input, EventEmitter, Output, forwardRef, ChangeDetectorRef, ChangeDetectionStrategy } from '@angular/core';
export const CHECKBOX_VALUE_ACCESSOR: any = {
provide: NG_VALUE_ACCESSOR,
useExisting: forwardRef(() => BulCheckboxComponent),
multi: true
};
@Component({
selector: 'bul-checkbox',
templateUrl: './bul-checkbox.component.html',
styleUrls: ['./bul-checkbox.component.scss'],
providers: [CHECKBOX_VALUE_ACCESSOR],
changeDetection: ChangeDetectionStrategy.OnPush
})
export class BulCheckboxComponent implements OnInit, ControlValueAccessor {
@Input() value: any;
@Input() name: string;
@Input() binary: string;
@Input() disabled: boolean;
@Output() change: EventEmitter<any> = new EventEmitter();
model: any;
checked: boolean;
constructor(private cdRef: ChangeDetectorRef) { }
onModelChange: Function = () => { };
onModelTouched: Function = () => { };
ngOnInit() {
}
writeValue(model: any): void {
this.model = model;
this.checked = this.isChecked();
this.cdRef.markForCheck();
}
registerOnChange(fn: Function): void {
this.onModelChange = fn;
}
registerOnTouched(fn: Function): void {
this.onModelTouched = fn;
}
setDisabledState(val: boolean): void {
this.disabled = val;
}
isChecked(): boolean {
if (this.binary) {
return this.model;
} else {
return this.model && this.model.indexOf(this.value) > -1;
}
}
updateModel() {
if (!this.binary) {
if (this.checked) {
this.addValue();
} else {
this.removeValue();
}
this.onModelChange(this.model);
} else {
this.onModelChange(this.checked);
}
}
handleChange(event) {
this.checked = event.target.checked;
this.updateModel();
}
addValue() {
this.model = [...this.model, this.value];
}
removeValue() {
this.model = this.model.filter(val => val !== this.value);
}
getDisabledState() {
return this.disabled;
}
}
| {
"content_hash": "5f20b448a1e2416d77410cf5a44dbbfb",
"timestamp": "",
"source": "github",
"line_count": 91,
"max_line_length": 135,
"avg_line_length": 22.87912087912088,
"alnum_prop": 0.6479346781940442,
"repo_name": "gsbybb/ng-bulma",
"id": "07d97b1348554a3243315f5993f795ef2ed6d7ea",
"size": "2082",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "src/app/ng-bulma/bul-checkbox/bul-checkbox.component.ts",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "CSS",
"bytes": "12730"
},
{
"name": "HTML",
"bytes": "8041"
},
{
"name": "JavaScript",
"bytes": "1996"
},
{
"name": "TypeScript",
"bytes": "48303"
}
],
"symlink_target": ""
} |
package com.example.androiduploadfile;
import java.io.InputStream;
import java.io.OutputStream;
import java.net.HttpURLConnection;
import java.net.URL;
import java.net.URLEncoder;
import org.json.JSONException;
import org.json.JSONObject;
public class UserUpdate {
public static void update() {
Thread t = new Thread() {
@Override
public void run() {
// 提交的数据需要经过url编码,英文和数字编码后不变
String path = "http://192.168.47.114:8080/ZuBa/servlet/Update";
try {
URL url = new URL(path);
HttpURLConnection conn = (HttpURLConnection) url
.openConnection();
conn.setRequestMethod("POST");
conn.setConnectTimeout(5000);
conn.setReadTimeout(5000);
// 拼接出要提交的数据的字符串
// String data = "name=" + URLEncoder.encode(name) +
// "&pass="
// + pass;
// String str = URLEncoder.encode("张三", "UTF-8");
// String str1 =new String("张三".getBytes(), "utf-8");
JSONObject jsonObject = new JSONObject();
JSONObject jsonObject1 = null;
try {
// headpicture = ?, nickname = ?, name = ?, job = ?, sex
// = ?,
// age = ?, address = ? where username = ?";
jsonObject.put("username", "李四");
jsonObject.put("name", "李四");
jsonObject.put("headpicture",
"http://192.168.47.114:8080/ZuBa/images/1.jpg");
jsonObject.put("nickname", "lisi");
jsonObject.put("job", "老师");
jsonObject.put("sex", "男");
jsonObject.put("age", 20);
jsonObject.put("address", "北京");
// jsonObject1 = new JSONObject();
// jsonObject1.put("login", jsonObject);
} catch (JSONException e1) {
// TODO Auto-generated catch block
e1.printStackTrace();
}
// Log.i("lifeweeker", jsonObject2.toString());
String str = jsonObject.toString();
String string = URLEncoder.encode(str, "UTF-8");
System.out.println("update_json" + str);
System.out.println(string);
byte[] b = string.getBytes();
// 添加post请求的两行属性
conn.setRequestProperty("Content-Type",
"application/x-www-form-urlencoded;charset=UTF-8");
conn.setRequestProperty("Content-Length", b.length + "");
// 设置打开输出流
conn.setDoOutput(true);
// 拿到输出流
// OutputStreamWriter out = new
// OutputStreamWriter(conn.getOutputStream(), "UTF-8");
// out.append(string);
OutputStream os = conn.getOutputStream();
// 使用输出流往服务器提交数据
os.write(b);
// 如果响应码为200,说明请求成功
System.out.println(conn.getResponseCode() + "");
if (conn.getResponseCode() == 200) {
// 获取服务器响应头中的流,流里的数据就是客户端请求的数据
InputStream is = conn.getInputStream();
String text = InputStreamString.getTextFromStream(is);
System.out.println(text);
}
} catch (Exception e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
}
};
t.start();
}
}
| {
"content_hash": "d23b30fc2f21cfaa5d71488506655a7f",
"timestamp": "",
"source": "github",
"line_count": 102,
"max_line_length": 67,
"avg_line_length": 28.03921568627451,
"alnum_prop": 0.6157342657342657,
"repo_name": "yuSniper/FileUpLoad-android-web",
"id": "5bbaba518da99152e4fc22356eb8db3ffc0d9640",
"size": "3104",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "android/AndroidUploadFile/src/com/example/androiduploadfile/UserUpdate.java",
"mode": "33188",
"license": "apache-2.0",
"language": [
{
"name": "Java",
"bytes": "132937"
}
],
"symlink_target": ""
} |
Welcome! We would love to have you contribute bug fixes or new functionality to Prism.
The best starting point is to enter an Issue [here](https://github.com/PrismLibrary/Prism/issues). We can then have a brief discussion on what you want to do and where it fits with our milestones and goals for the library. As long as it sounds like something we would want to add to Prism, we will give you a thumbs up and ask for a pull request.
When you submit a pull request, there are a few things we would like you to comply with:
- New functionality must have accompanying unit tests with "good" code coverage if it is logic code that can be unit tested (i.e. not view stuff touching UI or platform APIs)
- Changes to existing functionality needs to be checked that it does not break any existing unit tests. If it does, then fixes to the unit test may be appropriate, but only if those changes maintain the original intent of the test.
- Some basic coding standard guidelines to start with:
- no leading "this."
- single type per file
- interface-based design to preserve testability and extensibility
- due consideration for inheritance (i.e. consider carefully whether something should be protected or virtual)
- member variables have leading underscore and are _camelCased
- local variables are camelCased with no prefix
- Types, properties, methods, events are PascalCased
| {
"content_hash": "2b1dd0be7d1b2946146a28991cc07263",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 346,
"avg_line_length": 92.53333333333333,
"alnum_prop": 0.7824207492795389,
"repo_name": "GaaH/Prism",
"id": "a28544b7e750c7e1a34feef3d4d491f97e45ae43",
"size": "1411",
"binary": false,
"copies": "2",
"ref": "refs/heads/master",
"path": "CONTRIBUTE.md",
"mode": "33188",
"license": "apache-2.0",
"language": [
{
"name": "C#",
"bytes": "1626085"
}
],
"symlink_target": ""
} |
```bash
# 1. Consultar la configuracion actual
$ cat ~/.gitconfig
# 2. Hacer un wrapper
$ echo -e '#!/bin/sh\n/usr/bin/opendiff "$2" "$5" -merge "$1"' > /usr/local/bin/programa-git-diff.sh
$ sudo chmod +x /usr/local/bin/programa-git-diff.sh
# 3. Setter de Git
$ git config --global diff.external programa-git-diff.sh
```
| {
"content_hash": "986676d7fa940cd2d7965092a1bb7d96",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 100,
"avg_line_length": 29.363636363636363,
"alnum_prop": 0.6718266253869969,
"repo_name": "sinaptica/curso-git",
"id": "5ced90398dc3429b55b92033dbef66a1b44b1f2f",
"size": "338",
"binary": false,
"copies": "2",
"ref": "refs/heads/master",
"path": "slides/git-advanced-config-3-b.md",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "CoffeeScript",
"bytes": "3846"
},
{
"name": "HTML",
"bytes": "7349"
},
{
"name": "JavaScript",
"bytes": "14011"
}
],
"symlink_target": ""
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace KPU_Assembler
{
public partial class LowLevelAssemblyVisitor<Result> : LowLevelAssemblyBaseVisitor<Result>
{
/// <summary>
/// OUT C
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
public override Result VisitOUT(LowLevelAssemblyParser.OUTContext context)
{
string outputPort = context.out_port_8bit().GetText();
string opcode = "1100111";
if (outputPort == "C")
opcode += "0";
else if (outputPort == "D")
opcode += "1";
else
throw new Exception("Invalid Output Port!");
opcode += " ; OUT ";
opcode += outputPort;
assembly.Add(opcode);
return base.VisitOUT(context);
}
}
}
| {
"content_hash": "1335da12e2b6dadc66b55eb6fa64ce63",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 94,
"avg_line_length": 27.82857142857143,
"alnum_prop": 0.5390143737166324,
"repo_name": "KPU-RISC/KPU",
"id": "9ac8d02d68673fb73903e17723b4a0907fddd484",
"size": "976",
"binary": false,
"copies": "2",
"ref": "refs/heads/master",
"path": "Assembler/KPU.Assembler/LowLevel/OUT.cs",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "ANTLR",
"bytes": "29950"
},
{
"name": "Assembly",
"bytes": "90455"
},
{
"name": "Batchfile",
"bytes": "744"
},
{
"name": "C",
"bytes": "3742"
},
{
"name": "C#",
"bytes": "1204893"
},
{
"name": "Prolog",
"bytes": "1028"
},
{
"name": "VHDL",
"bytes": "200338"
}
],
"symlink_target": ""
} |
/*You are given a binary tree in which each node contains a value. Design an alogorithm to print all paths which sum to a given value. The path does not need to start or end at the root or leaf, but must go in a straight line down*/
"use strict";
function getPaths(node, val, paths, results) {
if(!paths) {
paths = [];
}
if(!results) {
results = [];
}
if(!node) {
return null;
}
var nodeValue = node.value,
currentPath = nodeValue + "#" + nodeValue;
if(nodeValue == val) {
results.push(nodeValue.toString());
}
var pathLen = paths.length,
i = 0,
sum, path,
arr, pathText;
for(; i < pathLen; i++) {
path = paths[i];
arr = path.split("#");
pathText = arr[0];
sum = parseInt(arr[1]) || 0;
pathText = pathText + " -> " + nodeValue;
sum = sum + nodeValue;
paths[i] = pathText + "#" + sum;
if(sum == val) {
results.push(pathText);
}
}
paths.push(currentPath);
getPaths(node.left, val, paths.slice(), results);
getPaths(node.right, val, paths.slice(), results);
return results;
}
module.exports = function(node, val) {
var results = getPaths(node, val),
len = results.length,
index = 0;
return results;
};
| {
"content_hash": "c190661123e05cbbe12f9c420b46f2b3",
"timestamp": "",
"source": "github",
"line_count": 60,
"max_line_length": 232,
"avg_line_length": 19.65,
"alnum_prop": 0.6268023748939779,
"repo_name": "snatesan/problems",
"id": "03b393a7b2b49040e1f1f4feffc2ac6af060b2a9",
"size": "1179",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "lib/getpathsintree.js",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "JavaScript",
"bytes": "109499"
}
],
"symlink_target": ""
} |
package org.apache.commons.math3.analysis.interpolation;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import org.apache.commons.math3.analysis.differentiation.DerivativeStructure;
import org.apache.commons.math3.analysis.differentiation.UnivariateDifferentiableVectorFunction;
import org.apache.commons.math3.analysis.polynomials.PolynomialFunction;
import org.apache.commons.math3.exception.MathArithmeticException;
import org.apache.commons.math3.exception.NoDataException;
import org.apache.commons.math3.exception.ZeroException;
import org.apache.commons.math3.exception.util.LocalizedFormats;
import org.apache.commons.math3.util.CombinatoricsUtils;
/** Polynomial interpolator using both sample values and sample derivatives.
* <p>
* The interpolation polynomials match all sample points, including both values
* and provided derivatives. There is one polynomial for each component of
* the values vector. All polynomials have the same degree. The degree of the
* polynomials depends on the number of points and number of derivatives at each
* point. For example the interpolation polynomials for n sample points without
* any derivatives all have degree n-1. The interpolation polynomials for n
* sample points with the two extreme points having value and first derivative
* and the remaining points having value only all have degree n+1. The
* interpolation polynomial for n sample points with value, first and second
* derivative for all points all have degree 3n-1.
* </p>
*
* @since 3.1
*/
public class HermiteInterpolator implements UnivariateDifferentiableVectorFunction {
/** Sample abscissae. */
private final List<Double> abscissae;
/** Top diagonal of the divided differences array. */
private final List<double[]> topDiagonal;
/** Bottom diagonal of the divided differences array. */
private final List<double[]> bottomDiagonal;
/** Create an empty interpolator.
*/
public HermiteInterpolator() {
this.abscissae = new ArrayList<Double>();
this.topDiagonal = new ArrayList<double[]>();
this.bottomDiagonal = new ArrayList<double[]>();
}
/** Add a sample point.
* <p>
* This method must be called once for each sample point. It is allowed to
* mix some calls with values only with calls with values and first
* derivatives.
* </p>
* <p>
* The point abscissae for all calls <em>must</em> be different.
* </p>
* @param x abscissa of the sample point
* @param value value and derivatives of the sample point
* (if only one row is passed, it is the value, if two rows are
* passed the first one is the value and the second the derivative
* and so on)
* @exception ZeroException if the abscissa difference between added point
* and a previous point is zero (i.e. the two points are at same abscissa)
* @exception MathArithmeticException if the number of derivatives is larger
* than 20, which prevents computation of a factorial
*/
public void addSamplePoint(final double x, final double[] ... value)
throws ZeroException, MathArithmeticException {
for (int i = 0; i < value.length; ++i) {
final double[] y = value[i].clone();
if (i > 1) {
double inv = 1.0 / CombinatoricsUtils.factorial(i);
for (int j = 0; j < y.length; ++j) {
y[j] *= inv;
}
}
// update the bottom diagonal of the divided differences array
final int n = abscissae.size();
bottomDiagonal.add(n - i, y);
double[] bottom0 = y;
for (int j = i; j < n; ++j) {
final double[] bottom1 = bottomDiagonal.get(n - (j + 1));
final double inv = 1.0 / (x - abscissae.get(n - (j + 1)));
if (Double.isInfinite(inv)) {
throw new ZeroException(LocalizedFormats.DUPLICATED_ABSCISSA_DIVISION_BY_ZERO, x);
}
for (int k = 0; k < y.length; ++k) {
bottom1[k] = inv * (bottom0[k] - bottom1[k]);
}
bottom0 = bottom1;
}
// update the top diagonal of the divided differences array
topDiagonal.add(bottom0.clone());
// update the abscissae array
abscissae.add(x);
}
}
/** Compute the interpolation polynomials.
* @return interpolation polynomials array
* @exception NoDataException if sample is empty
*/
public PolynomialFunction[] getPolynomials()
throws NoDataException {
// safety check
checkInterpolation();
// iteration initialization
final PolynomialFunction zero = polynomial(0);
PolynomialFunction[] polynomials = new PolynomialFunction[topDiagonal.get(0).length];
for (int i = 0; i < polynomials.length; ++i) {
polynomials[i] = zero;
}
PolynomialFunction coeff = polynomial(1);
// build the polynomials by iterating on the top diagonal of the divided differences array
for (int i = 0; i < topDiagonal.size(); ++i) {
double[] tdi = topDiagonal.get(i);
for (int k = 0; k < polynomials.length; ++k) {
polynomials[k] = polynomials[k].add(coeff.multiply(polynomial(tdi[k])));
}
coeff = coeff.multiply(polynomial(-abscissae.get(i), 1.0));
}
return polynomials;
}
/** Interpolate value at a specified abscissa.
* <p>
* Calling this method is equivalent to call the {@link PolynomialFunction#value(double)
* value} methods of all polynomials returned by {@link #getPolynomials() getPolynomials},
* except it does not build the intermediate polynomials, so this method is faster and
* numerically more stable.
* </p>
* @param x interpolation abscissa
* @return interpolated value
* @exception NoDataException if sample is empty
*/
public double[] value(double x)
throws NoDataException {
// safety check
checkInterpolation();
final double[] value = new double[topDiagonal.get(0).length];
double valueCoeff = 1;
for (int i = 0; i < topDiagonal.size(); ++i) {
double[] dividedDifference = topDiagonal.get(i);
for (int k = 0; k < value.length; ++k) {
value[k] += dividedDifference[k] * valueCoeff;
}
final double deltaX = x - abscissae.get(i);
valueCoeff *= deltaX;
}
return value;
}
/** Interpolate value at a specified abscissa.
* <p>
* Calling this method is equivalent to call the {@link
* PolynomialFunction#value(DerivativeStructure) value} methods of all polynomials
* returned by {@link #getPolynomials() getPolynomials}, except it does not build the
* intermediate polynomials, so this method is faster and numerically more stable.
* </p>
* @param x interpolation abscissa
* @return interpolated value
* @exception NoDataException if sample is empty
*/
public DerivativeStructure[] value(final DerivativeStructure x)
throws NoDataException {
// safety check
checkInterpolation();
final DerivativeStructure[] value = new DerivativeStructure[topDiagonal.get(0).length];
Arrays.fill(value, x.getField().getZero());
DerivativeStructure valueCoeff = x.getField().getOne();
for (int i = 0; i < topDiagonal.size(); ++i) {
double[] dividedDifference = topDiagonal.get(i);
for (int k = 0; k < value.length; ++k) {
value[k] = value[k].add(valueCoeff.multiply(dividedDifference[k]));
}
final DerivativeStructure deltaX = x.subtract(abscissae.get(i));
valueCoeff = valueCoeff.multiply(deltaX);
}
return value;
}
/** Check interpolation can be performed.
* @exception NoDataException if interpolation cannot be performed
* because sample is empty
*/
private void checkInterpolation() throws NoDataException {
if (abscissae.isEmpty()) {
throw new NoDataException(LocalizedFormats.EMPTY_INTERPOLATION_SAMPLE);
}
}
/** Create a polynomial from its coefficients.
* @param c polynomials coefficients
* @return polynomial
*/
private PolynomialFunction polynomial(double ... c) {
return new PolynomialFunction(c);
}
}
| {
"content_hash": "1eb06be85e08aad9024f2238c7b2ae4a",
"timestamp": "",
"source": "github",
"line_count": 224,
"max_line_length": 102,
"avg_line_length": 38.47767857142857,
"alnum_prop": 0.6389372316974127,
"repo_name": "venkateshamurthy/java-quantiles",
"id": "15ed322947f81669d736a604f1dd4614c58d0595",
"size": "9421",
"binary": false,
"copies": "16",
"ref": "refs/heads/master",
"path": "src/main/java/org/apache/commons/math3/analysis/interpolation/HermiteInterpolator.java",
"mode": "33261",
"license": "apache-2.0",
"language": [
{
"name": "CSS",
"bytes": "869"
},
{
"name": "Java",
"bytes": "13651064"
},
{
"name": "R",
"bytes": "89646"
},
{
"name": "Shell",
"bytes": "72765"
},
{
"name": "XSLT",
"bytes": "2509"
}
],
"symlink_target": ""
} |
class AddStartDateToBaselines < ActiveRecord::Migration
def change
add_column :baselines, :start_date, :date
end
end | {
"content_hash": "f128d640e3e594422e1a11b26f6a0681",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 55,
"avg_line_length": 24.8,
"alnum_prop": 0.7661290322580645,
"repo_name": "momibun926/redmine_evm_custom",
"id": "9a49eee66855b402d1f036c3952c264948bd5a91",
"size": "124",
"binary": false,
"copies": "2",
"ref": "refs/heads/master",
"path": "db/migrate/012_add_start_date_to_baselines.rb",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "CSS",
"bytes": "840"
},
{
"name": "HTML",
"bytes": "13926"
},
{
"name": "JavaScript",
"bytes": "6144"
},
{
"name": "Ruby",
"bytes": "71484"
}
],
"symlink_target": ""
} |
jQuery(document).ready(function(){
jQuery('#guided_help_begin_button').click(function(){
jQuery('#guided_help_begin_dialog').modal('show');
});
jQuery('#guided_help_seedlot_inventory_button').click(function(){
jQuery('#guided_help_seedlot_inventory_dialog').modal('show');
});
jQuery('#guided_help_upload_phenotypes_button').click(function(){
jQuery('#guided_help_upload_phenotypes_dialog').modal('show');
});
jQuery('#guided_help_barcode_trial_button').click(function(){
jQuery('#guided_help_trial_barcoding_dialog').modal('show');
});
jQuery('#guided_help_trial_comparison_button').click(function(){
jQuery('#guided_help_trial_comparison_dialog').modal('show');
});
});
| {
"content_hash": "016b9e8588d2de3c2a2eed2cb9a1e3bd",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 70,
"avg_line_length": 37.75,
"alnum_prop": 0.6450331125827815,
"repo_name": "solgenomics/sgn",
"id": "c2643054eea80afa701a9055a7e103872371a667",
"size": "756",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "js/source/legacy/CXGN/GuidedHelp.js",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "C",
"bytes": "30370"
},
{
"name": "CSS",
"bytes": "420100"
},
{
"name": "HTML",
"bytes": "49243"
},
{
"name": "JavaScript",
"bytes": "6198825"
},
{
"name": "Makefile",
"bytes": "210"
},
{
"name": "PLpgSQL",
"bytes": "26903062"
},
{
"name": "Perl",
"bytes": "17566986"
},
{
"name": "Prolog",
"bytes": "3898"
},
{
"name": "Python",
"bytes": "1632"
},
{
"name": "R",
"bytes": "378627"
},
{
"name": "Raku",
"bytes": "628373"
},
{
"name": "SCSS",
"bytes": "3129"
},
{
"name": "Shell",
"bytes": "5592"
},
{
"name": "Terra",
"bytes": "92077"
}
],
"symlink_target": ""
} |
Rails.application.routes.draw do
mount Product::Engine => "/product"
end
| {
"content_hash": "0e0d2e317db03e4e1ba8c656b53a5088",
"timestamp": "",
"source": "github",
"line_count": 4,
"max_line_length": 37,
"avg_line_length": 19,
"alnum_prop": 0.7368421052631579,
"repo_name": "madetech/made-product-engine",
"id": "ea0cec129817438ed56a86d062e4a6951fd576e8",
"size": "76",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "test/dummy/config/routes.rb",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "CSS",
"bytes": "1092"
},
{
"name": "JavaScript",
"bytes": "1282"
},
{
"name": "Ruby",
"bytes": "39151"
}
],
"symlink_target": ""
} |
function o = Mcl_Poly_Compress(o)
% function o = Mcl_Poly_Compress(o)
% This compresses some information inside an Mcl_Poly object (to consume less storage area). This reduces some 64-bit floating point numbers
% down to 32-bit and clips o.X to only include columns for the linear terms.
% -------------------------------------------------------------------------------------------------------------------------------
% INPUT
% ---------------------------------------------------
% o
% An Mcl_Poly structure.
%--------------------------------------------------------------------------------------------------------------------------------
% OUTPUT
%----------------------------------------------------
% o.X (single 2D array, o.Ntsamp * o.Ndims)
% Polynomial expansion columns are clipped. Cast from double (64-bit) precision to single (32-bit) precision.
% o.Dv
% Cast from double (64-bit) precision to single (32-bit) precision.
% o.P
% Cast from double (64-bit) precision to single (32-bit) precision.
% o.H
% Cast from double (64-bit) precision to single (32-bit) precision.
%--------------------------------------------------------------------------------------------------------------------------------
if ~isstruct(o) || ~isfield(o, 'Class')
error('You must provide an Mcl_Poly or Mcl_Poly_Tngl structure as input.');
end
if isequal(o.Class, 'Mcl_Poly')
o.X = single(o.X(:,1:o.Ndims));
o.Dv = single(o.Dv);
o.P = single(o.P);
o.H = single(o.H);
elseif isequal(o.Class, 'Mcl_Poly_Tngl')
for i = 1:numel(o.UniClassifier)
o.UniClassifier(i) = Mcl_Poly_Compress(o.UniClassifier(i));
end
for i = 1:numel(o.PairClassifier)
o.PairClassifier(i) = Mcl_Poly_Compress(o.PairClassifier(i));
end
else
error('You must provide an Mcl_Poly or Mcl_Poly_Tngl structure as input.');
end | {
"content_hash": "d70d95dffaf350996fb264302fd5c476",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 141,
"avg_line_length": 43.78048780487805,
"alnum_prop": 0.5119777158774373,
"repo_name": "adaviding/Morpe",
"id": "3fb264b052a0b22c6419e46282ec0da144b6ca36",
"size": "1795",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "Matlab/Mcl_Poly_Compress.m",
"mode": "33188",
"license": "apache-2.0",
"language": [
{
"name": "C",
"bytes": "8168"
},
{
"name": "C#",
"bytes": "150904"
},
{
"name": "C++",
"bytes": "139628"
},
{
"name": "Matlab",
"bytes": "189545"
},
{
"name": "Objective-C",
"bytes": "20050"
}
],
"symlink_target": ""
} |
#include "test_strategies.h"
#include "src/strategyselector.h"
strategy_list_t strategies;
void init_test_strategies()
{
strategies.allocated = 0;
strategies.count = 0;
strategies.strategies = NULL;
// Init strategyselector because it sets hardware flags.
kvz_strategyselector_init(1, KVZ_BIT_DEPTH);
// Collect all strategies to be tested.
if (!kvz_strategy_register_picture(&strategies, KVZ_BIT_DEPTH)) {
fprintf(stderr, "strategy_register_picture failed!\n");
return;
}
if (!kvz_strategy_register_dct(&strategies, KVZ_BIT_DEPTH)) {
fprintf(stderr, "strategy_register_dct failed!\n");
return;
}
if (!kvz_strategy_register_quant(&strategies, KVZ_BIT_DEPTH)) {
fprintf(stderr, "strategy_register_quant failed!\n");
return;
}
}
| {
"content_hash": "c65af7e2b8b074f4410cf36f2eac57c8",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 67,
"avg_line_length": 22.457142857142856,
"alnum_prop": 0.6959287531806616,
"repo_name": "ultravideo/kvazaar",
"id": "1e8e4e44dbd7f19802f464922a0c2d5bfc88ee25",
"size": "2617",
"binary": false,
"copies": "2",
"ref": "refs/heads/master",
"path": "tests/test_strategies.c",
"mode": "33188",
"license": "bsd-3-clause",
"language": [
{
"name": "Assembly",
"bytes": "102503"
},
{
"name": "C",
"bytes": "2010085"
},
{
"name": "C++",
"bytes": "9024"
},
{
"name": "Dockerfile",
"bytes": "1815"
},
{
"name": "M4",
"bytes": "41227"
},
{
"name": "MATLAB",
"bytes": "208"
},
{
"name": "Makefile",
"bytes": "8340"
},
{
"name": "Python",
"bytes": "28255"
},
{
"name": "Shell",
"bytes": "13490"
}
],
"symlink_target": ""
} |
package com.networknt.petstore.handler;
import com.networknt.client.Http2Client;
import com.networknt.exception.ApiException;
import com.networknt.exception.ClientException;
import io.undertow.UndertowOptions;
import io.undertow.client.ClientConnection;
import io.undertow.client.ClientRequest;
import io.undertow.client.ClientResponse;
import io.undertow.util.Methods;
import org.junit.Assert;
import org.junit.ClassRule;
import org.junit.Test;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.xnio.IoUtils;
import org.xnio.OptionMap;
import java.net.URI;
import java.util.concurrent.CountDownLatch;
import java.util.concurrent.atomic.AtomicReference;
public class PetsPetIdGetHandlerTest {
@ClassRule
public static TestServer server = TestServer.getInstance();
static final Logger logger = LoggerFactory.getLogger(PetsPetIdGetHandlerTest.class);
static final boolean enableHttp2 = server.getServerConfig().isEnableHttp2();
static final boolean enableHttps = server.getServerConfig().isEnableHttps();
static final int httpPort = server.getServerConfig().getHttpPort();
static final int httpsPort = server.getServerConfig().getHttpsPort();
static final String url = enableHttp2 || enableHttps ? "https://localhost:" + httpsPort : "http://localhost:" + httpPort;
@Test
public void testPetsPetIdGetHandlerTest() throws ClientException, ApiException {
final Http2Client client = Http2Client.getInstance();
final CountDownLatch latch = new CountDownLatch(1);
final ClientConnection connection;
try {
connection = client.connect(new URI(url), Http2Client.WORKER, Http2Client.SSL, Http2Client.BUFFER_POOL, enableHttp2 ? OptionMap.create(UndertowOptions.ENABLE_HTTP2, true): OptionMap.EMPTY).get();
} catch (Exception e) {
throw new ClientException(e);
}
final AtomicReference<ClientResponse> reference = new AtomicReference<>();
try {
ClientRequest request = new ClientRequest().setPath("/v1/pets/111").setMethod(Methods.GET);
connection.sendRequest(request, client.createClientCallback(reference, latch));
latch.await();
} catch (Exception e) {
logger.error("Exception: ", e);
throw new ClientException(e);
} finally {
IoUtils.safeClose(connection);
}
int statusCode = reference.get().getResponseCode();
String body = reference.get().getAttachment(Http2Client.RESPONSE_BODY);
Assert.assertEquals(200, statusCode);
Assert.assertNotNull(body);
}
}
| {
"content_hash": "7eadf2f3ffbaa4d9a4630280ddcfaeab",
"timestamp": "",
"source": "github",
"line_count": 63,
"max_line_length": 207,
"avg_line_length": 42.095238095238095,
"alnum_prop": 0.7168174962292609,
"repo_name": "networknt/light-java-example",
"id": "57f24675cdaf0ce0afc09ee7413326b8d7aeb93d",
"size": "2653",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "middleware-performance/endpoint-source/src/test/java/com/networknt/petstore/handler/PetsPetIdGetHandlerTest.java",
"mode": "33188",
"license": "apache-2.0",
"language": [
{
"name": "HTML",
"bytes": "1251"
},
{
"name": "Java",
"bytes": "562730"
},
{
"name": "JavaScript",
"bytes": "20118"
},
{
"name": "PLSQL",
"bytes": "1936"
}
],
"symlink_target": ""
} |
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { ChartModule } from '../components/chart';
import { ApiService } from '../services/api';
import { SharedModule } from '../shared/shared.module';
import { HomeComponent } from './home.component';
import { HomeRoutingModule } from './home-routing.module';
@NgModule({
imports: [
SharedModule,
ChartModule,
HomeRoutingModule
],
providers: [
ApiService
],
declarations: [
HomeComponent
]
})
export class HomeModule { }
| {
"content_hash": "f0bc1336bd94623e283cd47ef5489014",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 58,
"avg_line_length": 22.833333333333332,
"alnum_prop": 0.677007299270073,
"repo_name": "artiz/ng2-monitor",
"id": "8f7e4f9046a994c2e15fa56a02a9b054238bfa2f",
"size": "548",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "src/app/home/home.module.ts",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "CSS",
"bytes": "2782"
},
{
"name": "HTML",
"bytes": "1880"
},
{
"name": "TypeScript",
"bytes": "33925"
}
],
"symlink_target": ""
} |
package gov.nih.nci.caintegrator.domain.annotation;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotSame;
import static org.junit.Assert.assertTrue;
import gov.nih.nci.caintegrator.application.study.AnnotationTypeEnum;
import gov.nih.nci.caintegrator.application.study.ValidationException;
import gov.nih.nci.caintegrator.common.DateUtil;
import java.util.Calendar;
import java.util.Date;
import org.apache.commons.collections.CollectionUtils;
import org.apache.commons.lang3.time.DateUtils;
import org.junit.Before;
import org.junit.Test;
/**
* Tests for String Annoation values.
*
* @author Abraham J. Evans-EL <[email protected]>
*/
public class DateAnnotationValueTest {
private DateAnnotationValue annotationValue;
private final Date firstDayOf2001 = DateUtils.truncate(new Date(), Calendar.YEAR);
/**
* Unit test set up.
*/
@Before
public void setUp() {
annotationValue = new DateAnnotationValue();
annotationValue.setDateValue(firstDayOf2001);
}
/**
* Tests conversion from a date value back to the same date value.
*
* @throws ValidationException on unexpected error
*/
@Test
public void dateToSameDate() throws ValidationException {
AnnotationDefinition annotationDefinition = new AnnotationDefinition();
annotationDefinition.setDataType(AnnotationTypeEnum.DATE);
annotationDefinition.getAnnotationValueCollection().add(annotationValue);
annotationValue.setAnnotationDefinition(annotationDefinition);
annotationValue.convertAnnotationValue(annotationDefinition);
assertEquals(1, annotationDefinition.getAnnotationValueCollection().size());
DateAnnotationValue value =
(DateAnnotationValue) annotationDefinition.getAnnotationValueCollection().iterator().next();
assertEquals(firstDayOf2001, value.getDateValue());
assertEquals(annotationValue, value);
}
/**
* Tests conversion from a date value back to a different date value.
*
* @throws ValidationException on unexpected error
*/
@Test
public void dateToDifferentDate() throws ValidationException {
AnnotationDefinition annotationDefinition = new AnnotationDefinition();
annotationDefinition.setDataType(AnnotationTypeEnum.DATE);
annotationDefinition.getAnnotationValueCollection().add(annotationValue);
AnnotationDefinition otherDefinition = new AnnotationDefinition();
otherDefinition.setDataType(AnnotationTypeEnum.DATE);
otherDefinition.getAnnotationValueCollection().add(annotationValue);
annotationValue.setAnnotationDefinition(annotationDefinition);
annotationValue.convertAnnotationValue(otherDefinition);
assertTrue(annotationDefinition.getAnnotationValueCollection().isEmpty());
assertEquals(2, otherDefinition.getAnnotationValueCollection().size());
DateAnnotationValue value =
(DateAnnotationValue) CollectionUtils.get(otherDefinition.getAnnotationValueCollection(), 1);
assertEquals(firstDayOf2001, value.getDateValue());
assertNotSame(annotationValue, value);
}
/**
* Tests conversion from an valid date to string value.
*
* @throws ValidationException on an unexpected validation exception
*/
@Test
public void dateToString() throws ValidationException {
AnnotationDefinition annotationDefinition = new AnnotationDefinition();
annotationDefinition.setDataType(AnnotationTypeEnum.STRING);
annotationDefinition.getAnnotationValueCollection().add(annotationValue);
annotationValue.setAnnotationDefinition(annotationDefinition);
annotationValue.convertAnnotationValue(annotationDefinition);
assertEquals(1, annotationDefinition.getAnnotationValueCollection().size());
StringAnnotationValue value =
(StringAnnotationValue) annotationDefinition.getAnnotationValueCollection().iterator().next();
assertEquals(DateUtil.toString(firstDayOf2001), value.toString());
}
/**
* Tests conversion from a date to a numeric value.
*
* @throws ValidationException on the expected validation exception
*/
@Test(expected = ValidationException.class)
public void dateToNumeric() throws ValidationException {
AnnotationDefinition annotationDefinition = new AnnotationDefinition();
annotationDefinition.setDataType(AnnotationTypeEnum.NUMERIC);
annotationDefinition.getAnnotationValueCollection().add(annotationValue);
annotationValue.setAnnotationDefinition(annotationDefinition);
annotationValue.convertAnnotationValue(annotationDefinition);
}
}
| {
"content_hash": "4e17480e5141633c9ae7cfe938b4400d",
"timestamp": "",
"source": "github",
"line_count": 118,
"max_line_length": 110,
"avg_line_length": 40.58474576271186,
"alnum_prop": 0.7467112131969096,
"repo_name": "NCIP/caintegrator",
"id": "4a0f2339f3952c816d3befd821af17246360207a",
"size": "4980",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "caintegrator-war/test/src/gov/nih/nci/caintegrator/domain/annotation/DateAnnotationValueTest.java",
"mode": "33188",
"license": "bsd-3-clause",
"language": [
{
"name": "CSS",
"bytes": "61091"
},
{
"name": "FreeMarker",
"bytes": "30688"
},
{
"name": "HTML",
"bytes": "828"
},
{
"name": "Java",
"bytes": "5239823"
},
{
"name": "JavaScript",
"bytes": "163834"
},
{
"name": "PLSQL",
"bytes": "55084"
},
{
"name": "Perl",
"bytes": "2710"
},
{
"name": "Shell",
"bytes": "3376"
},
{
"name": "TeX",
"bytes": "90"
},
{
"name": "XSLT",
"bytes": "157133"
}
],
"symlink_target": ""
} |
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "0b634449c5c7c3d7fb6399786e07f14b",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.307692307692308,
"alnum_prop": 0.6940298507462687,
"repo_name": "mdoering/backbone",
"id": "6878d6b596ecbde1e94cb7c27c56f977647094ad",
"size": "179",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "life/Plantae/Magnoliophyta/Liliopsida/Poales/Poaceae/Poa/Poa rigidula/README.md",
"mode": "33188",
"license": "apache-2.0",
"language": [],
"symlink_target": ""
} |
package com.betfair.publicapi.types.global.v3;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for MarketTypeEnum.
*
* <p>The following schema fragment specifies the expected content contained within this class.
* <p>
* <pre>
* <simpleType name="MarketTypeEnum">
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="O"/>
* <enumeration value="L"/>
* <enumeration value="R"/>
* <enumeration value="A"/>
* <enumeration value="NOT_APPLICABLE"/>
* </restriction>
* </simpleType>
* </pre>
*
*/
@XmlType(name = "MarketTypeEnum")
@XmlEnum
public enum MarketTypeEnum {
O,
L,
R,
A,
NOT_APPLICABLE;
public String value() {
return name();
}
public static MarketTypeEnum fromValue(String v) {
return valueOf(v);
}
}
| {
"content_hash": "7dece197e4c8ce3b0a83bfcff3288dce",
"timestamp": "",
"source": "github",
"line_count": 44,
"max_line_length": 95,
"avg_line_length": 20.977272727272727,
"alnum_prop": 0.6359696641386782,
"repo_name": "etothepii/haddock",
"id": "74e9d13f969999e91441d1c491698a64bf21cc02",
"size": "923",
"binary": false,
"copies": "2",
"ref": "refs/heads/master",
"path": "betfair/build/generated-sources/jax-ws/com/betfair/publicapi/types/global/v3/MarketTypeEnum.java",
"mode": "33188",
"license": "apache-2.0",
"language": [
{
"name": "Java",
"bytes": "3371236"
}
],
"symlink_target": ""
} |
import copy
from string import Template
import boto3
import json
from moto import mock_cloudformation, mock_ecr
import sure # noqa # pylint: disable=unused-import
from moto.core import DEFAULT_ACCOUNT_ID as ACCOUNT_ID
repo_template = Template(
json.dumps(
{
"AWSTemplateFormatVersion": "2010-09-09",
"Description": "ECR Repo Test",
"Resources": {
"Repo": {
"Type": "AWS::ECR::Repository",
"Properties": {"RepositoryName": "${repo_name}"},
}
},
"Outputs": {
"Arn": {
"Description": "Repo Arn",
"Value": {"Fn::GetAtt": ["Repo", "Arn"]},
}
},
}
)
)
@mock_ecr
@mock_cloudformation
def test_create_repository():
# given
cfn_client = boto3.client("cloudformation", region_name="eu-central-1")
name = "test-repo"
stack_name = "test-stack"
template = repo_template.substitute({"repo_name": name})
# when
cfn_client.create_stack(StackName=stack_name, TemplateBody=template)
# then
repo_arn = f"arn:aws:ecr:eu-central-1:{ACCOUNT_ID}:repository/{name}"
stack = cfn_client.describe_stacks(StackName=stack_name)["Stacks"][0]
stack["Outputs"][0]["OutputValue"].should.equal(repo_arn)
ecr_client = boto3.client("ecr", region_name="eu-central-1")
response = ecr_client.describe_repositories(repositoryNames=[name])
response["repositories"][0]["repositoryArn"].should.equal(repo_arn)
@mock_ecr
@mock_cloudformation
def test_update_repository():
# given
cfn_client = boto3.client("cloudformation", region_name="eu-central-1")
name = "test-repo"
stack_name = "test-stack"
template = repo_template.substitute({"repo_name": name})
cfn_client.create_stack(StackName=stack_name, TemplateBody=template)
template_update = copy.deepcopy(json.loads(template))
template_update["Resources"]["Repo"]["Properties"][
"ImageTagMutability"
] = "IMMUTABLE"
# when
cfn_client.update_stack(
StackName=stack_name, TemplateBody=json.dumps(template_update)
)
# then
ecr_client = boto3.client("ecr", region_name="eu-central-1")
response = ecr_client.describe_repositories(repositoryNames=[name])
repo = response["repositories"][0]
repo["repositoryArn"].should.equal(
f"arn:aws:ecr:eu-central-1:{ACCOUNT_ID}:repository/{name}"
)
repo["imageTagMutability"].should.equal("IMMUTABLE")
@mock_ecr
@mock_cloudformation
def test_delete_repository():
# given
cfn_client = boto3.client("cloudformation", region_name="eu-central-1")
name = "test-repo"
stack_name = "test-stack"
template = repo_template.substitute({"repo_name": name})
cfn_client.create_stack(StackName=stack_name, TemplateBody=template)
# when
cfn_client.delete_stack(StackName=stack_name)
# then
ecr_client = boto3.client("ecr", region_name="eu-central-1")
response = ecr_client.describe_repositories()["repositories"]
response.should.have.length_of(0)
| {
"content_hash": "4e66c7b8991686fb6e83573f4e4e5e92",
"timestamp": "",
"source": "github",
"line_count": 103,
"max_line_length": 75,
"avg_line_length": 30.41747572815534,
"alnum_prop": 0.6316629428662623,
"repo_name": "spulec/moto",
"id": "43f19fc99ff1382cc8bb7127650de3ada34e5088",
"size": "3133",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "tests/test_ecr/test_ecr_cloudformation.py",
"mode": "33188",
"license": "apache-2.0",
"language": [
{
"name": "Dockerfile",
"bytes": "255"
},
{
"name": "HTML",
"bytes": "5983"
},
{
"name": "Java",
"bytes": "1688"
},
{
"name": "JavaScript",
"bytes": "1424"
},
{
"name": "Jinja",
"bytes": "2502"
},
{
"name": "Makefile",
"bytes": "2284"
},
{
"name": "Python",
"bytes": "14737868"
},
{
"name": "Ruby",
"bytes": "188"
},
{
"name": "Scala",
"bytes": "782"
},
{
"name": "Shell",
"bytes": "5515"
}
],
"symlink_target": ""
} |
var str = '';
var mp = new MonochromaticPalette(0, 50);
var colors = mp.generate( 16, 60 );
for(var color of colors) {
str += '<div style="display: inline-block; width: 50px; height: 50px;';
str += ' background-color: hsl(' + color.h + ',' + color.s + '%,' + color.l + '%)"></div>';
}
document.write(str);
| {
"content_hash": "0bb49920bd9e73b3fd47471328c2fe1a",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 95,
"avg_line_length": 26.5,
"alnum_prop": 0.5817610062893082,
"repo_name": "mnito/factors-game",
"id": "61f0a12c473bd4cc5191cf56bd74be65c2d5cd32",
"size": "318",
"binary": false,
"copies": "1",
"ref": "refs/heads/main",
"path": "etc/palette_example.js",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "HTML",
"bytes": "6351"
},
{
"name": "JavaScript",
"bytes": "81592"
}
],
"symlink_target": ""
} |
FROM ubuntu:14.04
MAINTAINER Tianon Gravi <[email protected]> (@tianon)
RUN apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys E871F18B51E0147C77796AC81196BA81F6B0FC61
RUN echo deb http://ppa.launchpad.net/zfs-native/stable/ubuntu trusty main > /etc/apt/sources.list.d/zfs.list
# Packaged dependencies
RUN apt-get update && apt-get install -y \
apparmor \
aufs-tools \
automake \
bash-completion \
btrfs-tools \
build-essential \
createrepo \
curl \
dpkg-sig \
gcc-mingw-w64 \
git \
iptables \
libapparmor-dev \
libcap-dev \
libsqlite3-dev \
libsystemd-journal-dev \
mercurial \
parallel \
pkg-config \
python-mock \
python-pip \
python-websocket \
reprepro \
ruby1.9.1 \
ruby1.9.1-dev \
s3cmd=1.1.0* \
ubuntu-zfs \
libzfs-dev \
--no-install-recommends
# Get lvm2 source for compiling statically
RUN git clone -b v2_02_103 https://git.fedorahosted.org/git/lvm2.git /usr/local/lvm2
# see https://git.fedorahosted.org/cgit/lvm2.git/refs/tags for release tags
# Compile and install lvm2
RUN cd /usr/local/lvm2 \
&& ./configure --enable-static_link \
&& make device-mapper \
&& make install_device-mapper
# see https://git.fedorahosted.org/cgit/lvm2.git/tree/INSTALL
# Install lxc
ENV LXC_VERSION 1.1.2
RUN mkdir -p /usr/src/lxc \
&& curl -sSL https://linuxcontainers.org/downloads/lxc/lxc-${LXC_VERSION}.tar.gz | tar -v -C /usr/src/lxc/ -xz --strip-components=1
RUN cd /usr/src/lxc \
&& ./configure \
&& make \
&& make install \
&& ldconfig
# Install Go
ENV GO_VERSION 1.5.1
RUN curl -sSL "https://storage.googleapis.com/golang/go${GO_VERSION}.linux-amd64.tar.gz" | tar -v -C /usr/local -xz
ENV PATH /go/bin:/usr/local/go/bin:$PATH
ENV GOPATH /go:/go/src/github.com/docker/docker/vendor
# Compile Go for cross compilation
ENV DOCKER_CROSSPLATFORMS \
linux/386 linux/arm \
darwin/amd64 darwin/386 \
freebsd/amd64 freebsd/386 freebsd/arm \
windows/amd64 windows/386
# (set an explicit GOARM of 5 for maximum compatibility)
ENV GOARM 5
# This has been commented out and kept as reference because we don't support compiling with older Go anymore.
# ENV GOFMT_VERSION 1.3.3
# RUN curl -sSL https://storage.googleapis.com/golang/go${GOFMT_VERSION}.$(go env GOOS)-$(go env GOARCH).tar.gz | tar -C /go/bin -xz --strip-components=2 go/bin/gofmt
# Update this sha when we upgrade to go 1.5.0
ENV GO_TOOLS_COMMIT 069d2f3bcb68257b627205f0486d6cc69a231ff9
# Grab Go's cover tool for dead-simple code coverage testing
# Grab Go's vet tool for examining go code to find suspicious constructs
# and help prevent errors that the compiler might not catch
RUN git clone https://github.com/golang/tools.git /go/src/golang.org/x/tools \
&& (cd /go/src/golang.org/x/tools && git checkout -q $GO_TOOLS_COMMIT) \
&& go install -v golang.org/x/tools/cmd/cover \
&& go install -v golang.org/x/tools/cmd/vet
# Grab Go's lint tool
ENV GO_LINT_COMMIT f42f5c1c440621302702cb0741e9d2ca547ae80f
RUN git clone https://github.com/golang/lint.git /go/src/github.com/golang/lint \
&& (cd /go/src/github.com/golang/lint && git checkout -q $GO_LINT_COMMIT) \
&& go install -v github.com/golang/lint/golint
# TODO replace FPM with some very minimal debhelper stuff
RUN gem install --no-rdoc --no-ri fpm --version 1.3.2
# Install registry
ENV REGISTRY_COMMIT ec87e9b6971d831f0eff752ddb54fb64693e51cd
RUN set -x \
&& export GOPATH="$(mktemp -d)" \
&& git clone https://github.com/docker/distribution.git "$GOPATH/src/github.com/docker/distribution" \
&& (cd "$GOPATH/src/github.com/docker/distribution" && git checkout -q "$REGISTRY_COMMIT") \
&& GOPATH="$GOPATH/src/github.com/docker/distribution/Godeps/_workspace:$GOPATH" \
go build -o /usr/local/bin/registry-v2 github.com/docker/distribution/cmd/registry \
&& rm -rf "$GOPATH"
# Install notary server
ENV NOTARY_COMMIT 8e8122eb5528f621afcd4e2854c47302f17392f7
RUN set -x \
&& export GOPATH="$(mktemp -d)" \
&& git clone https://github.com/docker/notary.git "$GOPATH/src/github.com/docker/notary" \
&& (cd "$GOPATH/src/github.com/docker/notary" && git checkout -q "$NOTARY_COMMIT") \
&& GOPATH="$GOPATH/src/github.com/docker/notary/Godeps/_workspace:$GOPATH" \
go build -o /usr/local/bin/notary-server github.com/docker/notary/cmd/notary-server \
&& rm -rf "$GOPATH"
# Get the "docker-py" source so we can run their integration tests
ENV DOCKER_PY_COMMIT 139850f3f3b17357bab5ba3edfb745fb14043764
RUN git clone https://github.com/docker/docker-py.git /docker-py \
&& cd /docker-py \
&& git checkout -q $DOCKER_PY_COMMIT
# Setup s3cmd config
RUN { \
echo '[default]'; \
echo 'access_key=$AWS_ACCESS_KEY'; \
echo 'secret_key=$AWS_SECRET_KEY'; \
} > ~/.s3cfg
# Set user.email so crosbymichael's in-container merge commits go smoothly
RUN git config --global user.email '[email protected]'
# Add an unprivileged user to be used for tests which need it
RUN groupadd -r docker
RUN useradd --create-home --gid docker unprivilegeduser
VOLUME /var/lib/docker
WORKDIR /go/src/github.com/docker/docker
ENV DOCKER_BUILDTAGS apparmor selinux
# Let us use a .bashrc file
RUN ln -sfv $PWD/.bashrc ~/.bashrc
# Register Docker's bash completion.
RUN ln -sv $PWD/contrib/completion/bash/docker /etc/bash_completion.d/docker
# Get useful and necessary Hub images so we can "docker load" locally instead of pulling
COPY contrib/download-frozen-image.sh /go/src/github.com/docker/docker/contrib/
RUN ./contrib/download-frozen-image.sh /docker-frozen-images \
busybox:latest@d7057cb020844f245031d27b76cb18af05db1cc3a96a29fa7777af75f5ac91a3 \
hello-world:frozen@91c95931e552b11604fea91c2f537284149ec32fff0f700a4769cfd31d7696ae \
jess/unshare@5c9f6ea50341a2a8eb6677527f2bdedbf331ae894a41714fda770fb130f3314d
# see also "hack/make/.ensure-frozen-images" (which needs to be updated any time this list is)
# Download man page generator
RUN set -x \
&& export GOPATH="$(mktemp -d)" \
&& git clone -b v1.0.3 https://github.com/cpuguy83/go-md2man.git "$GOPATH/src/github.com/cpuguy83/go-md2man" \
&& git clone -b v1.2 https://github.com/russross/blackfriday.git "$GOPATH/src/github.com/russross/blackfriday" \
&& go get -v -d github.com/cpuguy83/go-md2man \
&& go build -v -o /usr/local/bin/go-md2man github.com/cpuguy83/go-md2man \
&& rm -rf "$GOPATH"
# Download toml validator
ENV TOMLV_COMMIT 9baf8a8a9f2ed20a8e54160840c492f937eeaf9a
RUN set -x \
&& export GOPATH="$(mktemp -d)" \
&& git clone https://github.com/BurntSushi/toml.git "$GOPATH/src/github.com/BurntSushi/toml" \
&& (cd "$GOPATH/src/github.com/BurntSushi/toml" && git checkout -q "$TOMLV_COMMIT") \
&& go build -v -o /usr/local/bin/tomlv github.com/BurntSushi/toml/cmd/tomlv \
&& rm -rf "$GOPATH"
# Build/install the tool for embedding resources in Windows binaries
ENV RSRC_COMMIT e48dbf1b7fc464a9e85fcec450dddf80816b76e0
RUN set -x \
&& git clone https://github.com/akavel/rsrc.git /go/src/github.com/akavel/rsrc \
&& cd /go/src/github.com/akavel/rsrc \
&& git checkout -q $RSRC_COMMIT \
&& go install -v
# Wrap all commands in the "docker-in-docker" script to allow nested containers
ENTRYPOINT ["hack/dind"]
# Upload docker source
COPY . /go/src/github.com/docker/docker
| {
"content_hash": "bfe93802b5540792ffb827058b034e3a",
"timestamp": "",
"source": "github",
"line_count": 186,
"max_line_length": 166,
"avg_line_length": 38.586021505376344,
"alnum_prop": 0.736658771074265,
"repo_name": "maaquib/docker",
"id": "c73dee9606ed54406d392c10de81b265ee78a290",
"size": "7923",
"binary": false,
"copies": "2",
"ref": "refs/heads/master",
"path": "Dockerfile",
"mode": "33188",
"license": "apache-2.0",
"language": [
{
"name": "Go",
"bytes": "3798389"
},
{
"name": "Makefile",
"bytes": "4283"
},
{
"name": "Perl",
"bytes": "2199"
},
{
"name": "Shell",
"bytes": "237585"
},
{
"name": "VimL",
"bytes": "1328"
}
],
"symlink_target": ""
} |
/* Code generated by IfcQuery EXPRESS generator, www.ifcquery.com */
#pragma once
#include <vector>
#include <map>
#include <sstream>
#include <string>
#include "ifcpp/model/GlobalDefines.h"
#include "ifcpp/model/BasicTypes.h"
#include "ifcpp/model/BuildingObject.h"
#include "IfcFlowTerminal.h"
namespace IFC4X3
{
class IFCQUERY_EXPORT IfcLampTypeEnum;
//ENTITY
class IFCQUERY_EXPORT IfcLamp : public IfcFlowTerminal
{
public:
IfcLamp() = default;
IfcLamp( int id );
virtual shared_ptr<BuildingObject> getDeepCopy( BuildingCopyOptions& options );
virtual void getStepLine( std::stringstream& stream ) const;
virtual void getStepParameter( std::stringstream& stream, bool is_select_type = false ) const;
virtual void readStepArguments( const std::vector<std::string>& args, const std::map<int,shared_ptr<BuildingEntity> >& map, std::stringstream& errorStream );
virtual void setInverseCounterparts( shared_ptr<BuildingEntity> ptr_self );
virtual uint8_t getNumAttributes() const { return 9; }
virtual void getAttributes( std::vector<std::pair<std::string, shared_ptr<BuildingObject> > >& vec_attributes ) const;
virtual void getAttributesInverse( std::vector<std::pair<std::string, shared_ptr<BuildingObject> > >& vec_attributes ) const;
virtual void unlinkFromInverseCounterparts();
virtual uint32_t classID() const { return 76236018; }
// IfcRoot -----------------------------------------------------------
// attributes:
// shared_ptr<IfcGloballyUniqueId> m_GlobalId;
// shared_ptr<IfcOwnerHistory> m_OwnerHistory; //optional
// shared_ptr<IfcLabel> m_Name; //optional
// shared_ptr<IfcText> m_Description; //optional
// IfcObjectDefinition -----------------------------------------------------------
// inverse attributes:
// std::vector<weak_ptr<IfcRelAssigns> > m_HasAssignments_inverse;
// std::vector<weak_ptr<IfcRelNests> > m_Nests_inverse;
// std::vector<weak_ptr<IfcRelNests> > m_IsNestedBy_inverse;
// std::vector<weak_ptr<IfcRelDeclares> > m_HasContext_inverse;
// std::vector<weak_ptr<IfcRelAggregates> > m_IsDecomposedBy_inverse;
// std::vector<weak_ptr<IfcRelAggregates> > m_Decomposes_inverse;
// std::vector<weak_ptr<IfcRelAssociates> > m_HasAssociations_inverse;
// IfcObject -----------------------------------------------------------
// attributes:
// shared_ptr<IfcLabel> m_ObjectType; //optional
// inverse attributes:
// std::vector<weak_ptr<IfcRelDefinesByObject> > m_IsDeclaredBy_inverse;
// std::vector<weak_ptr<IfcRelDefinesByObject> > m_Declares_inverse;
// std::vector<weak_ptr<IfcRelDefinesByType> > m_IsTypedBy_inverse;
// std::vector<weak_ptr<IfcRelDefinesByProperties> > m_IsDefinedBy_inverse;
// IfcProduct -----------------------------------------------------------
// attributes:
// shared_ptr<IfcObjectPlacement> m_ObjectPlacement; //optional
// shared_ptr<IfcProductRepresentation> m_Representation; //optional
// inverse attributes:
// std::vector<weak_ptr<IfcRelAssignsToProduct> > m_ReferencedBy_inverse;
// std::vector<weak_ptr<IfcRelPositions> > m_PositionedRelativeTo_inverse;
// std::vector<weak_ptr<IfcRelReferencedInSpatialStructure> > m_ReferencedInStructures_inverse;
// IfcElement -----------------------------------------------------------
// attributes:
// shared_ptr<IfcIdentifier> m_Tag; //optional
// inverse attributes:
// std::vector<weak_ptr<IfcRelFillsElement> > m_FillsVoids_inverse;
// std::vector<weak_ptr<IfcRelConnectsElements> > m_ConnectedTo_inverse;
// std::vector<weak_ptr<IfcRelInterferesElements> > m_IsInterferedByElements_inverse;
// std::vector<weak_ptr<IfcRelInterferesElements> > m_InterferesElements_inverse;
// std::vector<weak_ptr<IfcRelProjectsElement> > m_HasProjections_inverse;
// std::vector<weak_ptr<IfcRelVoidsElement> > m_HasOpenings_inverse;
// std::vector<weak_ptr<IfcRelConnectsWithRealizingElements> > m_IsConnectionRealization_inverse;
// std::vector<weak_ptr<IfcRelSpaceBoundary> > m_ProvidesBoundaries_inverse;
// std::vector<weak_ptr<IfcRelConnectsElements> > m_ConnectedFrom_inverse;
// std::vector<weak_ptr<IfcRelContainedInSpatialStructure> > m_ContainedInStructure_inverse;
// std::vector<weak_ptr<IfcRelCoversBldgElements> > m_HasCoverings_inverse;
// std::vector<weak_ptr<IfcRelAdheresToElement> > m_HasSurfaceFeatures_inverse;
// IfcDistributionElement -----------------------------------------------------------
// inverse attributes:
// std::vector<weak_ptr<IfcRelConnectsPortToElement> > m_HasPorts_inverse;
// IfcDistributionFlowElement -----------------------------------------------------------
// inverse attributes:
// std::vector<weak_ptr<IfcRelFlowControlElements> > m_HasControlElements_inverse;
// IfcFlowTerminal -----------------------------------------------------------
// IfcLamp -----------------------------------------------------------
// attributes:
shared_ptr<IfcLampTypeEnum> m_PredefinedType; //optional
};
}
| {
"content_hash": "3100e7cfdad244c1d5381f256de5c91c",
"timestamp": "",
"source": "github",
"line_count": 98,
"max_line_length": 159,
"avg_line_length": 53.173469387755105,
"alnum_prop": 0.6407599309153713,
"repo_name": "ifcquery/ifcplusplus",
"id": "57e2e764848763b52e497a461e23fd84b4406ad0",
"size": "5211",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "IfcPlusPlus/src/ifcpp/IFC4X3/include/IfcLamp.h",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "Batchfile",
"bytes": "1270"
},
{
"name": "C++",
"bytes": "10988148"
},
{
"name": "CMake",
"bytes": "6507"
},
{
"name": "Dockerfile",
"bytes": "951"
}
],
"symlink_target": ""
} |
package org.fujion.plotly.common;
/**
* Controls display of tick labels.
*/
public enum ShowTickEnum {
ALL, FIRST, LAST, NONE;
@Override
public String toString() {
return name().toLowerCase();
}
}
| {
"content_hash": "fd92a0e11f56f0bd2d9b5e7955617ff9",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 36,
"avg_line_length": 15.4,
"alnum_prop": 0.6147186147186147,
"repo_name": "fujion/fujion-framework",
"id": "8a471f0a3f3e0f01f8ffee179b516777c569f1b3",
"size": "871",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "fujion-plotly/src/main/java/org/fujion/plotly/common/ShowTickEnum.java",
"mode": "33188",
"license": "apache-2.0",
"language": [
{
"name": "CSS",
"bytes": "22117"
},
{
"name": "Groovy",
"bytes": "38"
},
{
"name": "HTML",
"bytes": "1136"
},
{
"name": "Java",
"bytes": "2838298"
},
{
"name": "JavaScript",
"bytes": "246823"
},
{
"name": "Shell",
"bytes": "520"
},
{
"name": "TypeScript",
"bytes": "6153"
}
],
"symlink_target": ""
} |
package action
import (
"helm.sh/helm/v3/pkg/release"
)
// Get is the action for checking a given release's information.
//
// It provides the implementation of 'helm get' and its respective subcommands (except `helm get values`).
type Get struct {
cfg *Configuration
Version int
}
// NewGet creates a new Get object with the given configuration.
func NewGet(cfg *Configuration) *Get {
return &Get{
cfg: cfg,
}
}
// Run executes 'helm get' against the given release.
func (g *Get) Run(name string) (*release.Release, error) {
if err := g.cfg.KubeClient.IsReachable(); err != nil {
return nil, err
}
return g.cfg.releaseContent(name, g.Version)
}
| {
"content_hash": "66f37940d9a6947380078e8819a11386",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 106,
"avg_line_length": 20.8125,
"alnum_prop": 0.7072072072072072,
"repo_name": "adamreese/deployment-manager",
"id": "c776eb696370c1cc3448d03dc7d9cd003371458d",
"size": "1224",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "pkg/action/get.go",
"mode": "33188",
"license": "apache-2.0",
"language": [
{
"name": "Go",
"bytes": "431354"
},
{
"name": "HTML",
"bytes": "11038"
},
{
"name": "Makefile",
"bytes": "8561"
},
{
"name": "Python",
"bytes": "88395"
},
{
"name": "Ruby",
"bytes": "1784"
},
{
"name": "Shell",
"bytes": "9402"
}
],
"symlink_target": ""
} |
require 'pathname'
Puppet::Type.newtype(:dsc_officeonlineserverwebappsmachine) do
require Pathname.new(__FILE__).dirname + '../../' + 'puppet/type/base_dsc'
require Pathname.new(__FILE__).dirname + '../../puppet_x/puppetlabs/dsc_type_helpers'
@doc = %q{
The DSC OfficeOnlineServerWebAppsMachine resource type.
Automatically generated from
'OfficeOnlineServerDsc/DSCResources/MSFT_OfficeOnlineServerWebAppsMachine/MSFT_OfficeOnlineServerWebAppsMachine.schema.mof'
To learn more about PowerShell Desired State Configuration, please
visit https://technet.microsoft.com/en-us/library/dn249912.aspx.
For more information about built-in DSC Resources, please visit
https://technet.microsoft.com/en-us/library/dn249921.aspx.
For more information about xDsc Resources, please visit
https://github.com/PowerShell/DscResources.
}
validate do
fail('dsc_machinetojoin is a required attribute') if self[:dsc_machinetojoin].nil?
end
def dscmeta_resource_friendly_name; 'OfficeOnlineServerWebAppsMachine' end
def dscmeta_resource_name; 'MSFT_OfficeOnlineServerWebAppsMachine' end
def dscmeta_module_name; 'OfficeOnlineServerDsc' end
def dscmeta_module_version; '0.2.0.0' end
newparam(:name, :namevar => true ) do
end
ensurable do
newvalue(:exists?) { provider.exists? }
newvalue(:present) { provider.create }
newvalue(:absent) { provider.destroy }
defaultto { :present }
end
# Name: PsDscRunAsCredential
# Type: MSFT_Credential
# IsMandatory: False
# Values: None
newparam(:dsc_psdscrunascredential) do
def mof_type; 'MSFT_Credential' end
def mof_is_embedded?; true end
desc "PsDscRunAsCredential"
validate do |value|
unless value.kind_of?(Hash)
fail("Invalid value '#{value}'. Should be a hash")
end
PuppetX::Dsc::TypeHelpers.validate_MSFT_Credential("Credential", value)
end
end
# Name: Ensure
# Type: string
# IsMandatory: False
# Values: ["Present", "Absent"]
newparam(:dsc_ensure) do
def mof_type; 'string' end
def mof_is_embedded?; false end
desc "Ensure - Ensure Present or Absent Valid values are Present, Absent."
validate do |value|
resource[:ensure] = value.downcase
unless value.kind_of?(String)
fail("Invalid value '#{value}'. Should be a string")
end
unless ['Present', 'present', 'Absent', 'absent'].include?(value)
fail("Invalid value '#{value}'. Valid values are Present, Absent")
end
end
end
# Name: Roles
# Type: string[]
# IsMandatory: False
# Values: None
newparam(:dsc_roles, :array_matching => :all) do
def mof_type; 'string[]' end
def mof_is_embedded?; false end
desc "Roles - Specifies one or more server roles, separated by commas, to assign to the new server. If no roles are specified, then the server is assigned all roles."
validate do |value|
unless value.kind_of?(Array) || value.kind_of?(String)
fail("Invalid value '#{value}'. Should be a string or an array of strings")
end
end
munge do |value|
Array(value)
end
end
# Name: MachineToJoin
# Type: string
# IsMandatory: True
# Values: None
newparam(:dsc_machinetojoin) do
def mof_type; 'string' end
def mof_is_embedded?; false end
desc "MachineToJoin - Specifies the name of any server that is already a member of the Office Web Apps Server farm."
isrequired
validate do |value|
unless value.kind_of?(String)
fail("Invalid value '#{value}'. Should be a string")
end
end
end
def builddepends
pending_relations = super()
PuppetX::Dsc::TypeHelpers.ensure_reboot_relationship(self, pending_relations)
end
end
Puppet::Type.type(:dsc_officeonlineserverwebappsmachine).provide :powershell, :parent => Puppet::Type.type(:base_dsc).provider(:powershell) do
confine :true => (Gem::Version.new(Facter.value(:powershell_version)) >= Gem::Version.new('5.0.10240.16384'))
defaultfor :operatingsystem => :windows
mk_resource_methods
end
| {
"content_hash": "792e6e99bd137d5e32e03ed3f0285ad8",
"timestamp": "",
"source": "github",
"line_count": 123,
"max_line_length": 170,
"avg_line_length": 33.86178861788618,
"alnum_prop": 0.6777911164465786,
"repo_name": "ferventcoder/puppetlabs-dsc",
"id": "49a50f3d308ad676c4fe9bba449eb42e7c724eee",
"size": "4165",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "lib/puppet/type/dsc_officeonlineserverwebappsmachine.rb",
"mode": "33188",
"license": "apache-2.0",
"language": [
{
"name": "C#",
"bytes": "11740"
},
{
"name": "HTML",
"bytes": "18507"
},
{
"name": "NSIS",
"bytes": "1454"
},
{
"name": "PowerShell",
"bytes": "4615819"
},
{
"name": "Puppet",
"bytes": "431"
},
{
"name": "Ruby",
"bytes": "2787644"
},
{
"name": "Shell",
"bytes": "3568"
}
],
"symlink_target": ""
} |
package com.baidu.oped.apm.common.bo;
import com.baidu.oped.apm.common.buffer.AutomaticBuffer;
import com.baidu.oped.apm.common.buffer.Buffer;
import com.baidu.oped.apm.common.buffer.FixedBuffer;
/**
* @author hyungil.jeong
*/
public class AgentStatCpuLoadBo {
private final String agentId;
private final long startTimestamp;
private final long timestamp;
private final double jvmCpuLoad; // range is 1 >= X >=0, ex) if 25% then save 0.25
private final double systemCpuLoad; // range is 1 >= X >=0, ex) if 25% then save 0.25
private AgentStatCpuLoadBo(Builder builder) {
this.agentId = builder.agentId;
this.startTimestamp = builder.startTimestamp;
this.timestamp = builder.timestamp;
this.jvmCpuLoad = builder.jvmCpuLoad;
this.systemCpuLoad = builder.systemCpuLoad;
}
public String getAgentId() {
return agentId;
}
public long getStartTimestamp() {
return startTimestamp;
}
public long getTimestamp() {
return timestamp;
}
public double getJvmCpuLoad() {
return jvmCpuLoad;
}
public double getSystemCpuLoad() {
return systemCpuLoad;
}
public byte[] writeValue() {
final Buffer buffer = new AutomaticBuffer();
buffer.putPrefixedString(this.agentId);
buffer.put(this.startTimestamp);
buffer.put(this.timestamp);
buffer.put(this.jvmCpuLoad);
buffer.put(this.systemCpuLoad);
return buffer.getBuffer();
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder("AgentStatCpuLoadBo{");
sb.append("agentId='").append(this.agentId).append('\'');
sb.append(", startTimestamp=").append(this.startTimestamp);
sb.append(", timestamp=").append(this.timestamp);
sb.append(", jvmCpuLoad=").append(this.jvmCpuLoad);
sb.append(", systemCpuLoad=").append(this.systemCpuLoad);
sb.append('}');
return sb.toString();
}
@Override
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((agentId == null) ? 0 : agentId.hashCode());
result = prime * result + (int) (startTimestamp ^ (startTimestamp >>> 32));
result = prime * result + (int) (timestamp ^ (timestamp >>> 32));
return result;
}
@Override
public boolean equals(Object obj) {
if (this == obj)
return true;
if (obj == null)
return false;
if (getClass() != obj.getClass())
return false;
AgentStatCpuLoadBo other = (AgentStatCpuLoadBo) obj;
if (agentId == null) {
if (other.agentId != null)
return false;
} else if (!agentId.equals(other.agentId))
return false;
if (startTimestamp != other.startTimestamp)
return false;
if (timestamp != other.timestamp)
return false;
return true;
}
public static class Builder {
private static final double UNSUPPORTED = -1.0D;
private final String agentId;
private final long startTimestamp;
private final long timestamp;
private double jvmCpuLoad = UNSUPPORTED;
private double systemCpuLoad = UNSUPPORTED;
public Builder(final byte[] value) {
final Buffer buffer = new FixedBuffer(value);
this.agentId = buffer.readPrefixedString();
this.startTimestamp = buffer.readLong();
this.timestamp = buffer.readLong();
this.jvmCpuLoad = buffer.readDouble();
this.systemCpuLoad = buffer.readDouble();
}
public Builder(String agentId, long startTimestamp, long timestamp) {
this.agentId = agentId;
this.startTimestamp = startTimestamp;
this.timestamp = timestamp;
}
public void jvmCpuLoad(double jvmCpuLoad) {
this.jvmCpuLoad = jvmCpuLoad;
}
public void systemCpuLoad(double systemCpuLoad) {
this.systemCpuLoad = systemCpuLoad;
}
public AgentStatCpuLoadBo build() {
return new AgentStatCpuLoadBo(this);
}
}
}
| {
"content_hash": "e1948c2c08b9a30153f3be46ec2ffb7d",
"timestamp": "",
"source": "github",
"line_count": 136,
"max_line_length": 92,
"avg_line_length": 31.360294117647058,
"alnum_prop": 0.6086752637749121,
"repo_name": "masonmei/apm-agent",
"id": "dfac88a2ec62c3e6c0669a1ff29191ee44d1e9ad",
"size": "4859",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "commons/src/main/java/com/baidu/oped/apm/common/bo/AgentStatCpuLoadBo.java",
"mode": "33188",
"license": "apache-2.0",
"language": [
{
"name": "Batchfile",
"bytes": "127"
},
{
"name": "Groovy",
"bytes": "1415"
},
{
"name": "Java",
"bytes": "2965100"
},
{
"name": "Shell",
"bytes": "1263"
},
{
"name": "Thrift",
"bytes": "5314"
}
],
"symlink_target": ""
} |
<!--
Copyright (C) 2012-2015 DataStax Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.datastax.cassandra</groupId>
<artifactId>cassandra-driver-parent</artifactId>
<version>2.1.11-SNAPSHOT</version>
</parent>
<artifactId>cassandra-driver-examples-parent</artifactId>
<packaging>pom</packaging>
<name>DataStax Java Driver for Apache Cassandra Examples</name>
<description>A collection of examples to demonstrate DataStax Java Driver for Apache Cassandra.</description>
<url>https://github.com/datastax/java-driver</url>
<properties>
<main.basedir>${project.parent.basedir}</main.basedir>
</properties>
<modules>
<module>stress</module>
<module>osgi</module>
</modules>
<licenses>
<license>
<name>Apache 2</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
<distribution>repo</distribution>
<comments>Apache License Version 2.0</comments>
</license>
</licenses>
<scm>
<connection>scm:git:[email protected]:datastax/java-driver.git</connection>
<developerConnection>scm:git:[email protected]:datastax/java-driver.git</developerConnection>
<url>https://github.com/datastax/java-driver</url>
<tag>HEAD</tag>
</scm>
<developers>
<developer>
<name>Various</name>
<organization>DataStax</organization>
</developer>
</developers>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-install-plugin</artifactId>
<version>2.5.1</version>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<version>2.8.1</version>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
</plugins>
</build>
</project>
| {
"content_hash": "fc179d9b093953e4c4284d15389831f1",
"timestamp": "",
"source": "github",
"line_count": 83,
"max_line_length": 201,
"avg_line_length": 36.024096385542165,
"alnum_prop": 0.6130434782608696,
"repo_name": "tommystendahl/java-driver",
"id": "a8769bca3679feeff551faf766d1e1c8d8652c6a",
"size": "2990",
"binary": false,
"copies": "1",
"ref": "refs/heads/2.1",
"path": "driver-examples/pom.xml",
"mode": "33188",
"license": "apache-2.0",
"language": [
{
"name": "Java",
"bytes": "3671071"
},
{
"name": "Python",
"bytes": "6866"
},
{
"name": "Shell",
"bytes": "1596"
}
],
"symlink_target": ""
} |
<?php
namespace Admin\Entity;
use Doctrine\ORM\EntityRepository;
/**
* ConteudosRepository
*
* This class was generated by the Doctrine ORM. Add your own custom
* repository methods below.
*/
class ConteudosRepository extends EntityRepository
{
}
| {
"content_hash": "507c4e015271f5997ab4ff9e443dd6a9",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 68,
"avg_line_length": 17,
"alnum_prop": 0.7607843137254902,
"repo_name": "sisdeve/site_gerenciador_pax",
"id": "6a6bcf923036c2e363c5b631652c4bc3dbba497b",
"size": "255",
"binary": false,
"copies": "3",
"ref": "refs/heads/master",
"path": "module/Admin/src/Admin/EntityAntigas/ConteudosRepository.php",
"mode": "33188",
"license": "bsd-3-clause",
"language": [
{
"name": "CSS",
"bytes": "1042"
},
{
"name": "JavaScript",
"bytes": "10372"
},
{
"name": "PHP",
"bytes": "320208"
}
],
"symlink_target": ""
} |
org-citeproc is a standalone program that uses [pandoc-citeproc]
to generate citations and a bibliography, given a database of bibliographic
references and a [CSL] stylesheet. The idea is to make it possible for
Emacs' [Org mode] exporters to use this excellent tool.
org-citeproc is a fork of John MacFarlane's [citeproc] program. The
major changes are:
- The input JSON format is compatible with the format used by [citeproc-js]
- This version renders output directly in a target format (currently
ASCII, HTML, or ODT) rather than as JSON
[pandoc-citeproc]: https://github.com/jgm/pandoc-citeproc
[citeproc-js]: http://gsl-nagoya-u.net/http/pub/citeproc-doc.html
[CSL]: http://citationstyles.org/
[Org mode]: http://orgmode.org
[citeproc]: https://github.com/jgm/citeproc
## Usage
org-citeproc format stylefile.csl bibliofile.bib
- The bibliography file can be in any of the formats that pandoc-citeproc
supports.
- The format can be `ascii`, `html`, or `odt`; also `native` or
`native-before` can be useful formats for debugging purposes.
- The program reads JSON from stdin and writes formatted data to stdout.
## Input
The input is an array of JSON citation data objects. A citation data
object contains one required field, `citationItems`, whose value is a
JSON array of cites. A cite is a JSON object describing one source.
Fields in a cite can include:
- `id` (string)
- `prefix` (string)
- `suffix` (string)
- `label` (string)
- `locator` (string)
- `suppress-author` (boolean)
- `author-in-text` (boolean)
`id` must be included; the rest are optional.
A citation data object may also include a `properties` field, whose
value is a JSON object containing one or more of the following fields:
- `noteIndex`
- `common-prefix` (non-standard)
- `common-suffix` (non-standard)
The `common-prefix` and `common-suffix` fields allow support for
BibLaTeX-style multi-cite citations.
See the `*-to-json` functions in the [org-cite] library for Elisp code
that generates JSON in this format, given Org citation objects.
[org-cite]: https://github.com/wyleyr/org-mode/blob/wip-cite-org-citeproc/lisp/org-cite.el
## Installing org-citeproc
Change to the source directory and run:
cabal build
If you want to use org-citeproc with Org mode, copy or link the
resulting `org-citeproc` binary from
`dist/build/org-citeproc/org-citeproc` to `$ORGROOT/bin/org-citeproc`,
where `$ORGROOT` is the root of your Org mode distribution. My
[wip-cite-org-citeproc branch] of Org mode makes use of this binary.
[wip-cite-org-citeproc branch]: https://github.com/wyleyr/org-mode/
## Contributing
There is a list of TODO items in [TODO.org]. Contributions of code, bug
reports, and so on are welcome!
[TODO.org]: ./TODO.org
| {
"content_hash": "548627e0820f18adc54cc02a1a4404c6",
"timestamp": "",
"source": "github",
"line_count": 80,
"max_line_length": 90,
"avg_line_length": 34.3625,
"alnum_prop": 0.748272098945071,
"repo_name": "wyleyr/org-citeproc",
"id": "360fda8e1491307a041cf2ffee064555ff63bb4d",
"size": "2765",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "README.markdown",
"mode": "33188",
"license": "bsd-3-clause",
"language": [
{
"name": "Haskell",
"bytes": "15402"
},
{
"name": "TeX",
"bytes": "2610"
}
],
"symlink_target": ""
} |
<!--##########################################################################
# Copyright 2010 North Carolina State University #
# #
# Licensed under the Apache License, Version 2.0 (the "License"); #
# you may not use this file except in compliance with the License. #
# You may obtain a copy of the License at #
# #
# http://www.apache.org/licenses/LICENSE-2.0 #
# #
# Unless required by applicable law or agreed to in writing, software #
# distributed under the License is distributed on an "AS IS" BASIS, #
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
# See the License for the specific language governing permissions and #
# limitations under the License. #
###########################################################################-->
<!DOCTYPE ui:UiBinder SYSTEM "http://dl.google.com/gwt/DTD/xhtml.ent">
<ui:UiBinder xmlns:ui="urn:ui:com.google.gwt.uibinder"
xmlns:g="urn:import:com.google.gwt.user.client.ui">
<ui:style src="../resources/ProjectDeployer.css"/>
<g:SimplePanel>
<g:HTML ui:field="errorHTML" styleName="{style.errorHTML}"/>
<!-- <g:Label styleName="{style.errorLabel}">An error occurred while trying to deploy your project.</g:Label>-->
</g:SimplePanel>
</ui:UiBinder> | {
"content_hash": "916bc29e4add9b264a742dbb8152a99a",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 116,
"avg_line_length": 63.46153846153846,
"alnum_prop": 0.4763636363636364,
"repo_name": "ehelms/Opus",
"id": "c6604d91e234ba50a21a62fa5ab1dc80b5ac7cac",
"size": "1650",
"binary": false,
"copies": "2",
"ref": "refs/heads/master",
"path": "gwt/src/opus/gwt/management/console/client/deployer/ErrorPanel.ui.xml",
"mode": "33188",
"license": "apache-2.0",
"language": [
{
"name": "C",
"bytes": "18066"
},
{
"name": "Java",
"bytes": "229881"
},
{
"name": "Python",
"bytes": "296933"
}
],
"symlink_target": ""
} |
module BarkestCore
##
# Defines the email configuration for the system.
class EmailConfig
include ActiveModel::Model
include ActiveModel::Validations
attr_accessor :config_mode, :default_sender, :default_recipient, :default_hostname
attr_accessor :address, :port, :authentication, :ssl, :enable_starttls_auto, :user_name, :password
VALID_CONFIG_MODES = %w(none smtp test)
VALID_AUTH_MODES = %w(none plain login cram_md5 ntlm)
validates :config_mode, inclusion: { in: VALID_CONFIG_MODES }
validates :default_sender, presence: true
validates :default_recipient, presence: true
validates :default_hostname, presence: true
with_options if: :smtp?, presence: true do
validates :address
validates :port
validates :authentication, inclusion: { in: VALID_AUTH_MODES }
end
validate :smtp_validate, if: :smtp?
##
# Initializes the configuration.
def initialize(*args)
args.each do |arg|
if arg.is_a?(Hash)
arg.each do |k,v|
if respond_to?(:"#{k}?")
send :"#{k}=", ((v === true || v === '1') ? '1' : '0')
elsif respond_to?(k)
send :"#{k}=", v.to_s
end
end
end
end
end
##
# Is SMTP enabled?
def smtp?
config_mode.to_s.downcase == 'smtp'
end
##
# Is SSL enabled for SMTP?
def ssl?
ssl.to_s.to_i != 0
end
##
# Is STARTTLS enabled for SMTP?
def enable_starttls_auto?
enable_starttls_auto.to_s.to_i != 0
end
##
# Converts this configuration into a hash.
def to_h
{
config_mode: config_mode.to_s.to_sym,
default_sender: default_sender.to_s,
default_recipient: default_recipient.to_s,
default_hostname: default_hostname.to_s,
address: address.to_s,
port: port.to_s.to_i,
authentication: authentication.to_s.to_sym,
ssl: ssl?,
enable_starttls_auto: enable_starttls_auto?,
user_name: user_name.to_s,
password: password.to_s,
}
end
##
# Saves this configuration (encrypted) to SystemConfig.
def save
SystemConfig.set :email, to_h, true
end
##
# Loads the configuration from SystemConfig.
def EmailConfig.load
EmailConfig.new SystemConfig.get(:email)
end
private
def smtp_validate
return nil if Rails.env.test?
# no need to test unless we are configured for SMTP.
return nil unless smtp?
# already failed if these are missing.
return nil if address.blank? || port.blank? || authentication.blank?
# or these
return nil if default_sender.blank? || default_recipient.blank? || default_hostname.blank?
# send a test message.
begin
client = Net::SMTP.new(address, port)
begin
client.enable_ssl if ssl?
client.start(default_hostname, user_name, password, authentication.to_sym)
msgstr = <<-MESSAGE
From: #{default_sender}
To: #{default_recipient}
Subject: Test message
This is a test message sent with the new #{Rails.env} configuration for #{default_hostname}.
This message was sent at #{Time.zone.now}.
MESSAGE
client.send_message(msgstr, default_sender, default_recipient)
ensure
client.finish rescue nil
end
nil
rescue =>e
errors.add :base, "Failed to send test message. " + e.message
end
end
end
end
| {
"content_hash": "eed2eba51ba8f4cf4c2e3d59d78b726a",
"timestamp": "",
"source": "github",
"line_count": 132,
"max_line_length": 102,
"avg_line_length": 27.810606060606062,
"alnum_prop": 0.5818578044129665,
"repo_name": "barkerest/barkest_core",
"id": "0b904e83f0f9a55c150f53941ab3f36a45b9ec42",
"size": "3671",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "app/models/barkest_core/email_config.rb",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "CSS",
"bytes": "38546"
},
{
"name": "HTML",
"bytes": "45377"
},
{
"name": "JavaScript",
"bytes": "6314"
},
{
"name": "Ruby",
"bytes": "451859"
}
],
"symlink_target": ""
} |
<?xml version="1.0" encoding="utf-8"?>
<geo:GeodesyML gml:id="TOW200AUS" xmlns:gco="http://www.isotc211.org/2005/gco" xmlns:geo="urn:xml-gov-au:icsm:egeodesy:0.4" xmlns:gmd="http://www.isotc211.org/2005/gmd" xmlns:gml="http://www.opengis.net/gml/3.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<geo:siteLog gml:id="tow2_20170105.log">
<geo:formInformation>
<geo:preparedBy>Ryan Ruddick</geo:preparedBy>
<geo:datePrepared>2017-01-05</geo:datePrepared>
<geo:reportType>UPDATE</geo:reportType>
</geo:formInformation>
<geo:siteIdentification>
<geo:siteName>Townsville AU028</geo:siteName>
<geo:fourCharacterID>TOW2</geo:fourCharacterID>
<geo:monumentInscription>National Geodetic Fiducial Ntwk (AUSLIG) AU028</geo:monumentInscription>
<geo:iersDOMESNumber>50140M001</geo:iersDOMESNumber>
<geo:cdpNumber>NONE</geo:cdpNumber>
<geo:monumentDescription codeSpace="urn:ga-gov-au:monument-description-type">STEEL PLATE</geo:monumentDescription>
<geo:monumentFoundation></geo:monumentFoundation>
<geo:markerDescription></geo:markerDescription>
<geo:dateInstalled>1995-01-17T00:00:00Z</geo:dateInstalled>
<geo:geologicCharacteristic codeSpace="urn:ga-gov-au:geologic-characteristic-type">BEDROCK</geo:geologicCharacteristic>
<geo:bedrockType>METAMORPHIC</geo:bedrockType>
<geo:bedrockCondition>WEATHERED</geo:bedrockCondition>
<geo:fractureSpacing></geo:fractureSpacing>
<geo:faultZonesNearby codeSpace="urn:ga-gov-au:fault-zones-type"></geo:faultZonesNearby>
<geo:notes>Monument is a 500mm Stainless Steel Plate fixed to a large rock outcrop</geo:notes>
</geo:siteIdentification>
<geo:siteLocation>
<geo:city>Cape Ferguson</geo:city>
<geo:state>Queensland</geo:state>
<geo:countryCodeISO codeList="http://xml.gov.au/icsm/geodesyml/codelists/country-codes-codelist.xml#GeodesyML_CountryCode" codeListValue="Australia" codeSpace="urn:xml-gov-au:icsm:egeodesy:0.4">AUS</geo:countryCodeISO>
<geo:tectonicPlate codeSpace="urn:ga-gov-au:plate-type">AUSTRALIAN</geo:tectonicPlate>
<geo:approximatePositionITRF>
<geo:cartesianPosition>
<gml:Point gml:id="itrf_cartesian" srsName="EPSG:7789">
<gml:pos>-5054582.68 3275504.572 -2091539.886</gml:pos>
</gml:Point>
</geo:cartesianPosition>
<geo:geodeticPosition>
<gml:Point gml:id="itrf_geodetic" srsName="EPSG:7912">
<gml:pos>-19.2692855278 147.05568485 88.2349</gml:pos>
</gml:Point>
</geo:geodeticPosition>
</geo:approximatePositionITRF>
<geo:notes>ARGN (Australian Regional GPS Network) -</geo:notes>
</geo:siteLocation>
<geo:gnssReceiver>
<geo:GnssReceiver gml:id="gnss-receiver-1">
<geo:manufacturerSerialNumber>C102</geo:manufacturerSerialNumber>
<geo:igsModelCode codeList="http://xml.gov.au/icsm/geodesyml/codelists/antenna-receiver-codelists.xml#GeodesyML_GNSSReceiverTypeCode" codeListValue="ROGUE SNR-12 RM" codeSpace="urn:xml-gov-au:icsm:egeodesy:0.4">ROGUE SNR-12 RM</geo:igsModelCode>
<geo:satelliteSystem codeSpace="urn:ga-gov-au:satellite-system-type">GPS</geo:satelliteSystem>
<geo:firmwareVersion>3.0.33.2</geo:firmwareVersion>
<geo:elevationCutoffSetting>0.0</geo:elevationCutoffSetting>
<geo:dateInstalled>1995-01-17T00:00:00Z</geo:dateInstalled>
<geo:dateRemoved>1999-08-11T06:30:00Z</geo:dateRemoved>
<geo:temperatureStabilization xsi:nil="true"></geo:temperatureStabilization>
</geo:GnssReceiver>
<geo:dateInserted>1995-01-17T00:00:00Z</geo:dateInserted>
</geo:gnssReceiver>
<geo:gnssReceiver>
<geo:GnssReceiver gml:id="gnss-receiver-2">
<geo:notes>An additional GPS receiver has been</geo:notes>
<geo:manufacturerSerialNumber>C102</geo:manufacturerSerialNumber>
<geo:igsModelCode codeList="http://xml.gov.au/icsm/geodesyml/codelists/antenna-receiver-codelists.xml#GeodesyML_GNSSReceiverTypeCode" codeListValue="ROGUE SNR-12 RM" codeSpace="urn:xml-gov-au:icsm:egeodesy:0.4">ROGUE SNR-12 RM</geo:igsModelCode>
<geo:satelliteSystem codeSpace="urn:ga-gov-au:satellite-system-type">GPS</geo:satelliteSystem>
<geo:firmwareVersion>3.2.32.9</geo:firmwareVersion>
<geo:elevationCutoffSetting>0.0</geo:elevationCutoffSetting>
<geo:dateInstalled>1999-08-11T06:30:00Z</geo:dateInstalled>
<geo:dateRemoved>1999-11-26T06:00:00Z</geo:dateRemoved>
<geo:temperatureStabilization xsi:nil="true"></geo:temperatureStabilization>
</geo:GnssReceiver>
<geo:dateInserted>1999-08-11T06:30:00Z</geo:dateInserted>
</geo:gnssReceiver>
<geo:gnssReceiver>
<geo:GnssReceiver gml:id="gnss-receiver-3">
<geo:notes>An additional GPS receiver has been</geo:notes>
<geo:manufacturerSerialNumber>C120U</geo:manufacturerSerialNumber>
<geo:igsModelCode codeList="http://xml.gov.au/icsm/geodesyml/codelists/antenna-receiver-codelists.xml#GeodesyML_GNSSReceiverTypeCode" codeListValue="AOA ICS-4000Z ACT" codeSpace="urn:xml-gov-au:icsm:egeodesy:0.4">AOA ICS-4000Z ACT</geo:igsModelCode>
<geo:satelliteSystem codeSpace="urn:ga-gov-au:satellite-system-type">GPS</geo:satelliteSystem>
<geo:firmwareVersion>3.3.32.3</geo:firmwareVersion>
<geo:elevationCutoffSetting>0.0</geo:elevationCutoffSetting>
<geo:dateInstalled>1999-11-27T00:00:00Z</geo:dateInstalled>
<geo:dateRemoved>2002-09-30T23:59:00Z</geo:dateRemoved>
<geo:temperatureStabilization xsi:nil="true"></geo:temperatureStabilization>
</geo:GnssReceiver>
<geo:dateInserted>1999-11-27T00:00:00Z</geo:dateInserted>
</geo:gnssReceiver>
<geo:gnssReceiver>
<geo:GnssReceiver gml:id="gnss-receiver-4">
<geo:manufacturerSerialNumber>ZR520021006</geo:manufacturerSerialNumber>
<geo:igsModelCode codeList="http://xml.gov.au/icsm/geodesyml/codelists/antenna-receiver-codelists.xml#GeodesyML_GNSSReceiverTypeCode" codeListValue="ASHTECH UZ-12" codeSpace="urn:xml-gov-au:icsm:egeodesy:0.4">ASHTECH UZ-12</geo:igsModelCode>
<geo:satelliteSystem codeSpace="urn:ga-gov-au:satellite-system-type">GPS</geo:satelliteSystem>
<geo:firmwareVersion>ZC00</geo:firmwareVersion>
<geo:elevationCutoffSetting>0.0</geo:elevationCutoffSetting>
<geo:dateInstalled>2002-10-01T04:05:00Z</geo:dateInstalled>
<geo:dateRemoved>2006-02-14T00:59:00Z</geo:dateRemoved>
<geo:temperatureStabilization xsi:nil="true"></geo:temperatureStabilization>
</geo:GnssReceiver>
<geo:dateInserted>2002-10-01T04:05:00Z</geo:dateInserted>
</geo:gnssReceiver>
<geo:gnssReceiver>
<geo:GnssReceiver gml:id="gnss-receiver-5">
<geo:manufacturerSerialNumber>UC2200524003</geo:manufacturerSerialNumber>
<geo:igsModelCode codeList="http://xml.gov.au/icsm/geodesyml/codelists/antenna-receiver-codelists.xml#GeodesyML_GNSSReceiverTypeCode" codeListValue="ASHTECH UZ-12" codeSpace="urn:xml-gov-au:icsm:egeodesy:0.4">ASHTECH UZ-12</geo:igsModelCode>
<geo:satelliteSystem codeSpace="urn:ga-gov-au:satellite-system-type">GPS</geo:satelliteSystem>
<geo:firmwareVersion>CQ00</geo:firmwareVersion>
<geo:elevationCutoffSetting>0.0</geo:elevationCutoffSetting>
<geo:dateInstalled>2006-02-14T01:00:00Z</geo:dateInstalled>
<geo:dateRemoved>2008-09-28T23:00:00Z</geo:dateRemoved>
<geo:temperatureStabilization xsi:nil="true"></geo:temperatureStabilization>
</geo:GnssReceiver>
<geo:dateInserted>2006-02-14T01:00:00Z</geo:dateInserted>
</geo:gnssReceiver>
<geo:gnssReceiver>
<geo:GnssReceiver gml:id="gnss-receiver-6">
<geo:manufacturerSerialNumber>351926</geo:manufacturerSerialNumber>
<geo:igsModelCode codeList="http://xml.gov.au/icsm/geodesyml/codelists/antenna-receiver-codelists.xml#GeodesyML_GNSSReceiverTypeCode" codeListValue="LEICA GRX1200GGPRO" codeSpace="urn:xml-gov-au:icsm:egeodesy:0.4">LEICA GRX1200GGPRO</geo:igsModelCode>
<geo:satelliteSystem codeSpace="urn:ga-gov-au:satellite-system-type">GPS</geo:satelliteSystem>
<geo:satelliteSystem codeSpace="urn:ga-gov-au:satellite-system-type">GLO</geo:satelliteSystem>
<geo:firmwareVersion>6.00</geo:firmwareVersion>
<geo:elevationCutoffSetting>0.0</geo:elevationCutoffSetting>
<geo:dateInstalled>2008-09-29T00:00:00Z</geo:dateInstalled>
<geo:dateRemoved>2009-06-19T00:00:00Z</geo:dateRemoved>
<geo:temperatureStabilization xsi:nil="true"></geo:temperatureStabilization>
</geo:GnssReceiver>
<geo:dateInserted>2008-09-29T00:00:00Z</geo:dateInserted>
</geo:gnssReceiver>
<geo:gnssReceiver>
<geo:GnssReceiver gml:id="gnss-receiver-7">
<geo:notes>The tracking was changed from C2 or P2, to P2 onlt at 2009-07-30T00:00Z Tracking changed to all in view at 2009-09-09T02:00Z</geo:notes>
<geo:manufacturerSerialNumber>351926</geo:manufacturerSerialNumber>
<geo:igsModelCode codeList="http://xml.gov.au/icsm/geodesyml/codelists/antenna-receiver-codelists.xml#GeodesyML_GNSSReceiverTypeCode" codeListValue="LEICA GRX1200GGPRO" codeSpace="urn:xml-gov-au:icsm:egeodesy:0.4">LEICA GRX1200GGPRO</geo:igsModelCode>
<geo:satelliteSystem codeSpace="urn:ga-gov-au:satellite-system-type">GPS</geo:satelliteSystem>
<geo:satelliteSystem codeSpace="urn:ga-gov-au:satellite-system-type">GLO</geo:satelliteSystem>
<geo:firmwareVersion>7.50</geo:firmwareVersion>
<geo:elevationCutoffSetting>0.0</geo:elevationCutoffSetting>
<geo:dateInstalled>2009-06-19T01:00:00Z</geo:dateInstalled>
<geo:dateRemoved>2010-05-05T00:00:00Z</geo:dateRemoved>
<geo:temperatureStabilization xsi:nil="true"></geo:temperatureStabilization>
</geo:GnssReceiver>
<geo:dateInserted>2009-06-19T01:00:00Z</geo:dateInserted>
</geo:gnssReceiver>
<geo:gnssReceiver>
<geo:GnssReceiver gml:id="gnss-receiver-8">
<geo:notes>ME upgrade due to GLONASS tracking problem.</geo:notes>
<geo:manufacturerSerialNumber>351926</geo:manufacturerSerialNumber>
<geo:igsModelCode codeList="http://xml.gov.au/icsm/geodesyml/codelists/antenna-receiver-codelists.xml#GeodesyML_GNSSReceiverTypeCode" codeListValue="LEICA GRX1200GGPRO" codeSpace="urn:xml-gov-au:icsm:egeodesy:0.4">LEICA GRX1200GGPRO</geo:igsModelCode>
<geo:satelliteSystem codeSpace="urn:ga-gov-au:satellite-system-type">GPS</geo:satelliteSystem>
<geo:satelliteSystem codeSpace="urn:ga-gov-au:satellite-system-type">GLO</geo:satelliteSystem>
<geo:firmwareVersion>7.50/3.019</geo:firmwareVersion>
<geo:elevationCutoffSetting>0.0</geo:elevationCutoffSetting>
<geo:dateInstalled>2010-05-05T00:00:00Z</geo:dateInstalled>
<geo:dateRemoved>2010-11-12T00:30:00Z</geo:dateRemoved>
<geo:temperatureStabilization xsi:nil="true"></geo:temperatureStabilization>
</geo:GnssReceiver>
<geo:dateInserted>2010-05-05T00:00:00Z</geo:dateInserted>
</geo:gnssReceiver>
<geo:gnssReceiver>
<geo:GnssReceiver gml:id="gnss-receiver-9">
<geo:notes>Firmware upgrade to fix RT problem. Firmware was updated from 8.00/3.019 to 8.01/3.019 at un-noted time between 2010-05-05T00:00Z and 2010-11-12T00:30Z before this current firmware update.</geo:notes>
<geo:manufacturerSerialNumber>351926</geo:manufacturerSerialNumber>
<geo:igsModelCode codeList="http://xml.gov.au/icsm/geodesyml/codelists/antenna-receiver-codelists.xml#GeodesyML_GNSSReceiverTypeCode" codeListValue="LEICA GRX1200GGPRO" codeSpace="urn:xml-gov-au:icsm:egeodesy:0.4">LEICA GRX1200GGPRO</geo:igsModelCode>
<geo:satelliteSystem codeSpace="urn:ga-gov-au:satellite-system-type">GPS</geo:satelliteSystem>
<geo:satelliteSystem codeSpace="urn:ga-gov-au:satellite-system-type">GLO</geo:satelliteSystem>
<geo:firmwareVersion>8.01/3.019</geo:firmwareVersion>
<geo:elevationCutoffSetting>0.0</geo:elevationCutoffSetting>
<geo:dateInstalled>2010-11-12T00:30:00Z</geo:dateInstalled>
<geo:dateRemoved>2011-06-14T00:00:00Z</geo:dateRemoved>
<geo:temperatureStabilization xsi:nil="true"></geo:temperatureStabilization>
</geo:GnssReceiver>
<geo:dateInserted>2010-11-12T00:30:00Z</geo:dateInserted>
</geo:gnssReceiver>
<geo:gnssReceiver>
<geo:GnssReceiver gml:id="gnss-receiver-10">
<geo:manufacturerSerialNumber>351926</geo:manufacturerSerialNumber>
<geo:igsModelCode codeList="http://xml.gov.au/icsm/geodesyml/codelists/antenna-receiver-codelists.xml#GeodesyML_GNSSReceiverTypeCode" codeListValue="LEICA GRX1200GGPRO" codeSpace="urn:xml-gov-au:icsm:egeodesy:0.4">LEICA GRX1200GGPRO</geo:igsModelCode>
<geo:satelliteSystem codeSpace="urn:ga-gov-au:satellite-system-type">GPS</geo:satelliteSystem>
<geo:satelliteSystem codeSpace="urn:ga-gov-au:satellite-system-type">GLO</geo:satelliteSystem>
<geo:firmwareVersion>8.20/3.019</geo:firmwareVersion>
<geo:elevationCutoffSetting>0.0</geo:elevationCutoffSetting>
<geo:dateInstalled>2011-06-14T00:00:00Z</geo:dateInstalled>
<geo:dateRemoved>2013-07-17T22:15:00Z</geo:dateRemoved>
<geo:temperatureStabilization xsi:nil="true"></geo:temperatureStabilization>
</geo:GnssReceiver>
<geo:dateInserted>2011-06-14T00:00:00Z</geo:dateInserted>
</geo:gnssReceiver>
<geo:gnssReceiver>
<geo:GnssReceiver gml:id="gnss-receiver-11">
<geo:manufacturerSerialNumber>351926</geo:manufacturerSerialNumber>
<geo:igsModelCode codeList="http://xml.gov.au/icsm/geodesyml/codelists/antenna-receiver-codelists.xml#GeodesyML_GNSSReceiverTypeCode" codeListValue="LEICA GRX1200GGPRO" codeSpace="urn:xml-gov-au:icsm:egeodesy:0.4">LEICA GRX1200GGPRO</geo:igsModelCode>
<geo:satelliteSystem codeSpace="urn:ga-gov-au:satellite-system-type">GPS</geo:satelliteSystem>
<geo:satelliteSystem codeSpace="urn:ga-gov-au:satellite-system-type">GLO</geo:satelliteSystem>
<geo:firmwareVersion>8.71/3.822</geo:firmwareVersion>
<geo:elevationCutoffSetting>0.0</geo:elevationCutoffSetting>
<geo:dateInstalled>2013-07-17T22:15:00Z</geo:dateInstalled>
<geo:dateRemoved>2015-08-24T00:00:00Z</geo:dateRemoved>
<geo:temperatureStabilization xsi:nil="true"></geo:temperatureStabilization>
</geo:GnssReceiver>
<geo:dateInserted>2013-07-17T22:15:00Z</geo:dateInserted>
</geo:gnssReceiver>
<geo:gnssReceiver>
<geo:GnssReceiver gml:id="gnss-receiver-12">
<geo:manufacturerSerialNumber>3003828</geo:manufacturerSerialNumber>
<geo:igsModelCode codeList="http://xml.gov.au/icsm/geodesyml/codelists/antenna-receiver-codelists.xml#GeodesyML_GNSSReceiverTypeCode" codeListValue="SEPT POLARXS" codeSpace="urn:xml-gov-au:icsm:egeodesy:0.4">SEPT POLARXS</geo:igsModelCode>
<geo:satelliteSystem codeSpace="urn:ga-gov-au:satellite-system-type">GPS</geo:satelliteSystem>
<geo:satelliteSystem codeSpace="urn:ga-gov-au:satellite-system-type">GLO</geo:satelliteSystem>
<geo:satelliteSystem codeSpace="urn:ga-gov-au:satellite-system-type">GAL</geo:satelliteSystem>
<geo:satelliteSystem codeSpace="urn:ga-gov-au:satellite-system-type">BDS</geo:satelliteSystem>
<geo:satelliteSystem codeSpace="urn:ga-gov-au:satellite-system-type">QZSS</geo:satelliteSystem>
<geo:firmwareVersion>2.9.0Patch1</geo:firmwareVersion>
<geo:elevationCutoffSetting>0.0</geo:elevationCutoffSetting>
<geo:dateInstalled>2015-08-24T00:00:00Z</geo:dateInstalled>
<geo:dateRemoved>2015-11-20T00:00:00Z</geo:dateRemoved>
<geo:temperatureStabilization xsi:nil="true"></geo:temperatureStabilization>
</geo:GnssReceiver>
<geo:dateInserted>2015-08-24T00:00:00Z</geo:dateInserted>
</geo:gnssReceiver>
<geo:gnssReceiver>
<geo:GnssReceiver gml:id="gnss-receiver-13">
<geo:notes>Firmware update only</geo:notes>
<geo:manufacturerSerialNumber>3003828</geo:manufacturerSerialNumber>
<geo:igsModelCode codeList="http://xml.gov.au/icsm/geodesyml/codelists/antenna-receiver-codelists.xml#GeodesyML_GNSSReceiverTypeCode" codeListValue="SEPT POLARXS" codeSpace="urn:xml-gov-au:icsm:egeodesy:0.4">SEPT POLARXS</geo:igsModelCode>
<geo:satelliteSystem codeSpace="urn:ga-gov-au:satellite-system-type">GPS</geo:satelliteSystem>
<geo:satelliteSystem codeSpace="urn:ga-gov-au:satellite-system-type">GLO</geo:satelliteSystem>
<geo:satelliteSystem codeSpace="urn:ga-gov-au:satellite-system-type">GAL</geo:satelliteSystem>
<geo:satelliteSystem codeSpace="urn:ga-gov-au:satellite-system-type">BDS</geo:satelliteSystem>
<geo:satelliteSystem codeSpace="urn:ga-gov-au:satellite-system-type">QZSS</geo:satelliteSystem>
<geo:firmwareVersion>2.9.1-patch1</geo:firmwareVersion>
<geo:elevationCutoffSetting>0.0</geo:elevationCutoffSetting>
<geo:dateInstalled>2015-11-20T00:00:00Z</geo:dateInstalled>
<geo:dateRemoved>2016-05-24T00:00:00Z</geo:dateRemoved>
<geo:temperatureStabilization xsi:nil="true"></geo:temperatureStabilization>
</geo:GnssReceiver>
<geo:dateInserted>2015-11-20T00:00:00Z</geo:dateInserted>
</geo:gnssReceiver>
<geo:gnssReceiver>
<geo:GnssReceiver gml:id="gnss-receiver-14">
<geo:notes>Firmware update only</geo:notes>
<geo:manufacturerSerialNumber>3003828</geo:manufacturerSerialNumber>
<geo:igsModelCode codeList="http://xml.gov.au/icsm/geodesyml/codelists/antenna-receiver-codelists.xml#GeodesyML_GNSSReceiverTypeCode" codeListValue="SEPT POLARXS" codeSpace="urn:xml-gov-au:icsm:egeodesy:0.4">SEPT POLARXS</geo:igsModelCode>
<geo:satelliteSystem codeSpace="urn:ga-gov-au:satellite-system-type">GPS</geo:satelliteSystem>
<geo:satelliteSystem codeSpace="urn:ga-gov-au:satellite-system-type">GLO</geo:satelliteSystem>
<geo:satelliteSystem codeSpace="urn:ga-gov-au:satellite-system-type">GAL</geo:satelliteSystem>
<geo:satelliteSystem codeSpace="urn:ga-gov-au:satellite-system-type">BDS</geo:satelliteSystem>
<geo:satelliteSystem codeSpace="urn:ga-gov-au:satellite-system-type">QZSS</geo:satelliteSystem>
<geo:firmwareVersion>2.9.1-patch2</geo:firmwareVersion>
<geo:elevationCutoffSetting>0.0</geo:elevationCutoffSetting>
<geo:dateInstalled>2016-05-24T00:00:00Z</geo:dateInstalled>
<geo:dateRemoved>2017-01-05T00:00:00Z</geo:dateRemoved>
<geo:temperatureStabilization xsi:nil="true"></geo:temperatureStabilization>
</geo:GnssReceiver>
<geo:dateInserted>2016-05-24T00:00:00Z</geo:dateInserted>
</geo:gnssReceiver>
<geo:gnssReceiver>
<geo:GnssReceiver gml:id="gnss-receiver-15">
<geo:notes>Firmware update only</geo:notes>
<geo:manufacturerSerialNumber>3003828</geo:manufacturerSerialNumber>
<geo:igsModelCode codeList="http://xml.gov.au/icsm/geodesyml/codelists/antenna-receiver-codelists.xml#GeodesyML_GNSSReceiverTypeCode" codeListValue="SEPT POLARXS" codeSpace="urn:xml-gov-au:icsm:egeodesy:0.4">SEPT POLARXS</geo:igsModelCode>
<geo:satelliteSystem codeSpace="urn:ga-gov-au:satellite-system-type">GPS</geo:satelliteSystem>
<geo:satelliteSystem codeSpace="urn:ga-gov-au:satellite-system-type">GLO</geo:satelliteSystem>
<geo:satelliteSystem codeSpace="urn:ga-gov-au:satellite-system-type">GAL</geo:satelliteSystem>
<geo:satelliteSystem codeSpace="urn:ga-gov-au:satellite-system-type">BDS</geo:satelliteSystem>
<geo:satelliteSystem codeSpace="urn:ga-gov-au:satellite-system-type">QZSS</geo:satelliteSystem>
<geo:firmwareVersion>2.9.6</geo:firmwareVersion>
<geo:elevationCutoffSetting>0.0</geo:elevationCutoffSetting>
<geo:dateInstalled>2017-01-05T00:00:00Z</geo:dateInstalled>
<geo:dateRemoved></geo:dateRemoved>
<geo:temperatureStabilization xsi:nil="true"></geo:temperatureStabilization>
</geo:GnssReceiver>
<geo:dateInserted>2017-01-05T00:00:00Z</geo:dateInserted>
</geo:gnssReceiver>
<geo:gnssAntenna>
<geo:GnssAntenna gml:id="gnss-antenna-1">
<geo:manufacturerSerialNumber>326</geo:manufacturerSerialNumber>
<geo:igsModelCode codeList="http://xml.gov.au/icsm/geodesyml/codelists/antenna-receiver-codelists.xml#GeodesyML_GNSSAntennaTypeCode" codeListValue="AOAD/M_T AUST" codeSpace="urn:xml-gov-au:icsm:egeodesy:0.4">AOAD/M_T AUST</geo:igsModelCode>
<geo:antennaReferencePoint codeSpace="urn:ga-gov-au:antenna-reference-point-type">BPA</geo:antennaReferencePoint>
<geo:marker-arpUpEcc.>0.0035</geo:marker-arpUpEcc.>
<geo:marker-arpNorthEcc.>0.0</geo:marker-arpNorthEcc.>
<geo:marker-arpEastEcc.>0.0</geo:marker-arpEastEcc.>
<geo:alignmentFromTrueNorth>0.0</geo:alignmentFromTrueNorth>
<geo:antennaRadomeType codeSpace="urn:igs-org:gnss-radome-model-code">AUST</geo:antennaRadomeType>
<geo:radomeSerialNumber></geo:radomeSerialNumber>
<geo:antennaCableType></geo:antennaCableType>
<geo:antennaCableLength>80.0</geo:antennaCableLength>
<geo:dateInstalled>1995-01-17T00:00:00Z</geo:dateInstalled>
<geo:dateRemoved>2011-09-23T00:00:00Z</geo:dateRemoved>
</geo:GnssAntenna>
<geo:dateInserted>1995-01-17T00:00:00Z</geo:dateInserted>
</geo:gnssAntenna>
<geo:gnssAntenna>
<geo:GnssAntenna gml:id="gnss-antenna-2">
<geo:notes>Cable destroyed due to bushfire. Lightning protection removed.</geo:notes>
<geo:manufacturerSerialNumber>09310016</geo:manufacturerSerialNumber>
<geo:igsModelCode codeList="http://xml.gov.au/icsm/geodesyml/codelists/antenna-receiver-codelists.xml#GeodesyML_GNSSAntennaTypeCode" codeListValue="LEIAR25.R3 NONE" codeSpace="urn:xml-gov-au:icsm:egeodesy:0.4">LEIAR25.R3 NONE</geo:igsModelCode>
<geo:antennaReferencePoint codeSpace="urn:ga-gov-au:antenna-reference-point-type">BPA</geo:antennaReferencePoint>
<geo:marker-arpUpEcc.>0.0033</geo:marker-arpUpEcc.>
<geo:marker-arpNorthEcc.>0.0</geo:marker-arpNorthEcc.>
<geo:marker-arpEastEcc.>0.0</geo:marker-arpEastEcc.>
<geo:alignmentFromTrueNorth>0.0</geo:alignmentFromTrueNorth>
<geo:antennaRadomeType codeSpace="urn:igs-org:gnss-radome-model-code">NONE</geo:antennaRadomeType>
<geo:radomeSerialNumber></geo:radomeSerialNumber>
<geo:antennaCableType>LMR600</geo:antennaCableType>
<geo:antennaCableLength>175.0</geo:antennaCableLength>
<geo:dateInstalled>2011-09-23T00:00:00Z</geo:dateInstalled>
<geo:dateRemoved>2012-12-10T00:00:00Z</geo:dateRemoved>
</geo:GnssAntenna>
<geo:dateInserted>2011-09-23T00:00:00Z</geo:dateInserted>
</geo:gnssAntenna>
<geo:gnssAntenna>
<geo:GnssAntenna gml:id="gnss-antenna-3">
<geo:notes>no lightning protection</geo:notes>
<geo:manufacturerSerialNumber>09310016</geo:manufacturerSerialNumber>
<geo:igsModelCode codeList="http://xml.gov.au/icsm/geodesyml/codelists/antenna-receiver-codelists.xml#GeodesyML_GNSSAntennaTypeCode" codeListValue="LEIAR25.R3 NONE" codeSpace="urn:xml-gov-au:icsm:egeodesy:0.4">LEIAR25.R3 NONE</geo:igsModelCode>
<geo:antennaReferencePoint codeSpace="urn:ga-gov-au:antenna-reference-point-type">BPA</geo:antennaReferencePoint>
<geo:marker-arpUpEcc.>0.0033</geo:marker-arpUpEcc.>
<geo:marker-arpNorthEcc.>0.0</geo:marker-arpNorthEcc.>
<geo:marker-arpEastEcc.>0.0</geo:marker-arpEastEcc.>
<geo:alignmentFromTrueNorth>0.0</geo:alignmentFromTrueNorth>
<geo:antennaRadomeType codeSpace="urn:igs-org:gnss-radome-model-code">NONE</geo:antennaRadomeType>
<geo:radomeSerialNumber></geo:radomeSerialNumber>
<geo:antennaCableType>LMR600</geo:antennaCableType>
<geo:antennaCableLength>190.0</geo:antennaCableLength>
<geo:dateInstalled>2013-01-22T00:00:00Z</geo:dateInstalled>
<geo:dateRemoved></geo:dateRemoved>
</geo:GnssAntenna>
<geo:dateInserted>2013-01-22T00:00:00Z</geo:dateInserted>
</geo:gnssAntenna>
<geo:surveyedLocalTie>
<geo:SurveyedLocalTie gml:id="local-tie-1">
<geo:tiedMarkerName>RM1</geo:tiedMarkerName>
<geo:tiedMarkerUsage>LOCAL CONTROL</geo:tiedMarkerUsage>
<geo:tiedMarkerCDPNumber>N/A</geo:tiedMarkerCDPNumber>
<geo:tiedMarkerDOMESNumber></geo:tiedMarkerDOMESNumber>
<geo:differentialComponentsGNSSMarkerToTiedMonumentITRS>
<geo:dx>-11.718</geo:dx>
<geo:dy>-30.625</geo:dy>
<geo:dz>8.529</geo:dz>
</geo:differentialComponentsGNSSMarkerToTiedMonumentITRS>
<geo:localSiteTiesAccuracy>1.0</geo:localSiteTiesAccuracy>
<geo:surveyMethod>TRIANGULATION</geo:surveyMethod>
<geo:dateMeasured>1995-01-01T00:00:00Z</geo:dateMeasured>
<geo:notes></geo:notes>
</geo:SurveyedLocalTie>
<geo:dateInserted>1995-01-01T00:00:00Z</geo:dateInserted>
</geo:surveyedLocalTie>
<geo:surveyedLocalTie>
<geo:SurveyedLocalTie gml:id="local-tie-2">
<geo:tiedMarkerName>RM2</geo:tiedMarkerName>
<geo:tiedMarkerUsage>LOCAL CONTROL</geo:tiedMarkerUsage>
<geo:tiedMarkerCDPNumber>N/A</geo:tiedMarkerCDPNumber>
<geo:tiedMarkerDOMESNumber></geo:tiedMarkerDOMESNumber>
<geo:differentialComponentsGNSSMarkerToTiedMonumentITRS>
<geo:dx>-3.603</geo:dx>
<geo:dy>-14.161</geo:dy>
<geo:dz>-5.062</geo:dz>
</geo:differentialComponentsGNSSMarkerToTiedMonumentITRS>
<geo:localSiteTiesAccuracy>1.0</geo:localSiteTiesAccuracy>
<geo:surveyMethod>TRIANGULATION</geo:surveyMethod>
<geo:dateMeasured>1995-01-01T00:00:00Z</geo:dateMeasured>
<geo:notes></geo:notes>
</geo:SurveyedLocalTie>
<geo:dateInserted>1995-01-01T00:00:00Z</geo:dateInserted>
</geo:surveyedLocalTie>
<geo:surveyedLocalTie>
<geo:SurveyedLocalTie gml:id="local-tie-3">
<geo:tiedMarkerName>RM3</geo:tiedMarkerName>
<geo:tiedMarkerUsage>LOCAL CONTROL</geo:tiedMarkerUsage>
<geo:tiedMarkerCDPNumber>N/A</geo:tiedMarkerCDPNumber>
<geo:tiedMarkerDOMESNumber></geo:tiedMarkerDOMESNumber>
<geo:differentialComponentsGNSSMarkerToTiedMonumentITRS>
<geo:dx>30.066</geo:dx>
<geo:dy>45.958</geo:dy>
<geo:dz>17.795</geo:dz>
</geo:differentialComponentsGNSSMarkerToTiedMonumentITRS>
<geo:localSiteTiesAccuracy>1.0</geo:localSiteTiesAccuracy>
<geo:surveyMethod>TRIANGULATION</geo:surveyMethod>
<geo:dateMeasured>1995-01-01T00:00:00Z</geo:dateMeasured>
<geo:notes></geo:notes>
</geo:SurveyedLocalTie>
<geo:dateInserted>1995-01-01T00:00:00Z</geo:dateInserted>
</geo:surveyedLocalTie>
<geo:surveyedLocalTie>
<geo:SurveyedLocalTie gml:id="local-tie-4">
<geo:tiedMarkerName>RM1</geo:tiedMarkerName>
<geo:tiedMarkerUsage>LOCAL CONTROL</geo:tiedMarkerUsage>
<geo:tiedMarkerCDPNumber>N/A</geo:tiedMarkerCDPNumber>
<geo:tiedMarkerDOMESNumber></geo:tiedMarkerDOMESNumber>
<geo:differentialComponentsGNSSMarkerToTiedMonumentITRS>
<geo:dx>-11.7166</geo:dx>
<geo:dy>-30.625</geo:dy>
<geo:dz>8.5243</geo:dz>
</geo:differentialComponentsGNSSMarkerToTiedMonumentITRS>
<geo:localSiteTiesAccuracy>1.0</geo:localSiteTiesAccuracy>
<geo:surveyMethod>TRIANGULATION</geo:surveyMethod>
<geo:dateMeasured>2002-10-01T00:00:00Z</geo:dateMeasured>
<geo:notes></geo:notes>
</geo:SurveyedLocalTie>
<geo:dateInserted>2002-10-01T00:00:00Z</geo:dateInserted>
</geo:surveyedLocalTie>
<geo:surveyedLocalTie>
<geo:SurveyedLocalTie gml:id="local-tie-5">
<geo:tiedMarkerName>RM2</geo:tiedMarkerName>
<geo:tiedMarkerUsage>LOCAL CONTROL</geo:tiedMarkerUsage>
<geo:tiedMarkerCDPNumber>N/A</geo:tiedMarkerCDPNumber>
<geo:tiedMarkerDOMESNumber></geo:tiedMarkerDOMESNumber>
<geo:differentialComponentsGNSSMarkerToTiedMonumentITRS>
<geo:dx>8.3317</geo:dx>
<geo:dy>-0.8448</geo:dy>
<geo:dz>-12.9992</geo:dz>
</geo:differentialComponentsGNSSMarkerToTiedMonumentITRS>
<geo:localSiteTiesAccuracy>1.0</geo:localSiteTiesAccuracy>
<geo:surveyMethod>TRIANGULATION</geo:surveyMethod>
<geo:dateMeasured>2002-10-01T00:00:00Z</geo:dateMeasured>
<geo:notes></geo:notes>
</geo:SurveyedLocalTie>
<geo:dateInserted>2002-10-01T00:00:00Z</geo:dateInserted>
</geo:surveyedLocalTie>
<geo:surveyedLocalTie>
<geo:SurveyedLocalTie gml:id="local-tie-6">
<geo:tiedMarkerName>RM3</geo:tiedMarkerName>
<geo:tiedMarkerUsage>LOCAL CONTROL</geo:tiedMarkerUsage>
<geo:tiedMarkerCDPNumber>N/A</geo:tiedMarkerCDPNumber>
<geo:tiedMarkerDOMESNumber></geo:tiedMarkerDOMESNumber>
<geo:differentialComponentsGNSSMarkerToTiedMonumentITRS>
<geo:dx>30.0657</geo:dx>
<geo:dy>45.9582</geo:dy>
<geo:dz>17.7953</geo:dz>
</geo:differentialComponentsGNSSMarkerToTiedMonumentITRS>
<geo:localSiteTiesAccuracy>1.0</geo:localSiteTiesAccuracy>
<geo:surveyMethod>TRIANGULATION</geo:surveyMethod>
<geo:dateMeasured>2002-10-01T00:00:00Z</geo:dateMeasured>
<geo:notes></geo:notes>
</geo:SurveyedLocalTie>
<geo:dateInserted>2002-10-01T00:00:00Z</geo:dateInserted>
</geo:surveyedLocalTie>
<geo:frequencyStandard>
<geo:FrequencyStandard gml:id="frequency-standard-1">
<geo:standardType codeSpace="urn:ga-gov-au:frequency-standard-type">INTERNAL</geo:standardType>
<geo:inputFrequency xsi:nil="true"></geo:inputFrequency>
<gml:validTime>
<gml:TimePeriod gml:id="frequency-standard-1--time-period-1">
<gml:beginPosition>1995-01-17</gml:beginPosition>
<gml:endPosition>2002-09-30</gml:endPosition>
</gml:TimePeriod>
</gml:validTime>
<geo:notes></geo:notes>
</geo:FrequencyStandard>
<geo:dateInserted>1995-01-17</geo:dateInserted>
</geo:frequencyStandard>
<geo:frequencyStandard>
<geo:FrequencyStandard gml:id="frequency-standard-2">
<geo:standardType codeSpace="urn:ga-gov-au:frequency-standard-type">EXTERNAL RUBIDIUM</geo:standardType>
<geo:inputFrequency>10.0</geo:inputFrequency>
<gml:validTime>
<gml:TimePeriod gml:id="frequency-standard-2--time-period-2">
<gml:beginPosition>2002-10-01</gml:beginPosition>
<gml:endPosition>2003-06-26</gml:endPosition>
</gml:TimePeriod>
</gml:validTime>
<geo:notes></geo:notes>
</geo:FrequencyStandard>
<geo:dateInserted>2002-10-01</geo:dateInserted>
</geo:frequencyStandard>
<geo:frequencyStandard>
<geo:FrequencyStandard gml:id="frequency-standard-3">
<geo:standardType codeSpace="urn:ga-gov-au:frequency-standard-type">INTERNAL</geo:standardType>
<geo:inputFrequency xsi:nil="true"></geo:inputFrequency>
<gml:validTime>
<gml:TimePeriod gml:id="frequency-standard-3--time-period-3">
<gml:beginPosition>2003-06-26</gml:beginPosition>
<gml:endPosition>2003-07-03</gml:endPosition>
</gml:TimePeriod>
</gml:validTime>
<geo:notes>Switched to internal due to power problems with rubidium</geo:notes>
</geo:FrequencyStandard>
<geo:dateInserted>2003-06-26</geo:dateInserted>
</geo:frequencyStandard>
<geo:frequencyStandard>
<geo:FrequencyStandard gml:id="frequency-standard-4">
<geo:standardType codeSpace="urn:ga-gov-au:frequency-standard-type">EXTERNAL RUBIDIUM</geo:standardType>
<geo:inputFrequency>10.0</geo:inputFrequency>
<gml:validTime>
<gml:TimePeriod gml:id="frequency-standard-4--time-period-4">
<gml:beginPosition>2003-07-03</gml:beginPosition>
<gml:endPosition>2008-09-29</gml:endPosition>
</gml:TimePeriod>
</gml:validTime>
<geo:notes>S/N 13018837</geo:notes>
</geo:FrequencyStandard>
<geo:dateInserted>2003-07-03</geo:dateInserted>
</geo:frequencyStandard>
<geo:frequencyStandard>
<geo:FrequencyStandard gml:id="frequency-standard-5">
<geo:standardType codeSpace="urn:ga-gov-au:frequency-standard-type">INTERNAL</geo:standardType>
<geo:inputFrequency xsi:nil="true"></geo:inputFrequency>
<gml:validTime>
<gml:TimePeriod gml:id="frequency-standard-5--time-period-5">
<gml:beginPosition>2008-09-29</gml:beginPosition>
<gml:endPosition></gml:endPosition>
</gml:TimePeriod>
</gml:validTime>
<geo:notes></geo:notes>
</geo:FrequencyStandard>
<geo:dateInserted>2008-09-29</geo:dateInserted>
</geo:frequencyStandard>
<geo:humiditySensor>
<geo:HumiditySensor gml:id="humidity-sensor-1">
<geo:type codeSpace="urn:ga-gov-au:humidity-sensor-type">PAROSCIENTIFIC MET3</geo:type>
<geo:manufacturer>PAROSCIENTIFIC</geo:manufacturer>
<geo:serialNumber>101697</geo:serialNumber>
<geo:heightDiffToAntenna>7.0</geo:heightDiffToAntenna>
<geo:calibrationDate>2002-09-18</geo:calibrationDate>
<gml:validTime>
<gml:TimePeriod gml:id="humidity-sensor-1--time-period-1">
<gml:beginPosition>2002-10-01</gml:beginPosition>
<gml:endPosition>2008-10-03</gml:endPosition>
</gml:TimePeriod>
</gml:validTime>
<geo:dataSamplingInterval>60.0</geo:dataSamplingInterval>
<geo:accuracy-percentRelativeHumidity>2.0</geo:accuracy-percentRelativeHumidity>
<geo:aspiration>NATURAL</geo:aspiration>
</geo:HumiditySensor>
<geo:dateInserted>2002-10-01</geo:dateInserted>
</geo:humiditySensor>
<geo:humiditySensor>
<geo:HumiditySensor gml:id="humidity-sensor-2">
<geo:type codeSpace="urn:ga-gov-au:humidity-sensor-type">PAROSCIENTIFIC MET4</geo:type>
<geo:manufacturer>Paroscientific</geo:manufacturer>
<geo:serialNumber>DQ110409</geo:serialNumber>
<geo:heightDiffToAntenna>7.0</geo:heightDiffToAntenna>
<geo:calibrationDate></geo:calibrationDate>
<gml:validTime>
<gml:TimePeriod gml:id="humidity-sensor-2--time-period-2">
<gml:beginPosition>2011-09-28</gml:beginPosition>
<gml:endPosition>2013-06-19</gml:endPosition>
</gml:TimePeriod>
</gml:validTime>
<geo:dataSamplingInterval>30.0</geo:dataSamplingInterval>
<geo:accuracy-percentRelativeHumidity>2.0</geo:accuracy-percentRelativeHumidity>
<geo:aspiration>UNASPIRATED</geo:aspiration>
</geo:HumiditySensor>
<geo:dateInserted>2011-09-28</geo:dateInserted>
</geo:humiditySensor>
<geo:pressureSensor>
<geo:PressureSensor gml:id="pressure-sensor-1">
<geo:type codeSpace="urn:ga-gov-au:pressure-sensor-type">PAROSCIENTIFIC MET3</geo:type>
<geo:manufacturer>PAROSCIENTIFIC</geo:manufacturer>
<geo:serialNumber>101697</geo:serialNumber>
<geo:heightDiffToAntenna>7.0</geo:heightDiffToAntenna>
<geo:calibrationDate>2002-09-18</geo:calibrationDate>
<gml:validTime>
<gml:TimePeriod gml:id="pressure-sensor-1--time-period-3">
<gml:beginPosition>2002-10-01</gml:beginPosition>
<gml:endPosition>2008-10-03</gml:endPosition>
</gml:TimePeriod>
</gml:validTime>
<geo:dataSamplingInterval>60.0</geo:dataSamplingInterval>
<geo:accuracy-hPa>0.1</geo:accuracy-hPa>
</geo:PressureSensor>
<geo:dateInserted>2002-10-01</geo:dateInserted>
</geo:pressureSensor>
<geo:pressureSensor>
<geo:PressureSensor gml:id="pressure-sensor-2">
<geo:type codeSpace="urn:ga-gov-au:pressure-sensor-type">PAROSCIENTIFIC MET4</geo:type>
<geo:manufacturer>Paroscientific</geo:manufacturer>
<geo:serialNumber>DQ110409</geo:serialNumber>
<geo:heightDiffToAntenna>7.0</geo:heightDiffToAntenna>
<geo:calibrationDate></geo:calibrationDate>
<gml:validTime>
<gml:TimePeriod gml:id="pressure-sensor-2--time-period-4">
<gml:beginPosition>2011-09-28</gml:beginPosition>
<gml:endPosition>2013-06-19</gml:endPosition>
</gml:TimePeriod>
</gml:validTime>
<geo:dataSamplingInterval>30.0</geo:dataSamplingInterval>
<geo:accuracy-hPa>0.08</geo:accuracy-hPa>
</geo:PressureSensor>
<geo:dateInserted>2011-09-28</geo:dateInserted>
</geo:pressureSensor>
<geo:temperatureSensor>
<geo:TemperatureSensor gml:id="temperature-sensor-1">
<geo:type codeSpace="urn:ga-gov-au:temperature-sensor-type">PAROSCIENTIFIC MET3</geo:type>
<geo:manufacturer>PAROSCIENTIFIC</geo:manufacturer>
<geo:serialNumber>101697</geo:serialNumber>
<geo:heightDiffToAntenna>7.0</geo:heightDiffToAntenna>
<geo:calibrationDate>2002-09-18</geo:calibrationDate>
<gml:validTime>
<gml:TimePeriod gml:id="temperature-sensor-1--time-period-5">
<gml:beginPosition>2002-10-01</gml:beginPosition>
<gml:endPosition>2008-10-03</gml:endPosition>
</gml:TimePeriod>
</gml:validTime>
<geo:dataSamplingInterval>60.0</geo:dataSamplingInterval>
<geo:accuracy-degreesCelcius>0.5</geo:accuracy-degreesCelcius>
<geo:aspiration>NATURAL</geo:aspiration>
</geo:TemperatureSensor>
<geo:dateInserted>2002-10-01</geo:dateInserted>
</geo:temperatureSensor>
<geo:temperatureSensor>
<geo:TemperatureSensor gml:id="temperature-sensor-2">
<geo:type codeSpace="urn:ga-gov-au:temperature-sensor-type">PAROSCIENTIFIC MET4</geo:type>
<geo:manufacturer>Paroscientific</geo:manufacturer>
<geo:serialNumber>DQ110409</geo:serialNumber>
<geo:heightDiffToAntenna>7.0</geo:heightDiffToAntenna>
<geo:calibrationDate></geo:calibrationDate>
<gml:validTime>
<gml:TimePeriod gml:id="temperature-sensor-2--time-period-6">
<gml:beginPosition>2011-09-28</gml:beginPosition>
<gml:endPosition>2013-06-19</gml:endPosition>
</gml:TimePeriod>
</gml:validTime>
<geo:dataSamplingInterval>30.0</geo:dataSamplingInterval>
<geo:accuracy-degreesCelcius>0.5</geo:accuracy-degreesCelcius>
<geo:aspiration>UNASPIRATED</geo:aspiration>
</geo:TemperatureSensor>
<geo:dateInserted>2011-09-28</geo:dateInserted>
</geo:temperatureSensor>
<geo:siteContact gml:id="agency-1">
<gmd:MD_SecurityConstraints>
<gmd:classification gco:nilReason="missing"/>
</gmd:MD_SecurityConstraints>
<gmd:CI_ResponsibleParty>
<gmd:individualName>
<gco:CharacterString>Ryan Ruddick</gco:CharacterString>
</gmd:individualName>
<gmd:organisationName>
<gco:CharacterString>Geoscience Australia</gco:CharacterString>
</gmd:organisationName>
<gmd:contactInfo>
<gmd:CI_Contact>
<gmd:phone>
<gmd:CI_Telephone>
<gmd:voice>
<gco:CharacterString>+61 2 6249 9426</gco:CharacterString>
</gmd:voice>
<gmd:voice>
<gco:CharacterString>+61 2 6249 9111</gco:CharacterString>
</gmd:voice>
<gmd:facsimile>
<gco:CharacterString></gco:CharacterString>
</gmd:facsimile>
</gmd:CI_Telephone>
</gmd:phone>
<gmd:address>
<gmd:CI_Address>
<gmd:deliveryPoint>
<gco:CharacterString>GPO Box 378 Canberra ACT 2601 AUSTRALIA</gco:CharacterString>
</gmd:deliveryPoint>
<gmd:city>
<gco:CharacterString>Canberra</gco:CharacterString>
</gmd:city>
<gmd:postalCode>
<gco:CharacterString>2601</gco:CharacterString>
</gmd:postalCode>
<gmd:country>
<gco:CharacterString>Australia</gco:CharacterString>
</gmd:country>
<gmd:electronicMailAddress>
<gco:CharacterString>[email protected]</gco:CharacterString>
</gmd:electronicMailAddress>
</gmd:CI_Address>
</gmd:address>
</gmd:CI_Contact>
</gmd:contactInfo>
<gmd:role>
<gmd:CI_RoleCode codeList="http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#CI_RoleCode" codeListValue="pointOfContact"></gmd:CI_RoleCode>
</gmd:role>
</gmd:CI_ResponsibleParty>
</geo:siteContact>
<geo:siteContact gml:id="agency-2">
<gmd:MD_SecurityConstraints>
<gmd:classification gco:nilReason="missing"/>
</gmd:MD_SecurityConstraints>
<gmd:CI_ResponsibleParty>
<gmd:individualName>
<gco:CharacterString>Nicholas Brown</gco:CharacterString>
</gmd:individualName>
<gmd:organisationName>
<gco:CharacterString>Geoscience Australia</gco:CharacterString>
</gmd:organisationName>
<gmd:contactInfo>
<gmd:CI_Contact>
<gmd:phone>
<gmd:CI_Telephone>
<gmd:voice>
<gco:CharacterString>+61 2 6249 9831</gco:CharacterString>
</gmd:voice>
<gmd:voice>
<gco:CharacterString>+61 2 6249 9111</gco:CharacterString>
</gmd:voice>
<gmd:facsimile>
<gco:CharacterString></gco:CharacterString>
</gmd:facsimile>
</gmd:CI_Telephone>
</gmd:phone>
<gmd:address>
<gmd:CI_Address>
<gmd:deliveryPoint>
<gco:CharacterString>GPO Box 378 Canberra ACT 2601 AUSTRALIA</gco:CharacterString>
</gmd:deliveryPoint>
<gmd:city>
<gco:CharacterString>Canberra</gco:CharacterString>
</gmd:city>
<gmd:postalCode>
<gco:CharacterString>2601</gco:CharacterString>
</gmd:postalCode>
<gmd:country>
<gco:CharacterString>Australia</gco:CharacterString>
</gmd:country>
<gmd:electronicMailAddress>
<gco:CharacterString>[email protected]</gco:CharacterString>
</gmd:electronicMailAddress>
</gmd:CI_Address>
</gmd:address>
</gmd:CI_Contact>
</gmd:contactInfo>
<gmd:role>
<gmd:CI_RoleCode codeList="http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#CI_RoleCode" codeListValue="pointOfContact"></gmd:CI_RoleCode>
</gmd:role>
</gmd:CI_ResponsibleParty>
</geo:siteContact>
<geo:siteMetadataCustodian gml:id="agency-3">
<gmd:MD_SecurityConstraints>
<gmd:classification gco:nilReason="missing"/>
</gmd:MD_SecurityConstraints>
<gmd:CI_ResponsibleParty>
<gmd:individualName>
<gco:CharacterString>Ryan Ruddick</gco:CharacterString>
</gmd:individualName>
<gmd:organisationName>
<gco:CharacterString>Geoscience Australia</gco:CharacterString>
</gmd:organisationName>
<gmd:contactInfo>
<gmd:CI_Contact>
<gmd:phone>
<gmd:CI_Telephone>
<gmd:voice>
<gco:CharacterString>+61 2 6249 9426</gco:CharacterString>
</gmd:voice>
<gmd:voice>
<gco:CharacterString>+61 2 6249 9111</gco:CharacterString>
</gmd:voice>
<gmd:facsimile>
<gco:CharacterString></gco:CharacterString>
</gmd:facsimile>
</gmd:CI_Telephone>
</gmd:phone>
<gmd:address>
<gmd:CI_Address>
<gmd:deliveryPoint>
<gco:CharacterString>GPO Box 378 Canberra ACT 2601 AUSTRALIA</gco:CharacterString>
</gmd:deliveryPoint>
<gmd:city>
<gco:CharacterString>Canberra</gco:CharacterString>
</gmd:city>
<gmd:postalCode>
<gco:CharacterString>2601</gco:CharacterString>
</gmd:postalCode>
<gmd:country>
<gco:CharacterString>Australia</gco:CharacterString>
</gmd:country>
<gmd:electronicMailAddress>
<gco:CharacterString>[email protected]</gco:CharacterString>
</gmd:electronicMailAddress>
</gmd:CI_Address>
</gmd:address>
</gmd:CI_Contact>
</gmd:contactInfo>
<gmd:role>
<gmd:CI_RoleCode codeList="http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#CI_RoleCode" codeListValue="pointOfContact"></gmd:CI_RoleCode>
</gmd:role>
</gmd:CI_ResponsibleParty>
</geo:siteMetadataCustodian>
<geo:moreInformation>
<geo:dataCenter>GA</geo:dataCenter>
<geo:dataCenter>CDDIS</geo:dataCenter>
<geo:urlForMoreInformation>http://www.ga.gov.au</geo:urlForMoreInformation>
<geo:siteMap>Y</geo:siteMap>
<geo:siteDiagram>Y</geo:siteDiagram>
<geo:horizonMask>Y</geo:horizonMask>
<geo:monumentDescription>Y</geo:monumentDescription>
<geo:sitePictures>Y</geo:sitePictures>
<geo:notes></geo:notes>
<geo:antennaGraphicsWithDimensions></geo:antennaGraphicsWithDimensions>
<geo:insertTextGraphicFromAntenna></geo:insertTextGraphicFromAntenna>
<geo:DOI codeSpace="urn:ga-gov-au:self.moreInformation-type">TODO</geo:DOI>
</geo:moreInformation>
</geo:siteLog>
</geo:GeodesyML>
| {
"content_hash": "99e0ec2bb3cb4085327e3a117981f16a",
"timestamp": "",
"source": "github",
"line_count": 787,
"max_line_length": 267,
"avg_line_length": 67.07242693773824,
"alnum_prop": 0.6026408517409919,
"repo_name": "GeoscienceAustralia/geodesy-domain-model",
"id": "de77af6a1e13da626eb9891b8c8ab9a7b1459f13",
"size": "52786",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "gws-system-test/src/main/resources/sitelogs/2017-06-29/geodesyml/tow2_20170105.xml",
"mode": "33188",
"license": "bsd-3-clause",
"language": [
{
"name": "Haskell",
"bytes": "1029"
},
{
"name": "Java",
"bytes": "537672"
},
{
"name": "Nix",
"bytes": "621"
},
{
"name": "Shell",
"bytes": "3846"
}
],
"symlink_target": ""
} |
// Copyright (c) Zhirnov Andrey. For more information see 'LICENSE.txt'
/*
Type qualifiers used to optimize copy strategies.
*/
#pragma once
#include "Core/STL/CompileTime/PlainOldDataType.h"
namespace GX_STL
{
namespace CompileTime
{
//
// Type Qualifier
//
struct ETypeQualifier
{
enum type : uint
{
// flags
Unknown = 0,
MemCopyAvailable = 1 << 0, // MemCopy, MemMove
ZeroMemAvailable = 1 << 2, // ZeroMem instead of ctor or dtor
MemCopyFromFile = 1 << 3, // can be initialized by copy memory from binary buffer or file
WithCtor = 1 << 4, // has custom ctor
WithDtor = 1 << 5, // has custom dtor
WithCompareOp = 1 << 6, // has custom compare operators
Noncopyable = 1 << 7,
// default combinations
Def_SimplePOD = MemCopyAvailable | MemCopyFromFile | ZeroMemAvailable,
Def_ComplexPOD = MemCopyAvailable | MemCopyFromFile | WithCtor,
Def_FastCopyable = MemCopyAvailable | WithCtor | WithDtor | WithCompareOp,
Def_Complex = WithCtor | WithDtor | WithCompareOp,
Def_Noncopyable = Noncopyable,
};
//GX_ENUM_BIT_OPERATIONS( type );
};
namespace _ctime_hidden_
{
//
// Type Qualifier
//
struct _TypeQualifierBase : NonPODType {};
template <ETypeQualifier::type Q>
struct _TypeQualifier : SwitchType< Q == ETypeQualifier::Def_SimplePOD, PODType, _TypeQualifierBase > // IsPOD<> can be used too
{
static constexpr ETypeQualifier::type __typeQualifierValue__ = Q;
};
//
// Get Type Qualifier
//
template <typename T, bool HasQualifier>
struct _GetTypeQualifier2 {
static constexpr ETypeQualifier::type value = IsPOD<T> ? ETypeQualifier::Def_SimplePOD : ETypeQualifier::Def_Complex;
};
template <typename T>
struct _GetTypeQualifier2< T, true > {
static constexpr ETypeQualifier::type value = T::__typeQualifierValue__;
};
template <typename T>
struct _GetTypeQualifier {
static constexpr ETypeQualifier::type value = _GetTypeQualifier2< T, IsBaseOf< _TypeQualifierBase, T > >::value;
};
//
// Switch Stronger Qualifier
//
template <ETypeQualifier::type Q1, ETypeQualifier::type Q2>
struct _SwitchStrongerQualifier
{
private:
typedef ETypeQualifier Q;
static const uint share = Q1 == Q::Unknown ? Q2 : (Q2 == Q::Unknown ? Q1 : (uint(Q1) & uint(Q2)));
static const uint all = uint(Q1) | uint(Q2);
static const uint a = all & Q::WithCtor ? share | Q::WithCtor : share;
static const uint b = all & Q::WithDtor ? a | Q::WithDtor : a;
static const uint c = all & Q::Noncopyable ? b | Q::Noncopyable : b;
static const uint d = all & Q::WithCompareOp ? c | Q::WithCompareOp : c;
public:
static constexpr ETypeQualifier::type value = ETypeQualifier::type( d );
};
} // _ctime_hidden_
template <ETypeQualifier::type Q>
using TypeQualifier = _ctime_hidden_::_TypeQualifier< Q >;
using PODStruct = _ctime_hidden_::_TypeQualifier< ETypeQualifier::Def_ComplexPOD >;
using FastCopyable = _ctime_hidden_::_TypeQualifier< ETypeQualifier::Def_FastCopyable >;
using ComplexType = _ctime_hidden_::_TypeQualifier< ETypeQualifier::Def_Complex >;
template <typename T>
static constexpr bool IsMemCopyAvailable = (_ctime_hidden_::_GetTypeQualifier<T>::value & ETypeQualifier::MemCopyAvailable) != 0;
template <typename T>
static constexpr bool IsZeroMemAvailable = (_ctime_hidden_::_GetTypeQualifier<T>::value & ETypeQualifier::ZeroMemAvailable) != 0;
template <typename T>
static constexpr bool IsMemCopyFromFileAvailable = (_ctime_hidden_::_GetTypeQualifier<T>::value & ETypeQualifier::MemCopyFromFile) != 0;
template <typename T>
static constexpr bool IsNoncopyable = (_ctime_hidden_::_GetTypeQualifier<T>::value & ETypeQualifier::Noncopyable) != 0;
template <typename T>
static constexpr bool IsCtorAvailable = (_ctime_hidden_::_GetTypeQualifier<T>::value & ETypeQualifier::WithCtor) != 0;
template <typename T>
static constexpr bool IsDtorAvailable = (_ctime_hidden_::_GetTypeQualifier<T>::value & ETypeQualifier::WithDtor) != 0;
template <typename T>
static constexpr bool IsCompareOpAvailable = (_ctime_hidden_::_GetTypeQualifier<T>::value & ETypeQualifier::WithCompareOp) != 0;
template <ETypeQualifier::type Q, typename ...BaseTypes>
struct InheritWithTypeQualifier : public BaseTypes...
{
static constexpr ETypeQualifier::type __typeQualifierValue__ = Q; // TODO: use qual of first parent?
};
} // CompileTime
} // GX_STL
| {
"content_hash": "a9a7b45cd00e6a6c0b4fe5980bf154f9",
"timestamp": "",
"source": "github",
"line_count": 139,
"max_line_length": 137,
"avg_line_length": 32.07913669064748,
"alnum_prop": 0.6983628616281677,
"repo_name": "azhirnov/GraphicsGenFramework-modular",
"id": "31e765842f56430d2808d66f247f9f66f4e2bc50",
"size": "4459",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "Core/STL/CompileTime/TypeQualifier.h",
"mode": "33188",
"license": "bsd-2-clause",
"language": [
{
"name": "C",
"bytes": "1425521"
},
{
"name": "C++",
"bytes": "3919134"
},
{
"name": "GLSL",
"bytes": "663"
},
{
"name": "HTML",
"bytes": "19783"
},
{
"name": "Objective-C",
"bytes": "2740"
}
],
"symlink_target": ""
} |
title: Date.prototype.setUTCFullYear
localeTitle: Date.prototype.setUTCFullYear
---
## Date.prototype.setUTCFullYear
Это заглушка. [Помогите нашему сообществу расширить его](https://github.com/freecodecamp/guides/tree/master/src/pages/javascript/standard-objects/date/date-prototype-setutcfullyear/index.md) .
[Это руководство по быстрому стилю поможет вам принять ваш запрос на тягу](https://github.com/freecodecamp/guides/blob/master/README.md) .
#### Дополнительная информация: | {
"content_hash": "e49819ad4a7e1eed286b9c1d618a5894",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 192,
"avg_line_length": 48.3,
"alnum_prop": 0.8115942028985508,
"repo_name": "pahosler/freecodecamp",
"id": "99c26cbf2d32216d22891f50830adcf6991dda5d",
"size": "619",
"binary": false,
"copies": "4",
"ref": "refs/heads/master",
"path": "guide/russian/javascript/standard-objects/date/date-prototype-setutcfullyear/index.md",
"mode": "33188",
"license": "bsd-3-clause",
"language": [
{
"name": "CSS",
"bytes": "35491"
},
{
"name": "HTML",
"bytes": "17600"
},
{
"name": "JavaScript",
"bytes": "777274"
}
],
"symlink_target": ""
} |
// Copyright 2019 The Bazel Authors. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
package com.google.devtools.build.lib.skylarkbuildapi.cpp;
import com.google.devtools.build.lib.skylarkbuildapi.FileApi;
import com.google.devtools.build.lib.skylarkbuildapi.RunfilesApi;
import com.google.devtools.build.lib.skylarkbuildapi.SkylarkRuleContextApi;
import com.google.devtools.build.lib.skylarkinterface.Param;
import com.google.devtools.build.lib.skylarkinterface.SkylarkCallable;
import com.google.devtools.build.lib.skylarkinterface.SkylarkModule;
import com.google.devtools.build.lib.skylarkinterface.SkylarkModuleCategory;
import com.google.devtools.build.lib.syntax.EvalException;
import com.google.devtools.build.lib.syntax.SkylarkList;
import com.google.devtools.build.lib.syntax.SkylarkNestedSet;
/**
* Helper class for the C++ aspects of {py,java,go}_wrap_cc. Provides methods to create the swig and
* C++ actions. The swig action translates the swig declaration of an interface into Python or Java
* wrapper code that can then be used to access the wrapped native APIs. The swig action also
* creates C++ wrapper code that gets compiled and linked into a library that is interfacing between
* the Java and Python wrappers and the actual wrapped APIs.
*/
@SkylarkModule(
name = "py_wrap_cc_helper_do_not_use",
documented = false,
doc = "",
category = SkylarkModuleCategory.TOP_LEVEL_TYPE)
public interface PyWrapCcHelperApi<
FileT extends FileApi,
SkylarkRuleContextT extends SkylarkRuleContextApi,
CcInfoT extends CcInfoApi,
FeatureConfigurationT extends FeatureConfigurationApi,
CcToolchainProviderT extends CcToolchainProviderApi<FeatureConfigurationT>,
CompilationInfoT extends CompilationInfoApi,
CcCompilationContextT extends CcCompilationContextApi,
WrapCcIncludeProviderT extends WrapCcIncludeProviderApi>
extends WrapCcHelperApi<
FeatureConfigurationT,
SkylarkRuleContextT,
CcToolchainProviderT,
CompilationInfoT,
FileT,
CcCompilationContextT,
WrapCcIncludeProviderT> {
@SkylarkCallable(
name = "py_extension_linkopts",
doc = "",
documented = false,
parameters = {
@Param(name = "ctx", positional = false, named = true, type = SkylarkRuleContextApi.class),
})
// TODO(plf): PyExtension is not in Skylark.
public SkylarkList<String> getPyExtensionLinkopts(SkylarkRuleContextT skylarkRuleContext)
throws EvalException, InterruptedException;
@SkylarkCallable(
name = "get_transitive_python_sources",
doc = "",
documented = false,
parameters = {
@Param(name = "ctx", positional = false, named = true, type = SkylarkRuleContextApi.class),
@Param(name = "py_file", positional = false, named = true, type = FileApi.class),
})
// TODO(plf): Not written in Skylark because of PyCommon.
public SkylarkNestedSet getTransitivePythonSources(
SkylarkRuleContextT skylarkRuleContext, FileT pyFile)
throws EvalException, InterruptedException;
@SkylarkCallable(
name = "get_python_runfiles",
doc = "",
documented = false,
parameters = {
@Param(name = "ctx", positional = false, named = true, type = SkylarkRuleContextApi.class),
@Param(
name = "files_to_build",
positional = false,
named = true,
type = SkylarkNestedSet.class),
})
// TODO(plf): Not written in Skylark because of PythonRunfilesProvider.
public RunfilesApi getPythonRunfiles(
SkylarkRuleContextT skylarkRuleContext, SkylarkNestedSet filesToBuild)
throws EvalException, InterruptedException;
@SkylarkCallable(
name = "py_wrap_cc_info",
doc = "",
documented = false,
parameters = {
@Param(name = "ctx", positional = false, named = true, type = SkylarkRuleContextApi.class),
@Param(name = "cc_info", positional = false, named = true, type = CcInfoApi.class),
})
// TODO(plf): PyWrapCcInfo is not written in Skylark because several native rules use it.
public PyWrapCcInfoApi getPyWrapCcInfo(SkylarkRuleContextT skylarkRuleContext, CcInfoT ccInfo)
throws EvalException, InterruptedException;
}
| {
"content_hash": "5e4e09b051fb6d017b1ca4ce2d2f8510",
"timestamp": "",
"source": "github",
"line_count": 110,
"max_line_length": 100,
"avg_line_length": 43.836363636363636,
"alnum_prop": 0.7243882206553297,
"repo_name": "aehlig/bazel",
"id": "841ae42549abc1b1721418ebf44e7c93054fda54",
"size": "4822",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "src/main/java/com/google/devtools/build/lib/skylarkbuildapi/cpp/PyWrapCcHelperApi.java",
"mode": "33188",
"license": "apache-2.0",
"language": [
{
"name": "Batchfile",
"bytes": "1588"
},
{
"name": "C",
"bytes": "27067"
},
{
"name": "C++",
"bytes": "1513394"
},
{
"name": "Dockerfile",
"bytes": "839"
},
{
"name": "HTML",
"bytes": "21053"
},
{
"name": "Java",
"bytes": "35178923"
},
{
"name": "Makefile",
"bytes": "248"
},
{
"name": "Objective-C",
"bytes": "10369"
},
{
"name": "Objective-C++",
"bytes": "1043"
},
{
"name": "PowerShell",
"bytes": "15438"
},
{
"name": "Python",
"bytes": "2519187"
},
{
"name": "Ruby",
"bytes": "639"
},
{
"name": "Shell",
"bytes": "1916092"
},
{
"name": "Smarty",
"bytes": "18683"
}
],
"symlink_target": ""
} |
var eRouter = require('express').Router;
var verbs = ['all', 'get', 'post', 'put', 'delete'];
function makeArray(e) {
if (!e) {
return [];
} else if (Array.isArray(e)) {
return e;
} else {
return [e];
}
}
function Router(config, resolve) {
var self = this;
var router = eRouter(config);
if (!resolve) {
resolve = function (path) {
var ctrl = require(path);
return function () {
ctrl.handle.apply(ctrl, arguments);
};
};
}
function applyOptions(router, options) {
options.use = makeArray(options.use);
if (options.use.length > 0) {
router.use.apply(router, options.use);
}
return router;
}
this.mount = function(url, middleware) {
router.use(url, middleware);
};
this.use = function (middlewares) {
applyOptions(router, {
use: middlewares
});
return this;
};
this.scope = function (url, options, fn) {
if (typeof (options) == 'function') {
fn = options;
if (typeof (url) == 'string') {
options = {};
} else {
options = url;
url = null;
}
}
var scope = new Router(config, resolve);
applyOptions(scope, options);
fn(scope);
if (url) {
router.use(url, scope.handler());
} else {
router.use(scope.handler());
}
return this;
};
function makeControllerHandler(controller, method) {
var handler = resolve(controller);
return function (req, res, next) {
req.__controller = controller;
if (method) {
req.__method = method;
}
handler(req, res, next);
};
}
function makeHandler(options, handler) {
if (typeof (options) != 'object') {
handler = options;
options = {};
}
if (typeof (handler) == 'function') {
return handler;
}
var controller = null;
var method = null;
if (typeof (handler) == 'string') {
var parts = handler.split('#');
controller = parts[0];
method = parts[1];
} else {
if (!options.controller || !options.method) {
throw new Error('Undefined handler');
} else {
controller = options.controller;
method = options.method;
}
}
return makeControllerHandler(controller, method);
};
function handleVerb(verb, url, options, handler) {
if (typeof (options) == 'function') {
handler = options;
options = {};
}
var args = [url].concat(makeArray(options.use));
args.push(makeHandler(options, handler));
router[verb].apply(router, args);
return this;
}
function init() {
verbs.forEach(function (verb) {
self[verb] = function (url, options, handler) {
handleVerb(verb, url, options, handler);
};
});
}
this.handler = function () {
return router;
};
init();
}
module.exports = Router;
| {
"content_hash": "b96b0abd91aaa449ab4ea7e66652d7a1",
"timestamp": "",
"source": "github",
"line_count": 139,
"max_line_length": 53,
"avg_line_length": 18.9568345323741,
"alnum_prop": 0.6110056925996205,
"repo_name": "onetwotrip/mvc",
"id": "17bd737097f25bd5cff43cf246e870da8341d4d1",
"size": "2635",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "lib/router.js",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "JavaScript",
"bytes": "5358"
}
],
"symlink_target": ""
} |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_91) on Mon Jun 06 14:51:22 EDT 2016 -->
<title>Uses of Class org.apache.cassandra.utils.memory.MemtablePool (apache-cassandra API)</title>
<meta name="date" content="2016-06-06">
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Uses of Class org.apache.cassandra.utils.memory.MemtablePool (apache-cassandra API)";
}
}
catch(err) {
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../../overview-summary.html">Overview</a></li>
<li><a href="../package-summary.html">Package</a></li>
<li><a href="../../../../../../org/apache/cassandra/utils/memory/MemtablePool.html" title="class in org.apache.cassandra.utils.memory">Class</a></li>
<li class="navBarCell1Rev">Use</li>
<li><a href="../../../../../../overview-tree.html">Tree</a></li>
<li><a href="../../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../../../../../index.html?org/apache/cassandra/utils/memory/class-use/MemtablePool.html" target="_top">Frames</a></li>
<li><a href="MemtablePool.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<div class="header">
<h2 title="Uses of Class org.apache.cassandra.utils.memory.MemtablePool" class="title">Uses of Class<br>org.apache.cassandra.utils.memory.MemtablePool</h2>
</div>
<div class="classUseContainer">
<ul class="blockList">
<li class="blockList">
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing packages, and an explanation">
<caption><span>Packages that use <a href="../../../../../../org/apache/cassandra/utils/memory/MemtablePool.html" title="class in org.apache.cassandra.utils.memory">MemtablePool</a></span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" scope="col">Package</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><a href="#org.apache.cassandra.config">org.apache.cassandra.config</a></td>
<td class="colLast"> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="#org.apache.cassandra.db">org.apache.cassandra.db</a></td>
<td class="colLast"> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="#org.apache.cassandra.utils.memory">org.apache.cassandra.utils.memory</a></td>
<td class="colLast"> </td>
</tr>
</tbody>
</table>
</li>
<li class="blockList">
<ul class="blockList">
<li class="blockList"><a name="org.apache.cassandra.config">
<!-- -->
</a>
<h3>Uses of <a href="../../../../../../org/apache/cassandra/utils/memory/MemtablePool.html" title="class in org.apache.cassandra.utils.memory">MemtablePool</a> in <a href="../../../../../../org/apache/cassandra/config/package-summary.html">org.apache.cassandra.config</a></h3>
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in <a href="../../../../../../org/apache/cassandra/config/package-summary.html">org.apache.cassandra.config</a> that return <a href="../../../../../../org/apache/cassandra/utils/memory/MemtablePool.html" title="class in org.apache.cassandra.utils.memory">MemtablePool</a></span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../../../org/apache/cassandra/utils/memory/MemtablePool.html" title="class in org.apache.cassandra.utils.memory">MemtablePool</a></code></td>
<td class="colLast"><span class="typeNameLabel">DatabaseDescriptor.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/cassandra/config/DatabaseDescriptor.html#getMemtableAllocatorPool--">getMemtableAllocatorPool</a></span>()</code> </td>
</tr>
</tbody>
</table>
</li>
<li class="blockList"><a name="org.apache.cassandra.db">
<!-- -->
</a>
<h3>Uses of <a href="../../../../../../org/apache/cassandra/utils/memory/MemtablePool.html" title="class in org.apache.cassandra.utils.memory">MemtablePool</a> in <a href="../../../../../../org/apache/cassandra/db/package-summary.html">org.apache.cassandra.db</a></h3>
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing fields, and an explanation">
<caption><span>Fields in <a href="../../../../../../org/apache/cassandra/db/package-summary.html">org.apache.cassandra.db</a> declared as <a href="../../../../../../org/apache/cassandra/utils/memory/MemtablePool.html" title="class in org.apache.cassandra.utils.memory">MemtablePool</a></span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Field and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../../../org/apache/cassandra/utils/memory/MemtablePool.html" title="class in org.apache.cassandra.utils.memory">MemtablePool</a></code></td>
<td class="colLast"><span class="typeNameLabel">Memtable.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/cassandra/db/Memtable.html#MEMORY_POOL">MEMORY_POOL</a></span></code> </td>
</tr>
</tbody>
</table>
</li>
<li class="blockList"><a name="org.apache.cassandra.utils.memory">
<!-- -->
</a>
<h3>Uses of <a href="../../../../../../org/apache/cassandra/utils/memory/MemtablePool.html" title="class in org.apache.cassandra.utils.memory">MemtablePool</a> in <a href="../../../../../../org/apache/cassandra/utils/memory/package-summary.html">org.apache.cassandra.utils.memory</a></h3>
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing subclasses, and an explanation">
<caption><span>Subclasses of <a href="../../../../../../org/apache/cassandra/utils/memory/MemtablePool.html" title="class in org.apache.cassandra.utils.memory">MemtablePool</a> in <a href="../../../../../../org/apache/cassandra/utils/memory/package-summary.html">org.apache.cassandra.utils.memory</a></span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Class and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>class </code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/cassandra/utils/memory/HeapPool.html" title="class in org.apache.cassandra.utils.memory">HeapPool</a></span></code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>class </code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/cassandra/utils/memory/NativePool.html" title="class in org.apache.cassandra.utils.memory">NativePool</a></span></code> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>class </code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/cassandra/utils/memory/SlabPool.html" title="class in org.apache.cassandra.utils.memory">SlabPool</a></span></code> </td>
</tr>
</tbody>
</table>
</li>
</ul>
</li>
</ul>
</div>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../../overview-summary.html">Overview</a></li>
<li><a href="../package-summary.html">Package</a></li>
<li><a href="../../../../../../org/apache/cassandra/utils/memory/MemtablePool.html" title="class in org.apache.cassandra.utils.memory">Class</a></li>
<li class="navBarCell1Rev">Use</li>
<li><a href="../../../../../../overview-tree.html">Tree</a></li>
<li><a href="../../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../../../../../index.html?org/apache/cassandra/utils/memory/class-use/MemtablePool.html" target="_top">Frames</a></li>
<li><a href="MemtablePool.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright © 2016 The Apache Software Foundation</small></p>
</body>
</html>
| {
"content_hash": "26a4694e39007c02741089006b21215e",
"timestamp": "",
"source": "github",
"line_count": 217,
"max_line_length": 351,
"avg_line_length": 48.41935483870968,
"alnum_prop": 0.6508042257542591,
"repo_name": "jasonwee/videoOnCloud",
"id": "3dc6f67e17fda7321a8d6385e1b0f1b8fc2ec2ec",
"size": "10507",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "lib/cassandra/apache-cassandra-3.7/javadoc/org/apache/cassandra/utils/memory/class-use/MemtablePool.html",
"mode": "33188",
"license": "apache-2.0",
"language": [
{
"name": "Batchfile",
"bytes": "116270"
},
{
"name": "C",
"bytes": "2209717"
},
{
"name": "C++",
"bytes": "375267"
},
{
"name": "CSS",
"bytes": "1134648"
},
{
"name": "Dockerfile",
"bytes": "1656"
},
{
"name": "HTML",
"bytes": "306558398"
},
{
"name": "Java",
"bytes": "1465506"
},
{
"name": "JavaScript",
"bytes": "9028509"
},
{
"name": "Jupyter Notebook",
"bytes": "30907"
},
{
"name": "Less",
"bytes": "107003"
},
{
"name": "PHP",
"bytes": "856"
},
{
"name": "PowerShell",
"bytes": "77807"
},
{
"name": "Pug",
"bytes": "2968"
},
{
"name": "Python",
"bytes": "1001861"
},
{
"name": "R",
"bytes": "7390"
},
{
"name": "Roff",
"bytes": "3553"
},
{
"name": "Shell",
"bytes": "206191"
},
{
"name": "Thrift",
"bytes": "80564"
},
{
"name": "XSLT",
"bytes": "4740"
}
],
"symlink_target": ""
} |
package org.lilyproject.tools.import_.json.filters;
import org.codehaus.jackson.JsonNode;
import org.codehaus.jackson.node.ObjectNode;
import org.lilyproject.repository.api.LRepository;
import org.lilyproject.repository.api.RepositoryException;
import org.lilyproject.repository.api.filter.RecordFilter;
import org.lilyproject.tools.import_.json.JsonFormatException;
import org.lilyproject.tools.import_.json.Namespaces;
public interface RecordFilterJsonConverter<T extends RecordFilter> {
boolean supports(String typeName);
ObjectNode toJson(T filter, Namespaces namespaces, LRepository repository,
RecordFilterJsonConverter<RecordFilter> converter)
throws RepositoryException, InterruptedException;
T fromJson(JsonNode node, Namespaces namespaces, LRepository repository,
RecordFilterJsonConverter<RecordFilter> converter)
throws JsonFormatException, RepositoryException, InterruptedException;
}
| {
"content_hash": "acae3b56c3cc880cd636d6e83ec97c12",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 82,
"avg_line_length": 41.91304347826087,
"alnum_prop": 0.803941908713693,
"repo_name": "stevek-ngdata/lilyproject",
"id": "aae34dea349c83c3669b8f30590160ab9ff6c459",
"size": "1556",
"binary": false,
"copies": "2",
"ref": "refs/heads/master",
"path": "apps/import/src/main/java/org/lilyproject/tools/import_/json/filters/RecordFilterJsonConverter.java",
"mode": "33188",
"license": "apache-2.0",
"language": [
{
"name": "Java",
"bytes": "4869855"
},
{
"name": "Python",
"bytes": "590"
},
{
"name": "Shell",
"bytes": "59196"
}
],
"symlink_target": ""
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.