上一页 1 2 3 4 5 6 ··· 11 下一页
摘要: 克隆 (git clone https://github.com/wszqkzqk/deepin-wine-ubuntu.git) 或下载到本地。 在中国推荐用下面的地址,速度更快: (git clone https://gitee.com/wszqkzqk/deepin-wine-for-ubun 阅读全文
posted @ 2021-05-13 11:33 John-Python 阅读(401) 评论(0) 推荐(0) 编辑
摘要: 使用命令直接设定socks或者http代理: socks代理: git config --global http.proxy 'socks5://127.0.0.1:1080' git config --global https.proxy 'socks5://127.0.0.1:1080' 也可以 阅读全文
posted @ 2021-05-06 08:59 John-Python 阅读(693) 评论(0) 推荐(0) 编辑
摘要: npm config set registry https://registry.npm.taobao.org yarn的安装: 下载node.js,使用npm安装 npm install -g yarn 查看版本:yarn --version Yarn 淘宝源安装 yarn config set 阅读全文
posted @ 2021-05-05 20:14 John-Python 阅读(400) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/csdn2314/article/details/110952637 阅读全文
posted @ 2021-04-22 22:36 John-Python 阅读(26) 评论(0) 推荐(0) 编辑
摘要: Math 对象 Math 对象用于执行数学任务。 使用 Math 的属性和方法的语法: var pi_value=Math.PI; var sqrt_value=Math.sqrt(15); 注释:Math 对象并不像 Date 和 String 那样是对象的类,因此没有构造函数 Math(),像 阅读全文
posted @ 2021-04-16 00:27 John-Python 阅读(57) 评论(0) 推荐(0) 编辑
摘要: 创建并启动zookeeper容器 docker run -d --name zookeeper -p 2181:2181 wurstmeister/zookeeper 创建并启动kafka容器,连接到上一步创建的zookeeper docker run -d --name kafka --publi 阅读全文
posted @ 2021-04-09 22:42 John-Python 阅读(105) 评论(0) 推荐(0) 编辑
摘要: 在Linux服务器中输入如下命令抓取网站HTML页面: wget -r -p -np -k -E http://www.xxx.com 抓取整站 wget -l 1 -p -np -k http://www.xxx.com 抓取第一级 -r 递归抓取-k 抓取之后修正链接,适合本地浏览. wget 阅读全文
posted @ 2021-01-19 17:03 John-Python 阅读(688) 评论(0) 推荐(0) 编辑
摘要: user www-data; worker_processes auto; pid /run/nginx.pid; include /etc/nginx/modules-enabled/*.conf; events { worker_connections 768; # multi_accept o 阅读全文
posted @ 2021-01-11 21:19 John-Python 阅读(159) 评论(0) 推荐(0) 编辑
摘要: SQLAlchemy数据库查询 限制查询返回结果 print( session.query(User).filter(User.username!=‘jingqi’).limit(2).all())print( session.query(User).filter(User.username!=‘j 阅读全文
posted @ 2020-12-30 16:16 John-Python 阅读(461) 评论(0) 推荐(0) 编辑
摘要: 提到 SQL 优化,很多程序员都不重视。我遇到这类程序员,在面试时,首先会给他贴上一个只关注 CRUD 的程序员。当然,也有程序员会反驳说,SQL 优化干嘛要死记硬背,我在写SQL时,执行一下 Explain 就行了。 行,既然你这么说,那我就继续问问 Explain 的执行结果怎么分析? 再反过来 阅读全文
posted @ 2020-12-29 11:18 John-Python 阅读(140) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 11 下一页