技术札记

使用wps将word转pdf时丢失内容(部分内容不显示)的解决方案

使用wps将word转pdf时丢失内容(部分内容不显示)的解决方案

在用wps将word转成pdf后,发现原word文档中的部分文字内容在转成的pdf文件中未显示,但是整体文档结构没变,经过一番测试,原因是该部分内容使用了第三方字体,换成系统自带的宋体或微软雅黑后问题解决。

admin admin 2018-03-07
5.3K+ 0 0
神坑react-native之adb命令无法连接设备(could not read ok from ADB Server * failed to start daemon)的原因和解决方案

神坑react-native之adb命令无法连接设备(could not read ok from ADB Server * failed to start daemon)的原因和解决方案

今天在使用adb connect 127.0.0.1:62001 命令连接夜神模拟器的时候,一直连接不上,提示: adb server version (31) doesn't match this client (39); killing... could not read ok from ADB

admin admin 2018-02-02
1.1W+ 1 0
网站中video方式引入视频资源,播放时提示The media could not be loaded, either because the server or network failed or because the format is not supported.的一种原因

网站中video方式引入视频资源,播放时提示The media could not be loaded, either because the server or network failed or because the format is not supported.的一种原因

文章最后有2020年最新更新的解决排查方案。 在网站中用HTML5自带的video标签或者video.js的等插件的HTML5模式引入视频后,有少数用户反应观看所有视频时均无法播放,显示如下错误: The media could not be loaded, either because the

admin admin 2018-01-31
7.4W+ 46 0
神坑react-native之黄色警告Remote debugger is in a background tab which may cause apps to perform slowly. Fix this by foregrounding the tab (or opening it in a separate window).

神坑react-native之黄色警告Remote debugger is in a background tab which may cause apps to perform slowly. Fix this by foregrounding the tab (or opening it in a separate window).

在调试react native项目的时候打开 Debug JS Remotely 浏览器远程调试模式后,偶尔会出现黄色警告提示: Remote debugger is in a background tab which may cause apps to perform slowly. Fix th

admin admin 2018-01-30
5.4K+ 0 0
神坑react native之react-native-swiper组件导入react-navigation中不显示文字图片等内容的解决方案

神坑react native之react-native-swiper组件导入react-navigation中不显示文字图片等内容的解决方案

开发环境:react native:0.51  , react-native-swiper:1.5.6 , react-navigation:1.0.0 beta27 APP主要架构使用的是react-navigation组件的TabNavigator实现底部tab切换,但是在首屏中引入封装好的

admin admin 2018-01-22
3.5K+ 0 0
神坑react native之react-navigation组件TabNavigator模式底部图标tabBarIcon不显示的解决方案

神坑react native之react-navigation组件TabNavigator模式底部图标tabBarIcon不显示的解决方案

在react native项目中使用了react-navigation组件的TabNavigator模式,制作tab切换效果很方便,但是按照官方的写法,编译后在tab标题栏并没有显示icon图标,经排查,icon图标配置没有问题,只是写在tabBarIcon属性里会出现不显示的情况。 经过反复

admin admin 2018-01-21
5.2K+ 0 0
神坑React Native之react-native-vector-icons组件报错While resolving module `react-native-vector-icons/MaterialIcons`, the Haste package `react-native-vector-icons` was found. However the module `MaterialIcons` could not be found within the package的解决方案

神坑React Native之react-native-vector-icons组件报错While resolving module `react-native-vector-icons/MaterialIcons`, the Haste package `react-native-vector-icons` was found. However the module `MaterialIcons` could not be found within the package的解决方案

react native项目中使用了大名鼎鼎的图标组件 react-native-vector-icons组件,但是今天测试的时候红屏报错: error: bundling failed: Error: While resolving module `react-native-vector-icon

admin admin 2018-01-20
3.1K+ 0 0
photoshop cc制作“花字”的方法

photoshop cc制作“花字”的方法

老孙是Photoshop菜鸟,但由于工作原因,偶尔还会有一些作图需求,经常看到下载的素材中有一些“花字”,漂亮、灵活,很实用。 研究了一下,制作过程如下(本文技术含量低,权当个人笔记,以免日后忘记): 1、在画布中创建一个文字图层,随便写几个字。 2、找一张素材图,拖到画布中,放在文字图层

admin admin 2018-01-04
2.5K+ 0 0
神坑react native之unable to load script from assets ‘index.android bundle’ ,make sure your bundle is packaged correctly or youu’re runing a packager server

神坑react native之unable to load script from assets ‘index.android bundle’ ,make sure your bundle is packaged correctly or youu’re runing a packager server

最近在react native项目中执行 react-native run-android 命令后,模拟器设备中报错: unable to load script from assets ‘index.android bundle’ ,make sure your bundle is package

admin admin 2018-01-03
3.1K+ 0 0
webstorm代码缩略图插件

webstorm代码缩略图插件

用习惯sublime或hbuilder之类编辑器的web开发者,一定会对他们右侧的代码缩略图功能爱不释手,webstorm默认没有提供这个代码缩略图功能,我们可以通过 CodeGlance 这款插件来实现。 1、到插件官网下载最新版插件包:http://plugins.jetbrains.com/

admin admin 2017-12-31
6.1K+ 0 0
1 5 6 7 8 9 12