perloader

Docker

Docker可以认为是vmware或者virtualbox 镜像可以认为是 xxx.iso 容器可以认为是 virtualbox运行xxx.iso后的系统 查看容器 docker ps -a root@li1041-243:~# docker ps -a CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES c3686838ba3d danielguerra/ubuntu-xrdp “/usr/bin/docker-ent…” 6 hours ago Up 6 hours 0.0.0.0:3389->3389/tcp, 9001/tcp, 0.0.0.0:2222->22/tcp uxrdp 进入已经停止运行的容器 docker start container ID docker attach container ID 把修改或运行后的容器再打包为镜像(ISO) 退出容器 查看容器 docker ps -a 把容器打成镜像sudo docker commit -p c3686838ba3d vpsxyz/xrdp:20190218 c3686838ba3d […]

.

Read more

python 识别简单图片里面的文字

from PIL import Image import pytesseract text=pytesseract.image_to_string(Image.open(path + wjjname+’/’+jp)) #print(text) 安装: https://digi.bib.uni-mannheim.de/tesseract/tesseract-ocr-setup-4.00.00dev.exe 并将安装目录:C:\Program Files (x86)\Tesseract-OCR 添加至 C:\Python35\Lib\site-packages\pytesseract\pytesseract.py 文件 如下: # CHANGE THIS IF TESSERACT IS NOT IN YOUR PATH, OR IS NAMED DIFFERENTLY tesseract_cmd = ‘tesseract’ tesseract_cmd = ‘C:/Program Files (x86)/Tesseract-OCR/tesseract.exe’

.

Read more

7O DD安装win10

进入救援模式,选ubuntu, sudo su wget -O- ‘https://mirror.joodle.nl/WindowsServer2016Evaluation-Template.gz’ | gunzip | dd of=/dev/sda Username: Administrator Password: Password147 Windows Server 2016从Evaluation评估版转换成正式版 开始—运行—CMD(管理员模式); DISM /online /Set-Edition:ServerStandard /ProductKey:WC2BQ-8NRM3-FDDYY-2BFGV-KHKQY /AcceptEula 重启 wget -O- ‘https://mirror.joodle.nl/window10-2018-12-x64.gz’ | gunzip | dd of=/dev/sda Username: User Password: Abc123 Please change the password as soon as you login. Install drivers from c:\drivers then delete the drivers folder. […]

.

Read more

selenium语法

http://www.lianschedule.site/457 https://www.zybuluo.com/mwumli/note/222253 编码 #coding=utf-8 # coding=gbk 导入开发包 from selenium import webdriver 获得浏览器对象 driver=webdriver.Firefox() driver=webdriver.Ie() driver=webdriver.Chrome() 定位 find_element_by_id(“xx”) find_element_by_name(“xx”) find_element_by_class_name(“xx”) find_element_by_tag_name(“xx”) find_element_by_link_text(“xx”) find_element_by_parial_link_text(“xx”) find_element_by_xpath(“/html/body/div/div[2]/div/form/span/input”) find_element_by_xpath(“//input[@id=’xx’]”) find_element_by_xpath(“//input[@name=’xx’]”) find_element_by_xpath(“//class[@class=’xx’]”) find_element_by_xpath(“//*[@id=’xx’]”)//不仅id,name,class其他属性皆可 find_element_by_xpath(“//span[@id=’xx’]/input”) find_element_by_xpath(“//input[@id=’xx’ and @class=’xx’]”) find_element_by_css_selector(“#xx”)//id属性find_element_by_css_selector(“.xxx”)//class属性 find_element_by_css_selector(“xxx”)//标签名 find_element_by_css_selector(“span>input”)//父子关系 find_element_by_css_selector(“[name=xxx]”)//不仅name属性,其他属性皆可 find_element_by_css_selector(“span#a>input#b”)//组合定位 定位一组元素 find_elements_by_id(“xx”) find_elements_by_name(“xx”) find_elements_by_class_name(“xx”) find_elements_by_tag_name(“xx”) find_elements_by_link_text(“xx”) find_elements_by_parial_link_text(“xx”) find_elements_by_xpath(“/html/body/div/div[2]/div/form/span/input”) find_elements_by_xpath(“//input[@id=’xx’]”) find_elements_by_xpath(“//input[@name=’xx’]”) find_elements_by_xpath(“//class[@class=’xx’]”) find_elements_by_xpath(“//*[@id=’xx’]”)//不仅id,name,class其他属性皆可 find_elements_by_xpath(“//span[@id=’xx’]/input”) find_elements_by_xpath(“//input[@id=’xx’ and @class=’xx’]”) find_elements_by_css_selector(“#xx”)//id属性find_elements_by_css_selector(“.xxx”)//class属性 find_elements_by_css_selector(“xxx”)//标签名 find_elements_by_css_selector(“span>input”)//父子关系 […]

.

Read more

FINANCE(23)/FINANCE(19)>0.1 AND FINANCE(42)>365 净资产收益率=净利润/净资产,净资产收益率在10%以上,上市一年以上

.

Read more

linux 图形化桌面工具

debian 7 x64 ubuntu 16 x64 apt-get update apt-get install xorg xrdp lxde firefox   然后就可以用WIN的远程桌面连接机子的3389了,用户名是root

.

Read more

MySQL 创建定时任务

查看是否开启 show variables like ‘%sche%’; 开启 set global event_scheduler =1; 查看已经存在的定时任务 SELECT * FROM information_schema.EVENTS;   use database; create event test on schedule every 60 second do [something];   UPDATE `Files` SET `usr_id`=8362 WHERE `usr_id`=0 AND `file_created` BETWEEN ‘2018-01-16 00:00:00.000000’ AND ‘2019-01-02 08:00:00.000000’   via https://segmentfault.com/a/1190000005142597

.

Read more

DDCC

ipstresser.com webstresser.org

.

Read more

兑换商

Exchange webmoney and paypal http://exwp.com/index_en.html 汇率最佳,24h到帐,已兑换1500 WMZ Exchange BTC to WMZ https://btc2wm.me/ BTC to CNY https://www.alfacashier.com/ BTC to CNY https://www.megachange.is/en/

.

Read more

SQL服务器搭建

Ubuntu 16.04.2 LTS sudo apt-get update sudo apt-get install apache2 sudo systemctl restart apache2 sudo apt-get install mysql-server mysql_secure_installation sudo apt-get install php libapache2-mod-php php-mcrypt php-mysql sudo apt install unzip #sudo apt-get install php-mbstring cd /var/www/html/ wget https://files.phpmyadmin.net/phpMyAdmin/4.7.6/phpMyAdmin-4.7.6-all-languages.zip unzip -x *.zip mv phpMyAdmin-4.7.6-all-languages phpmyadmin sudo systemctl restart apache2 /sbin/iptables -I INPUT -p tcp –dport 3306 […]

.

Read more
xyz