2019-9-1
android fiddler抓包
视频模块替换资源后生成视频方案:
方案一:用AE模板生成视频 ,.特别复杂,效果最好
方案二:用PPT生成视频 ,.中等难度,效果一般
方案三:用第三方SDK(veSDK).调用容易,收费
2019-9-3
ppt ppsaveasfiletype 枚举值
https://docs.microsoft.com/zh-tw/office/vba/api/powerpoint.ppsaveasfiletype
参考开发文档
https://docs.microsoft.com/zh-cn/office/vba/api/overview/powerpoint
2019-9-6
https://www.microsoft.com/en-us/download/details.aspx?id=40326 OFFICE 2013 VBA documentation download
OFFICE 2013 替换图片方法
先保存原图片shape相关参数,删除shape,shapes addpicture ,设置为保存的参数
得到图片名字:
双击ppt中的图片->在上面的排列栏-->选择窗体-->将显示对象的图片名
2019-9-8
安装php-fpm php-mysql扩展问题记录
1.出现 Uncaught Error: Class 'mysqli' not found
已经安装php可以在php源文件夹下的ext/mysqli目录下直接运行 /usr/local/php/bin/phpize工具进行编译
cd /usr/local/php/ext/mysqli
/usr/local/php/bin/phpize
Configuring for:
PHP Api Version:????????20041225
Zend Module Api No:?????20060613
Zend Extension Api No:?? 220060519
./configure --prefix=/usr/local/mysqli \
--with-php-config=/usr/local/php/bin/php-config \
--with-mysqli=/usr/local/mysql/bin/mysql_config
make
make test
Installing shared extensions: /usr/local/php/lib/php/extensions/no-debug-non-zts-20170718
(将编译的so.放到指定目录)
find / -name "mysqli.so"
/usr/local/php/ext/mysqli/modules/mysqli.so
/usr/local/php/ext/mysqli/.libs/mysqli.so
/usr/lib64/php/modules/mysqli.so
查找php.ini
网页访问phpinfo
Configuration File (php.ini) Path /usr/local/php/lib
Loaded Configuration File /usr/local/php/lib/php.ini
然后在/usr/local/php/lib 下,修改php.ini中如下内容
extension = /usr/local/php/lib/php/extensions/no-debug-non-zts-20170718/mysqli.so
重新启动php-fpm和nginx或者apache
2.编译过程中失败找不到 mysql_float_to_double.h 解决办法
[root@iZ81an135dlvjdZ ~]# find / -name "mysql_float_to_double.h"
/usr/local/php/ext/mysqlnd/mysql_float_to_double.h
[root@iZ81an135dlvjdZ ~]# find / -name "mysqli_api.c"
/usr/local/php/ext/mysqli/mysqli_api.c
然后修改mysqli_api.c 中mysql_float_to_double.h的路径,修正再次编译
3.重新启动NGINX php-fpm
重新启动NGINX(/usr/local/nginx/sbin/nginx)
ps -ef |grep nginx
....
kill -USR2 10856
来源:CSDN
作者:方块A
链接:https://blog.csdn.net/zhanghu0905/article/details/104309653