This is article will show you how to practically implement a license after you have decided which one you are going to use. There are several different methods and people implement them differently. I am going to show you the different ways people have been adding licenses and then what I decided to use.
I will group the methods by license to make things easier and so you can use this article as a reference.
Choose a License has the official ways of implementing licenses and you can get text versions of the full licenses there. They do look a bit different in terms of formatting (indendtations) to some of the others I have see but the wording is the same
The licenses are expresssed in 2 different ways.
This is where you modify work where it already has a copyright and you must leave the copyright inplace.
GPL / MIT
If a copyright has already been expressed you cannot remove that copyright declaration so what a lot of people do is just add their copyright notice below the old one which keeps the same license but adds your copyright claim.
Copyright (C) 20015-2016 Original Author // unchanged Copyright (C) 2017 QuantumwWarp.com
This article tells you about collabaration (already worked on) for GPL -
Apache
I think apache is the same as above but you might be required to make notes of the changes that have been made rather than just add an extra copyright line.
This method also applies to GPLv2 but using the v2 of the license.
Other GPL Family Notes
The following are examples of GPL boilerplate code. There seems to be quite a variety of these code different people use. These companies are respected organisations so the code must be good and I suppose it is personal preference.
My GPLv3
This is the boilerplate I am going to use for my GPLv3 software.
I went with this design because it includes my name and website, it has a small foot print and because I have not put version numbers in I do not have to update the text everytime I upgrade my software, there is also a generic link to the GPL license so I am not stuck with using a particlualr filename for the license (i.e. LICENSE, LICENSE.txt, LICENSE.md)
NB: I need to decide on the license line once I have added it my github repe. apparently it will recognise LICENSE.txt as a license file. I could also then like Divi add extra infor to the top of the license file.
@license GNU/GPLv3 or later; https://www.gnu.org/licenses/gpl.html
or
@license GNU General Public License version 2 or later; see LICENSE.txt
/** * @package QWcrm * @author Jon Brown https://quantumwarp.com/ * @copyright Copyright (C) 2016 - 2017 Jon Brown, All rights reserved. * @license GNU/GPLv3 or later; https://www.gnu.org/licenses/gpl.html */
My GPLv2
The same as above but for GPLv2 software.
/** * @package QWcrm * @author Jon Brown https://quantumwarp.com/ * @copyright Copyright (C) 2016 - 2017 Jon Brown, All rights reserved. * @license GNU/GPLv2 or later; https://www.gnu.org/licenses/gpl-2.0.html */
GNU Official GPLv3 instructions
Attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively state the exclusion of warranty; and each file should have at least the “copyright” line and a pointer to where the full notice is found.
For a one-file program, the statement (for the GPL) should look like this:
<one line to give the program's name and a brief idea of what it does.> Copyright (C) <year> <name of 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 the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
For programs that are more than one file, it is better to replace “this program” with the name of the program, and begin the statement with a line saying “This file is part of NAME”. For instance,
This file is part of Foobar. Foobar is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. Foobar is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with Foobar. If not, see <http://www.gnu.org/licenses/>.
If the program does terminal interaction, make it output a short notice like this when it starts in an interactive mode:
<program> Copyright (C) <year> <name of author> This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details.
Joomla (index.php)
/** * @package Joomla.Site * * @copyright Copyright (C) 2005 - 2016 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt */
Joomla (com_content)
/** * @package Joomla.Site * @subpackage com_content * * @copyright Copyright (C) 2005 - 2016 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt */
Power Content
/** * @package com_epc / Power Content * @version CVS: 1.0.0 * @author Shir Ekerling <shirekerling@gmail.com> * @copyright 2016 Shir Ekerling * @license GNU General Public License version 2 or later; see LICENSE.txt */
Divi Builder
/* * Plugin Name: Divi Builder * Plugin URI: http://elegantthemes.com * Description: A drag and drop page builder for any WordPress theme. * Version: 1.3.10 * Author: Elegant Themes * Author URI: http://elegantthemes.com * License: GPLv2 or later */
Gantry
/** * @package Gantry 5 Theme * @author RocketTheme http://www.rockettheme.com * @copyright Copyright (C) 2007 - 2015 RocketTheme, LLC * @copyright Copyright (C) 2005 - 2015 Open Source Matters, Inc. All rights reserved. * @license GNU/GPLv2 and later * * http://www.gnu.org/licenses/gpl-2.0.html */
AllVideos
/** * @version 4.8.0 * @package AllVideos (plugin) * @author JoomlaWorks - http://www.joomlaworks.net * @copyright Copyright (c) 2006 - 2016 JoomlaWorks Ltd. All rights reserved. * @license GNU/GPL license: http://www.gnu.org/copyleft/gpl.html */
Joomla Forum
A
/** * @package Joomla * @subpackage [PROGRAM] * @copyright (C) [COMPANY] * @license GNU/GPL, see license.txt * [PROGRAM] is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License 2 * as published by the Free Software Foundation. * * [PROGRAM] is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with [PROGRAM]; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA * or see http://www.gnu.org/licenses/. */
B
/** * @package Joomla * @subpackage [PROGRAM] * @copyright (C) [COMPANY] * @license GNU/GPL, see license.txt * [PROGRAM] is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License 2 * as published by the Free Software Foundation. */
C
/** * @package Joomla * @subpackage [PROGRAM] * @copyright (C) [COMPANY] * @license GNU General Public License 2, see license.txt */
Stackoverflow - How to propertly comment a PHP file based on GNU/GPL source
/** * @package GovArticle.Administrator * @subpackage com_govarticle.layouts * @author Artur Stępień (artur@example.pl) * @copyright (C) 2005 - 2015 Open Source Matters. All rights reserved. * @copyright (C) 2015 - Fundacja PCJ Otwarte Źródła * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html * @link http://dostepny.joomla.pl * * Based on com_content layouts from Joomla! */
GitHub - ThinkUp
/** * * ThinkUp/webapp/public.php * * Copyright (c) 2009-2010 Gina Trapani, Jason McPheron, Dash30, Christoffer Viken, Dwi Widiastuti * * LICENSE: * * This file is part of ThinkUp. * * ThinkUp is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * ThinkUp is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with ThinkUp. If not, see <http://www.gnu.org/licenses/>. * */ /** * @author Gina Trapani <ginatrapani[at]gmail[dot]com> * @author Jason McPheron <jason[at]onebigword[dot]com> * @author Dash30 <customerservice[at]dash30[dot]com> * @author Christoffer Viken <christoffer[at]viken[dot]me> * @author Dwi Widiastuti <admin[at]diazuwi[dot]web[dot]id> * @license http://www.gnu.org/licenses/gpl.html * @copyright 2009-2010 Gina Trapani, Jason McPheron, Dash30, Christoffer Viken, Dwi Widiastuti */
Here I will put a collection of licenses where there has been more than 1 author.
Stackoverflow - GPL license. Code reuse
All original material Copyright (C) 2009-2010 author Original file from A: A/foo/foo.h Copyright (C) 1997-2001 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 the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
Or
/* * Copyright (c) 2007 GPL Project Developer Who Made Changes <gpl@example.org> * * This file is free software: you may copy, redistribute and/or modify it * under the terms of the GNU General Public License as published by the * Free Software Foundation, either version 2 of the License, or (at your * option) any later version. * * This file is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. * * This file incorporates work covered by the following copyright and * permission notice: * * Copyright (c) YEARS_LIST, Permissive Contributor1 <contrib1@example.net> * Copyright (c) YEARS_LIST, Permissive Contributor2 <contrib2@example.net> * * Permission to use, copy, modify, and/or distribute this software * for any purpose with or without fee is hereby granted, provided * that the above copyright notice and this permission notice appear * in all copies. * * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE * AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS * OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, * NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */
Stackoverflow - GPL copyright notice when contributing new files
A
/** * Some open source application * Component Bar * (C) 20?? by Scruffy H. Hacker (scruffy@foo.bar) * (C) 20?? by Tobier Hackerson (tobier@foo.bar) * Released under the GPL * * Awesome description here. */
B
/** * My Extension to some open source application * * Copyright 2012 by Tobias Eriksson <author@tobier.se> * * This file is part of some open source application. * * Some open source application is free software: you can redistribute * it and/or modify it under the terms of the GNU General Public * License as published by the Free Software Foundation, either * version 3 of the License, or (at your option) any later version. * * Some open source application is distributed in the hope that it will * be useful, but WITHOUT ANY WARRANTY; without even the implied warranty * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with Foobar. If not, see <http://www.gnu.org/licenses/>. * * @license GPL-3.0+ <http://spdx.org/licenses/GPL-3.0+> */
C
/** * Some open source application * * Copyright 2012 by Tobias Eriksson <author@tobier.se> * Copyright 2010, 2011 by Scruffy H. Hacker <scruffy@foo.bar> * * Licensed under GNU General Public License 3.0 or later. * Some rights reserved. See COPYING, AUTHORS. * * @license GPL-3.0+ <http://spdx.org/licenses/GPL-3.0+> */
Software Freedom - Maintaining Permissive-Licensed Files in a GPL-Licensed Project: Guidelines for Developers
Including unmodified permissive-licensed files. The top of the incorpoated file should look something like this:
/* Copyright (c) YEARS_LIST, Permissive Project Contributor1 <contrib1@example.net> * Copyright (c) YEARS_LIST, Permissive Project Contributor2 <contrib2@example.net> * ... * * Permission to use, copy, modify, and/or distribute this software for * any purpose with or without fee is hereby granted, provided that the * above copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS * SOFTWARE. */
then - 2.2 Adding GPL’d modifications to permissive-licensed files
/* * Copyright (c) 2007 GPL Project Developer Who Made Changes <gpl@example.org> * * This file is free software: you may copy, redistribute and/or modify it * under the terms of the GNU General Public License as published by the * Free Software Foundation, either version 2 of the License, or (at your * option) any later version. * * This file is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. * * This file incorporates work covered by the following copyright and * permission notice: * * Copyright (c) YEARS_LIST, Permissive Contributor1 <contrib1@example.net> * Copyright (c) YEARS_LIST, Permissive Contributor2 <contrib2@example.net> * * Permission to use, copy, modify, and/or distribute this software * for any purpose with or without fee is hereby granted, provided * that the above copyright notice and this permission notice appear * in all copies. * * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE * AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS * OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, * NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */
It is possible to add extra terms to the GPL license should you need to. See below for an example
SobiPro
SobiPro is released under the GNU General Public License V3 Additional Terms according section 7 of GNU/GPL V3 These additional terms refer to SobiPro and its applications (hereinafter referred to as Software) and any updates to Software. "Sobi" and "SobiPro" are trademarks of Sigsiu.NET GmbH. The licensing of the Software under the GPL does not imply a trademark license. Therefore any rights, title and interest in our trademarks remain entirely with Sigsiu.NET GmbH. Except as expressly provided herein, no trademark rights are granted to any trademarks of Sigsiu.NET GmbH. Licensees are granted a limited, non-exclusive right to use the marks "Sobi", "SobiPro" and the SobiPro and Sigsiu.NET logos in connection with unmodified copies of the Software. If the licensee distributes modified copies of the Software, he has to: Replace/remove all terms, images and files containing the marks "Sobi", "SobiPro" and the SobiPro and Sigsiu.NET logos. Remove any code which causes connection to or any kind of load of servers managed by Sigsiu.NET GmbH The terms "Sigsiu", "Sigsiu.NET", "Sobi" and "SobiPro" have to be removed from all visual outputs (front-end and back-end). The copyright notices within the source code files must not be removed and have to be left fully intact. This agreement does not limit user's rights under, or grant user rights that supersede, the license terms of any particular component of the Software. In addition, licensees that modify the Software must give the modified Software a new name that is not confusingly similar to "Sobi" or "SobiPro" and may not distribute it under the names "Sobi" and "SobiPro". The names "Sobi", "SobiPro" and "Sigsiu" must not be used to endorse or promote products derived from this Software without prior written permission of Sigsiu.NET GmbH. If any provision of this agreement is held to be unenforceable, it does not excuse you from the conditions of this License. If the licensee cannot distribute so as to satisfy simultaneously his obligations under this License and any other pertinent obligations, then as a consequence he may not distribute the Software at all.
Divi Builder
/*************************************************************************/ /*************************************************************************/ Copyright 2015 Elegant Themes, Inc. All plugin files are licensed under the GNU Public License 2.0 unless specified as otherwise within the file itself. Some files may be licensed under alternative open source licenses such as MIT, BSD or OFL. Refer to individual files for licensing information. If no license is stated, then the file is placed under the GPL 2.0. You will find a copy of the GPL 2.0 below. /*************************************************************************/ /*************************************************************************/
This Wordpress template license is a 'GPLv2 or later' license but it also 'bundles' third-party resources with their own licenses. I believe these will then form part of the GPLv2 license. This is good example of aggregation but it is possibly an example distributing code with a GPL licensed software but where they keep their own license rather than the viral properties of the parent softwares GPL license.
=== Twenty Seventeen === Contributors: the WordPress team Requires at least: WordPress 4.7 Tested up to: WordPress 4.9-trunk Version: 1.3 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html Tags: one-column, two-columns, right-sidebar, flexible-header, accessibility-ready, custom-colors, custom-header, custom-menu, custom-logo, editor-style, featured-images, footer-widgets, post-formats, rtl-language-support, sticky-post, theme-options, threaded-comments, translation-ready == Description == Twenty Seventeen brings your site to life with header video and immersive featured images. With a focus on business sites, it features multiple sections on the front page as well as widgets, navigation and social menus, a logo, and more. Personalize its asymmetrical grid with a custom color scheme and showcase your multimedia content with post formats. Our default theme for 2017 works great in many languages, for any abilities, and on any device. For more information about Twenty Seventeen please go to https://codex.wordpress.org/Twenty_Seventeen. == Installation == 1. In your admin panel, go to Appearance -> Themes and click the 'Add New' button. 2. Type in Twenty Seventeen in the search form and press the 'Enter' key on your keyboard. 3. Click on the 'Activate' button to use your new theme right away. 4. Go to https://codex.wordpress.org/Twenty_Seventeen for a guide on how to customize this theme. 5. Navigate to Appearance > Customize in your admin panel and customize to taste. == Copyright == Twenty Seventeen WordPress Theme, Copyright 2016 WordPress.org Twenty Seventeen is distributed under the terms of the GNU GPL 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 the Free Software Foundation, either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. Twenty Seventeen bundles the following third-party resources: HTML5 Shiv, Copyright 2014 Alexander Farkas Licenses: MIT/GPL2 Source: https://github.com/aFarkas/html5shiv jQuery scrollTo, Copyright 2007-2015 Ariel Flesler License: MIT Source: https://github.com/flesler/jquery.scrollTo normalize.css, Copyright 2012-2016 Nicolas Gallagher and Jonathan Neal License: MIT Source: https://necolas.github.io/normalize.css/ Font Awesome icons, Copyright Dave Gandy License: SIL Open Font License, version 1.1. Source: http://fontawesome.io/ Bundled header image, Copyright Alvin Engler License: CC0 1.0 Universal (CC0 1.0) Source: https://unsplash.com/@englr?photo=bIhpiQA009k == Changelog == = 1.3 = * Released: June 8, 2017 https://codex.wordpress.org/Twenty_Seventeen_Theme_Changelog#Version_1.3 = 1.2 = * Released: April 18, 2017 https://codex.wordpress.org/Twenty_Seventeen_Theme_Changelog#Version_1.2 = 1.1 = * Released: January 6, 2017 https://codex.wordpress.org/Twenty_Seventeen_Theme_Changelog#Version_1.1 = 1.0 = * Released: December 6, 2016 Initial release
There is only the official boilerplate I have come across and it is straight forward.
To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives.
Copyright [yyyy] [name of copyright owner] Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Some versions of this license do not have 'MIT License' at the top, but you should include it as it helps people identify the license quicker.
MIT License Copyright (c) [year] [fullname] Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
There is no boilerplate because the license is so short it serves as both the license and boilerplate.
This is my research on Git client software, Git server software and Git hosted services.
TL;DR = Use Github
Git is better than SVN for the following reasons and is why I use Git over SVN
Bitbucket | GitLab.com | Github | GitHost (GitLab?) | |
URL | https://bitbucket.org/ | https://about.gitlab.com/gitlab-com/ | https://github.com/ | https://githost.io/ |
Technology | Cloud | Cloud | Cloud | Cloud |
Model | Free / Pro | Free / Pro | Free / Pro | |
Pro Terms | basically $1 per Month User in blocks (10/25/50/100/Unlimited) - Academics can get unlimited account for free | $39 per year per user | The Pro version is billed on the number of Repos you have and they have unlimited collaborators. It is a bout $1 per month per repo in blocks (5/10/20/50) | |
Notes | Get unlimited private and public repositories with Bitbucket. Bitbucket Cloud is free for small teams of 5, integration with JIRA and Mercurial, issue tracking via JIRA, wiki -- 2gb repositry size https://confluence.atlassian.com/bitbucket/what-kind-of-limits-do-you-have-on-repository-file-upload-size-273877699.html, https://blog.bitbucket.org/2014/05/30/repository-size-limits/ | Free unlimited public & private repositories and unlimited collaborators. 10GB Disk Space - Want to start using GitLab? You can easily import your repositories from Bitbucket, GitHub, Gitorious or anywhere else, all in batch!, this is the closet to GitHub, it supports the import of git and the issues, wikis, milestones and labels, it alos looks the closets | inbuilt wiki and issue tracking | This possible is the same as Gitlab but you do not share infrastructure with other users (Single Tenant) |
Bitbucket Server | GitLab CE | Git SCM | git for windows | GitStack | Bonobo Git Server | Gogs - Go Git Service | |
URL | https://bitbucket.org/product/server | https://about.gitlab.com/downloads/ | https://git-scm.com/ | https://git-for-windows.github.io/ | http://gitstack.com/ | https://bonobogitserver.com/ | https://gogs.io/ |
Technology | Windows x64, Linux x64, Mac OS X | Rasberry Pi 2 and other linux distros | Windows, Mac OS X, Linux, Solaris | Windows | Windows | Windows (via IIS) | |
Model | Paid | Free (Single Tenant?) | Free | Free | Free (for small teams) | ||
Pro Terms | $10 1-Time payment for upto 10 Users further tiers available | unlimited users | |||||
Notes | No Issue tracking | a single-tenant solution which means your IP does not share the underlying infrastructure with other customers, opensource, basically linux only and would require VM for windows | I think this is the creators of Git, possible command line only |
We should all know these but I didnt so I have just made a note of the PHP comment characters you can use.
# // /* * */
and in a HTML code block, within a PHP page, you should still use the code below as normal.
<!-- -->
This really is a place holder fopr me to explain PHP in simple terms.
PHP is a combination of
which is oriented around creating HTML and responding to POST and GET requests.
PHP also utilises numbers and text
This allows me to use joomlashine <div class="grid-layout"></div> in the footer. This code was used in the JSN Dona template would I am sure is the same for all of the other templates. It is great for adding in modules or mutliple menus.
/*-- Grid columns in Footer --*/ /* grid columns get squashed in footer */ div#jsn-pos-footer { width: 100% !important; } /* set min width for grid layout */ /* #jsn-footer div.grid-layout4 div.grid-col, - for reference only */ #jsn-footer div[class*="grid-layout"] div.grid-col { min-width: 200px; } /* note this is the total width of the columns -1px */ @media only screen and (max-width: 799px), (max-device-width: 799px) { #jsn-footer div[class*="grid-layout"] div.grid-col { width: 100%; } /* centers all items */ #jsn-footer div[class*="grid-layout"] div.grid-col_inner { text-align: center; } /* centers social icons - i also could add text-align: justify; to the custom html code */ #jsn-footer #jsn-social-icons ul li a { text-align: center; } } /* fix for column min height custom.css 2378 */ @media only screen and (max-width: 768px), (max-device-width: 768px) { div.grid-layout4 div.grid-col { min-height: 1px; } }
I cant remember where I have used this.
/** logo fix / header **/ /* remove large gap above and below - when you have seperated menu and logo */ #jsn-logo a { margin-top: 10px; margin-bottom: 0; } /* make the header sections responsive so they look nice */ @media screen and (max-width: 640px) { #lancastrian-header-left{ float: none !important; text-align: center; } #lancastrian-header-right{ float: none !important; text-align: center; } }
Use this when the module position your want to use does not support horizontal seperation. It requires the code below and the use of the import modules code.
<div style="display: inline-block; width: 30%; min-width: 180px;">{module Footer Menu}</div> <div style="display: inline-block; width: 30%; min-width: 180px;">{module Payments Accepted}</div> <div style="display: inline-block; width: 30%; min-width: 180px;">{module Footer Address}</div>
This is a simple bit of code to add logos in a horizontal line that collapses to a centered column
HTML
<p style="text-align: center;"> <img src="/images/kb/2017/874/quantumwarp-logo.png" alt="QuantumWarp" style="display: inline-block;" /> <img src="/images/kb/2017/874/quantumwarp-logo.png" alt="QuantumWarp" style="display: inline-block;" /> <img src="/images/kb/2017/874/quantumwarp-logo.png" alt="QuantumWarp" style="display: inline-block;" /> </p>
In a world where IPv4 addresses have run out SNI came along to allow multiple SSL certficates to be installed on 1 IP address. The protocol allowing this is SNI. cPanel is quite far behind the rest of the world and browsers in supporting this, however a basic implementation of this is now active in their stable releases. Below I will outline some of the issues I found.
Beacause of the way cPanel handles subdomains and parked domains, a type of virtual host, you can only add a single SSL certificate per cPanel account and this only really supports www and non-www names. I have only verified the following occurs with subdomains but there is a high chance it is the same for parked domains.
When you make any HTTPS request to you website/account then the primary domain, with no subdomain, will be served irrespective of the domain name. This mean that only the content from the primary domain name i.e. https://quantumwarp.com/ will be served and by an accident https://www.quatumwarp.com/ would show the same content which is great for most peopel so they can choose between www and no-www version of their site without have ing to worry. https://search.quantumwarp.com/ would also show the content from https://quantumwarp.com/. Another note about this is that if you goto to https://search.quantumwarp.com/ to stop SSL errors, your SSL certificate need search.quantumwarp.com in its alternate names.
cPanel has support for SNI on mail services which is great but after research it onnly uses the primary domain name i.e. https://quantumwarp.com/.cPanel is going to add support for https://mail.quantumwarp.com/ in future versions.
StartSSL recommends that you set the non-www as the common name of your certificate and add the www version next.
What would I do
create a SSL certificate with the following names. This allows for all HTTPS features to work in cPanel.
quantumwarp.com = Common Name
www.quantumwarp.com
Other names
These are just some of my domain name ideas for the day cPanel properly supports SNI for multiple domains on one account.
This element can be styled like all others and has preset styles by the browser.
/* hr styling */ hr { margin: 20px 0; border: 0; border-top: 1px solid #eee; border-bottom: 1px solid #fff; }