http://www.oracle.com/technetwork/topics/linuxx86-64soft-092277.html
Download files:
| # | |
| # Create this file in the following folder docker/mysql/docker-entrypoint-initdb.d | |
| # | |
| CREATE DATABASE IF NOT EXISTS `test_1` COLLATE 'utf8_general_ci' ; | |
| GRANT ALL ON `test_1`.* TO 'root'@'%' ; | |
| CREATE DATABASE IF NOT EXISTS `test_2` COLLATE 'utf8_general_ci' ; | |
| GRANT ALL ON `test_2`.* TO 'root'@'%' ; |
| const axios = require('axios').default; | |
| axios.interceptors.request.use(x => { | |
| const headers = { | |
| ...x.headers.common, | |
| ...x.headers[x.method], | |
| ...x.headers | |
| }; |
| cache: | |
| paths: | |
| - node_modules/ | |
| - .yarn | |
| stages: | |
| - build | |
| - test | |
| - deploy | |
| build: | |
| image: node:10 |
| /* | |
| CodeSignal Add Two Digits Problem: | |
| You are given a two-digit integer n. Return the sum of its digits. | |
| Example | |
| For n = 29, the output should be | |
| addTwoDigits(n) = 11. |
| <?php | |
| class Pipeline | |
| { | |
| public static function make_pipeline() | |
| { | |
| $funcs = func_get_args(); | |
| return function($arg) use ($funcs) | |
| { | |
| foreach($funcs as $function) { | |
| if(!isset($value)) |
| server { | |
| listen 80 default_server; | |
| listen [::]:80 default_server; | |
| root /home/ubuntu/project/public; | |
| index index.php index.html; | |
| server_name _; |