Development

0

Docker containers on Windows

Installing Docker Community Edition for Windows starts with: https://store.docker.com/editions/community/docker-ce-desktop-windows You can find documentation here: https://docs.docker.com/docker-for-windows/ Important note: Docker for Windows...

0

macOS – lock your machine

To lock your machine when leaving your desk, you can use Control + Shift + Eject (if available) Source: https://www.cnet.com/how-to/7-ways-to-lock-your-macbook/

0

macOS – minimize current window

To minimize the current window in macOS, use Command + M. Source: https://apple.stackexchange.com/questions/24185/can-an-app-window-be-minimized-by-clicking-its-dock-icon

0

Adding SSL to your Server

Commands to run for Apache, in Ubuntu 16.04: sudo apt-get update sudo apt-get install software-properties-common sudo add-apt-repository ppa:certbot/certbot sudo apt-get...

0

Jest testing useful commands

The setup, enable the jest command in the console: npm install -g jest-cli Run a single test with detailed output: jest...

0

Quick command to stop all docker container

This is the command to use when you want to stop all your docker containers:

For Windows:

Sources:...

0

Modifications needed in .htaccess for cross domain access

You can use the following as a starting point:

X-Access-Token, X-New-Access-Token are my application headers. Source: http://www.9lessons.info/2016/05/create-token-based-restful-services.html

0

hapi.js – a node.js API helper

While browsing for new and exciting libraries, I have stumbled upon Hapi: https://hapijs.com/ Hapi is a node.js framework aimed at...