摘要: 由于之前一直用svn 用git也是用图形化的工具 还是要了解一下git指令 因为都是版本控制工具 有很多相似之处 所以理解起来也比较轻松 仓库: github上面的项目 工作目录下面的所有文件都不外乎这两种状态:++ 1. 已跟踪 2. 未跟踪 ++ git 有一个 暂存区(staged area) 阅读全文
posted @ 2019-02-28 14:25 Janey91 阅读(221) 评论(0) 推荐(0) 编辑
摘要: c++ c css http ini js js function $initHighlight(block, cls) { try { if (cls.search(/\bno\ highlight\b/) != 1) return process(block, true, 0x0F) + ; } 阅读全文
posted @ 2019-02-27 19:21 Janey91 阅读(164) 评论(0) 推荐(0) 编辑
摘要: 原创博文 转载请注明出处! uwsgi: unrecognized option ' http:8089' uwsgi: unrecognized option ' http' uwsgi trkMngm_uwsgi.ini invalid request block size: 21573 (ma 阅读全文
posted @ 2019-02-27 19:05 Janey91 阅读(973) 评论(0) 推荐(0) 编辑
摘要: ssh execute command error: can't connect str to butes ssh 发送下一次指令回传的是上一次指令的结果 ssh 始终停留在 root 目录内 ssh 能正确回传了但回传值有附加的字符 websocket 没有错误断开但只发送不回传 更新了代码刷新页 阅读全文
posted @ 2019-02-27 14:16 Janey91 阅读(1461) 评论(0) 推荐(0) 编辑
摘要: [toc] 1. virtualvenv virtualvenv install 首先要安装python3 因为系统已经装了 python3.6 所以接下来直接装虚拟环境 virtualvenv 2. django 运行虚拟环境,在环境中安装django 新建项目 新建app 不用也可以进行接下来的 阅读全文
posted @ 2019-02-20 08:39 Janey91 阅读(483) 评论(0) 推荐(0) 编辑
摘要: 配置 log 信息传输到控制台 参考官网:https://docs.djangoproject.com/en/2.1/topics/logging/ By default, this config only sends messages of level INFO or higher to the 阅读全文
posted @ 2018-12-12 09:28 Janey91 阅读(218) 评论(0) 推荐(0) 编辑
摘要: 原创博文 转载请注明出处! 参考官方文档:https://docs.djangoproject.com/en/2.1/topics/logging/ Loggers¶ A logger is the entry point into the logging system. Each logger i 阅读全文
posted @ 2018-12-12 09:16 Janey91 阅读(387) 评论(0) 推荐(0) 编辑
摘要: 样式不显示问题 无论是放内联样式文件还是直接放HTML文件都不显示 后来发现是因为datatable是放在后面初始化,它自带的样式覆盖了我们自定义的样式 所以要注意写code时,很多时候不是code不起作用,而是后面的code覆盖了前面的code 由于一直想改变table的背景颜色,但是第一列的颜色 阅读全文
posted @ 2018-12-08 11:28 Janey91 阅读(236) 评论(0) 推荐(0) 编辑
摘要: 由于前几天办公室电脑dhcp服务挂了,wifi网线都上不了网,很无奈只能重装了系统。于是VS2008也要重装,之前一直用的都是前一个同事留下来的软件,没自己装过,自己装的时候踩了坑,记录一下。 重装了之后编译之前一直好好的程序,出现问题: x64不能编译 直接跳过; win32编译出现error 这 阅读全文
posted @ 2018-09-06 17:08 Janey91 阅读(370) 评论(0) 推荐(0) 编辑
摘要: 参考博文:https://www.cnblogs.com/zhenfei-jiang/p/7065038.html 按照网上查找的资料敲了代码 出现的问题 : 输入一个key就执行send方法发送数据给服务器,还没输入完就发送了。 后来换了一种方法 也出现了问题,识别不到回车keycode,随意按其 阅读全文
posted @ 2018-09-05 17:36 Janey91 阅读(1678) 评论(0) 推荐(0) 编辑
摘要: 目前为止只用到了 ReadString,也了解了一下 WriteString。 由于程序需要,本来程序中是用的CFile, 但是需要逐行读取文件数据,所以谷歌找到了 ReadString 类 —— 继承于CFile,是CFile 的派生类 当使用 WriteString 往文件中存以行为单位的数据时 阅读全文
posted @ 2018-06-29 15:53 Janey91 阅读(230) 评论(0) 推荐(0) 编辑