This repository has been archived by the owner on Jan 10, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtest.txt
169 lines (169 loc) · 8.6 KB
/
test.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
ApacheLicense
Version2.0,January2004
http://www.apache.org/licenses/
TERMSANDCONDITIONSFORUSE,REPRODUCTION,ANDDISTRIBUTION
1.Definitions.
"License"shallmeanthetermsandconditionsforuse,reproduction,
anddistributionasdefinedbySections1through9ofthisdocument.
"Licensor"shallmeanthecopyrightownerorentityauthorizedby
thecopyrightownerthatisgrantingtheLicense.
"LegalEntity"shallmeantheunionoftheactingentityandall
otherentitiesthatcontrol,arecontrolledby,orareundercommon
controlwiththatentity.Forthepurposesofthisdefinition,
"control"means(i)thepower,directorindirect,tocausethe
directionormanagementofsuchentity,whetherbycontractor
otherwise,or(ii)ownershipoffiftypercent(50%)ormoreofthe
outstandingshares,or(iii)beneficialownershipofsuchentity.
"You"(or"Your")shallmeananindividualorLegalEntity
exercisingpermissionsgrantedbythisLicense.
"Source"formshallmeanthepreferredformformakingmodifications,
includingbutnotlimitedtosoftwaresourcecode,documentation
source,andconfigurationfiles.
"Object"formshallmeananyformresultingfrommechanical
transformationortranslationofaSourceform,includingbut
notlimitedtocompiledobjectcode,generateddocumentation,
andconversionstoothermediatypes.
"Work"shallmeantheworkofauthorship,whetherinSourceor
Objectform,madeavailableundertheLicense,asindicatedbya
copyrightnoticethatisincludedinorattachedtothework
(anexampleisprovidedintheAppendixbelow).
"DerivativeWorks"shallmeananywork,whetherinSourceorObject
form,thatisbasedon(orderivedfrom)theWorkandforwhichthe
editorialrevisions,annotations,elaborations,orothermodifications
represent,asawhole,anoriginalworkofauthorship.Forthepurposes
ofthisLicense,DerivativeWorksshallnotincludeworksthatremain
separablefrom,ormerelylink(orbindbyname)totheinterfacesof,
theWorkandDerivativeWorksthereof.
"Contribution"shallmeananyworkofauthorship,including
theoriginalversionoftheWorkandanymodificationsoradditions
tothatWorkorDerivativeWorksthereof,thatisintentionally
submittedtoLicensorforinclusionintheWorkbythecopyrightowner
orbyanindividualorLegalEntityauthorizedtosubmitonbehalfof
thecopyrightowner.Forthepurposesofthisdefinition,"submitted"
meansanyformofelectronic,verbal,orwrittencommunicationsent
totheLicensororitsrepresentatives,includingbutnotlimitedto
communicationonelectronicmailinglists,sourcecodecontrolsystems,
andissuetrackingsystemsthataremanagedby,oronbehalfof,the
LicensorforthepurposeofdiscussingandimprovingtheWork,but
excludingcommunicationthatisconspicuouslymarkedorotherwise
designatedinwritingbythecopyrightowneras"NotaContribution."
"Contributor"shallmeanLicensorandanyindividualorLegalEntity
onbehalfofwhomaContributionhasbeenreceivedbyLicensorand
subsequentlyincorporatedwithintheWork.
2.GrantofCopyrightLicense.Subjecttothetermsandconditionsof
thisLicense,eachContributorherebygrantstoYouaperpetual,
worldwide,non-exclusive,no-charge,royalty-free,irrevocable
copyrightlicensetoreproduce,prepareDerivativeWorksof,
publiclydisplay,publiclyperform,sublicense,anddistributethe
WorkandsuchDerivativeWorksinSourceorObjectform.
3.GrantofPatentLicense.Subjecttothetermsandconditionsof
thisLicense,eachContributorherebygrantstoYouaperpetual,
worldwide,non-exclusive,no-charge,royalty-free,irrevocable
(exceptasstatedinthissection)patentlicensetomake,havemade,
use,offertosell,sell,import,andotherwisetransfertheWork,
wheresuchlicenseappliesonlytothosepatentclaimslicensable
bysuchContributorthatarenecessarilyinfringedbytheir
Contribution(s)aloneorbycombinationoftheirContribution(s)
withtheWorktowhichsuchContribution(s)wassubmitted.IfYou
institutepatentlitigationagainstanyentity(includinga
cross-claimorcounterclaiminalawsuit)allegingthattheWork
oraContributionincorporatedwithintheWorkconstitutesdirect
orcontributorypatentinfringement,thenanypatentlicenses
grantedtoYouunderthisLicenseforthatWorkshallterminate
asofthedatesuchlitigationisfiled.
4.Redistribution.Youmayreproduceanddistributecopiesofthe
WorkorDerivativeWorksthereofinanymedium,withorwithout
modifications,andinSourceorObjectform,providedthatYou
meetthefollowingconditions:
(a)YoumustgiveanyotherrecipientsoftheWorkor
DerivativeWorksacopyofthisLicense;and
(b)Youmustcauseanymodifiedfilestocarryprominentnotices
statingthatYouchangedthefiles;and
(c)Youmustretain,intheSourceformofanyDerivativeWorks
thatYoudistribute,allcopyright,patent,trademark,and
attributionnoticesfromtheSourceformoftheWork,
excludingthosenoticesthatdonotpertaintoanypartof
theDerivativeWorks;and
(d)IftheWorkincludesa"NOTICE"textfileaspartofits
distribution,thenanyDerivativeWorksthatYoudistributemust
includeareadablecopyoftheattributionnoticescontained
withinsuchNOTICEfile,excludingthosenoticesthatdonot
pertaintoanypartoftheDerivativeWorks,inatleastone
ofthefollowingplaces:withinaNOTICEtextfiledistributed
aspartoftheDerivativeWorks;withintheSourceformor
documentation,ifprovidedalongwiththeDerivativeWorks;or,
withinadisplaygeneratedbytheDerivativeWorks,ifand
whereversuchthird-partynoticesnormallyappear.Thecontents
oftheNOTICEfileareforinformationalpurposesonlyand
donotmodifytheLicense.YoumayaddYourownattribution
noticeswithinDerivativeWorksthatYoudistribute,alongside
orasanaddendumtotheNOTICEtextfromtheWork,provided
thatsuchadditionalattributionnoticescannotbeconstrued
asmodifyingtheLicense.
YoumayaddYourowncopyrightstatementtoYourmodificationsand
mayprovideadditionalordifferentlicensetermsandconditions
foruse,reproduction,ordistributionofYourmodifications,or
foranysuchDerivativeWorksasawhole,providedYouruse,
reproduction,anddistributionoftheWorkotherwisecomplieswith
theconditionsstatedinthisLicense.
5.SubmissionofContributions.UnlessYouexplicitlystateotherwise,
anyContributionintentionallysubmittedforinclusionintheWork
byYoutotheLicensorshallbeunderthetermsandconditionsof
thisLicense,withoutanyadditionaltermsorconditions.
Notwithstandingtheabove,nothinghereinshallsupersedeormodify
thetermsofanyseparatelicenseagreementyoumayhaveexecuted
withLicensorregardingsuchContributions.
6.Trademarks.ThisLicensedoesnotgrantpermissiontousethetrade
names,trademarks,servicemarks,orproductnamesoftheLicensor,
exceptasrequiredforreasonableandcustomaryuseindescribingthe
originoftheWorkandreproducingthecontentoftheNOTICEfile.
7.DisclaimerofWarranty.Unlessrequiredbyapplicablelawor
agreedtoinwriting,LicensorprovidestheWork(andeach
ContributorprovidesitsContributions)onan"ASIS"BASIS,
WITHOUTWARRANTIESORCONDITIONSOFANYKIND,eitherexpressor
implied,including,withoutlimitation,anywarrantiesorconditions
ofTITLE,NON-INFRINGEMENT,MERCHANTABILITY,orFITNESSFORA
PARTICULARPURPOSE.Youaresolelyresponsiblefordeterminingthe
appropriatenessofusingorredistributingtheWorkandassumeany
risksassociatedwithYourexerciseofpermissionsunderthisLicense.
8.LimitationofLiability.Innoeventandundernolegaltheory,
whetherintort(includingnegligence),contract,orotherwise,
unlessrequiredbyapplicablelaw(suchasdeliberateandgrossly
negligentacts)oragreedtoinwriting,shallanyContributorbe
liabletoYoufordamages,includinganydirect,indirect,special,
incidental,orconsequentialdamagesofanycharacterarisingasa
resultofthisLicenseoroutoftheuseorinabilitytousethe
Work(includingbutnotlimitedtodamagesforlossofgoodwill,
workstoppage,computerfailureormalfunction,oranyandall
othercommercialdamagesorlosses),evenifsuchContributor
hasbeenadvisedofthepossibilityofsuchdamages.
9.AcceptingWarrantyorAdditionalLiability.Whileredistributing
theWorkorDerivativeWorksthereof,Youmaychoosetooffer,
andchargeafeefor,acceptanceofsupport,warranty,indemnity,
orotherliabilityobligationsand/orrightsconsistentwiththis
License.However,inacceptingsuchobligations,Youmayactonly
onYourownbehalfandonYoursoleresponsibility,notonbehalf
ofanyotherContributor,andonlyifYouagreetoindemnify,
defend,andholdeachContributorharmlessforanyliability
incurredby,orclaimsassertedagainst,suchContributorbyreason
ofyouracceptinganysuchwarrantyoradditionalliability.
ENDOFTERMSANDCONDITIONS
APPENDIX:HowtoapplytheApacheLicensetoyourwork.
ToapplytheApacheLicensetoyourwork,attachthefollowing
boilerplatenotice,withthefieldsenclosedbybrackets"{}"
replacedwithyourownidentifyinginformation.(Don'tinclude
thebrackets!)Thetextshouldbeenclosedintheappropriate
commentsyntaxforthefileformat.Wealsorecommendthata
fileorclassnameanddescriptionofpurposebeincludedonthe
same"printedpage"asthecopyrightnoticeforeasier
identificationwithinthird-partyarchives.
Copyright{yyyy}{nameofcopyrightowner}
LicensedundertheApacheLicense,Version2.0(the"License");
youmaynotusethisfileexceptincompliancewiththeLicense.
YoumayobtainacopyoftheLicenseat
http://www.apache.org/licenses/LICENSE-2.0
Unlessrequiredbyapplicablelaworagreedtoinwriting,software
distributedundertheLicenseisdistributedonan"ASIS"BASIS,
WITHOUTWARRANTIESORCONDITIONSOFANYKIND,eitherexpressorimplied.
SeetheLicenseforthespecificlanguagegoverningpermissionsand
limitationsundertheLicense.