Skip to content

Instantly share code, notes, and snippets.

View wilk's full-sized avatar

Vincenzo Ferrari wilk

View GitHub Profile
@tbjers
tbjers / __tests__-campaigns.test.js
Created October 26, 2017 00:00
Basics of Jest coverage with Typescript
import * as jestPlugin from 'serverless-jest-plugin';
import * as mod from './../handlers/campaigns/handler';
const lambdaWrapper = jestPlugin.lambdaWrapper;
const wrapped = lambdaWrapper.wrap(mod, { handler: 'campaigns' });
describe('λ: campaigns', () => {
beforeAll(done => {
done();
});
@alejandro-martin
alejandro-martin / multiple-ssh-keys-git.adoc
Last active October 15, 2025 11:52
Configure multiple SSH Keys for Git

Use Multiple SSH Keys for Git host websites (Github, Gitlab)

This is guide about how to configure multiple SSH keys for some Git host websites such as Github, Gitlab, among others.

Creating SSH keys

  1. Create SSH directory: