摘要:
.gitignore .gitignore作用于未添加入库的文件/文件夹Created with Raphaël 2.1.2用户用户仓库仓库git statusfilter .gitignore展示已修改的文件1、未在仓库内且未被ignore收录的文...
阅读全文
posted @ 2018-03-29 15:26
HeJD
阅读(92)
推荐(0)
摘要:
概览CentOS 6.5转Windows Server 2008 阿里云CES 运行环境:ASP.NET运行环境(2.0/3.5/4.0+MySql5.5) 部署情况:C#部署在IIS7.1上,Python服务部署在Apache2.4,SQL Serv...
阅读全文
posted @ 2018-01-14 01:41
HeJD
阅读(572)
推荐(0)
摘要:
1、设置rsa登陆ssh-keygen -t rsa -p3次回车,出现下面的信息,表示rsa生成的位置 Enter file in which the key is (/home/ubuntu/.ssh/id_rsa): Enter new ...
阅读全文
posted @ 2017-11-29 11:10
HeJD
阅读(203)
推荐(0)
摘要:
lsb_release -a [root@izwz98ifnmtig506emzy7pz ~]# lsb_release -a LSB Version: :core-4.1-amd64:core-4.1-noarch Distribut...
阅读全文
posted @ 2017-11-14 09:43
HeJD
阅读(120)
推荐(0)
摘要:
import sysreload(sys)sys.setdefaultencoding('utf-8')
阅读全文
posted @ 2017-10-25 20:51
HeJD
阅读(395)
推荐(0)
摘要:
01字符串 与 将 01字符串转换为数字的效率对比 用例: 字符串’1001’ 与 0b1001=9import timestarttime=time.time()for i in xrange(1000001): '10000001'=='1...
阅读全文
posted @ 2017-10-25 20:46
HeJD
阅读(159)
推荐(0)
摘要:
安装撰写博客时,库内的denyhosts版本为2.9yum install -y denyhosts配置配置文件路径vim /etc/denyhosts.conf配置(yum安装时,大部分配置已写好,稍作改动即可)DENY_THRESHOLD_INVA...
阅读全文
posted @ 2017-10-23 10:07
HeJD
阅读(642)
推荐(0)
摘要:
su root/etc/init.d/mysql restart此处用root启动mysql,时间大约需要5分钟
阅读全文
posted @ 2017-10-16 11:45
HeJD
阅读(276)
推荐(0)
摘要:
使用 QuerySet.bulk_createcreateList=[]for d in data: createList.append(OJB(*d))OBJ.objects.bulk_create(createList) ...
阅读全文
posted @ 2017-09-01 11:16
HeJD
阅读(253)
推荐(0)
摘要:
官方示例index.wxml 750rpx:小程序定义的宽度index.jsvar imgPath=''Page({ data: { src: imgPath }})在Page()外可以定义变量,此处需要注意,若Page中有多个data...
阅读全文
posted @ 2017-08-31 22:16
HeJD
阅读(415)
推荐(0)