From e096d0e191d5cffba7e1cf7fb22aac816351a4ce Mon Sep 17 00:00:00 2001 From: Louis Pilfold Date: Sun, 14 Dec 2014 10:45:47 +0000 Subject: [PATCH] Use g:snip_author in LICENCE snips --- snippets/_.snippets | 35 ++++++++++++++++++----------------- 1 file changed, 18 insertions(+), 17 deletions(-) diff --git a/snippets/_.snippets b/snippets/_.snippets index 0f539f5..bdc34c5 100644 --- a/snippets/_.snippets +++ b/snippets/_.snippets @@ -15,7 +15,7 @@ snippet lorem 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. snippet GPL2 ${1:One line to give the program's name and a brief description.} - Copyright (C) `strftime("%Y")` ${2:copyright holder} + Copyright (C) `strftime("%Y")` ${2:`g:snips_author`} This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -33,7 +33,7 @@ snippet GPL2 ${0} snippet LGPL2 ${1:One line to give the program's name and a brief description.} - Copyright (C) `strftime("%Y")` ${2:copyright holder} + Copyright (C) `strftime("%Y")` ${2:`g:snips_author`} This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published @@ -51,7 +51,7 @@ snippet LGPL2 ${0} snippet GPL3 ${1:one line to give the program's name and a brief description.} - Copyright (C) `strftime("%Y")` ${2:copyright holder} + Copyright (C) `strftime("%Y")` ${2:`g:snips_author`} This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -69,7 +69,7 @@ snippet GPL3 ${0} snippet LGPL3 ${1:One line to give the program's name and a brief description.} - Copyright (C) `strftime("%Y")` ${2:copyright holder} + Copyright (C) `strftime("%Y")` ${2:`g:snips_author`} This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published @@ -87,7 +87,7 @@ snippet LGPL3 ${0} snippet AGPL3 ${1:one line to give the program's name and a brief description.} - Copyright (C) `strftime("%Y")` ${2:copyright holder} + Copyright (C) `strftime("%Y")` ${2:`g:snips_author`} This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as @@ -105,7 +105,7 @@ snippet AGPL3 ${0} snippet BSD2 ${1:one line to give the program's name and a brief description} - Copyright (C) `strftime("%Y")` ${2:copyright holder} + Copyright (C) `strftime("%Y")` ${2:`g:snips_author`} All rights reserved. Redistribution and use in source and binary forms, with or without @@ -135,7 +135,7 @@ snippet BSD2 ${0} snippet BSD3 ${1:one line to give the program's name and a brief description} - Copyright (C) `strftime("%Y")` ${2:copyright holder} + Copyright (C) `strftime("%Y")` ${2:`g:snips_author`} All rights reserved. Redistribution and use in source and binary forms, with or without @@ -163,7 +163,7 @@ snippet BSD3 ${0} snippet BSD4 ${1:one line to give the program's name and a brief description} - Copyright (C) `strftime("%Y")` ${2:copyright holder} + Copyright (C) `strftime("%Y")` ${2:`g:snips_author`} All rights reserved. Redistribution and use in source and binary forms, with or without @@ -194,7 +194,7 @@ snippet BSD4 ${0} snippet MIT ${1:one line to give the program's name and a brief description} - Copyright (C) `strftime("%Y")` ${2:copyright holder} + Copyright (C) `strftime("%Y")` ${2:`g:snips_author`} Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), @@ -217,7 +217,7 @@ snippet MIT ${0} snippet APACHE ${1:one line to give the program's name and a brief description} - Copyright `strftime("%Y")` ${2:copyright holder} + Copyright `strftime("%Y")` ${2:`g:snips_author`} Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -233,21 +233,20 @@ snippet APACHE ${0} snippet BEERWARE - ${2:one line to give the program's name and a brief description} - Copyright `strftime("%Y")` ${3:copyright holder} + ${1:one line to give the program's name and a brief description} + Copyright `strftime("%Y")` ${2:`g:snips_author`} Licensed under the "THE BEER-WARE LICENSE" (Revision 42): - ${1:`g:snips_author`} wrote this file. As long as you retain this notice you + $2 wrote this file. As long as you retain this notice you can do whatever you want with this stuff. If we meet some day, and you think this stuff is worth it, you can buy me a beer or coffee in return ${0} - snippet WTFPL DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE Version 2, December 2004 - Copyright `strftime("%Y")` ${0:copyright holder} + Copyright `strftime("%Y")` ${0:`g:snips_author`} Everyone is permitted to copy and distribute verbatim or modified copies of this license document, and changing it is allowed as long @@ -257,9 +256,11 @@ snippet WTFPL TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 0. You just DO WHAT THE FUCK YOU WANT TO. + + ${0} snippet MPL2 - ${2:one line to give the program's name and a brief description} - Copyright `strftime("%Y")` ${3:`g:snips_author`} + ${1:one line to give the program's name and a brief description} + Copyright `strftime("%Y")` ${2:`g:snips_author`} This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this