text:
<TEI xmlns="http://www.tei-c.org/ns/1.0">
   <teiHeader>
      <fileDesc>
         <titleStmt>
            <title>An epistle to William Hogarth: By C. Churchill.</title>
            <author>Churchill, Charles, 1731-1764.</author>
         </titleStmt>
         <extent>33 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="2007-10">2007 October</date>
            <idno type="DLPS">004801927</idno>
            <idno type="ESTC">T32875</idno>
            <idno type="DOCNO">CW110748745</idno>
            <idno type="TCP">K035795.000</idno>
            <idno type="GALEDOCNO">CW3310748745</idno>
            <idno type="CONTENTSET">ECLL</idno>
            <idno type="IMAGESETID">0220801300</idno>
            <availability>

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.

            </availability>
         </publicationStmt>
         <sourceDesc>
            <biblFull>
               <titleStmt>
                  <title>An epistle to William Hogarth: By C. Churchill.</title>
                  <author>Churchill, Charles, 1731-1764.</author>
               </titleStmt>
               <extent>[4],31,[1]p. ; 4⁰.</extent>
               <publicationStmt>
                  <publisher>printed for the author, and sold by J. Coote,</publisher>
                  <pubPlace>London :</pubPlace>
                  <date>1763.</date>
               </publicationStmt>
               <notesStmt>
                  <note>With a half-title.</note>
                  <note>Some copies show partial resetting and/or reimposition, probably indicating a second impression.</note>
                  <note>Reproduction of original from the British Library.</note>
                  <note>English Short Title Catalog, ESTCT32875.</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>

Created by converting TCP files to TEI P5 using tcp2tei.xsl,
      TEI @ Oxford.

         </projectDesc>
         <editorialDecl>

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.

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).

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.

Users should be aware of the process of creating the TCP texts, and therefore of any assumptions that can be made about the data.

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.

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.

The texts were encoded and linked to page images in accordance with level 4 of the TEI in Libraries guidelines.

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).

Keying and markup guidelines are available at the <ref target="http://www.textcreationpartnership.org/docs/.">Text Creation Partnership web site</ref>.

         </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>

            <pb facs="tcp:0220801300:1" rendition="simple:additions"/>

AN EPISTLE TO WILLIAM HOGARTH.

Price Two Shillings and Sixpence.

            <pb facs="tcp:0220801300:2" rendition="simple:additions"/>

AN EPISTLE TO WILLIAM HOGARTH.

By C. CHURCHILL.

            <q>Ut Pictura, Poeſis. <bibl>HOR.</bibl>
            </q>

LONDON: Printed for the AUTHOR, And ſold by J. COOTE, at the KING's ARMS in PATER-NOSTER-ROW. M.DCC.LXIII.

      </front>

            <pb facs="tcp:0220801300:3"/>
            AN EPISTLE TO William Hogarth.
            <lg>
               <l>
                  <seg rend="decorInit">A</seg>Mongſt the ſons of men how few are known</l>
               <l>Who dare be juſt to merit not their own!</l>
               <l>Superior virtue and ſuperior ſenſe</l>
               <l>To knaves and fools will always give offence;</l>
               <l>Nay, men of real worth can ſcarcely bear,</l>
               <l>So nice is Jealouſy, a rival there.</l>
            </lg>
            <lg>
               <l>BE wicked as thou wilt, do all that's baſe,</l>
               <l>Proclaim thyſelf the monſter of thy race;</l>
               <l>
                  <pb n="2" facs="tcp:0220801300:4"/>Let Vice and Folly thy black Soul divide,</l>
               <l>Be proud with meanneſs, and be mean with pride;</l>
               <l>Deaf to the voice of Faith and Honour, fall</l>
               <l>From ſide to ſide, yet be of none at all;</l>
               <l>Spurn all thoſe charities, thoſe ſacred ties,</l>
               <l>Which Nature in her bounty, good as wiſe,</l>
               <l>To work our ſafety, and enſure her plan,</l>
               <l>Contriv'd to bind, and rivet man to man;</l>
               <l>Lift againſt Virtue Pow'r's oppreſſive rod,</l>
               <l>Betray thy Country, and deny thy God;</l>
               <l>And, in one gen'ral comprehenſive line,</l>
               <l>To group, which volumes ſcarcely could define,</l>
               <l>Whate'er of Sin and Dulneſs can be ſaid,</l>
               <l>Join to a F—'s heart a D—'s head,</l>
               <l>Yet may'ſt thou paſs unnotic'd in the throng,</l>
               <l>And, free from Envy, ſafely ſneak along.</l>
               <l>The rigid Saint, by whom no mercy's ſhewn</l>
               <l>To Saints whoſe lives are better than his own,</l>
               <l>Shall ſpare thy crimes, and WIT, who never once</l>
               <l>Forgave a Brother, ſhall forgive a Dunce.</l>
            </lg>
            <lg>
               <l>BUT ſhould thy ſoul, form'd in ſome luckleſs hour;</l>
               <l>Vile Int'reſt ſcorn, nor madly graſp at Pow'r;</l>
               <l>
                  <pb n="3" facs="tcp:0220801300:5"/>Should Love of Fame, in ev'ry noble mind</l>
               <l>A brave diſeaſe, with love of Virtue join'd,</l>
               <l>Spur thee to deeds of pith, where Courage tried</l>
               <l>In Reaſon's court is amply juſtified;</l>
               <l>Or, fond of knowledge and averſe to ſtrife,</l>
               <l>Should'ſt Thou prefer the calmer walk of life;</l>
               <l>Should'ſt Thou, by pale and ſickly STUDY led,</l>
               <l>Purſue coy Science to the Fountain head;</l>
               <l>Virtue thy guide, and Public Good thy end,</l>
               <l>Should ev'ry thought to our improvement tend,</l>
               <l>To curb the paſſions, to enlarge the mind,</l>
               <l>Purge the ſick weal, and humanize mankind:</l>
               <l>Rage in her eye, and Malice in her breaſt,</l>
               <l>Redoubled Horror grinning on her creſt,</l>
               <l>Fiercer each ſnake, and ſharper ev'ry dart,</l>
               <l>Quick from her cell ſhall madd'ning ENVY ſtart.</l>
               <l>Then ſhalt Thou find, but find alas! too late,</l>
               <l>How vain is worth! how ſhort is Glory's date!</l>
               <l>Then ſhalt Thou find, whilſt Friends with Foes conſpire</l>
               <l>To give more proof than Virtue would deſire,</l>
               <l>Thy danger chiefly lies in acting well;</l>
               <l>No crime's ſo great as daring to excell.</l>
            </lg>
            <lg>
               <pb n="4" facs="tcp:0220801300:6"/>
               <l>WHILST SATIRE thus, diſdaining mean controul,</l>
               <l>Urg'd the free dictates of an honeſt ſoul,</l>
               <l>CANDOUR, who with the charity of <hi>Paul,</hi>
               </l>
               <l>Still thinks the beſt, whene'er ſhe thinks at all,</l>
               <l>With the ſweet milk of human kindneſs bleſs'd,</l>
               <l>The furious ardour of my zeal repreſs'd.</l>
            </lg>
            <lg>
               <l>CANS'T Thou, with more than uſual warmth, ſhe cry'd,</l>
               <l>Thy malice to indulge, and feed thy pride,</l>
               <l>Can'ſt Thou, ſevere by Nature as Thou art,</l>
               <l>With all that wond'rous rancour in thy heart,</l>
               <l>Delight to torture Truth ten thouſand ways,</l>
               <l>To ſpin detraction forth from themes of praiſe,</l>
               <l>To make VICE ſit, for purpoſes of ſtrife,</l>
               <l>And draw the Hag much larger than the life,</l>
               <l>To make the good ſeem bad, the bad ſeem worſe,</l>
               <l>And repreſent our Nature as our curſe?</l>
            </lg>
            <lg>
               <l>DOTH not humanity condemn that zeal</l>
               <l>Which tends to aggravate and not to heal?</l>
               <l>Doth not diſcretion warn thee of diſgrace,</l>
               <l>And danger grinning ſtare thee in the face?</l>
               <l>Loud as the Drum, which ſpreading terrour round</l>
               <l>From emptineſs acquires the pow'r of ſound,</l>
               <l>
                  <pb n="5" facs="tcp:0220801300:7"/>Doth not the voice of NORTON ſtrike thy ear,</l>
               <l>And the pale MANSFIELD chill thy ſoul with fear?</l>
               <l>Do'ſt Thou, fond man, believe thyſelf ſecure,</l>
               <l>Becauſe Thou'rt honeſt, and becauſe Thou'rt poor?</l>
               <l>Do'ſt Thou on Law and Liberty depend?</l>
               <l>Turn, turn thy eyes, and view thy injur'd friend.</l>
               <l>Art Thou beyond the ruffian gripe of Pow'r,</l>
               <l>When WILKES, <hi>prejudg'd,</hi> is ſentenc'd to the Tow'r?</l>
               <l>Do'ſt Thou by Privilege exemption claim,</l>
               <l>When Privilege is little more than name?</l>
               <l>Or to Prerogative (that glorious ground</l>
               <l>On which State-ſcoundrels oft have ſafety found)</l>
               <l>Doſt Thou pretend, and there a ſanction find,</l>
               <l>Unpuniſh'd, thus to Libel human kind?</l>
            </lg>
            <lg>
               <l>WHEN Poverty, the Poet's conſtant crime,</l>
               <l>Compell'd thee, all unfit, to trade in rime,</l>
               <l>Had not Romantic notions turn'd thy head,</l>
               <l>Had'ſt Thou not valued Honour more than bread,</l>
               <l>Had Int'reſt, pliant Int'reſt been thy guide,</l>
               <l>And had not Prudence been debauch'd by Pride,</l>
               <l>In flatt'ry's ſtream Thou would'ſt have dipp'd thy pen,</l>
               <l>Applied to great, and not to honeſt men,</l>
               <l>
                  <pb n="6" facs="tcp:0220801300:8"/>Nor ſhould Conviction have ſeduc'd thy heart</l>
               <l>To take the weaker, tho' the better part.</l>
            </lg>
            <lg>
               <l>WHAT but rank Folly, for thy curſe decreed,</l>
               <l>Could into SATIRE's barren path miſlead,</l>
               <l>When, open to thy view, before thee lay</l>
               <l>Soul-ſoothing PANEGYRIC's flow'ry way?</l>
               <l>There might the Muſe have ſaunter'd at her eaſe,</l>
               <l>And, pleaſing others, learn'd herſelf to pleaſe,</l>
               <l>
                  <hi>Lords</hi> ſhould have liſten'd to the ſugar'd treat,</l>
               <l>And <hi>Ladies,</hi> ſimp'ring, own'd it vaſtly ſweet;</l>
               <l>
                  <hi>Rogues,</hi> in thy prudent verſe with virtue grac'd,</l>
               <l>
                  <hi>Fools,</hi> mark'd by thee as prodigies of Taſte,</l>
               <l>Muſt have forbid, pouring preferments down,</l>
               <l>Such Wit, ſuch Truth as thine to quit the gown.</l>
               <l>Thy ſacred Brethren too (for they, no leſs</l>
               <l>Than Laymen, bring their off'rings to Succeſs)</l>
               <l>Had hail'd Thee good if great, and paid the vow</l>
               <l>Sincere as that they pay to God, whilſt Thou</l>
               <l>In <hi>Lawn</hi> hadſt whiſper'd to a ſleeping croud,</l>
               <l>As dull as R—, and half as proud.</l>
            </lg>
            <lg>
               <l>PEACE, CANDOUR—wiſely had'ſt thou ſaid, and well,</l>
               <l>Could Int'reſt in this breaſt one moment dwell,</l>
               <l>
                  <pb n="7" facs="tcp:0220801300:9"/>Could ſhe, with proſpect of ſucceſs, oppoſe</l>
               <l>The firm reſolves, which from Conviction roſe.</l>
               <l>I cannot truckle to a Fool of State,</l>
               <l>Nor take a favour from the man I hate.</l>
               <l>Free leave have others by ſuch means to ſhine;</l>
               <l>I ſcorn their practice, they may laugh at mine.</l>
            </lg>
            <lg>
               <l>BUT in this charge, forgetful of thyſelf,</l>
               <l>Thou haſt aſſum'd the maxims of that Elf,</l>
               <l>Whom God in wrath for man's diſhonour fram'd,</l>
               <l>CUNNING in Heav'n, amongſt us PRUDENCE nam'd,</l>
               <l>That <hi>ſervile</hi> PRUDENCE, which I leave to thoſe</l>
               <l>Who dare not be my Friends, can't be my Foes.</l>
            </lg>
            <lg>
               <l>HAD I, with cruel and oppreſſive rimes,</l>
               <l>Purſued, and turn'd misfortunes into crimes;</l>
               <l>Had I, when Virtue gaſping lay and low,</l>
               <l>Join'd tyrant Vice, and added woe to woe;</l>
               <l>Had I made Modeſty in bluſhes ſpeak,</l>
               <l>And drawn the tear down Beauty's ſacred cheek;</l>
               <l>Had I (damn'd then) in thought debas'd my lays,</l>
               <l>To wound that Sex, which Honour bids me praiſe;</l>
               <l>Had I, from vengeance by baſe views betray'd,</l>
               <l>In endleſs night ſunk injur'd AYLIFF's ſhade;</l>
               <l>
                  <pb n="8" facs="tcp:0220801300:10"/>Had I (which Satiriſts of mighty name,</l>
               <l>Renown'd in rime, rever'd for <hi>moral</hi> fame,</l>
               <l>Have done before, whom Juſtice ſhall purſue</l>
               <l>In future verſe) brought forth to public view</l>
               <l>A Noble Friend, and made his foibles known,</l>
               <l>Becauſe his worth was greater than my own;</l>
               <l>Had I ſpar'd thoſe (ſo <hi>Prudence</hi> had decreed)</l>
               <l>Whom, God ſo help me at my greateſt need,</l>
               <l>I ne'er will ſpare, thoſe vipers to their King</l>
               <l>Who ſmooth their looks, and flatter whilſt they ſting,</l>
               <l>Or had I not taught patriot zeal to boaſt</l>
               <l>Of Thoſe, who flatter leaſt, but love him moſt;</l>
               <l>Had I thus ſinn'd, my ſtubborn ſoul ſhould bend</l>
               <l>At CANDOUR's voice, and take, as from a friend,</l>
               <l>The deep rebuke; Myſelf ſhould be the firſt</l>
               <l>To hate myſelf, and ſtamp my Muſe accurs'd.</l>
            </lg>
            <lg>
               <l>BUT ſhall my arm—forbid it manly Pride,</l>
               <l>Forbid it Reaſon, warring on my ſide—</l>
               <l>For vengeance lifted high, the ſtroke forbear,</l>
               <l>And hang ſuſpended in the deſart air,</l>
               <l>Or to my trembling ſide unnerv'd ſink down,</l>
               <l>Palſied, forſooth, by CANDOUR's half-made frown?</l>
               <l>
                  <pb n="9" facs="tcp:0220801300:11"/>When Juſtice bids me on, ſhall I delay</l>
               <l>Becauſe inſipid CANDOUR bars my way?</l>
               <l>When ſhe, of all alike the puling friend,</l>
               <l>Would diſappoint my Satire's nobleſt end,</l>
               <l>When ſhe to villains would a ſanction give,</l>
               <l>And ſhelter thoſe who are not fit to live,</l>
               <l>When ſhe would ſcreen the guilty from a bluſh,</l>
               <l>And bids me ſpare whom Reaſon bids me cruſh,</l>
               <l>All leagues with CANDOUR proudly I reſign;</l>
               <l>She cannot be for Honour's turn, nor mine.</l>
            </lg>
            <lg>
               <l>YET come, cold monitor, half foe, half friend,</l>
               <l>Whom Vice can't fear, whom Virtue can't commend,</l>
               <l>Come CANDOUR, by thy dull indiff'rence known,</l>
               <l>Thou equal-blooded judge, Thou lukewarm drone,</l>
               <l>Who, faſhion'd without feelings, doſt expect</l>
               <l>We call that Virtue, which we know Defect,</l>
               <l>Come, and obſerve the Nature of our crimes,</l>
               <l>The groſs and rank complexion of the times,</l>
               <l>Obſerve it well, and then review my plan;</l>
               <l>Praiſe if you will, or cenſure if you can.</l>
            </lg>
            <lg>
               <l>WHILST Vice preſumptuous lords it as in ſport,</l>
               <l>And Piety is only known at Court;</l>
               <l>
                  <pb n="10" facs="tcp:0220801300:12"/>Whilſt wretched LIBERTY expiring lies</l>
               <l>Beneath the fatal burthen of EXCISE;</l>
               <l>Whilſt nobles act, without one touch of ſhame,</l>
               <l>What men of humble rank would bluſh to name;</l>
               <l>Whilſt Honour's plac'd in higheſt point of view,</l>
               <l>Worſhipp'd by thoſe, who Juſtice never knew;</l>
               <l>Whilſt Bubbles of Diſtinction waſte in play</l>
               <l>The hours of reſt, and blunder thro' the day,</l>
               <l>With dice and cards opprobrious vigils keep,</l>
               <l>Then turn to ruin empires in their ſleep;</l>
               <l>Whilſt Fathers, by relentleſs paſſion led,</l>
               <l>Doom worthy injur'd ſons to beg their bread,</l>
               <l>Merely with ill-got, ill-ſav'd wealth to grace</l>
               <l>An alien, abject, poor, proud, upſtart race;</l>
               <l>Whilſt MARTIN flatters only to betray,</l>
               <l>And WEBB gives up his dirty ſoul for pay;</l>
               <l>Whilſt titles ſerve to huſh a villain's fears;</l>
               <l>Whilſt Peers are Agents made, and Agents Peers;</l>
               <l>Whilſt baſe betrayers are themſelves betray'd,</l>
               <l>And makers ruin'd by the thing they made;</l>
               <l>Whilſt C—, falſe to God and man, for gold,</l>
               <l>Like the old traitor who a Saviour ſold,</l>
               <l>To Shame his Maſter, Friend, and Father gives;</l>
               <l>Whilſt BUTE remains in pow'r, whilſt HOLLAND lives;</l>
               <l>
                  <pb n="11" facs="tcp:0220801300:13"/>Can Satire want a ſubject, where Diſdain</l>
               <l>By Virtue fir'd may point her ſharpeſt ſtrain,</l>
               <l>Where, cloath'd with thunder, Truth may roll along,</l>
               <l>And CANDOUR juſtify the rage of ſong?</l>
            </lg>
            <lg>
               <l>SUCH Things, ſuch Men before Thee, ſuch an Age,</l>
               <l>Where Rancour, great as thine, may glut her rage,</l>
               <l>And ſicken e'en to ſurfeit, where the pride</l>
               <l>Of Satire, pouring down in fulleſt tide,</l>
               <l>May ſpread wide vengeance round, yet all the while</l>
               <l>Juſtice behold the ruin with a ſmile,</l>
               <l>Whilſt I, thy foe miſdeem'd, cannot condemn,</l>
               <l>Nor diſapprove that rage I wiſh to ſtem,</l>
               <l>Wilt thou, degen'rate and corrupted, chuſe</l>
               <l>To ſoil the credit of thy haughty Muſe.</l>
               <l>With Fallacy, moſt infamous, to ſtain</l>
               <l>Her Truth, and render all her anger vain?</l>
               <l>When I beheld Thee incorrect but bold,</l>
               <l>A various comment on the Stage unfold;</l>
               <l>When Play'rs on Play'rs before thy ſatire fell,</l>
               <l>And poor Reviews conſpir'd thy wrath to ſwell;</l>
               <l>When States and Stateſmen next became thy care,</l>
               <l>And only kings were ſafe if thou waſt there;</l>
               <l>
                  <pb n="12" facs="tcp:0220801300:14"/>Thy ev'ry word I weigh'd in Judgment's ſcale,</l>
               <l>And in thy ev'ry word found Truth prevail.</l>
               <l>Why do'ſt Thou now to Falſhood meanly fly?</l>
               <l>Not even CANDOUR can forgive a lie.</l>
            </lg>
            <lg>
               <l>BAD as Men are, why ſhould thy frantic rimes</l>
               <l>Traffick in Slander, and invent new crimes,</l>
               <l>Crimes which, exiſting only in thy mind,</l>
               <l>Weak Spleen brings forth to blacken all Mankind.</l>
               <l>By pleaſing hopes we lure the human heart</l>
               <l>To practiſe Virtue, and improve in Art;</l>
               <l>To thwart theſe ends (which proud of honeſt Fame</l>
               <l>A noble Muſe would cheriſh and inflame)</l>
               <l>Thy <hi>Drudge</hi> contrives, and in our full career</l>
               <l>Sicklies our hopes with the pale hue of Fear;</l>
               <l>Tells us that all our labours are in vain,</l>
               <l>That what we ſeek, we never can obtain,</l>
               <l>That, dead to Virtue, loſt to Nature's plan,</l>
               <l>ENVY poſſeſſes the whole race of man,</l>
               <l>That Worth is criminal, and Danger lies,</l>
               <l>Danger extreme, in being good and wiſe.</l>
            </lg>
            <lg>
               <l>'TIS a rank falſhood; ſearch the world around,</l>
               <l>There cannot be ſo vile a monſter found</l>
               <l>
                  <pb n="13" facs="tcp:0220801300:15"/>Not one ſo vile, on whom ſuſpicions fall</l>
               <l>Of that groſs guilt, which you impute to all.</l>
               <l>Approv'd by thoſe who diſobey her laws,</l>
               <l>Virtue from Vice itſelf extorts applauſe.</l>
               <l>Her very foes bear witneſs to her ſtate;</l>
               <l>They will not love her, but they cannot hate.</l>
               <l>Hate Virtue for herſelf, with ſpite purſue</l>
               <l>Merit for Merit's ſake! might this be true,</l>
               <l>I would renounce my Nature with diſdain,</l>
               <l>And with the beaſts that periſh graze the plain.</l>
               <l>Might this be true, had we ſo far fill'd up</l>
               <l>The meaſure of our crimes, and from the cup</l>
               <l>Of guilt ſo deeply drank, as not to find,</l>
               <l>Thirſting for ſin, one drop, one dreg behind,</l>
               <l>Quick ruin muſt involve this flaming ball,</l>
               <l>And Providence in Juſtice cruſh us all.</l>
               <l>None but the damn'd, and amongſt them the worſt,</l>
               <l>Thoſe who for double guilt are doubly curs'd,</l>
               <l>Can be ſo loſt; nor can the worſt of all</l>
               <l>At once into ſuch deep damnation fall;</l>
               <l>By painful ſlow degrees they reach this crime,</l>
               <l>Which e'en in Hell muſt be a work of time.</l>
            </lg>
            <lg>
               <pb n="14" facs="tcp:0220801300:16"/>
               <l>Ceaſe then thy guilty rage, thou wayward ſon,</l>
               <l>With the foul gall of diſcontent o'er run,</l>
               <l>Liſt to my voice—be honeſt, if you can,</l>
               <l>Nor ſlander Nature in her fav'rite man.</l>
               <l>But if thy ſpirit, reſolute in ill,</l>
               <l>Once having err'd, perſiſts in error ſtill,</l>
               <l>Go on at large, no longer worth my care,</l>
               <l>And freely vent thoſe blaſphemies in air,</l>
               <l>Which I would ſtamp as falſe, tho' on the tongue</l>
               <l>Of Angels, the injurious ſlander hung.</l>
            </lg>
            <lg>
               <l>DUP'D by thy vanity (that cunning elf</l>
               <l>Who ſnares the Coxcomb to deceive himſelf)</l>
               <l>Or blinded by thy rage, did'ſt Thou believe</l>
               <l>That We too, coolly, would ourſelves deceive,</l>
               <l>That We, as ſterling, falſhood would admit,</l>
               <l>Becauſe 'twas ſeaſon'd with ſome little wit?</l>
               <l>When Fiction riſes pleaſing to the eye,</l>
               <l>Men will believe, becauſe they love the lie;</l>
               <l>But Truth herſelf, if clouded with a frown,</l>
               <l>Muſt have ſome ſolemn proof to paſs her down.</l>
               <l>Haſt Thou, maintaining that which muſt diſgrace</l>
               <l>And bring into contempt the human race,</l>
               <l>
                  <pb n="15" facs="tcp:0220801300:17"/>Haſt Thou, or can'ſt Thou, in Truth's ſacred court,</l>
               <l>To ſave thy credit, and thy cauſe ſupport,</l>
               <l>Produce one proof, make out one real ground</l>
               <l>On which ſo great, ſo groſs a charge to found?</l>
               <l>Nay, doſt Thou know one man (let that appear,</l>
               <l>From wilful falſhood I'll proclaim thee clear)</l>
               <l>One man ſo loſt, to Nature ſo untrue,</l>
               <l>From whom this gen'ral charge thy raſhneſs drew?</l>
               <l>On this foundation ſhalt thou ſtand or fall—</l>
               <l>Prove that in One, which you have charg'd on All.</l>
               <l>Reaſon determines, and it muſt be done;</l>
               <l>'Mongſt men, or paſt, or preſent, name me One.</l>
            </lg>
            <lg>
               <l>HOGARTH—I take thee, CANDOUR, at thy word,</l>
               <l>Accept thy proffer'd terms, and will be heard;</l>
               <l>Thee have I heard with virulence declaim,</l>
               <l>Nothing retain'd of Candour but the name;</l>
               <l>By Thee have I been charg'd in angry ſtrains</l>
               <l>With that mean falſhood which my ſoul diſdains—</l>
               <l>HOGARTH ſtand forth—Nay hang not thus aloof—</l>
               <l>Now, CANDOUR, now Thou ſhall receive ſuch proof,</l>
               <l>Such damning proof, that henceforth Thou ſhalt fear</l>
               <l>To tax my wrath, and own my conduct clear—</l>
               <l>
                  <pb n="16" facs="tcp:0220801300:18"/>HOGARTH ſtand forth—I dare thee to be tried</l>
               <l>In that great Court, where Conſcience muſt preſide;</l>
               <l>At that moſt ſolemn bar hold up thy hand;</l>
               <l>Think before whom on what account you ſtand—</l>
               <l>Speak, but conſider well—from firſt to laſt</l>
               <l>Review thy life, weigh ev'ry action paſt—</l>
               <l>Nay, you ſhall have no reaſon to complain—</l>
               <l>Take longer time, and view them o'er again—</l>
               <l>Canſt Thou remember from thy earlieſt youth,</l>
               <l>And as thy God muſt judge Thee, ſpeak the truth,</l>
               <l>A ſingle inſtance where, <hi>Self</hi> laid aſide,</l>
               <l>And Juſtice taking place of fear and pride,</l>
               <l>Thou with an equal eye did'ſt GENIUS view,</l>
               <l>And give to Merit what was Merit's due?</l>
               <l>Genius and Merit are a ſure offence,</l>
               <l>And thy Soul ſickens at the name of Senſe?</l>
               <l>Is any one ſo fooliſh to ſucceed,</l>
               <l>On ENVY's altar he is doom'd to bleed?</l>
               <l>HOGARTH, a guilty pleaſure in his eyes,</l>
               <l>The place of Executioner ſupplies.</l>
               <l>See how he glotes, enjoys the ſacred feaſt,</l>
               <l>And proves himſelf by cruelty a prieſt.</l>
            </lg>
            <lg>
               <pb n="17" facs="tcp:0220801300:19"/>
               <l>WHILST the weak Artiſt, to thy whims a ſlave,</l>
               <l>Would bury all thoſe pow'rs which Nature gave,</l>
               <l>Would ſuffer blank concealment to obſcure</l>
               <l>Thoſe rays, thy Jealouſy could not endure,</l>
               <l>To feed thy vanity would ruſt unknown,</l>
               <l>And to ſecure thy credit blaſt his own,</l>
               <l>In HOGARTH he was ſure to find a friend;</l>
               <l>He could not fear, and therefore might commend.</l>
               <l>But when his Spirit, rous'd by honeſt Shame,</l>
               <l>Shook off that Lethargy, and ſoar'd to Fame,</l>
               <l>When, with the pride of Man, reſolv'd and ſtrong,</l>
               <l>He ſcorn'd thoſe fears which did his Honour wrong,</l>
               <l>And, on himſelf determin'd to rely,</l>
               <l>Brought forth his labours to the public eye,</l>
               <l>No Friend, in Thee, could ſuch a Rebel know;</l>
               <l>He had deſert, and HOGARTH was his foe.</l>
            </lg>
            <lg>
               <l>SOULS of a tim'rous caſt, of petty name</l>
               <l>In ENVY's court, not yet quite dead to ſhame,</l>
               <l>May ſome remorſe, ſome qualms of Conſcience feel,</l>
               <l>And ſuffer Honour to abate their Zeal,</l>
               <l>But the Man, truly and compleatly great,</l>
               <l>Allows no rule of action but his hate;</l>
               <l>
                  <pb n="18" facs="tcp:0220801300:20"/>Thro' ev'ry bar he bravely breaks his way,</l>
               <l>Paſſion his Principle, and Parts his prey.</l>
               <l>Mediums in Vice and Virtue ſpeak a mind</l>
               <l>Within the pale of Temperance confin'd;</l>
               <l>The daring Spirit ſcorns her narrow ſchemes,</l>
               <l>And, good or bad, is always in extremes.</l>
            </lg>
            <lg>
               <l>MAN's practice duly weigh'd, thro' ev'ry age</l>
               <l>On the ſame plan hath ENVY form'd her rage.</l>
               <l>'Gainſt thoſe whom Fortune hath our rivals made</l>
               <l>In way of Science, and in way of Trade,</l>
               <l>Stung with mean Jealouſy ſhe arms her ſpite,</l>
               <l>Firſt works, then views their ruin with delight.</l>
               <l>Our HOGARTH here a grand improver ſhines,</l>
               <l>And nobly on the gen'ral plan refines;</l>
               <l>He, like himſelf, o'erleaps the ſervile bound;</l>
               <l>Worth is his mark, wherever Worth is found.</l>
               <l>Should Painters only his vaſt wrath ſuffice?</l>
               <l>Genius in ev'ry walk is Lawful Prize.</l>
               <l>'Tis a groſs inſult to his o'ergrown ſtate;</l>
               <l>His love to merit is to feel his hate.</l>
            </lg>
            <lg>
               <l>WHEN WILKES, our Countryman, our common friend,</l>
               <l>Aroſe his King, his Country to defend,</l>
               <l>
                  <pb n="19" facs="tcp:0220801300:21"/>When tools of pow'r he bar'd to public view,</l>
               <l>And from their holes the ſneaking cowards drew,</l>
               <l>When Rancour found it far beyond her reach</l>
               <l>To ſoil his honour, and his truth impeach,</l>
               <l>What could induce Thee, at a time and place,</l>
               <l>Where manly Foes had bluſh'd to ſhew their face,</l>
               <l>To make that effort, which muſt damn thy name,</l>
               <l>And ſink Thee deep, deep in thy grave with ſhame?</l>
               <l>Did Virtue move Thee? no, 'twas Pride, rank Pride,</l>
               <l>And if Thou had'ſt not done it, Thou had'ſt dy'd.</l>
               <l>MALICE (who, diſappointed of her end,</l>
               <l>Whether to work the bane of Foe or Friend,</l>
               <l>Preys on herſelf, and, driven to the Stake,</l>
               <l>Gives Virtue that revenge ſhe ſcorns to take)</l>
               <l>Had kill'd Thee, tott'ring on life's utmoſt verge,</l>
               <l>Had WILKES and LIBERTY eſcap'd thy ſcourge.</l>
            </lg>
            <lg>
               <l>WHEN that GREAT CHARTER, which our Fathers bought</l>
               <l>With their beſt blood, was into queſtion brought;</l>
               <l>When, big with ruin, o'er each Engliſh head</l>
               <l>Vile Slav'ry hung ſuſpended by a thread;</l>
               <l>When LIBERTY, all trembling and aghaſt,</l>
               <l>Fear'd for the future, knowing what was paſt;</l>
               <l>
                  <pb n="20" facs="tcp:0220801300:22"/>When ev'ry breaſt was chill'd with deep deſpair,</l>
               <l>Till Reaſon pointed out that PRATT was there;</l>
               <l>Lurking, moſt Ruffian-like, behind a ſcreen,</l>
               <l>So plac'd all things to ſee, himſelf unſeen,</l>
               <l>VIRTUE, with due contempt, ſaw HOGARTH ſtand,</l>
               <l>The murd'rous pencil in his palſied hand.</l>
               <l>What was the cauſe of Liberty to him,</l>
               <l>Or what was Honour? let them ſink or ſwim,</l>
               <l>So he may gratify without controul</l>
               <l>The mean reſentments of his ſelfiſh ſoul.</l>
               <l>Let Freedom periſh, if, to Freedom true,</l>
               <l>In the ſame ruin WILKES may periſh too.</l>
            </lg>
            <lg>
               <l>WITH all the ſymptoms of aſſur'd decay,</l>
               <l>With age and ſickneſs pinch'd, and worn away,</l>
               <l>Pale quiv'ring lips, lank cheeks, and falt'ring tongue,</l>
               <l>The Spirits out of tune, the Nerves unſtrung,</l>
               <l>Thy Body ſhrivell'd up, thy dim eyes funk</l>
               <l>Within their ſockets deep, thy weak hams ſhrunk</l>
               <l>The body's weight unable to ſuſtain,</l>
               <l>The ſtream of life ſcarce trembling thro' the vein,</l>
               <l>More than half-kill'd by honeſt truths, which fell,</l>
               <l>Thro' thy own fault, from men who wiſh'd thee well,</l>
               <l>
                  <pb n="21" facs="tcp:0220801300:23"/>Can'ſt thou, e'en thus, thy thoughts to vengeance give,</l>
               <l>And, dead to all things elſe, to Malice live?</l>
               <l>Hence, Dotard, to thy cloſet, ſhut thee in,</l>
               <l>By deep repentance waſh away thy ſin,</l>
               <l>From haunts of men to ſhame and ſorrow fly;</l>
               <l>And, on the verge of death, learn how to die.</l>
            </lg>
            <lg>
               <l>VAIN exhortation! waſh the Ethiop white,</l>
               <l>Diſcharge the leopard's ſpots, turn day to night,</l>
               <l>Controul the courſe of Nature, bid the deep</l>
               <l>Huſh at thy Pygmy voice her waves to ſleep,</l>
               <l>Perform things paſſing ſtrange, yet own thy art</l>
               <l>Too weak to work a change in ſuch a heart.</l>
               <l>That ENVY which was woven in the frame</l>
               <l>At firſt, will to the laſt remain the ſame.</l>
               <l>Reaſon may droop, may die, but Envy's rage</l>
               <l>Improves by time, and gathers ſtrength from age.</l>
               <l>Some, and not few, vain triflers with the pen,</l>
               <l>Unread, unpractis'd in the ways of men,</l>
               <l>Tell us that ENVY, who with giant ſtride</l>
               <l>Stalks thro' the vale of life by Virtue's ſide,</l>
               <l>Retreats when ſhe hath drawn her lateſt breath,</l>
               <l>And calmly hears her praiſes after death.</l>
               <l>
                  <pb n="22" facs="tcp:0220801300:24"/>To ſuch obſervers HOGARTH gives the lie;</l>
               <l>Worth may be hears'd, but Envy cannot die;</l>
               <l>Within the manſion of his gloomy breaſt,</l>
               <l>A manſion ſuited well to ſuch a gueſt;</l>
               <l>Immortal, unimpair'd ſhe rears her head,</l>
               <l>And damns alike the living and the dead.</l>
            </lg>
            <lg>
               <l>OFT have I known Thee, HOGARTH, weak and vain,</l>
               <l>Thyſelf the idol of thy aukward ſtrain,</l>
               <l>Thro' the dull meaſure of a ſummer's day,</l>
               <l>In phraſe moſt vile, prate long long hours away,</l>
               <l>Whilſt Friends with Friends all gaping ſit, and gaze,</l>
               <l>To hear a HOGARTH babble HOGARTH's praiſe.</l>
               <l>But if athwart thee Interruption came,</l>
               <l>And mention'd with reſpect ſome Ancient's name,</l>
               <l>Some Ancient's name, who in the days of yore</l>
               <l>The crown of Art with greateſt honour wore,</l>
               <l>How have I ſeen thy coward cheek turn pale,</l>
               <l>And blank confuſion ſeize thy mangled tale?</l>
               <l>How hath thy Jealouſy to madneſs grown,</l>
               <l>And deem'd his praiſe injurious to thy own?</l>
               <l>Then without mercy did thy wrath make way,</l>
               <l>And Arts and Artiſts all became thy prey;</l>
               <l>
                  <pb n="23" facs="tcp:0220801300:25"/>Then did'ſt Thou trample on eſtabliſh'd rules,</l>
               <l>And proudly levell'd all the antient ſchools,</l>
               <l>Condemn'd thoſe works, with praiſe thro' ages grac'd,</l>
               <l>Which you had never ſeen, or could not taſte.</l>
               <l>"But would mankind have true Perfection ſhewn,</l>
               <l>" It muſt be found in labours of my own.</l>
               <l>" I dare to challenge in one ſingle piece,</l>
               <l>" Th' united force of ITALY and GREECE."</l>
               <l>Thy eager hand the curtain then undrew,</l>
               <l>And brought the boaſted Maſter-piece to view.</l>
               <l>Spare thy remarks—ſay not a ſingle word—</l>
               <l>The Picture ſeen, why is the Painter heard?</l>
               <l>Call not up Shame and Anger in our cheeks;</l>
               <l>Without a Comment SIGISMUNDA ſpeaks.</l>
            </lg>
            <lg>
               <l>POOR SIGISMUNDA! what a Fate is thine!</l>
               <l>DRYDEN, the great High Prieſt of all the Nine,</l>
               <l>Reviv'd thy name, gave what a Muſe could give,</l>
               <l>And in his Numbers bad thy Mem'ry live;</l>
               <l>Gave thee thoſe ſoft ſenſations, which might move</l>
               <l>And warm the coldeſt Anchorite to Love;</l>
               <l>Gave thee that Virtue, which could curb deſire,</l>
               <l>Refine and Conſecrate Love's headſtrong fire;</l>
               <l>
                  <pb n="24" facs="tcp:0220801300:26"/>Gave thee thoſe griefs, which made the Stoic feel,</l>
               <l>And call'd compaſſion forth from hearts of ſteel;</l>
               <l>Gave thee that firmneſs, which our Sex may ſhame,</l>
               <l>And made Man bow to Woman's juſter claim,</l>
               <l>So that our tears, which from Compaſſion flow,</l>
               <l>Seem to debaſe thy dignity of woe.</l>
               <l>But O, how much unlike! how fall'n! how chang'd!</l>
               <l>How much from Nature, and herſelf eſtrang'd!</l>
               <l>How totally depriv'd of all the pow'rs</l>
               <l>To ſhew her feelings, and awaken our's,</l>
               <l>Doth SIGISMUNDA now devoted ſtand,</l>
               <l>The helpleſs victim of a Dauber's hand!</l>
            </lg>
            <lg>
               <l>But why, <hi>my</hi> HOGARTH, ſuch a progreſs made,</l>
               <l>So rare a Pattern for the Sign-Poſt trade,</l>
               <l>In the full force, and whirlwind of thy pride,</l>
               <l>Why was <hi>Heroic</hi> Painting laid aſide?</l>
               <l>Why is It not reſum'd? thy Friends at Court,</l>
               <l>Men all in place and pow'r, crave thy ſupport;</l>
               <l>Be grateful then for once, and, thro' thy field</l>
               <l>Of Politics, thy <hi>Epic</hi> Pencil wield,</l>
               <l>Maintain the cauſe, which they, good lack! avow,</l>
               <l>And would maintain too, but they know not how.</l>
            </lg>
            <lg>
               <pb n="25" facs="tcp:0220801300:27"/>
               <l>Thro' ev'ry <hi>Pannel</hi> let thy Virtue tell</l>
               <l>How BUTE prevail'd, HOW PITT and TEMPLE fell!</l>
               <l>How ENGLAND's ſons (whom They conſpir'd to bleſs</l>
               <l>Againſt our Will, with inſolent ſucceſs)</l>
               <l>Approve their fall, and with addreſſes run,</l>
               <l>How got, God knows, to hail the SCOTTISH Sun;</l>
               <l>Point out our fame in war, when vengeance, hurl'd</l>
               <l>From the ſtrong arm of Juſtice, ſhook the world;</l>
               <l>Thine, and thy Country's honour to encreaſe</l>
               <l>Point out the honours of ſucceeding Peace;</l>
               <l>Our <hi>Moderation,</hi> Chriſtian-like, diſplay,</l>
               <l>Shew, what we got, and what we gave away.</l>
               <l>In Colours, dull and heavy as the tale,</l>
               <l>Let a <hi>State</hi>-Chaos thro' the whole prevail.</l>
            </lg>
            <lg>
               <l>BUT, of events regardleſs, whilſt the Muſe</l>
               <l>Perhaps with too much heat her theme purſues;</l>
               <l>While her quick Spirits rouze at FREEDOM's call,</l>
               <l>And ev'ry drop of blood is turn'd to gall,</l>
               <l>Whilſt a dear Country, and an injur'd Friend,</l>
               <l>Urge my ſtrong anger to the bitt'reſt end,</l>
               <l>Whilſt honeſt trophies to revenge are rais'd,</l>
               <l>Let not One real Virtue paſs unprais'd.</l>
               <l>
                  <pb n="26" facs="tcp:0220801300:28"/>Juſtice with equal courſe bids Satire flow,</l>
               <l>And loves the Virtue of her greateſt foe.</l>
            </lg>
            <lg>
               <l>O! that I here could that rare Virtue mean</l>
               <l>Which ſcorns the rule of Envy, Pride and Spleen,</l>
               <l>Which ſprings not from the labour'd Works of Art,</l>
               <l>But hath its riſe from Nature in the heart,</l>
               <l>Which in itſelf with happineſs is crown'd,</l>
               <l>And ſpreads with joy the bleſſing all around!</l>
               <l>But Truth forbids, and in theſe ſimple lays,</l>
               <l>Contented with a diff'rent kind of Praiſe,</l>
               <l>Muſt HOGARTH ſtand; that Praiſe which GENIUS gives,</l>
               <l>In Which to lateſt time the <hi>Artiſt</hi> lives,</l>
               <l>But not the <hi>Man</hi>; which, rightly underſtood,</l>
               <l>May make Us great, but cannot make us good.</l>
               <l>That Praiſe be HOGARTH's; freely let him wear</l>
               <l>That Wreath which GENIUS wove, and planted there.</l>
               <l>Foe as I am, ſhould Envy tear it down,</l>
               <l>Myſelf would labour to replace the Crown.</l>
            </lg>
            <lg>
               <l>IN walks of Humor, in that caſt of Style,</l>
               <l>Which, probing to the quick, yet makes us ſmile;</l>
               <l>In Comedy, thy nat'ral road to fame,</l>
               <l>Nor let me call it by a meaner name,</l>
               <l>
                  <pb n="27" facs="tcp:0220801300:29"/>Where a beginning, middle, and an end</l>
               <l>Are aptly joined; where parts on parts depend,</l>
               <l>Each made for each, as bodies for their ſoul,</l>
               <l>So as to form one true and perfect whole,</l>
               <l>Where a plain ſtory to the eye is told,</l>
               <l>Which we conceive the moment we behold,</l>
               <l>HOGARTH unrivall'd ſtands, and ſhall engage</l>
               <l>Unrivall'd praiſe to the moſt diſtant age.</l>
            </lg>
            <lg>
               <l>How could'ſt Thou then to Shame perverſely run,</l>
               <l>And tread that path which Nature bad Thee ſhun,</l>
               <l>Why did ambition overleap her rules,</l>
               <l>And thy vaſt parts become the ſport of Fools?</l>
               <l>By diff'rent methods diff'rent Men excell,</l>
               <l>But where is He, who can do all things well?</l>
               <l>Humour thy Province, for ſome monſtrous crime</l>
               <l>Pride ſtruck Thee with the frenzy of <hi>Sublime.</hi>
               </l>
               <l>But, when the work was finiſh'd, could thy mind</l>
               <l>So partial be, and to herſelf ſo blind,</l>
               <l>What with contempt All view'd, to view with awe,</l>
               <l>Nor ſee thoſe faults which ev'ry Blockhead ſaw?</l>
               <l>Bluſh, Thou vain Man, and if deſire of Fame,</l>
               <l>Founded on real Art, thy thoughts inflame,</l>
               <l>
                  <pb n="28" facs="tcp:0220801300:30"/>To quick deſtruction SIGISMUNDA give,</l>
               <l>And let her mem'ry die, that thine may live.</l>
            </lg>
            <lg>
               <l>BUT ſhould fond Candour, for her Mercy ſake,</l>
               <l>With pity view, and pardon this miſtake;</l>
               <l>Or ſhould Oblivion, to thy wiſh moſt kind,</l>
               <l>Wipe off that ſtain, nor leave one trace behind;</l>
               <l>Of ARTS <hi>deſpis'd,</hi> of ARTISTS by thy frown</l>
               <l>
                  <hi>Aw'd from juſt hopes,</hi> of <hi>riſing Worth kept down,</hi>
               </l>
               <l>Of all thy meanneſs thro' this mortal race,</l>
               <l>Can'ſt Thou the living memory eraſe,</l>
               <l>Or ſhall not Vengeance follow to the grave,</l>
               <l>And give back juſt that meaſure which You gave?</l>
               <l>With ſo much merit, and ſo much ſucceſs,</l>
               <l>With ſo much pow'r to curſe, ſo much to bleſs,</l>
               <l>Would He have been Man's friend, inſtead of foe,</l>
               <l>HOGARTH had been a little God below.</l>
               <l>Why then, like ſavage Giants, fam'd of old,</l>
               <l>Of whom in Scripture Story we are told,</l>
               <l>Doſt Thou in cruelty that ſtrength employ,</l>
               <l>Which Nature meant to ſave, not to deſtroy,</l>
               <l>Why doſt Thou, all in horrid pomp array'd,</l>
               <l>Sit grinning o'er the ruins Thou haſt made?</l>
               <l>
                  <pb n="29" facs="tcp:0220801300:31"/>Moſt rank Ill-nature muſt applaud thy art;</l>
               <l>But even Candour muſt condemn thy heart.</l>
            </lg>
            <lg>
               <l>FOR Me, who warm and zealous for my Friend,</l>
               <l>In ſpite of railing thouſands, will commend,</l>
               <l>And, no leſs warm and zealous 'gainſt my foes,</l>
               <l>Spite of commending thouſands, will oppoſe,</l>
               <l>I dare thy worſt, with ſcorn behold thy rage,</l>
               <l>But with an eye of Pity view thy Age,</l>
               <l>Thy feeble Age, in which, as in a glaſs,</l>
               <l>We ſee how Men to diſſolution paſs.</l>
               <l>Thou <hi>wretched Being,</hi> whom, on Reaſon's plan,</l>
               <l>So chang'd, ſo loſt, I cannot call a Man,</l>
               <l>What could perſuade Thee, at this time of life,</l>
               <l>To launch afreſh into the Sea of Strife?</l>
               <l>Better for Thee, ſcarce crawling on the earth,</l>
               <l>Almoſt as much a child as at thy birth,</l>
               <l>To have reſign'd in peace thy parting breath,</l>
               <l>And ſunk unnotic'd in the arms of Death.</l>
               <l>Why would thy grey grey hairs reſentment brave,</l>
               <l>Thus to go down with ſorrow to the grave?</l>
               <l>Now, by my Soul, it makes me bluſh to know</l>
               <l>My Spirits could deſcend to ſuch a foe.</l>
               <l>
                  <pb n="30" facs="tcp:0220801300:32"/>Whatever cauſe the vengeance might provoke,</l>
               <l>It ſeems rank Cowardice to give the ſtroke.</l>
            </lg>
            <lg>
               <l>SURE 'tis a curſe which angry Fates impoſe,</l>
               <l>To mortify man's arrogance, that Thoſe</l>
               <l>Who're faſhion'd of ſome better ſort of clay,</l>
               <l>Much ſooner than the common herd decay.</l>
               <l>What bitter pangs muſt humbled GENIUS feel,</l>
               <l>In their laſt hours, to view a SWIFT and STEELE?</l>
               <l>How muſt ill-boding horrors fill her breaſt,</l>
               <l>When She beholds Men, mark'd above the reſt</l>
               <l>For qualities moſt dear, plung'd from that height,</l>
               <l>And ſunk, deep ſunk, in ſecond Childhood's night?</l>
               <l>Are Men, indeed, ſuch things, and are the beſt</l>
               <l>More ſubject to this evil, than the reſt,</l>
               <l>To drivel out whole years of Ideot breath,</l>
               <l>And ſit the Monuments of living Death?</l>
               <l>O, galling circumſtance to human pride!</l>
               <l>Abaſing Thought, but not to be denied!</l>
               <l>With curious Art the Brain too finely wrought</l>
               <l>Preys on herſelf, and is deſtroy'd by Thought.</l>
               <l>Conſtant Attention wears the active mind,</l>
               <l>Blots out her pow'rs, and leaves a blank behind.</l>
               <l>
                  <pb n="31" facs="tcp:0220801300:33"/>But let not Youth, to inſolence allied,</l>
               <l>In heat of blood, in full career of pride,</l>
               <l>Poſſeſs'd of GENIUS, with unhallow'd rage</l>
               <l>Mock the infirmities of rev'rend age.</l>
               <l>The greateſt GENIUS to this Fate may bow;</l>
               <l>REYNOLDS, in time, may be like HOGARTH now.</l>
            </lg>

         <trailer>FINIS.</trailer>

   </text>
</TEI>


text:
from django.core.management.base import BaseCommand, CommandError
from ios_notifications.models import FeedbackService
from optparse import make_option

# TODO: argparse for Python 2.7

class Command(BaseCommand):
    help = 'Calls the Apple Feedback Service to determine which devices are no longer active and deactivates them in the database.'

    option_list = BaseCommand.option_list + (
        make_option('--feedback-service',
            help='The id of the Feedback Service to call',
            dest='service',
            default=None),)

    def handle(self, *args, **options):
        if options['service'] is None:
            raise CommandError('The --feedback-service option is required')
        try:
            service_id = int(options['service'])
        except ValueError:
            raise CommandError('The --feedback-service option should pass an id in integer format as its value')
        try:
            service = FeedbackService.objects.get(pk=service_id)
        except FeedbackService.DoesNotExist:
            raise CommandError('FeedbackService with id %d does not exist' % service_id)

        num_deactivated = service.call()
        output = '%d device%s deactivated.\n' % (num_deactivated, ' was' if num_deactivated == 1 else 's were')
        self.stdout.write(output)

redpajama_set_name: RedPajamaGithub


text:
package org.apache.sis.internal.util;

import java.util.Random;
import org.apache.sis.math.MathFunctions;
import org.apache.sis.test.TestUtilities;
import org.apache.sis.test.TestCase;
import org.apache.sis.util.ComparisonMode;
import org.junit.Test;

import static java.lang.Double.NaN;
import static java.lang.Double.POSITIVE_INFINITY;
import static java.lang.Double.NEGATIVE_INFINITY;
import static org.apache.sis.internal.util.Numerics.*;
import static org.junit.Assert.*;

/**
 * Tests the {@link Numerics} class.
 *
 * @author  Martin Desruisseaux (Geomatys)
 * @version 1.3
 * @since   0.3
 * @module
 */
@SuppressWarnings("UnnecessaryBoxing")
public final strictfp class NumericsTest extends TestCase {
    /**
     * Verifies the value of {@link Numerics#LONG_SHIFT} and {@link Numerics#INT_SHIFT}.
     */
    @Test
    public void verifyMaxDimension() {
        assertEquals(Integer.SIZE, 1 << Numerics.INT_SHIFT);
        assertEquals(Long.SIZE, 1 << Numerics.LONG_SHIFT);
        for (int i=350; i<400; i += 17) {
            assertEquals(i / Long.SIZE, i >> Numerics.LONG_SHIFT);
            assertEquals(i * Long.SIZE, i << Numerics.LONG_SHIFT);
        }
    }

    /**
     * Tests {@link Numerics#bitmask(int)}.
     */
    @Test
    public void testBitmask() {
        assertEquals( 1L, Numerics.bitmask(0));
        assertEquals( 2L, Numerics.bitmask(1));
        assertEquals(32L, Numerics.bitmask(5));
        assertEquals(Long.SIZE, Numerics.bitmask(Numerics.LONG_SHIFT));
        assertEquals(Long.MIN_VALUE, Numerics.bitmask(Long.SIZE - 1));
        assertEquals( 0L, Numerics.bitmask(Long.SIZE));
        assertEquals( 0L, Numerics.bitmask(100));
        assertEquals( 0L, Numerics.bitmask(-1));
        assertEquals( 0L, Numerics.bitmask(-256));
    }

    /**
     * Tests {@link Numerics#ceilDiv(int, int)} and {@link Numerics#ceilDiv(long, long)}.
     */
    @Test
    public void testCeilDiv() {
        assertEquals( 4,  ceilDiv( 12,  3 ));
        assertEquals( 4L, ceilDiv( 12L, 3L));
        assertEquals( 3,  ceilDiv(  8,  3 ));
        assertEquals( 3L, ceilDiv(  8L, 3L));
        assertEquals(-4,  ceilDiv(-12,  3 ));
        assertEquals(-4L, ceilDiv(-12L, 3L));
        assertEquals(-2,  ceilDiv( -8,  3 ));
        assertEquals(-2L, ceilDiv( -8L, 3L));
    }

    /**
     * Tests {@link Numerics#saturatingAdd(long, int)}.
     */
    @Test
    public void testSaturatingAdd() {
        assertEquals(1234 + 56, Numerics.saturatingAdd(1234,  56));
        assertEquals(1234 - 56, Numerics.saturatingAdd(1234, -56));
        assertEquals(Long.MAX_VALUE, Numerics.saturatingAdd(Long.MAX_VALUE - 10,  56));
        assertEquals(Long.MIN_VALUE, Numerics.saturatingAdd(Long.MIN_VALUE + 10, -56));
    }

    /**
     * Tests {@link Numerics#saturatingSubtract(long, int)}.
     */
    @Test
    public void testSaturatingSubtract() {
        assertEquals(1234 - 56, Numerics.saturatingSubtract(1234,  56));
        assertEquals(1234 + 56, Numerics.saturatingSubtract(1234, -56));
        assertEquals(Long.MAX_VALUE, Numerics.saturatingSubtract(Long.MAX_VALUE - 10, -56));
        assertEquals(Long.MIN_VALUE, Numerics.saturatingSubtract(Long.MIN_VALUE + 10, +56));
    }

    /**
     * Tests the {@link Numerics#cached(Object)} method.
     */
    @Test
    public void testCached() {
        Double value;
        assertEquals(value = Double.valueOf(   0), Numerics.cached(value));
        assertEquals(value = Double.valueOf(   1), Numerics.cached(value));
        assertEquals(value = Double.valueOf(  -1), Numerics.cached(value));
        assertEquals(value = Double.valueOf(  10), Numerics.cached(value));
        assertEquals(value = Double.valueOf(-150), Numerics.cached(value));
        assertEquals(value = Double.valueOf( NaN), Numerics.cached(value));
    }

    /**
     * Tests the {@link Numerics#valueOf(double)} method.
     */
    @Test
    public void testValueOf() {
        double value;
        assertEquals(Double.valueOf(value =    0), Numerics.valueOf(value));
        assertEquals(Double.valueOf(value =    1), Numerics.valueOf(value));
        assertEquals(Double.valueOf(value =   -1), Numerics.valueOf(value));
        assertEquals(Double.valueOf(value =   10), Numerics.valueOf(value));
        assertEquals(Double.valueOf(value = -150), Numerics.valueOf(value));
        assertEquals(Double.valueOf(value =  NaN), Numerics.valueOf(value));
    }

    /**
     * Tests the {@link Numerics#epsilonEqual(double, double, ComparisonMode)} method.
     */
    @Test
    public void testEpsilonEqual() {
        assertTrue (epsilonEqual(POSITIVE_INFINITY, POSITIVE_INFINITY,    ComparisonMode.APPROXIMATE));
        assertTrue (epsilonEqual(NEGATIVE_INFINITY, NEGATIVE_INFINITY,    ComparisonMode.APPROXIMATE));
        assertFalse(epsilonEqual(POSITIVE_INFINITY, NEGATIVE_INFINITY,    ComparisonMode.APPROXIMATE));
        assertFalse(epsilonEqual(POSITIVE_INFINITY, NaN,                  ComparisonMode.APPROXIMATE));
        assertTrue (epsilonEqual(NaN,               NaN,                  ComparisonMode.APPROXIMATE));
        assertFalse(epsilonEqual(   0,        COMPARISON_THRESHOLD /   2, ComparisonMode.APPROXIMATE));
        assertTrue (epsilonEqual(   1,    1 + COMPARISON_THRESHOLD /   2, ComparisonMode.APPROXIMATE));
        assertFalse(epsilonEqual(   1,    1 + COMPARISON_THRESHOLD *   2, ComparisonMode.APPROXIMATE));
        assertTrue (epsilonEqual(-100, -100 + COMPARISON_THRESHOLD *  50, ComparisonMode.APPROXIMATE));
        assertFalse(epsilonEqual( 100,  100 + COMPARISON_THRESHOLD * 150, ComparisonMode.APPROXIMATE));
    }

    /**
     * Tests the {@link Numerics#toExp10(int)} method over the full [-2620 … 2620] range of values
     * (the validity range documented by method javadoc). Also verifies our javadoc claim that
     * {@code toExp10(getExponent(10ⁿ))} returns {@code n-1} except for {@code n == 0}.
     */
    @Test
    public void testToExp10() {
        for (int i=-2620; i<=2620; i++) {
            assertEquals(StrictMath.floor(i * MathFunctions.LOG10_2), toExp10(i), 0);
        }
        for (int i=-307; i<=308; i++) {
            final String value = "1E" + i;
            assertEquals(value, (i == 0) ? i : i-1, toExp10(StrictMath.getExponent(Double.parseDouble(value))));
        }
    }

    /**
     * Tests the {@link Numerics#getSignificand(double)} method.
     */
    @Test
    public void testGetSignificand() {
        assertSignificandEquals(0x00000000000000L, 0d);
        assertSignificandEquals(0x10000000000000L, 1d);
        assertSignificandEquals(0x1F400000000000L, 1000d);
        assertSignificandEquals(0x1FFFFFFFFFFFFFL, Double.MAX_VALUE);
        assertSignificandEquals(0x10000000000000L, Double.MIN_NORMAL);
        assertSignificandEquals(0x00000000000002L, Double.MIN_VALUE);
        assertSignificandEquals(0x10000000000000L, Double.POSITIVE_INFINITY);
        assertSignificandEquals(0x10000000000000L, Double.NEGATIVE_INFINITY);
        final Random random = TestUtilities.createRandomNumberGenerator();
        for (int i=0; i<100; i++) {
            final double value = random.nextGaussian();
            assertSignificandEquals(getSignificand(value), -value);
        }
    }

    /**
     * Tests the {@link Numerics#getSignificand(float)} method.
     */
    @Test
    public void testGetSignificandOfFloat() {
        assertSignificandEquals(0x000000, 0f);
        assertSignificandEquals(0x800000, 1f);
        assertSignificandEquals(0xFA0000, 1000f);
        assertSignificandEquals(0xFFFFFF, Float.MAX_VALUE);
        assertSignificandEquals(0x800000, Float.MIN_NORMAL);
        assertSignificandEquals(0x000002, Float.MIN_VALUE);
        assertSignificandEquals(0x800000, Float.POSITIVE_INFINITY);
        assertSignificandEquals(0x800000, Float.NEGATIVE_INFINITY);
        final Random random = TestUtilities.createRandomNumberGenerator();
        for (int i=0; i<100; i++) {
            final float value = (float) random.nextGaussian();
            assertSignificandEquals(getSignificand(value), -value);
        }
    }

    /**
     * Asserts that {@link Numerics#getSignificand(double)} returns the expected value,
     * then verify the {@link StrictMath#scalb(double, int)} identity.
     */
    private static void assertSignificandEquals(final long expected, final double value) {
        assertEquals(expected, getSignificand(value));
        final int e = StrictMath.getExponent(value) - SIGNIFICAND_SIZE;
        final double recomposed = StrictMath.scalb((double) expected, e);
        assertEquals(value, StrictMath.copySign(recomposed, value), 0);
    }

    /**
     * Asserts that {@link Numerics#getSignificand(float)} returns the expected value,
     * then verify the {@link StrictMath#scalb(float, int)} identity.
     */
    private static void assertSignificandEquals(final int expected, final float value) {
        assertEquals(expected, getSignificand(value));
        final int e = StrictMath.getExponent(value) - SIGNIFICAND_SIZE_OF_FLOAT;
        final float recomposed = StrictMath.scalb((float) expected, e);
        assertEquals(value, StrictMath.copySign(recomposed, value), 0f);
    }
}


text:
/***** includes *****/
#include "lfds700_list_addonly_ordered_singlylinked_internal.h"

/***** private prototypes *****/
static void lfds700_list_aos_internal_validate( struct lfds700_list_aos_state *laoss, struct lfds700_misc_validation_info *vi, enum lfds700_misc_validity *lfds700_list_aos_validity );

/****************************************************************************/
void lfds700_list_aos_query( struct lfds700_list_aos_state *laoss, enum lfds700_list_aos_query query_type, void *query_input, void *query_output )
{
  LFDS700_PAL_ASSERT( laoss != NULL );
  // TRD : query_type can be any value in its range

  LFDS700_MISC_BARRIER_LOAD;

  switch( query_type )
  {
    case LFDS700_LIST_AOS_QUERY_GET_POTENTIALLY_INACCURATE_COUNT:
    {
      struct lfds700_list_aos_element
        *laose = NULL;

      LFDS700_PAL_ASSERT( query_input == NULL );
      LFDS700_PAL_ASSERT( query_output != NULL );

      *(lfds700_pal_uint_t *) query_output = 0;

      while( LFDS700_LIST_AOS_GET_START_AND_THEN_NEXT(*laoss, laose) )
        ( *(lfds700_pal_uint_t *) query_output )++;
    }
    break;

    case LFDS700_LIST_AOS_QUERY_SINGLETHREADED_VALIDATE:
      // TRD : query_input can be NULL
      LFDS700_PAL_ASSERT( query_output != NULL );

      lfds700_list_aos_internal_validate( laoss, (struct lfds700_misc_validation_info *) query_input, (enum lfds700_misc_validity *) query_output );
    break;
  }

  return;
}

/****************************************************************************/
static void lfds700_list_aos_internal_validate( struct lfds700_list_aos_state *laoss, struct lfds700_misc_validation_info *vi, enum lfds700_misc_validity *lfds700_list_aos_validity )
{
  lfds700_pal_uint_t
    number_elements = 0;

  struct lfds700_list_aos_element
    *laose_fast,
    *laose_slow;

  LFDS700_PAL_ASSERT( laoss!= NULL );
  // TRD : vi can be NULL
  LFDS700_PAL_ASSERT( lfds700_list_aos_validity != NULL );

  *lfds700_list_aos_validity = LFDS700_MISC_VALIDITY_VALID;

  laose_slow = laose_fast = laoss->start->next;

  /* TRD : first, check for a loop
           we have two pointers
           both of which start at the start of the list
           we enter a loop
           and on each iteration
           we advance one pointer by one element
           and the other by two

           we exit the loop when both pointers are NULL
           (have reached the end of the queue)

           or

           if we fast pointer 'sees' the slow pointer
           which means we have a loop
  */

  if( laose_slow != NULL )
    do
    {
      laose_slow = laose_slow->next;

      if( laose_fast != NULL )
        laose_fast = laose_fast->next;

      if( laose_fast != NULL )
        laose_fast = laose_fast->next;
    }
    while( laose_slow != NULL and laose_fast != laose_slow );

  if( laose_fast != NULL and laose_slow != NULL and laose_fast == laose_slow )
    *lfds700_list_aos_validity = LFDS700_MISC_VALIDITY_INVALID_LOOP;

  /* TRD : now check for expected number of elements
           vi can be NULL, in which case we do not check
           we know we don't have a loop from our earlier check
  */

  if( *lfds700_list_aos_validity == LFDS700_MISC_VALIDITY_VALID and vi != NULL )
  {
    lfds700_list_aos_query( laoss, LFDS700_LIST_AOS_QUERY_GET_POTENTIALLY_INACCURATE_COUNT, NULL, &number_elements );

    if( number_elements < vi->min_elements )
      *lfds700_list_aos_validity = LFDS700_MISC_VALIDITY_INVALID_MISSING_ELEMENTS;

    if( number_elements > vi->max_elements )
      *lfds700_list_aos_validity = LFDS700_MISC_VALIDITY_INVALID_ADDITIONAL_ELEMENTS;
  }

  return;
}


text:
package descriptor

import (
	"go.ligato.io/vpp-agent/v3/plugins/linux/ifplugin/ifaceidx"
	interfaces "go.ligato.io/vpp-agent/v3/proto/ligato/linux/interfaces"

	"strings"

	nslinuxcalls "go.ligato.io/vpp-agent/v3/plugins/linux/nsplugin/linuxcalls"
)

const unconfiguredAlias = "unconfigured"

// createLoopback adds logical name as alias to linux loopback interface
func (d *InterfaceDescriptor) createLoopback(nsCtx nslinuxcalls.NamespaceMgmtCtx,
	linuxIf *interfaces.Interface) (metadata *ifaceidx.LinuxIfMetadata, err error) {

	hostName := getHostIfName(linuxIf)
	agentPrefix := d.serviceLabel.GetAgentPrefix()

	if linuxIf.Namespace != nil {
		revert, err := d.nsPlugin.SwitchToNamespace(nsCtx, linuxIf.Namespace)
		if err != nil {
			d.log.Error(err)
			return nil, err
		}
		defer revert()
	}

	// in each network namespace there is exactly one loopback interface,
	// multiple configurations for a single namespaces is not valid
	alias, err := d.getLoopbackAlias(nsCtx, linuxIf)
	if err != nil {
		d.log.Error(err)
		return nil, ErrLoopbackNotFound
	}
	if alias != "" && alias != linuxIf.Name && alias != unconfiguredAlias {
		d.log.Errorf("loopback already configured using logical name '%v'", alias)
		return nil, ErrLoopbackAlreadyConfigured
	}

	// add alias in order to include loopback in retrieve output
	err = d.ifHandler.SetInterfaceAlias(hostName, agentPrefix+linuxIf.Name)
	if err != nil {
		d.log.Error(err)
		return nil, err
	}

	link, err := d.ifHandler.GetLinkByName(hostName)
	if err != nil {
		d.log.Error(err)
		return nil, err
	}

	metadata = &ifaceidx.LinuxIfMetadata{
		Namespace:    linuxIf.Namespace,
		LinuxIfIndex: link.Attrs().Index,
	}

	return metadata, nil
}

// deleteLoopback clear associated interface alias
func (d *InterfaceDescriptor) deleteLoopback(nsCtx nslinuxcalls.NamespaceMgmtCtx, linuxIf *interfaces.Interface) error {
	hostName := getHostIfName(linuxIf)

	if linuxIf.Namespace != nil {
		revert, err := d.nsPlugin.SwitchToNamespace(nsCtx, linuxIf.Namespace)
		if err != nil {
			d.log.Error(err)
			return err
		}
		defer revert()
	}

	// remove interface alias
	// - actually vishvananda/netlink does not support alias removal, so we just change
	//   it to a string which is not prefixed with agent label
	err := d.ifHandler.SetInterfaceAlias(hostName, unconfiguredAlias)
	if err != nil {
		d.log.Error(err)
		return err
	}

	return nil
}

// getLoopbackAlias returns alias associated with the loopback
func (d *InterfaceDescriptor) getLoopbackAlias(nsCtx nslinuxcalls.NamespaceMgmtCtx, linuxIf *interfaces.Interface) (string, error) {
	if linuxIf.Namespace != nil {
		revert, err := d.nsPlugin.SwitchToNamespace(nsCtx, linuxIf.Namespace)
		if err != nil {
			d.log.Error(err)
			return "", err
		}
		defer revert()
	}

	link, err := d.ifHandler.GetLinkByName(getHostIfName(linuxIf))
	if err != nil {
		d.log.Error(err)
		return "", err
	}
	return strings.TrimPrefix(link.Attrs().Alias, d.serviceLabel.GetAgentPrefix()), nil
}


text:
<!DOCTYPE html>

    <meta http-equiv="refresh" content="0;URL=../../../libc/constant.MS_BIND.html">

Redirecting to ../../../libc/constant.MS_BIND.html...


text:
When reading from / writing to XML, additional meta-data is neccesary to correctly map the data model to a XML document.

This document contains the list of supported extensions that are understood by [moddle-xml](https://github.com/bpmn-io/moddle-xml).

## Package Definition

Extensions to the package definition allows you to configure namespacing and element serialization.

### Namespace URL

Specify the `url` field in a package definition to define the associated XML namespace url.

```json
{
  "prefix": "s",
  "url": "http://sample"
}
```

This results in

```xml
<s:Root xmlns:s="http://sample" />
```

### Element Name Serialization

Specify `alias=lowerCase` to map elements to their lower case names in xml.

The above output becomes

```xml
<s:root xmlns:s="http://sample" />
```

when this property is specified.

## Property definition

XML distinguishes between child elements, body text and attributes. moddle allows you to map your data to these places via special qualifiers.

### Qualifiers

Use any of the following qualifiers to configure how a property is mapped to XML.

| Qualifier | Values | Description |
| ------------- | ------------- | ----- |
| `isAttr=false` | `Boolean` | serializes as an attribute |
| `isBody=false` | `Boolean` | serializes as the body of the element |
| `serialize` | `String` | adds additional notes on how to serialize. Supported value(s): `xsi:type` serializes as data type rather than element |


text:
cask "springtoolsuite" do
  version "4.9.0.RELEASE,4.18.0"
  sha256 "56e14f18bfc6eca84403326db3465abd4ca91ae64d21754e3700639cbcf2320c"

  url "https://download.springsource.com/release/STS#{version.major}/#{version.before_comma}/dist/e#{version.after_comma.major_minor}/spring-tool-suite-#{version.major}-#{version.before_comma}-e#{version.after_comma}-macosx.cocoa.x86_64.dmg",
      verified: "download.springsource.com/release/"
  appcast "https://github.com/spring-projects/sts4/releases.atom"
  name "Spring Tool Suite"
  desc "Next generation tooling for Spring Boot"
  homepage "https://spring.io/tools"

  auto_updates true

  app "SpringToolSuite#{version.major}.app"
end


text:
package io.github.Nitralow.Proxy;

import io.github.Nitralow.Interesting;

import java.util.EnumSet;

import net.minecraft.entity.Entity;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.ItemStack;
import net.minecraft.potion.Potion;
import net.minecraft.potion.PotionEffect;
import cpw.mods.fml.common.ITickHandler;
import cpw.mods.fml.common.TickType;

public class serverTickHandler implements ITickHandler {

	private void onPlayerTick(EntityPlayer player) {
		if (player.getCurrentItemOrArmor(4) != null){
			ItemStack helmet = player.getCurrentItemOrArmor(4);

			if (helmet.getItem() == Interesting.paperhelm) {
				player.addPotionEffect(new PotionEffect(Potion.nightVision.getId(), 40 , 2));

			}
		}
		if (player.getCurrentItemOrArmor(3) != null){
			ItemStack chestplate = player.getCurrentItemOrArmor(3);

			if (chestplate.getItem() == Interesting.paperaches) {
				player.addPotionEffect(new PotionEffect(Potion.weakness.getId(), 40 , 1));

			}
		}
		if (player.getCurrentItemOrArmor(2) != null){
			ItemStack leggins = player.getCurrentItemOrArmor(2);

			if (leggins.getItem() == Interesting.paperlegg) {
				player.addPotionEffect(new PotionEffect(Potion.moveSpeed.getId(), 40 , 2));

			}
		}
		if (player.getCurrentItemOrArmor(1) != null){
			ItemStack helmet = player.getCurrentItemOrArmor(1);

			if (helmet.getItem() == Interesting.paperboot) {
				player.addPotionEffect(new PotionEffect(Potion.digSpeed.getId(), 40 , 2));

			}
		}

	}

	@Override
	public void tickStart(EnumSet<TickType> type, Object... tickData) {
		// TODO Auto-generated method stub

	}

	@Override
	public void tickEnd(EnumSet<TickType> type, Object... tickData) {
		// TODO Auto-generated method stub

	}

	@Override
	public EnumSet<TickType> ticks() {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public String getLabel() {
		// TODO Auto-generated method stub
		return null;
	}

}


text:
'use strict';

if (!MODULE) { var MODULE = {}; }

MODULE.MenuScreen = (function() {
  var MenuScreen = function() {
    this.screen = document.getElementById('screen-menu');
    var buttons = this.screen.getElementsByClassName('buttons')[0];

    this.buttons = {
      campaign: buttons.getElementsByClassName('campaign')[0],
      settings: buttons.getElementsByClassName('settings')[0],
      help: buttons.getElementsByClassName('help')[0]
    };

    this.buttons.campaign.onclick = this.onCampaign.bind(this);
    this.buttons.settings.onclick = this.onSettings.bind(this);
    this.buttons.help.onclick = this.onHelp.bind(this);
  };

  MenuScreen.prototype.display = function() {
    app.audio.playMusic('background');

    this.screen.style.display = 'block';

    app.analytics.track('SCREEN-MENU');
  };

  MenuScreen.prototype.hide = function() {
    this.screen.style.display = 'none';
  };

  MenuScreen.prototype.onCampaign = function() {
    app.audio.playSound('select');
    app.screen.display('campaign');
  };

  MenuScreen.prototype.onSettings = function() {
    app.audio.playSound('select');
    app.screen.display('settings');
  };

  MenuScreen.prototype.onHelp = function() {
    app.audio.playSound('select');
    app.screen.display('help');
  };

  return MenuScreen;
}());


text:
package com.karco.services;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

import com.karco.entities.User;
import com.karco.interfaces.UserBusiness;

@RestController
public class UserBusinessRestService {

	@Autowired
	private UserBusiness userBusiness;

	@CrossOrigin(origins = "http://localhost:8888")
	@RequestMapping(value="/authenticate", method=RequestMethod.POST)
	public User authenticate(@RequestBody User user) {
		return userBusiness.authenticate(user.getEmail(), user.getPassword());
	}

	@CrossOrigin(origins = "http://localhost:8888")
	@RequestMapping(value="/user/authenticate", method=RequestMethod.POST)
	public User authenticate(@RequestParam String email, String password) {
		return userBusiness.authenticate(email, password);
	}

	@CrossOrigin(origins = "http://localhost:8888")
	@RequestMapping(value="/add", method=RequestMethod.POST)
	public User add(@RequestBody User user) {
		return userBusiness.add(user);
	}

}


text:
//
//  TKCalendarMonthView.m
//  Created by Devin Ross on 6/10/10.
//

#import "TKCalendarMonthView.h"
#import "TKCalendarMonthTiles.h"
#import "NSDate+TKCategory.h"
#import "NSDate+CalendarGrid.h"
#import "TKGlobal.h"

@interface TKCalendarMonthView (private)
@property (readonly) UIScrollView *tileBox;
@property (readonly) UIImageView *shadow;

@end

@implementation TKCalendarMonthView
@synthesize delegate, dataSource, sizeDelegate;
@synthesize header;
@synthesize timeZone;
@synthesize oldTile;

+ (CGFloat) headerHeight {
    return 44.0f;
}

+ (CGFloat) effectiveTilesHeightForMonth:(NSDate *) month availableRect:(CGRect) rect {
    return [TKCalendarMonthView effectiveTilesHeightForMonth:month timeZone:[NSTimeZone defaultTimeZone] availableRect:rect];
}

+ (CGFloat) effectiveTilesHeightForMonth:(NSDate *) month timeZone:(NSTimeZone *)tz availableRect:(CGRect) rect {
    NSInteger rows = [TKCalendarMonthView rowsForMonth:month timeZone:tz];
    CGFloat tileWidth = [TKTile effectiveTileWidthForTilesWidth:CGRectGetWidth(rect)];
    CGFloat height = tileWidth * rows;
    return height;
}

+ (NSUInteger) rowsForMonth:(NSDate *) date {
    return [TKCalendarMonthTiles rowsForMonth:date startDayOnSunday:[NSDate sundayShouldBeFirst] timeZone:[NSTimeZone defaultTimeZone]];
}

+ (NSUInteger) rowsForMonth:(NSDate *) date timeZone:(NSTimeZone *) timeZone {
    return [TKCalendarMonthTiles rowsForMonth:date startDayOnSunday:[NSDate sundayShouldBeFirst] timeZone:timeZone];
}

- (CGFloat) maximumHeight {
	return CGRectGetHeight(header.bounds) + CGRectGetHeight(currentTile.selectedImageView.bounds) * 6;
}

- (instancetype) init {
	return [self initWithSundayAsFirst:[NSDate sundayShouldBeFirst]];
}

- (instancetype) initWithFrame:(CGRect)aFrame {
	return [self initWithFrame:aFrame sundayAsFirst:[NSDate sundayShouldBeFirst]];
}

- (instancetype) initWithSundayAsFirst:(BOOL)sunday {
	return [self initWithFrame:CGRectZero sundayAsFirst:[NSDate sundayShouldBeFirst]];
}

- (instancetype) initWithFrame:(CGRect) aFrame sundayAsFirst:(BOOL) s {
    return [self initWithFrame:aFrame sundayAsFirst:s timeZone:[NSTimeZone defaultTimeZone]];
}

- (instancetype) initWithFrame:(CGRect) aFrame sundayAsFirst:(BOOL) s timeZone:(NSTimeZone*)tz {
    if ((self = [super initWithFrame:aFrame])) {
        self.timeZone = tz;
        sunday = s;

        NSDate *month = [[NSDate date] firstOfMonthWithTimeZone:tz];

        currentTile = [[TKCalendarMonthTiles alloc] initWithFrame:CGRectZero month:month marks:nil startOnSunday:sunday timeZone:tz];
        [currentTile setTarget:self action:@selector(tile:)];

        [self addSubview:self.header];
        [self.tileBox addSubview:currentTile];
        [self addSubview:self.tileBox];
        [self addSubview:self.shadow];

        UIColor *colorToBeUsed = [UIColor whiteColor];
        self.backgroundColor = colorToBeUsed;

        self.header.titleView.text = [month monthYearStringWithTimeZone:tz];

        // setup actions
        [self.header.rightArrow addTarget:self action:@selector(changeMonth:) forControlEvents:UIControlEventTouchUpInside];
        [self.header.leftArrow addTarget:self action:@selector(changeMonth:) forControlEvents:UIControlEventTouchUpInside];

        NSArray *ar = [NSDate dayDescriptionsStartingOnSunday:sunday];
        NSInteger i = 0;
        for(NSString *s in ar){
            UILabel *dayLabel = (self.header.dayLabels)[i];
            dayLabel.text = s;
            ++i;
        }

    }

	return self;
}

- (void) changeMonthAnimation:(UIView*)sender {
	BOOL isNext = (sender.tag == 1);
	NSDate *nextMonth = isNext ? [currentTile.monthDate nextMonthWithTimeZone:self.timeZone] : [currentTile.monthDate previousMonthWithTimeZone:self.timeZone];

    NSDateComponents *nextInfo = [nextMonth dateComponentsWithTimeZone:self.timeZone];
	NSDate *localNextMonth = [NSDate dateWithDateComponents:nextInfo];

	NSArray *dates = [TKCalendarMonthTiles rangeOfDatesInMonthGrid:nextMonth startOnSunday:sunday timeZone:self.timeZone];
	NSArray *ar = [dataSource calendarMonthView:self marksFromDate:dates[0] toDate:[dates lastObject]];

    CGRect rect = [currentTile frame];
    rect.size.height = [TKCalendarMonthView effectiveTilesHeightForMonth:nextMonth timeZone:self.timeZone availableRect:self.bounds];
    TKCalendarMonthTiles *newTile = [[TKCalendarMonthTiles alloc] initWithFrame:rect month:nextMonth marks:ar startOnSunday:sunday timeZone:self.timeZone];
	[newTile setTarget:self action:@selector(tile:)];

	int overlap =  0;
	if(isNext){
		overlap = [newTile.monthDate isEqualToDate:dates[0]] ? 0 : [TKCalendarMonthView headerHeight];
	} else {
		overlap = [currentTile.monthDate compare:[dates lastObject]] !=  NSOrderedDescending ? [TKCalendarMonthView headerHeight] : 0;
	}

	float y = isNext ? currentTile.bounds.size.height - overlap : newTile.bounds.size.height * -1 + overlap;

	newTile.frame = CGRectMake(0, y, newTile.frame.size.width, newTile.frame.size.height);
	[self.tileBox addSubview:newTile];
	[self.tileBox bringSubviewToFront:currentTile];

	self.userInteractionEnabled = NO;

	NSTimeInterval animationDuration = 0.4;
	[UIView beginAnimations:nil context:nil];
	[UIView setAnimationDelegate:self];
	[UIView setAnimationCurve:UIViewAnimationCurveEaseInOut];
	[UIView setAnimationDidStopSelector:@selector(animationEnded)];
	[UIView setAnimationDuration:animationDuration];

	currentTile.alpha = 0.0;
	CGFloat outsideShadowHeight = 21.0f;
	if(isNext){
		currentTile.frame = CGRectMake(0, -1 * currentTile.bounds.size.height + overlap, currentTile.frame.size.width, currentTile.frame.size.height);
		newTile.frame = CGRectMake(0, 0, newTile.frame.size.width, newTile.frame.size.height);
		self.tileBox.frame = CGRectMake(self.tileBox.frame.origin.x, self.tileBox.frame.origin.y, self.tileBox.frame.size.width, newTile.frame.size.height);
		self.frame = CGRectMake(self.frame.origin.x, self.frame.origin.y, self.bounds.size.width, self.tileBox.frame.size.height+self.tileBox.frame.origin.y);
	} else {
		newTile.frame = CGRectMake(0, 0, newTile.frame.size.width, newTile.frame.size.height);
		self.tileBox.frame = CGRectMake(self.tileBox.frame.origin.x, self.tileBox.frame.origin.y, self.tileBox.frame.size.width, newTile.frame.size.height);
		self.frame = CGRectMake(self.frame.origin.x, self.frame.origin.y, self.bounds.size.width, self.tileBox.frame.size.height+self.tileBox.frame.origin.y);
		currentTile.frame = CGRectMake(0,  newTile.frame.size.height - overlap, currentTile.frame.size.width, currentTile.frame.size.height);
	}
	self.shadow.frame = CGRectMake(0, self.frame.size.height-self.shadow.frame.size.height+outsideShadowHeight, self.shadow.frame.size.width, self.shadow.frame.size.height);

    CGRect freshFrame = newTile.frame;
    freshFrame.size.height += [TKCalendarMonthView headerHeight];
	[self.sizeDelegate calendarMonthView:self willAnimateToFrame:freshFrame animationDuration:animationDuration];

	[UIView commitAnimations];

	oldTile = currentTile;
	currentTile = newTile;
	self.header.titleView.text = [localNextMonth monthYearStringWithTimeZone:self.timeZone];
    [self.header setNeedsLayout];
}

- (NSDate*) _dateForMonthChange:(UIView*)sender {
	BOOL isNext = (sender.tag == 1);
	NSDate *nextMonth = isNext ? [currentTile.monthDate nextMonthWithTimeZone:self.timeZone] : [currentTile.monthDate previousMonthWithTimeZone:self.timeZone];

	NSDateComponents *nextInfo = [nextMonth dateComponentsWithTimeZone:self.timeZone];
	NSDate *localNextMonth = [NSDate dateWithDateComponents:nextInfo];

	return localNextMonth;
}

- (void) changeMonth:(UIButton *)sender{
    NSDate *newDate = [self _dateForMonthChange:sender];
	if ([self.delegate respondsToSelector:@selector(calendarMonthView:monthShouldChange:animated:)] &&
        ![self.delegate calendarMonthView:self monthShouldChange:newDate animated:YES]) {
        return;
    }
	if ([self.delegate respondsToSelector:@selector(calendarMonthView:monthWillChange:animated:)]) {
        [self.delegate calendarMonthView:self monthWillChange:newDate animated:YES];
    }

	[self changeMonthAnimation:sender];

    if([self.delegate respondsToSelector:@selector(calendarMonthView:monthDidChange:animated:)]) {
        [self.delegate calendarMonthView:self monthDidChange:currentTile.monthDate animated:YES];
    }
}

- (void) animationEnded {
	self.userInteractionEnabled = YES;
	oldTile = nil;
}

- (NSDate*) dateSelected {
	return [currentTile dateSelected];
}

- (NSDate*) monthDate {
	return [currentTile monthDate];
}

- (BOOL) selectDate:(NSDate*)date userInfo:(NSDictionary *) userInfo {
    if(date == nil) date = [NSDate date];

    NSDateComponents *info = [date dateComponentsWithTimeZone:self.timeZone];
	NSDate *month = [date firstOfMonthWithTimeZone:self.timeZone];

    BOOL ret = NO;
	if([month isEqualToDate:[currentTile monthDate]]){
		ret = [currentTile selectDay:info.day];
	} else {
        if ([self.delegate respondsToSelector:@selector(calendarMonthView:monthShouldChange:animated:)] &&
            ![self.delegate calendarMonthView:self monthShouldChange:month animated:YES])
        {
            return NO;
        }

		if ([self.delegate respondsToSelector:@selector(calendarMonthView:monthWillChange:animated:)] ) {
            [self.delegate calendarMonthView:self monthWillChange:month animated:YES];
        }

		NSArray *dates = [TKCalendarMonthTiles rangeOfDatesInMonthGrid:month startOnSunday:sunday timeZone:self.timeZone];
		NSArray *data = [dataSource calendarMonthView:self marksFromDate:dates[0] toDate:[dates lastObject]];

        CGRect rect = [currentTile frame];
        rect.size.height = [TKCalendarMonthView effectiveTilesHeightForMonth:month timeZone:self.timeZone availableRect:self.bounds];
        TKCalendarMonthTiles *newTile = [[TKCalendarMonthTiles alloc] initWithFrame:rect month:month marks:data startOnSunday:sunday timeZone:self.timeZone];
		[newTile setTarget:self action:@selector(tile:)];
		[currentTile removeFromSuperview];
		currentTile = newTile;
		[self.tileBox addSubview:currentTile];
		self.tileBox.frame = CGRectMake(0, [TKCalendarMonthView headerHeight], newTile.frame.size.width, newTile.frame.size.height);
		self.frame = CGRectMake(self.frame.origin.x, self.frame.origin.y, self.bounds.size.width, self.tileBox.frame.size.height+self.tileBox.frame.origin.y);

        CGFloat outsideShadowHeight = 21.0f;
		self.shadow.frame = CGRectMake(0, self.frame.size.height-self.shadow.frame.size.height+outsideShadowHeight, self.shadow.frame.size.width, self.shadow.frame.size.height);

		self.header.titleView.text = [month monthYearStringWithTimeZone:self.timeZone];

		ret = [currentTile selectDay:info.day];

        if([self.delegate respondsToSelector:@selector(calendarMonthView:monthDidChange:animated:)]) {
            [self.delegate calendarMonthView:self monthDidChange:date animated:NO];
        }
	}
    if([self.delegate respondsToSelector:@selector(calendarMonthView:didSelectDate:userInfo:)]) {
        [self.delegate calendarMonthView:self didSelectDate:[self dateSelected] userInfo:userInfo];
    }

    return ret;
}

- (void) reload {
	NSArray *dates = [TKCalendarMonthTiles rangeOfDatesInMonthGrid:[currentTile monthDate] startOnSunday:sunday timeZone:self.timeZone];
	NSArray *ar = [dataSource calendarMonthView:self marksFromDate:dates[0] toDate:[dates lastObject]];

    [currentTile setMarks:ar];
}

- (void) tile:(NSArray*)ar{
	if([ar count] < 2){
        if([self.delegate respondsToSelector:@selector(calendarMonthView:didSelectDate:userInfo:)]) {
            [self.delegate calendarMonthView:self didSelectDate:[self dateSelected] userInfo:nil];
        }
	} else {
		NSInteger direction = [[ar lastObject] intValue];
		UIButton *b = direction > 1 ? self.header.rightArrow : self.header.leftArrow;

        NSDate* newMonth = [self _dateForMonthChange:b];
		if ([self.delegate respondsToSelector:@selector(calendarMonthView:monthShouldChange:animated:)] &&
            ![self.delegate calendarMonthView:self monthShouldChange:newMonth animated:YES])
        {
            return;
        }

		if ([self.delegate respondsToSelector:@selector(calendarMonthView:monthWillChange:animated:)]) {
            [self.delegate calendarMonthView:self monthWillChange:newMonth animated:YES];
        }

		[self changeMonthAnimation:b];

		NSInteger day = [ar[0] intValue];
        NSDateComponents *info = [[currentTile monthDate] dateComponentsWithTimeZone:self.timeZone];
		info.day = day;
        NSDate *dateForMonth = [NSDate dateWithDateComponents:info];
        [currentTile selectDay:day];
		if([self.delegate respondsToSelector:@selector(calendarMonthView:didSelectDate:userInfo:)]) {
            [self.delegate calendarMonthView:self didSelectDate:dateForMonth userInfo:nil];
        }
		if([self.delegate respondsToSelector:@selector(calendarMonthView:monthDidChange:animated:)]) {
            [self.delegate calendarMonthView:self monthDidChange:dateForMonth animated:YES];
        }
	}

}

- (void) layoutSubviews {
    [super layoutSubviews];

    CGFloat heightCorrection = 1.0f;
    CGFloat height = [TKCalendarMonthView effectiveTilesHeightForMonth:[self monthDate] timeZone:self.timeZone availableRect:self.bounds] + heightCorrection;
    CGFloat width = CGRectGetWidth(self.bounds);
    CGFloat shadowImageHeight = [shadow image].size.height;
    CGFloat tilesOffset = [TKTile tileStartOffsetForTilesWidth:self.bounds.size.width];

    CGFloat outsideShadowHeight = 21.0f;
    header.frame = CGRectMake(0.0f, 0.0f, width, [TKCalendarMonthView headerHeight]);
    header.tileStartOffset = tilesOffset;
    header.tileWidth = [TKTile effectiveTileWidthForTilesWidth:width];
    tileBox.frame = CGRectMake(tilesOffset, [TKCalendarMonthView headerHeight], CGRectGetWidth(self.bounds), height);
    shadow.frame = CGRectMake(0, CGRectGetHeight(self.frame) - shadowImageHeight + outsideShadowHeight, width, shadowImageHeight);

    currentTile.frame = CGRectMake(0.0f, -heightCorrection, width, height);
}

- (TKCalendarMonthViewHeader *) header {
	if (!header) {
		header = [[TKCalendarMonthViewHeader alloc] initWithFrame:CGRectZero];
	}
	return header;
}

- (UIScrollView *) tileBox {
	if(!tileBox){
		tileBox = [[UIScrollView alloc] initWithFrame:CGRectZero];
	}
	return tileBox;
}

- (UIImageView *) shadow {
	if(shadow==nil){
		shadow = [[UIImageView alloc] initWithImage:[UIImage imageWithContentsOfFile:TKBUNDLE(@"calendar/Month Calendar Shadow.png")]];
	}
	return shadow;
}

@end