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 alpine:3.8 as base | |
WORKDIR /home/app | |
EXPOSE 3000 | |
CMD [ "npm", "start" ] | |
RUN apk add --update --no-cache \ | |
python3 \ | |
ffmpeg \ | |
nodejs \ |
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
import time | |
import requests | |
url_format = "https://permanent-redirect.xyz/pages/{}" | |
last_epoch = 0 | |
while True: | |
epoch = int(time.time()) |
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
import itertools | |
''' | |
4 * € 2,- | |
2 * € 1,- | |
8 * € 0,50 | |
1 * € 0,20 | |
4 * € 0,10 | |
3 * € 0,05 | |
Hoeveel unieke bedragen kun je maken met min. 1 en max. 5 munten? |