- Do you have an Github account ? If not create one.
- Install required tools
- Latest Git Client
- gpg tools
# Ubuntu
sudo apt-get install gpa seahorse
# MacOS with https://brew.sh/
| public function __construct( | |
| \<Vendor>\<ModuleName>\Helper\HelperName $helperName, | |
| array $data = [] | |
| ) { | |
| $this->_helperName = $helperName; | |
| } |
# Ubuntu
sudo apt-get install gpa seahorse
# MacOS with https://brew.sh/
| { | |
| "name": "project-name", | |
| "description": "Template for static sites", | |
| "version": "1.0.0", | |
| "homepage": "http://www.project-name.com", | |
| "author": { | |
| "name": "Adam Reis", | |
| "url": "http://adam.reis.nz" | |
| }, | |
| "license": "UNLICENSED", |
| /** | |
| * This function will build and return an array of all parent category id's that an article belongs to. | |
| * Written by René Kreijveld, email [at] renekreijveld.nl | |
| * 22-feb-2017 | |
| * | |
| * Example function call for an article with id = 100: | |
| * $parentCategories = $this->getCategories(100, 0); | |
| * | |
| */ | |
| private function getCategories($artId, $catId) |
Last updated March 13, 2024
This Gist explains how to sign commits using gpg in a step-by-step fashion. Previously, krypt.co was heavily mentioned, but I've only recently learned they were acquired by Akamai and no longer update their previous free products. Those mentions have been removed.
Additionally, 1Password now supports signing Git commits with SSH keys and makes it pretty easy-plus you can easily configure Git Tower to use it for both signing and ssh.
For using a GUI-based GIT tool such as Tower or Github Desktop, follow the steps here for signing your commits with GPG.
| <?php | |
| /** | |
| * gencodes.php | |
| * | |
| * This Joomla CLI script can generate unique codes of a predefined length. | |
| * The codes are written to standard output. | |
| * | |
| * Modify the value of variables $how_many and $code_length to your liking. | |
| * | |
| * Installation: upload this file to your Joomla CLI folder. |
| <html> | |
| <head> | |
| <title>Responsive Table</title> | |
| <meta charset="UTF-8"> | |
| <meta name="description" content="How to create a responsive table"> | |
| <meta name="keywords" content="HTML,CSS"> | |
| <meta name="author" content="Martine Dowden"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <style> |