如何在北京公积金网站上修改婚姻状况

关于取消住房公积金提取业务纸质申请表及部分业务网上办结的公告 时间:2020年01月08日 来源:http://gjj.beijing.gov....

2020-01-17 · 1 min · 438 words · Liudon

PHP7.2编译安装后没有php.ini文件的问题

下载PHP7.2源码,编译安装。 [root@VM_73_135_centos ~/swoole-src-4.4.12]# php -v PHP 7.2.25 (cli) (built: Nov 26 2019 19:33:23) ( NTS ) Copyright (c) 1997-2018 The PHP Group Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies [root@VM_73_135_centos ~/swoole-src-4.4.12]# 安装Swoole。 phpize && \ ./configure && \ make && make install 安装完,...

2019-11-26 · 1 min · 241 words · Liudon

检测网站支持的SSL/TLS协议版本

Chrome 72及以上版本不支持TLS 1.0和TLS 1.1,访问TLS 1.0或1.1证书的站点会告警,但不阻止用户访问站点。 为了解决Chrome的这个...

2019-11-14 · 1 min · 205 words · Liudon

记一次难忘的手术经历

俗话说的好,十人九痔。这九个人里就有我一个。 😂 去年因为痔疮去过一趟医院,医生当时建议手术。 后来用了点药,没啥症状了,就不放在心上了。 结果前两...

2019-10-28 · 2 min · 646 words · Liudon

十一假期经历

今年的十一火车票非常难抢,12306的候补订单,一直等到时间截止也没订上票。 只好请了2天假,提前回家了,给自己也放个假休息一下。 回家的几个经...

2019-10-08 · 1 min · 306 words · Liudon

Swoft 框架运行分析(五) —— ConsoleProcessor模块分析

这里以Swoft启动http server为例。 php bin/swoft http:start 执行上述命令,启动http server。 在前面第一篇文章的时候,提到了如何启动http服...

2019-09-26 · 10 min · 4524 words · Liudon

Swoft 框架运行分析(四) —— EventProcessor模块分析

今天我们来看一下EventProcessor的实现。 /** * Handle event register * @return bool */ public function handle(): bool { if (!$this->application->beforeEvent()) { CLog::warning('Stop event processor by beforeEvent return false'); return false; } /** @var EventManager $eventManager */ $eventManager = bean('eventManager'); [$count1, $count2] = ListenerRegister::register($eventManager); CLog::info('Event manager initialized(%d listener, %d...

2019-09-26 · 4 min · 1896 words · Liudon

一个git submodule update引发的问题

背景 1月份的时候,用hugo搭了这套博客系统。 本机写md文件,更新到github,然后通过travis-ci自动发布。 jane主题是通过gi...

2019-09-06 · 4 min · 1748 words · Liudon

一个Curl的耗时长的问题

发现某个接口请求很慢,但是后端确认接口是很快的。 在机器上通过shell执行curl命令,确实很快,但是PHP代码里请求又确实很慢。 业务里用到...

2019-09-04 · 2 min · 925 words · Liudon

Swoft 框架运行分析(三) —— BeanProcessor模块分析

今天讲一下BeanProcessor模块,先看一下handle方法实现。 /** * Handle bean * * @return bool * @throws ReflectionException * @throws AnnotationException */ public function handle(): bool { if (!$this->application->beforeBean()) { return false; } $handler = new BeanHandler(); $definitions = $this->getDefinitions(); $parsers...

2019-09-02 · 9 min · 4044 words · Liudon

Swoft 框架运行分析(二) —— AnnotationProcessor模块分析

上一篇介绍了,SwoftApplication里定义了6个Processor对象。 protected function processors(): array { return [ new EnvProcessor($this), new ConfigProcessor($this), new AnnotationProcessor($this), new BeanProcessor($this), new EventProcessor($this), new ConsoleProcessor($this), ]; } 所有的Proce...

2019-08-29 · 4 min · 1656 words · Liudon

Swoft 框架运行分析(一)

Swoft 是一款基于 Swoole 扩展实现的 PHP 微服务协程框架。 以前一直都是用的原生swoole框架,最近有时间研究了下衍生的Swoft框架。 刚开始看的时候,感觉...

2019-08-29 · 2 min · 966 words · Liudon

BCMath 与 科学计数

代码如下 <?php echo 9.99997600 + 2.4E-5; echo "\n===\n"; echo bcadd(9.99997600, 2.4E-5, 8); 结果为 10 === 9.99997600 问了朋友,查了各种资料,终于在PHP手册里发现了这段话。 Caution Passing values of type float to a BCMath function which expects a string as operand may not have the desired...

2019-08-16 · 1 min · 168 words · Liudon

Flink Could Not Resolve Resourcemanager Address

什么是Flink。 Apache Flink® - Stateful Computations over Data Streams Flink安装参考(官方文档)[https://ci.apache.org/projects/f...

2019-03-28 · 2 min · 517 words · Liudon

解决Sublime Text安装包时"There Are No Packages Available for Installation"的报错

今天安装hugofy的包时,一直遇到"There Are No Packages Available for Installation"的错误。 按网上的教程,配置host,...

2019-01-11 · 1 min · 336 words · Liudon

2019,新开始

从2011年开始写博客,博客程序从WordPress换成Typecho。 早就有想法换成静态博客,一直没时间搞。 2019年了,新年新气象,用h...

2019-01-09 · 1 min · 250 words · Liudon