Skip to content

Instantly share code, notes, and snippets.

View DonsWayo's full-sized avatar

Juan Jose Carracedo DonsWayo

  • A-Safe Digital
  • Malaga
View GitHub Profile
@DonsWayo
DonsWayo / app.js
Created January 31, 2021 22:56
Dkim generator express
const NodeRsa = require('node-rsa');
function generateDkim (bits, domain, selector) {
var key = new NodeRsa({b: bits});
var privateKey = key.exportKey('pkcs8-private-pem');
var publicKey = key.exportKey('pkcs8-public-pem');
const dns =
selector +
'._domainkey.' +
@DonsWayo
DonsWayo / langs.json
Created September 7, 2022 14:10
Langs
[
{
"code":"af",
"name":"Afrikaans (af)"
},
{
"code":"af_NA",
"name":"Afrikaans (Namibia) (af_NA)"
},
{