This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
build: | |
docker build -t lrutten/erlang . | |
network-create: | |
docker network create lokaal | |
network-ls: | |
docker network ls | |
erl1: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM erlang:19.1.6 | |
RUN apt-get update | |
RUN apt-get install -y dnsutils | |
EXPOSE 4000-50000 | |
CMD [erl] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<title>Teller!</title> | |
<!-- Latest compiled and minified CSS --> | |
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
INCLUDE_DIRECTORIES(/usr/local/wt/include) | |
#LINK_DIRECTORIES(/usr/local/lib) | |
ADD_EXECUTABLE(lijnwt2d | |
dieptelijnen.cpp | |
dieptemeting.cpp | |
driehoek.cpp | |
meting.cpp | |
punt.cpp | |
strook.cpp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <Wt/WApplication> | |
#include <Wt/WContainerWidget> | |
#include <Wt/WPaintDevice> | |
#include <Wt/WPaintedWidget> | |
#include <Wt/WPainter> | |
#include <Wt/WBrush> | |
#include <Wt/WColor> | |
#include <Wt/WPen> | |
#include <Wt/WPointF> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdlib.h> | |
#include <stdio.h> | |
struct point | |
{ | |
int x; | |
int y; | |
point() | |
{ |