摘要: Jenkins配置 采用命令行下载配置Jenkins,防止产生权限问题 先安装brew,打开命令行,输入: /bin/zsh -c "$(curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew.sh)" 安装Jenkins 阅读全文
posted @ 2020-09-16 17:42 Echo丶Mikasa 阅读(628) 评论(0) 推荐(0)
摘要: 设置 setting.py 文件 STATIC_URL = '/static/' STATICFILES_DIRS = [ os.path.join(BASE_DIR, "static"), ] 在根目录创建 static\img 文件夹 在 html 文件顶部添加 {% load static % 阅读全文
posted @ 2020-09-16 16:58 Echo丶Mikasa 阅读(2007) 评论(0) 推荐(0)
摘要: import logging logging.basicConfig(filename= 'result.log',filemode= 'w+', level= logging.DEBUG, format= '%(asctime)s - %(levelname)s - %(message)s') f 阅读全文
posted @ 2020-09-16 15:57 Echo丶Mikasa 阅读(149) 评论(0) 推荐(0)
摘要: cat cat test.log: 输出全部内容 cat -n test.log: 输出全部内容并显示行号 head head test.log: 输出文件头10行内容 head test.log -n 10: 从头开始输出10行 tail tail -f test.log: 输出最后10行并持续输 阅读全文
posted @ 2020-09-16 15:50 Echo丶Mikasa 阅读(2560) 评论(0) 推荐(0)
摘要: import com.alibaba.fastjson.JSON; import redis.clients.jedis.Jedis; import com.alibaba.fastjson.JSONObject; import java.util.HashMap; import com.googl 阅读全文
posted @ 2020-09-16 11:50 Echo丶Mikasa 阅读(643) 评论(0) 推荐(0)