摘要: # 查看当前git 的设置 git config --global -l # 设置代理 git config --global http.proxy http://127.0.0.1:1080 git config --global https.proxy http://127.0.0.1:1080 阅读全文
posted @ 2021-03-15 16:00 kingdelee 阅读(469) 评论(0) 推荐(0) 编辑
摘要: 1.工具 1.1 数据结构 模型图示 https://visualgo.net/en 2.算法(第4版) http://algs4.cs.princeton.edu/ 3. 程序员应该如何学习算法? https://www.zhihu.com/question/19981544 阅读全文
posted @ 2019-11-06 01:27 kingdelee 阅读(212) 评论(0) 推荐(0) 编辑
摘要: vim /etc/ssh/sshd_config找到以下两项配置 #ClientAliveInterval 0#ClientAliveCountMax 3修改为 ClientAliveInterval 30ClientAliveCountMax 864001、客户端每隔多少秒向服务发送一个心跳数据 阅读全文
posted @ 2019-08-11 20:58 kingdelee 阅读(4454) 评论(0) 推荐(0) 编辑
摘要: 在springboot 返回json给前端时 报错信息处理: 结果发现,漏写了 @Data....导致没有get方法,get方法调用失败 加上就好了 阅读全文
posted @ 2019-08-08 13:35 kingdelee 阅读(882) 评论(0) 推荐(0) 编辑
摘要: 默认的阿里服务器的centos 没有安装这个命令,这个命令在yum-utils 包里,可以通过命令yum -y install yum-utils 安装就可以了 阅读全文
posted @ 2019-07-24 14:03 kingdelee 阅读(1916) 评论(0) 推荐(0) 编辑
摘要: JSON已经成为当前服务器与WEB应用之间数据传输的公认标准,不过正如许多我们所习以为常的事情一样,你会觉得这是理所当然的便不再深入思考 了。我们很少会去想用到的这些JSON库到底有什么不同,但事实上它们的确是不太一样的。因此,我们运行了一个基准测试来对常用的几个JSON库进行了测 试,看看在解析不 阅读全文
posted @ 2019-07-01 14:47 kingdelee 阅读(278) 评论(0) 推荐(0) 编辑
摘要: 主要是安装dlib失败。可以先安装cmake(直接pip install cmake),然后就可以直接pip install face_recognition就不会报错 https://my.oschina.net/u/2428854/blog/1797473 阅读全文
posted @ 2019-06-10 11:51 kingdelee 阅读(1210) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/microman/p/6107879.html 国内源: 新版ubuntu要求使用https源,要注意。 清华:https://pypi.tuna.tsinghua.edu.cn/simple 阿里云:http://mirrors.aliyun.com 阅读全文
posted @ 2019-06-02 01:33 kingdelee 阅读(180) 评论(0) 推荐(0) 编辑
摘要: 问题描述: 1.在pom中更新springboot2.1.5时,发现突然无法下载,且很多依赖都无法正常下载 通过命令行 maven update 报以下异常: Unknown lifecycle phase "mvn". You must specify a valid lifecycle 解决: 阅读全文
posted @ 2019-05-24 10:41 kingdelee 阅读(1846) 评论(0) 推荐(0) 编辑
摘要: 使用Mybatis plus的时候,查询select all,恰好报了异常 发现数据库表中存在脏数据 原配置方式 阅读全文
posted @ 2019-05-13 11:42 kingdelee 阅读(7817) 评论(0) 推荐(0) 编辑
摘要: 在idea中安装JRebel插件 激活时使用以下url http://139.199.89.239:1008/46994e4c-ed76-4873-b423-549c7d03d9f6 以及自定义邮箱进行激活 过期就用这个生成uuid http://www.ofmonkey.com/transfer/ 阅读全文
posted @ 2019-05-11 18:55 kingdelee 阅读(210) 评论(0) 推荐(0) 编辑
摘要: 密码是:!root 则在yaml中应改成: (!root) 如: 阅读全文
posted @ 2019-05-11 13:33 kingdelee 阅读(2497) 评论(0) 推荐(0) 编辑
摘要: 1. idea配置h2: 直接点这里修改 4. 阅读全文
posted @ 2019-05-06 09:26 kingdelee 阅读(1099) 评论(0) 推荐(0) 编辑
摘要: 1. 针对: github.global.ssl.fastly.net github.com 2. http://github.com.ipaddress.com/#ipinfo http://github.global.ssl.fastly.net.ipaddress.com/#ipinfo 然后 阅读全文
posted @ 2019-05-05 23:54 kingdelee 阅读(126) 评论(0) 推荐(0) 编辑
摘要: 1.修改 bin/catalina.sh CATALINA_OPTS="-server -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8888" 2.id 阅读全文
posted @ 2019-05-05 13:30 kingdelee 阅读(186) 评论(0) 推荐(0) 编辑
摘要: 1.当我对springboot项目进行部署到tomcat的操作时,报了以下异常 分析可知是依赖问题,通过idea找到slf4j-simple,并去掉依赖 最终只剩: 成功解救 阅读全文
posted @ 2019-05-05 10:25 kingdelee 阅读(6620) 评论(0) 推荐(0) 编辑
摘要: 1.maven comand mvn dependency:tree idea: 可以直接找到对应的需要排除的依赖,在图上进行exclude操作 阅读全文
posted @ 2019-05-05 10:15 kingdelee 阅读(2219) 评论(0) 推荐(0) 编辑
摘要: https://baike.baidu.com/item/%E8%BF%90%E7%AE%97%E7%AC%A6%E4%BC%98%E5%85%88%E7%BA%A7/4752611?fr=aladdin 因为在状压的时候会遇到很多位运算符,然而这些运算符的优先级是不一样的,因此了解他们的优先级先后 阅读全文
posted @ 2019-05-04 18:31 kingdelee 阅读(215) 评论(0) 推荐(0) 编辑
摘要: 基础: 需要 问题1:对于activiti-admin,添加mysql-connector-java-5.1.47.jar后: Sun Apr 28 16:09:00 CST 2019 WARN: Establishing SSL connection without server's identi 阅读全文
posted @ 2019-04-28 16:36 kingdelee 阅读(389) 评论(0) 推荐(0) 编辑
摘要: 1. 问题发现 在1.0版本中,我们配置redis的cacheManager是这种方式: //缓存管理器 @Bean public CacheManager cacheManager(@SuppressWarnings("rawtypes") RedisTemplate redisTemplate) 阅读全文
posted @ 2019-04-25 18:25 kingdelee 阅读(1071) 评论(0) 推荐(0) 编辑
摘要: 前用eclipse的时候,可以根据所抛出的异常进行调试,比如:出现了空指针异常,我想知道是哪一行抛出的,在eclipse中我只需在debug模式下把空指针异常这个名字设置进去,当遇到空指针异常时,eclipse就会自己停留在那一行,intellij idea如何实现这个功能呢? 1,debug窗口如 阅读全文
posted @ 2019-04-19 19:31 kingdelee 阅读(2378) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/KingBoyWorld/article/details/73440717 以上方法可以解决 另: 有说: 并未尝试 https://stackoverflow.com/questions/37863400/intellij-debugger-gets-s 阅读全文
posted @ 2019-04-19 19:24 kingdelee 阅读(5194) 评论(0) 推荐(0) 编辑
摘要: nginx比较强大,可以针对单个域名请求做出单个连接超时的配置. 比如些动态解释和静态解释可以根据业务的需求配置 proxy_connect_timeout :后端服务器连接的超时时间_发起握手等候响应超时时间 proxy_read_timeout:连接成功后_等候后端服务器响应时间_其实已经进入后 阅读全文
posted @ 2019-04-16 11:47 kingdelee 阅读(8963) 评论(0) 推荐(0) 编辑
摘要: Anaconda下载地址:https://www.continuum.io/downloads pip install pyenchant pip install QScintilla pip install pyinstaller py安装路径: /Library/Frameworks/Pytho 阅读全文
posted @ 2019-03-17 17:49 kingdelee 阅读(1065) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2019-03-06 10:51 kingdelee 阅读(850) 评论(0) 推荐(0) 编辑
摘要: 情况一:导包import时发生错误,请参考这两位 https://blog.csdn.net/zhangyu4863/article/details/80212068https://www.cnblogs.com/biyuting/p/6262599.html 阅读全文
posted @ 2019-03-05 22:56 kingdelee 阅读(1656) 评论(0) 推荐(0) 编辑
摘要: 1. post的时候,@requestBody 用 json的传递方式 阅读全文
posted @ 2019-03-04 17:32 kingdelee 阅读(200) 评论(0) 推荐(0) 编辑
摘要: 1. https://www.cnblogs.com/dalanjing/p/6978373.html -m PyQt5.uic.pyuic $FileName$ -o $FileNameWithoutExtension$.py 2. 通过以下快速跳到 QtDesinger里 随便设置一下,并保存到 阅读全文
posted @ 2019-03-03 23:37 kingdelee 阅读(259) 评论(0) 推荐(0) 编辑
摘要: tb: 错误写法: select id, max(hour) from tb group by id; 正确的写法: 阅读全文
posted @ 2019-03-01 20:25 kingdelee 阅读(339) 评论(2) 推荐(0) 编辑
摘要: [42000][1055] Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'test.ai.id' which is not functionally dependen 阅读全文
posted @ 2019-02-27 01:58 kingdelee 阅读(649) 评论(0) 推荐(0) 编辑
摘要: can't use yum: vi /etc/sysconfig/network-scripts/ifcfg-enp4s0 yum -y install lshw pciutils gdisk system-storage-manageryum -y install bash-completion 阅读全文
posted @ 2019-02-11 17:08 kingdelee 阅读(468) 评论(0) 推荐(0) 编辑
摘要: http://www.cnblogs.com/yogurtwu/p/9494108.html https://www.cnblogs.com/zhangkaimin/p/6251448.html what ? 阅读全文
posted @ 2019-02-11 16:35 kingdelee 阅读(188) 评论(0) 推荐(0) 编辑
摘要: 2,修改Centos的网络设置。 (1)进入脚本。 My Mac ip: (3)执行修改 用下面的命令使上面的修改生效。 service network restart 然后使用下面的命令查看设置是否生效 ip add :查看IP设置是否生效netstat -rn:查看网关是否生效cat /etc/ 阅读全文
posted @ 2019-02-11 15:26 kingdelee 阅读(637) 评论(0) 推荐(0) 编辑
摘要: [root@localhost ~]#vi /etc/inittab 重点看下面这部分代码 # 0 - halt (Do NOT set initdefault to this) 停止(不设initdefault这个) # 1 - Single user mode 单用户模式 # 2 - Multi 阅读全文
posted @ 2019-02-11 14:46 kingdelee 阅读(357) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2019-02-09 23:34 kingdelee 阅读(143) 评论(0) 推荐(0) 编辑
摘要: https://pip.pypa.io/en/stable/installing/ http://www.runoob.com/w3cnote/python-pip-install-usage.html curl https://bootstrap.pypa.io/get-pip.py -o get 阅读全文
posted @ 2019-02-03 20:25 kingdelee 阅读(1105) 评论(0) 推荐(0) 编辑
摘要: When I install QT in MacOS 11.3.6, it prompts I need to install xcode then I install xcode but it was still fruitless. now, it's the solution: referre 阅读全文
posted @ 2019-02-03 19:19 kingdelee 阅读(176) 评论(0) 推荐(0) 编辑
摘要: 问题: idea中dtd没有找到 解决: 一般是相关依赖没有加进来,把相关依赖添加进来即可 在pom中添加依赖 阅读全文
posted @ 2019-01-13 11:04 kingdelee 阅读(447) 评论(0) 推荐(0) 编辑
摘要: Style:Mac Series:Java Since:2018-09-10 End:2018-09-10 Total Hours:1 Degree Of Diffculty:5 Degree Of Mastery:5 Practical Level:5 Desired Goal:5 Archiev 阅读全文
posted @ 2019-01-04 18:34 kingdelee 阅读(548) 评论(0) 推荐(0) 编辑
摘要: Style:Mac Series:Java Since:2018-09-10 End:2018-09-10 Total Hours:1 Degree Of Diffculty:5 Degree Of Mastery:5 Practical Level:5 Desired Goal:5 Archiev 阅读全文
posted @ 2018-11-07 17:18 kingdelee 阅读(138) 评论(0) 推荐(0) 编辑