#include <iostream>
using namespace std;
int main(){
cout<<"Hello World"<
This file contains hidden or 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
| # This image is build for using KuCoin API Document | |
| # Based on Ruby on Rails, using slate from Repo | |
| FROM ruby:2.7.6-buster | |
| EXPOSE 4567 | |
| WORKDIR /root | |
| RUN apt-get update && apt-get install -y --no-install-recommends build-essential git nodejs vim && gem install bundler && git clone https://gitlab.com/DynastyKids/kucoin-api-docs.git && cd /root/kucoin-api-docs && bundle install && apt-get remove -y build-essential && apt-get autoremove -y && rm -rf /var/lib/apt/lists/* | |
| WORKDIR /root/kucoin-api-docs |
This file contains hidden or 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 ubuntu:focal | |
| EXPOSE 8765 | |
| WORKDIR /root | |
| RUN apt update && export DEBIAN_FRONTEND=noninteractive && apt install -yq php php-mysql php-mbstring php-xml php-xmlrpc php-intl composer && composer create-project --prefer-dist cakephp/app:^3.10 cakephp3_project | |
| WORKDIR /root/cakephp3_project | |
| CMD /root/cakephp3_project/bin/cake server -p 8765 | |
| ## Using host.docker.internal for Docker MySQL connection hostname |
This file contains hidden or 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
| #!/bin/bash | |
| ## Check if user is the super user | |
| if [ $UID -ne 0 ]; then | |
| echo "Superuser privileges are required to run this script." | |
| echo "Please run: \"sudo $0\"" | |
| exit 1 | |
| fi | |
| echo -e "\n\nUpdating Repository Information prepare for install\n\n" | |
| sudo apt-get update |
This file contains hidden or 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
| /* | |
| Read a list of integers from standard input. | |
| Find all pairs of numbers in the list whose product is greater than the sum of the list. | |
| Print out a formatted list of the pairs. | |
| For example: | |
| The list: 3, 10, 4, 9, 8, 7 | |
| You have to find all pairs of numbers that multiply to more than (3+10+4+9+8+7) = 41. | |
| These are (10, 9), (10, 8), (10, 7), (9, 8), (8, 7), but not (3, 10) and (10, 4), for example. | |
| */ |