Monero XMR mining via termux ;ubuntu
- install ubuntu in termux command; (ubuntu is optional)
pkg install update && upgrade
apt install git
apt install wget
apt install prootMonero XMR mining via termux ;ubuntu
pkg install update && upgrade
apt install git
apt install wget
apt install proot| import requests | |
| from bs4 import BeautifulSoup | |
| import json | |
| import re | |
| from lxml import etree | |
| HEADERS = {'user-agent': "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) "\ | |
| "Chrome/65.0.3325.181 Safari/537.36"} |
| #define VCC 2 | |
| #define IN 4 | |
| const int HEADER = '@'; | |
| const char TAIL = '%'; | |
| int flag =-1; | |
| void setup() { |
| #conding:utf-8 | |
| import matplotlib.pyplot as plt | |
| import numpy as np | |
| plt.rcParams['font.sans-serif'] = ['SimHei'] | |
| plt.rcParams['axes.unicode_minus'] = False | |
| plt.figure(num=1,figsize=(8,5)) | |
| plt.plot([0,1],[3,3],color='red',linewidth=1.0,linestyle='-') | |
| plt.plot([1,3],[3,1],color='red',linewidth=1.0,linestyle='-') |
| #!/usr/bin/python3 | |
| #-*- coding: utf-8 -*- | |
| import requests | |
| import json | |
| headers = {'User-Agent' : 'Mozilla/4.0 (compatible; MSIE 5.5; Windows NT)'} | |
| def get_daily(): | |
| page = requests.get('http://news-at.zhihu.com/api/3/news/latest', headers=headers).text | |
| response = json.loads(page) |
| #!/usr/bin/python3 | |
| # encoding:utf-8 | |
| import requests | |
| import json | |
| import sys | |
| import argparse | |
| from googletrans import Translator | |
| translator = Translator(service_urls=[ |