BlogSrcFile
md files
你好world
Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.
1 | $ hexo new "My New Post" |
More info: Writing
1 | $ hexo server |
More info: Server
1 | $ hexo generate |
More info: Generating
1 | $ hexo deploy |
More info: Deployment
redis-server redis.windows.conf
--service-start```
1 >```redis-server --service-stop
方法区在JVM中也是一个非常重要的区域,它与堆一样,是被 线程共享 的区域。 在方法区中,存储了每个类的信息(包括类的名称、方法信息、字段信息)、静态变量、常量以及编译器编译后的代码等。
1、这两个方法来自不同的类。分别是:sleep来自Thread类,而wait来自Object类。
sleep是Thread的静态类方法,谁调用的谁去睡觉,即使在a线程里调用了b的sleep方法,实际上还是a去睡觉,要让b线程睡觉要在b的代码中调用sleep。
最近遇到开发的某域名升级为https后手机qq浏览器、魅族自带浏览器等低版本chrome内核浏览器访问不了在SSL诊断工具:https://www.ssllabs.com/ssltest/analyze.html 中诊断网站发现对比了一下该网站和另一网站的ssllabs的报告,区别地发现在Handshake Simulation中有标红的Chrome 49 / XP SP3 Server negotiated HTTP/2 with blacklisted suite。查找资料后定位到服务器nginx配置中的ssl_ciphers可能会导致部分浏览器访问不了,认为服务器网址使用了不安全的加密选项,于是开始尝试调整加密选项。