Skip to content

Instantly share code, notes, and snippets.

@prabirshrestha
Created October 16, 2010 11:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save prabirshrestha/629705 to your computer and use it in GitHub Desktop.
Save prabirshrestha/629705 to your computer and use it in GitHub Desktop.
Resharper LiveTemplate for BsdLicense
<TemplatesExport family="Live Templates">
<Template uid="794587b4-3bf5-4e82-83a7-525babed327f" shortcut="bsdlicense" description="BSD License" text="/**&#xD;&#xA;=====================================================================================&#xD;&#xA;$ProjectName$ is intended to be used in both open-source and commercial environments.&#xD;&#xA;=====================================================================================&#xD;&#xA;3-clause license (&quot;New BSD License&quot;)&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;Copyright (c) $Year$, $Author$&#xD;&#xA;All rights reserved.&#xD;&#xA;&#xD;&#xA;Redistribution and use in source and binary forms, with or without&#xD;&#xA;modification, are permitted provided that the following conditions are met:&#xD;&#xA;&#xD;&#xA; * Redistributions of source code must retain the above copyright&#xD;&#xA; notice, this list of conditions and the following disclaimer.&#xD;&#xA; * Redistributions in binary form must reproduce the above copyright&#xD;&#xA; notice, this list of conditions and the following disclaimer in the&#xD;&#xA; documentation and/or other materials provided with the distribution.&#xD;&#xA; * Neither the name of the $Author$ nor the names of its&#xD;&#xA; contributors may be used to endorse or promote products&#xD;&#xA; derived from this software without specific prior written permission.&#xD;&#xA;&#xD;&#xA;THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS &quot;AS IS&quot; AND&#xD;&#xA;ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED&#xD;&#xA;WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE&#xD;&#xA;DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR &#xD;&#xA;ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES&#xD;&#xA;(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;&#xD;&#xA;LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND&#xD;&#xA;ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT&#xD;&#xA;(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS&#xD;&#xA;SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.&#xD;&#xA;**/" reformat="True" shortenQualifiedReferences="True">
<Categories />
<Variables>
<Variable name="ProjectName" expression="getSolutionName()" initialRange="0" />
<Variable name="Author" expression="" initialRange="0" />
<Variable name="Year" expression="getCurrentDate(&quot;yyyy&quot;)" initialRange="0" />
</Variables>
<CustomProperties />
</Template>
</TemplatesExport>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment