Skip to content

yxiao168/small-test-tasks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

small test tasks

email request


    - Write a Docker file for nodeJS application ( https://github.com/heroku/node-js-getting-started ). Make sure to use all the Best Practices for Docker, it will be evaluated.
    - Prepare a docker-compose with Loki, Grafana, Promtail and nodeJS application ( https://github.com/heroku/node-js-getting-started ). Setup log collection from nodeJS application.
    - Write a simple script (in any language) that will print the numbers from 0 to 100 and convert every tenth to a wordy version.

small test tasks

Pack and unpack the archive

Pack and unpack the archive

$ tar -czvf /tmp/ARIVAL.tar.gz ARIVAL
$ 

Unpack and unpack the archive

$ pwd
/home/yxiao/Installs
$ ls
$ tar xvfz /tmp/ARIVAL.tar.gz 
$ tree
.
└── ARIVAL
    ├── 01
    │   ├── 01.md
    │   └── node-js-getting-started
    │       ├── app.json
    │       ├── Dockerfile
    │       ├── index.js
    │       ├── package.json
    │       ├── Procfile
    │       ├── public
    │       │   ├── lang-logo.png
    │       │   ├── node.svg
    │       │   └── stylesheets
    │       │       └── main.css
    │       ├── README.md
    │       ├── test.js
    │       └── views
    │           ├── pages
    │           │   ├── db.ejs
    │           │   └── index.ejs
    │           └── partials
    │               ├── header.ejs
    │               └── nav.ejs
    ├── 02
    │   ├── 02.log
    │   ├── 02.md
    │   ├── docker-compose.yml
    │   ├── grafana-data
    │   ├── grafana_web.gif
    │   ├── loki-config
    │   │   └── local-config.yaml
    │   ├── node-js-getting-started
    │   │   ├── app.json
    │   │   ├── Dockerfile
    │   │   ├── index.js
    │   │   ├── package.json
    │   │   ├── Procfile
    │   │   ├── public
    │   │   │   ├── lang-logo.png
    │   │   │   ├── node.svg
    │   │   │   └── stylesheets
    │   │   │       └── main.css
    │   │   ├── README.md
    │   │   ├── test.js
    │   │   └── views
    │   │       ├── pages
    │   │       │   ├── db.ejs
    │   │       │   └── index.ejs
    │   │       └── partials
    │   │           ├── header.ejs
    │   │           └── nav.ejs
    │   ├── node-js-getting-started_web.gif
    │   └── promtail-config
    │       └── config.yml
    ├── 03
    │   ├── 03.md
    │   ├── requirements.txt
    │   └── wordy1in10.py
    └── README.md

19 directories, 40 files

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages