移动开发 app端开发中,外部js是否需要下载到本地,到负载均衡
再一次app开发中,发现有引用的外部文件: 外部的文件不是应该下载到本地然后在引用这样不是更安全吗?(当时的心声)于是咨询了下经验丰富的同事: 引用外部的js文件时,优先使……
移动开发 Centos 中 TCPWrappers访问控制
博文目录 一、TCP Wrappers概述 二、TCP Wrappers的访问策略 1、策略的配置格式 2、访问控制的基本原则 3、TCP Wrappers配置实例 一、TCP Wrappers概述 TCP Wrappers将TCP服务程序“包裹”起来,代为监……
移动开发 你知道多少this,new,bind,call,apply?那我告诉你
那么什么是this,new,bind,call,apply呢?这些你都用过吗?掌握这些内容都是基础中的基础了。如果你不了解,那还不赶快去复习复习,上网查阅资料啥的! 通过call,apply,bind可以改变……
移动开发 10—mybatis 通用mapper插件 pagehelper 分页
spring boot真的太好用了,大家以后多多使用,今天来说说pagehelper来做mybatis分页,我用的是spring boot做的开发,后面会把源码发出来。 pagehelper(https://github.com/pagehelper/Mybatis-PageHelper) 是……
移动开发 happy number
Write an algorithm to determine if a number is "happy". A happy number is a number defined by the following process: Starting with any positive integer, replace the number by the sum of the squares of its digits, and repeat the process unti……
移动开发 appium 连接夜神模拟器提示adb版本不匹配的解决方法(adb server version (36) doesn&
安装完夜神模拟器在cmd检测时,提示adb server version (36) doesn‘t match this client (41); killing... 说明andriod adb版本和模拟器adb版本不匹配 查找原因: 1.查看Android-adb 版本,cmd输入adb --version,可……
移动开发 javascript采用Broadway实现安卓视频自动播放的方法(这种坑比较多 不建议使用)
javascript采用Broadway实现安卓视频自动播放的方法 Broadway 是一个 H.264 解码器, 比jsmpge清晰度要高 使用 Emscripten 工具从 Android 的 H.264 解码器转化而成,它还针对 WebGL 做了一些优化。 1 先把……
移动开发 安装cnpm后运行报cnpm : 无法加载文件 C:UsersyizonAppDataRoamingnpmcnpm.ps
安装cnpm: npm install -g cnpm --registry=https: // registry.npm.taobao.org 安装完成后报错:无法加载文件 C:UsersyizonAppDataRoamingnpmcnpm.ps1,因为在此系统上禁止运行脚本 解决:管理员身份运行power sh……
移动开发 djang项目中的疑问及解决办法(ValueError: Invalid model reference 
这个问题其实就是apps.user.User这种用法是不对的,就在下面的模型中,我本来是绑定apps.user.User,但是试了一下,由于order和user是在同一个apps中,所以直接用user.User就可以了 此外,我还有……
移动开发 获取app的应用包名和入口页面
首先要安装Android-adb工具,(安装方法参考上一篇---app自动化环境安装)在安装目录下找到Sdkplatform-tools目录,在目录路径cmd进入命令行,输入aapt dump badging 应用的apk路径 运行可以看到……