摘要: 1、先cd到根目录,执行git config --global credential.helper store命令 [root@iZ25mi9h7ayZ ~]# git config --global credential.helper store 2、执行之后会在.gitconfig文件中多加红色 阅读全文
posted @ 2017-08-11 09:50 明天OoO你好 阅读(669) 评论(0) 推荐(0)
摘要: fab -f test_fabric.py start --hide status,running,stdout,user,aborts,warnings,stderr 省略所有输出--hide stdout 省略脚本原本打印在屏幕上的内容,比如ls,echo的内容,都不会输出--hide runn 阅读全文
posted @ 2017-08-11 09:37 明天OoO你好 阅读(718) 评论(0) 推荐(0)
摘要: 点击打开链接 Python的ORM框架SQLAlchemy基本操作和常用技巧,包含大量实例,非常好的一个学习SQLAlchemy的教程,需要的朋友可以参考下 python编程语言下的一款开源软件。提供了SQL工具包及对象关系映射(ORM)工具,使用MIT许可证发行。 MySQL InnoDB 使用, 阅读全文
posted @ 2017-07-14 01:38 明天OoO你好 阅读(623) 评论(0) 推荐(0)
摘要: 效果如图所示: 1.框架用的flask 目录结构如下: 2.前端代码如下: table-test1.html 3.后端代码如下: 阅读全文
posted @ 2017-06-21 16:36 明天OoO你好 阅读(3745) 评论(2) 推荐(1)
摘要: # -*- coding:UTF-8 -*- import requests,time from collections import OrderedDict import threading from bs4 import BeautifulSoup as bp t3 = time.time() ths = [] # 存放线程 def get(num): dic =... 阅读全文
posted @ 2017-06-02 15:38 明天OoO你好 阅读(859) 评论(0) 推荐(0)
摘要: 1. 安装rsync,如果要讲1.1.1.1的数据备份到2.2.2.2上,则在1.1.1.1上配置如下: /etc/rsyncd.conf uid = nobody gid = nobody use chroot = no max connections = 40 syslog facility = 阅读全文
posted @ 2017-05-19 15:37 明天OoO你好 阅读(234) 评论(0) 推荐(0)
摘要: 有趣的linux命令:看看哪些文件正在变!watch -d -n 1 'df; ls -Alt -F /path' 阅读全文
posted @ 2017-05-17 14:55 明天OoO你好 阅读(168) 评论(0) 推荐(0)
摘要: mysql5.6 http://www.cnblogs.com/bookwed/p/5896619.html 安装完成后操作 mysql5.7 http://blog.csdn.net/wb96a1007/article/details/51559741 添加环境变量vim /etc/profile 阅读全文
posted @ 2017-05-17 13:41 明天OoO你好 阅读(185) 评论(0) 推荐(0)
摘要: ntpdate ip或网址阿里云提供公共NTP服务,由于阿里云有大量外售的云主机以及YunOS手机天猫魔盒等都需要精确时间同步,因此建设了这一基础设施,公网均可访问,授时信号来自GPS、北斗两套卫星信号,并配备原子钟守时,以下7个域名提供服务,大家可以直接使用。http://time1.aliyun.com http://time2.aliyun.com http://time3.aliyun.... 阅读全文
posted @ 2017-05-02 09:29 明天OoO你好 阅读(366) 评论(0) 推荐(0)
摘要: import winrm win2012 = winrm.Session('http://192.168.0.19:5985/wsman',auth=('wt','635870838')) r = win2012.run_cmd('D: &' ' cd python &' ' type s.txt &' ... 阅读全文
posted @ 2017-04-24 16:07 明天OoO你好 阅读(13180) 评论(1) 推荐(0)