Skip to content

Instantly share code, notes, and snippets.

Avatar

Camilo QS vxcamiloxv

View GitHub Profile
@vxcamiloxv
vxcamiloxv / vcard2org-contacts.py
Created December 29, 2018 17:38 — forked from tmalsburg/vcard2org-contacts.py
A simple script for converting vCard files to org-contacts.
View vcard2org-contacts.py
#!/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:
@vxcamiloxv
vxcamiloxv / test-jsdoc.js
Created November 22, 2017 17:41
JSDoc example
View test-jsdoc.js
/**
* 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}