View vcard2org-contacts.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
# Written by Titus von der Malsburg <malsburg@posteo.de>, March 2014. | |
# This is a simple script for converting vCard files to | |
# org-contacts. There is one mandatory argument: the name of the | |
# vCard file. The result is printed to standard out. | |
# Usage: |
View test-jsdoc.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Build logger stream configuration by type, for 'file' and 'rotate' | |
* additionally save a log for error levels. | |
* @private | |
* @param {string} type - Supported types are 'file', 'rotate' and 'stream' | |
* if it's not specified or is false the stream will disabled | |
* @param {object} options - the parameters for define a stream | |
* @param {string} [options.name] - An optional instance name of alert `emailStream` | |
* @param {(boolean|object|string[])} [options.alerts] - if `alerts` is `true` and `alertsEmails`... | |
* @param {object} options.config - server configuration with logger options, see {@link Logger#setup} |