While it's powerful enough to have Machine.transition, it can get tedious constantly passing it a state and an event. It would be nice if we had a fun ...
分类:
系统相关 时间:
2020-01-19 00:28:13
阅读次数:
89
一次大改版,提交了很多代码,但再次提交提交不了,也拉不下来仓库的代码 提示error bad signature fatal: index file corrupt 在项目有.git这同级打开Git Bash Here 输入 $ rm -f .git/index 出现 ssss@DESKTOP-ss ...
分类:
其他好文 时间:
2020-01-17 21:22:31
阅读次数:
92
console.log(pm.info.requestName); 返回请求名console.log(pm.info.requestId); 返回请求idconsole.log("++++++++++++++++++++++++++");console.log(pm.response.code); ...
分类:
其他好文 时间:
2020-01-15 20:00:31
阅读次数:
73
常用的: 查看部署了哪些java項目-bash-4.1$ ps -ef|grep java開始獲取ROOT權限操作-bash-4.1$ su -Password: 已經獲取了root權限[root@TY-KOUHUO-AP01 ~]# cd /var/opt/.mycat/[root@TY-KOUH ...
分类:
系统相关 时间:
2020-01-14 23:31:08
阅读次数:
105
解释器模式(Interpreter Pattern)提供了评估语言的语法或表达式的方式,它属于行为型模式。这种模式实现了一个表达式接口,该接口解释一个特定的上下文。这种模式被用在 SQL 解析、符号处理引擎等。 优点: 1、可扩展性比较好,灵活。 2、增加了新的解释表达式的方式。 3、易于实现简单文 ...
分类:
其他好文 时间:
2020-01-14 09:21:24
阅读次数:
90
方法->底层会编译成消息->消息查找会使用递归查找 元类是一种虚拟的类,系统实现的,用来存储类对象的 对象分为: 1. 实例对象:存在类里面, 2. 类对象:存在元类里面 实例方法: 递归查找父类 -> 最终会查找到NSObject 如果没有实现就会进入动态方法解析 /*************** ...
分类:
其他好文 时间:
2020-01-12 22:20:32
阅读次数:
121
报错信息: {"timestamp":"2020-01-08T14:42:40.894+0000","status":400,"error":"Bad Request","message":"JSON parse error: Cannot deserialize instance of `java ...
分类:
Web程序 时间:
2020-01-08 23:16:55
阅读次数:
379
1.打开pycharm,新建一个项目 File -> New Project -> Create 2.设置External Libraries,就是选择项目的python代码解释器 File -> Settings -> Project:项目名字 -> Project Interpreter -> ...
分类:
系统相关 时间:
2020-01-08 13:04:43
阅读次数:
186
场景 AndroidStudio跑起来第一个App时新手遇到的那些坑: https://blog.csdn.net/BADAO_LIUMANG_QIZHI/article/details/103797243 效果 注: 博客:https://blog.csdn.net/badao_liumang_q ...
分类:
移动开发 时间:
2020-01-07 15:59:20
阅读次数:
88
前言 这个问题是我在用ajax做文件上传时遇到的,朋友也遇到这种情况,在这里总结一下 分析 Failed to load resource: the server responded with a status of 400 (Bad Request) 是错误请求的报错 出现这种错误一般情况是: 1 ...
分类:
其他好文 时间:
2020-01-06 15:03:19
阅读次数:
77