上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 15 下一页
摘要: 主要使用的是wkhtmltopdf的Python封装——pdfkit centos环境 安装:Install python-pdfkit 安装:Install wkhtmltopdf windows环境下安装wkhtmltopdf参考这篇文章: 我们也可以传递一个url或者文件名列表: 也可以传递一 阅读全文
posted @ 2019-02-21 20:29 睡到自然醒ccc 阅读(1662) 评论(0) 推荐(0) 编辑
摘要: captalize() 函数 功能 将一个字符串的第一个字母大写 用法 str.captalize() 参数 无 返回值 string 示例代码 str = "hello world!" print "str.capitalize(): ", str.capitalize() 运行结果 tr.cap 阅读全文
posted @ 2019-02-20 10:26 睡到自然醒ccc 阅读(195) 评论(0) 推荐(0) 编辑
摘要: #for循环之二分查找 def seek(targe=66,arr=[11,22,33,68],left=0,right=3): while lefttarge: right=mid-1 #seek(targe,arr,left,right) else: left=mid+1 ... 阅读全文
posted @ 2019-02-19 07:45 睡到自然醒ccc 阅读(225) 评论(0) 推荐(0) 编辑
摘要: 1.购买国外服务器 2.安装shadowsocks https://www.coding996.com/install-shadowsocks-on-centos-7/ 3.服务端下载地址 https://github.com/shadowsocks/shadowsocks-windows/rele 阅读全文
posted @ 2019-01-25 20:07 睡到自然醒ccc 阅读(2) 评论(0) 推荐(0) 编辑
摘要: 安装: https://qizhanming.com/blog/2018/08/06/how-to-install-nginx-on-centos-7 启动 启动代码格式:nginx安装目录地址 -c nginx配置文件地址 例如: [root@LinuxServer sbin]# /usr/loc 阅读全文
posted @ 2019-01-09 14:29 睡到自然醒ccc 阅读(663) 评论(0) 推荐(0) 编辑
摘要: 1.定位到文件夹 Windows: %APPDATA%\syntevo\SmartGit\OS X: ~/Library/Preferences/SmartGit/Unix/Linux: ~/.smartgit/ 2、进入到安装目录把Setting.xml 文件删除然后,再次打开就可以正常使用了。 阅读全文
posted @ 2018-11-21 14:52 睡到自然醒ccc 阅读(634) 评论(0) 推荐(0) 编辑
摘要: 启动方法: 阅读全文
posted @ 2018-11-21 14:48 睡到自然醒ccc 阅读(179) 评论(0) 推荐(0) 编辑
摘要: [?25l 当前系统时间 Tasks: 552 total, 1 running, 510 sleeping, 0 stopped, 0 zombie 任务(进程) 系统现在共有552个进程,其中处于运行中的有1个,510个在休眠(sleep),stoped状态的有0个,zombie状态(僵尸)的有0个。 Mem: 5849960k total, ... 阅读全文
posted @ 2018-11-14 14:51 睡到自然醒ccc 阅读(6622) 评论(1) 推荐(1) 编辑
摘要: from selenium import webdriver import time browser=webdriver.Chrome() browser.maximize_window() # 窗口最大化 browser.get('https://www.baidu.com') # 在当前浏览器中访问百度 # 新开一个窗口,通过执行js来新开一个窗口 js='window.open("ht... 阅读全文
posted @ 2018-11-13 19:18 睡到自然醒ccc 阅读(1601) 评论(0) 推荐(0) 编辑
摘要: 进入到注册表内 命令:regedit 进入到路径:计算机\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MySQL 修改路径为:"E:\ycc\xampp\mysql\bin\mysqld" --defaults-file="E:\ycc\ 阅读全文
posted @ 2018-11-08 14:47 睡到自然醒ccc 阅读(1593) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 15 下一页