yetHandsome
yetHandsome
能否加一个查找图片轮廓,左上角或右下角像素位置的功能,想破解滑动解锁,类似这个https://passport.bilibili.com/login
> @tidus5 感谢您,我根据您的提示解决了该问题,下面说下我使用的场景: > > 1. nicksors.cc 是我的注册的域名,CNAME解析了nicksors.github.io; > 2. 那么在注册OAuth Application的时候,Authorization callback URL这一项就应该填写[https://nicksors.cc,而不是https://nicksors.github.io](https://nicksors.cc%EF%BC%8C%E8%80%8C%E4%B8%8D%E6%98%AFhttps://nicksors.github.io) > 3. 我使用的hexo主题是yilia,配置Gitment选项gitment_repo: 'nicksors.github.io',其他正常填写即可。 > 以上,我的Gitment评论登录问题得到了解决,也希望能给其他朋友一个参考。 > 再次感谢您。 必须将自己的域名 CNAME解析到 xxx.github.io;这样吗?
ok 解决了 vi ~/.bashrc 再末尾加上export LC_ALL=C source ~/.bashrc
最后在php.d 目录下创建一个 molten.ini 并且里面内容如下 [molten] extension="molten.so" molten.enable="1" molten.service_name="local" molten.tracing_cli=1 molten.open_report=1 molten.sampling_type=2 molten.sampling_rate=1 molten.notify_uri="http://127.0.0.1:9411/zipkin/" molten.sink_http_uri="http://127.0.0.1:9411/api/v1/spans" molten.sink_type=4 molten.sink_log_path="/tmp/logs/"
查看之前 issues 得出2个结论 1.必须要先安装 libevent-devel yum -y install libevent-devel yum install libcurl yum install libcurl-devel 2.再下载,执行编译。如果之前已经编译,就安装 libevent-devel 再编译一次 还有一种直接安装的方式,我没有测试过 yum list |grep molten yum install php70-php-pecl-molten 这个方式也不行
./configure --enable-zipkin-header=yes checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for a sed that does not truncate output... /bin/sed checking for cc......
ll /etc/php.d/ total 88 -rw-r--r--. 1 root root 47 Jul 30 17:54 20-bz2.ini -rw-r--r--. 1 root root 57 Jul 30 17:54 20-calendar.ini -rw-r--r--. 1 root root 51 Jul 30 17:54...
具体步骤是什么,我也是这个问题
我也是,遇到这个问题,然后我发现把 molten.sink_type=4 改成1写文件 molten.sink_log_path="/tmp/logs/" 发现执行 php server.php ls /tmp/logs/ tracing-20190818.log 说明 molten 这个应该是没有问题的 , 感觉是 zipkin 没有成功接收或处理
直接curl可以成功,看来不是 zipkin 的问题,我是php7.0 curl -H "Accept: application/json" -H "Content-type: application/json" -X POST -d '[{"traceId":"b37884540ffc41c6","name":"php_curl","version":"php-4","id":"b1f19876528720f2","parentId":"1d31aaf145c3add1","timestamp":1566092271896191,"duration":5234,"annotations":[{"value":"cs","timestamp":1566092271896191,"endpoint":{"serviceName":"local","ipv4":"10.0.2.15"}},{"value":"cr","timestamp":1566092271901425,"endpoint":{"serviceName":"local","ipv4":"10.0.2.15"}}],"binaryAnnotations":[{"key":"http.url","value":"http:\/\/localhost:8972\/","endpoint":{"serviceName":"local","ipv4":"10.0.2.15"}},{"key":"error","value":"Failed connect to localhost:8972; Connection refused","endpoint":{"serviceName":"local","ipv4":"10.0.2.15"}}]},{"traceId":"b37884540ffc41c6","name":"php_curl","version":"php-4","id":"addfa8d2411ea6f3","parentId":"1d31aaf145c3add1","timestamp":1566092271901690,"duration":4988,"annotations":[{"value":"cs","timestamp":1566092271901690,"endpoint":{"serviceName":"local","ipv4":"10.0.2.15"}},{"value":"cr","timestamp":1566092271906678,"endpoint":{"serviceName":"local","ipv4":"10.0.2.15"}}],"binaryAnnotations":[{"key":"http.url","value":"http:\/\/localhost:8973\/","endpoint":{"serviceName":"local","ipv4":"10.0.2.15"}},{"key":"error","value":"Failed connect to localhost:8973; Connection refused","endpoint":{"serviceName":"local","ipv4":"10.0.2.15"}}]},{"traceId":"b37884540ffc41c6","name":"cli","version":"php-4","id":"1d31aaf145c3add1","timestamp":1566092270898829,"duration":1008133,"annotations":[{"value":"sr","timestamp":1566092270898829,"endpoint":{"serviceName":"local","ipv4":"10.0.2.15"}},{"value":"ss","timestamp":1566092271906962,"endpoint":{"serviceName":"local","ipv4":"10.0.2.15"}}],"binaryAnnotations":[{"key":"path","value":"\/usr\/local\/src\/Molten\/example\/server.php","endpoint":{"serviceName":"local","ipv4":"10.0.2.15"}}]}]' 127.0.0.1:9411/api/v1/spans