_.snippets 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240
  1. # Global snippets
  2. # (c) holds no legal value ;)
  3. snippet c)
  4. Copyright `&enc[:2] == "utf" ? "©" : "(c)"` `strftime("%Y")` ${1:`g:snips_author`}. All Rights Reserved.${2}
  5. snippet date
  6. `strftime("%Y-%m-%d")`
  7. snippet ddate
  8. `strftime("%B %d, %Y")`
  9. snippet time
  10. `strftime("%H:%M")`
  11. snippet lorem
  12. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
  13. snippet GPL2
  14. ${1:One line to give the program's name and a brief description.}
  15. Copyright (C) `strftime("%Y")` ${2:copyright holder}
  16. This program is free software; you can redistribute it and/or modify
  17. it under the terms of the GNU General Public License as published by
  18. the Free Software Foundation; either version 2 of the License, or
  19. (at your option) any later version.
  20. This program is distributed in the hope that it will be useful,
  21. but WITHOUT ANY WARRANTY; without even the implied warranty of
  22. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  23. GNU General Public License for more details.
  24. You should have received a copy of the GNU General Public License
  25. along with this program; if not, write to the Free Software Foundation,
  26. Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
  27. ${3}
  28. snippet LGPL2
  29. ${1:One line to give the program's name and a brief description.}
  30. Copyright (C) `strftime("%Y")` ${2:copyright holder}
  31. This library is free software; you can redistribute it and/or modify
  32. it under the terms of the GNU Lesser General Public License as published
  33. by the Free Software Foundation; either version 2.1 of the License, or
  34. (at your option) any later version.
  35. This library is distributed in the hope that it will be useful,
  36. but WITHOUT ANY WARRANTY; without even the implied warranty of
  37. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  38. GNU Lesser General Public License for more details.
  39. You should have received a copy of the GNU Lesser General Public License
  40. along with this library; if not, write to the Free Software Foundation,
  41. Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
  42. ${3}
  43. snippet GPL3
  44. ${1:one line to give the program's name and a brief description.}
  45. Copyright (C) `strftime("%Y")` ${2:copyright holder}
  46. This program is free software: you can redistribute it and/or modify
  47. it under the terms of the GNU General Public License as published by
  48. the Free Software Foundation, either version 3 of the License, or
  49. (at your option) any later version.
  50. This program is distributed in the hope that it will be useful,
  51. but WITHOUT ANY WARRANTY; without even the implied warranty of
  52. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  53. GNU General Public License for more details.
  54. You should have received a copy of the GNU General Public License
  55. along with this program. If not, see <http://www.gnu.org/licenses/>.
  56. ${3}
  57. snippet LGPL3
  58. ${1:One line to give the program's name and a brief description.}
  59. Copyright (C) `strftime("%Y")` ${2:copyright holder}
  60. This library is free software; you can redistribute it and/or modify
  61. it under the terms of the GNU Lesser General Public License as published
  62. by the Free Software Foundation; either version 3 of the License, or
  63. (at your option) any later version.
  64. This library is distributed in the hope that it will be useful,
  65. but WITHOUT ANY WARRANTY; without even the implied warranty of
  66. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  67. GNU Lesser General Public License for more details.
  68. You should have received a copy of the GNU Lesser General Public License
  69. along with this library; if not, write to the Free Software Foundation,
  70. Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
  71. ${3}
  72. snippet BSD2
  73. ${1:one line to give the program's name and a brief description}
  74. Copyright (C) `strftime("%Y")` ${2:copyright holder}
  75. All rights reserved.
  76. Redistribution and use in source and binary forms, with or without
  77. modification, are permitted provided that the following conditions are met:
  78. 1. Redistributions of source code must retain the above copyright
  79. notice, this list of conditions and the following disclaimer.
  80. 2. Redistributions in binary form must reproduce the above copyright
  81. notice, this list of conditions and the following disclaimer in the
  82. documentation and/or other materials provided with the distribution.
  83. THIS SOFTWARE IS PROVIDED BY $2 ''AS IS'' AND ANY
  84. EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
  85. WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
  86. DISCLAIMED. IN NO EVENT SHALL $2 BE LIABLE FOR ANY
  87. DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
  88. (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
  89. LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
  90. ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
  91. (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
  92. SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  93. The views and conclusions contained in the software and documentation
  94. are those of the authors and should not be interpreted as representing
  95. official policies, either expressedor implied, of $2.
  96. ${4}
  97. snippet BSD3
  98. ${1:one line to give the program's name and a brief description}
  99. Copyright (C) `strftime("%Y")` ${2:copyright holder}
  100. All rights reserved.
  101. Redistribution and use in source and binary forms, with or without
  102. modification, are permitted provided that the following conditions are met:
  103. 1. Redistributions of source code must retain the above copyright
  104. notice, this list of conditions and the following disclaimer.
  105. 2. Redistributions in binary form must reproduce the above copyright
  106. notice, this list of conditions and the following disclaimer in the
  107. documentation and/or other materials provided with the distribution.
  108. 3. Neither the name of the ${3:organization} nor the
  109. names of its contributors may be used to endorse or promote products
  110. derived from this software without specific prior written permission.
  111. THIS SOFTWARE IS PROVIDED BY $2 ''AS IS'' AND ANY
  112. EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
  113. WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
  114. DISCLAIMED. IN NO EVENT SHALL $2 BE LIABLE FOR ANY
  115. DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
  116. (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
  117. LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
  118. ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
  119. (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
  120. SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  121. ${4}
  122. snippet BSD4
  123. ${1:one line to give the program's name and a brief description}
  124. Copyright (C) `strftime("%Y")` ${2:copyright holder}
  125. All rights reserved.
  126. Redistribution and use in source and binary forms, with or without
  127. modification, are permitted provided that the following conditions are met:
  128. 1. Redistributions of source code must retain the above copyright
  129. notice, this list of conditions and the following disclaimer.
  130. 2. Redistributions in binary form must reproduce the above copyright
  131. notice, this list of conditions and the following disclaimer in the
  132. documentation and/or other materials provided with the distribution.
  133. 3. All advertising materials mentioning features or use of this software
  134. must display the following acknowledgement:
  135. This product includes software developed by the ${3:organization}.
  136. 4. Neither the name of the $3 nor the
  137. names of its contributors may be used to endorse or promote products
  138. derived from this software without specific prior written permission.
  139. THIS SOFTWARE IS PROVIDED BY $2 ''AS IS'' AND ANY
  140. EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
  141. WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
  142. DISCLAIMED. IN NO EVENT SHALL $2 BE LIABLE FOR ANY
  143. DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
  144. (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
  145. LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
  146. ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
  147. (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
  148. SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  149. ${4}
  150. snippet MIT
  151. ${1:one line to give the program's name and a brief description}
  152. Copyright (C) `strftime("%Y")` ${2:copyright holder}
  153. Permission is hereby granted, free of charge, to any person obtaining
  154. a copy of this software and associated documentation files (the "Software"),
  155. to deal in the Software without restriction, including without limitation
  156. the rights to use, copy, modify, merge, publish, distribute, sublicense,
  157. and/or sell copies of the Software, and to permit persons to whom the
  158. Software is furnished to do so, subject to the following conditions:
  159. The above copyright notice and this permission notice shall be included
  160. in all copies or substantial portions of the Software.
  161. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
  162. EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
  163. OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
  164. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
  165. DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
  166. TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE
  167. OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  168. ${3}
  169. snippet APACHE
  170. ${1:one line to give the program's name and a brief description}
  171. Copyright `strftime("%Y")` ${2:copyright holder}
  172. Licensed under the Apache License, Version 2.0 (the "License");
  173. you may not use this file except in compliance with the License.
  174. You may obtain a copy of the License at
  175. http://www.apache.org/licenses/LICENSE-2.0
  176. Unless required by applicable law or agreed to in writing, software
  177. distributed under the License is distributed on an "AS IS" BASIS,
  178. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  179. See the License for the specific language governing permissions and
  180. limitations under the License.
  181. ${3}
  182. snippet BEERWARE
  183. ${2:one line to give the program's name and a brief description}
  184. Copyright `strftime("%Y")` ${3:copyright holder}
  185. Licensed under the "THE BEER-WARE LICENSE" (Revision 42):
  186. ${1:`g:snips_author`} wrote this file. As long as you retain this notice you
  187. can do whatever you want with this stuff. If we meet some day, and you think
  188. this stuff is worth it, you can buy me a beer or coffee in return
  189. ${4}
  190. snippet WTFPL
  191. DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
  192. Version 2, December 2004
  193. Copyright `strftime("%Y")` ${1:copyright holder}
  194. Everyone is permitted to copy and distribute verbatim or modified
  195. copies of this license document, and changing it is allowed as long
  196. as the name is changed.
  197. DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
  198. TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION