##mailinglists
##list of speakers
| <?php | |
| class kirbytextExtended extends kirbytext { | |
| function __construct($text, $markdown=true) { | |
| parent::__construct($text, $markdown); | |
| // define custom tags | |
| $this->addTags('figure'); |
| #!/bin/bash | |
| # Number of seconds we wait after a file is received before we consider the | |
| # batch to be completed. | |
| TIMEOUT=2 | |
| # Title of the tab in Kaleidoscope | |
| LABEL="P4V ksdiff-batch" | |
| # FIFO we communicate with the "batch master" for. | |
| fifo="/tmp/ksdiff-batch-$USER" |
##mailinglists
##list of speakers
I've moved this doc to:
| #!/bin/sh | |
| # Configure homebrew permissions to allow multiple users on MAC OSX. | |
| # Any user from the admin group will be able to manage the homebrew and cask installation on the machine. | |
| # allow admins to manage homebrew's local install directory | |
| chgrp -R admin /usr/local | |
| chmod -R g+w /usr/local | |
| # allow admins to homebrew's local cache of formulae and source files | |
| chgrp -R admin /Library/Caches/Homebrew |
One machine, several git identities (personal vs work, GitHub vs GitLab, two accounts on one provider). Each repository picks its own name, email and credentials. In a hurry: Appendix B, once per rule.
A wrong identity does not fail: git commits and pushes under the wrong author. Part 1 ends with the check that catches it.
| Feature | Minimum git |
|---|
| // remove the first instance of an item inside an array (extends native array object) | |
| if (!Array.prototype.remove) { | |
| Array.prototype.remove = function remove (item) { // eslint-disable-line no-extend-native | |
| if (!(this || Array.isArray(this))) { | |
| throw new TypeError() | |
| } | |
| if (this.indexOf(item) !== -1) { | |
| this.splice(this.indexOf(item), 1) | |
| return this |