上一页 1 ··· 19 20 21 22 23 24 25 26 27 ··· 31 下一页
摘要: 生成requirements.txt文件 pip freeze > requirements.txt 1 安装requirements.txt依赖 pip install -r requirements.txt 阅读全文
posted @ 2020-06-17 12:36 xiondun 阅读(278) 评论(0) 推荐(0)
摘要: 39个前端精美后台模板 转自https://blog.csdn.net/qq_27667379/article/details/82081094 1.Ace_admin 下载地址:http://pan.baidu.com/s/1dFaRCCL 2.AdminEx 下载地址:http://pan.ba 阅读全文
posted @ 2020-06-04 13:27 xiondun 阅读(1509) 评论(0) 推荐(0)
摘要: redis-cli命令总结 转自http://www.cnblogs.com/silent2012/p/5368925.html 连接操作相关的命令 默认直接连接 远程连接-h 192.168.1.20 -p 6379 ping:测试连接是否存活如果正常会返回pong echo:打印 select: 阅读全文
posted @ 2020-05-30 09:02 xiondun 阅读(134) 评论(0) 推荐(0)
摘要: python生成随机数、随机字符串 python生成随机数、随机字符串 import randomimport string # 随机整数:print random.randint(1,50) # 随机选取0到100间的偶数:print random.randrange(0, 101, 2) # 随 阅读全文
posted @ 2020-05-28 12:33 xiondun 阅读(250) 评论(0) 推荐(0)
摘要: import logging logging.basicConfig(level=logging.DEBUG, format='%(asctime)s %(filename)s[line:%(lineno)d] %(levelname)s %(message)s', datefmt='%a, %d 阅读全文
posted @ 2020-05-25 11:29 xiondun 阅读(1324) 评论(0) 推荐(0)
摘要: Windows 代码实例: package main import ( "os/exec" "syscall" ) func main() { // 有GUI调用 exec.Command(`cmd`, `/c`, `start`, `https://www.jianshu.com`).Start( 阅读全文
posted @ 2020-05-23 10:14 xiondun 阅读(959) 评论(0) 推荐(0)
摘要: /** * 创建多级目录 * * @param [type] $path * @return void */ function my_mkdir($path) { if (is_dir($path)) { // echo "目录 " . $path . " 已经存在!"; return true; 阅读全文
posted @ 2020-05-21 17:16 xiondun 阅读(204) 评论(0) 推荐(0)
摘要: simplexml_load_string($res, 'SimpleXMLElement', LIBXML_NOCDATA) 阅读全文
posted @ 2020-05-21 16:39 xiondun 阅读(451) 评论(0) 推荐(0)
摘要: /** * 将数组转换为xml * @param array $data 要转换的数组 * @param bool $root 是否要根节点 * @return string xml字符串 * @author Dragondean * @url http://www.cnblogs.com/drag 阅读全文
posted @ 2020-05-21 16:38 xiondun 阅读(2084) 评论(0) 推荐(0)
摘要: function std_class_object_to_array($stdclassobject) { $_array = is_object($stdclassobject) ? get_object_vars($stdclassobject) : $stdclassobject; forea 阅读全文
posted @ 2020-05-21 16:11 xiondun 阅读(223) 评论(0) 推荐(0)
上一页 1 ··· 19 20 21 22 23 24 25 26 27 ··· 31 下一页