Skip to content

Instantly share code, notes, and snippets.

View advename's full-sized avatar

Lars advename

View GitHub Profile
import tls from "tls";
import crypto from "crypto";
/**
* CPR Direkte Interface (NodeJS)
*
* CPR Direkte allows for personal data retrieval (Address, Maritial Status,...) from the Danish CPR register.
*
* Unlike other service interfaces, CPR Direkte has no REST API endpoints.
* The connection is made using TCP/IP protocol.
* To quickly understand what this means, a connection to a CPR Direkte
@advename
advename / nginx-lemp-config-file.md
Last active February 19, 2020 19:55
NGINX LEMP config file

NGINX LEMP config file

This is a basic configuration file for NGINX

server {
        listen 80 default_server;
        listen [::]:80 default_server;

        root /var/www/html;
        client_max_body_size 256M;