1. 从进入小程序的场景来看小程序的潜能。   转自官网 https://mp.weixin.qq.com/debug/wxadoc/dev/framework/app-service/scene.html 场景值 基础库 1.1.0 开始支持,低版本需做兼容处理 当前支持的场景值有: 场景值ID 说明 1001 发现栏小程序主入口 100 ...

    阅读全文
  2. 在Android Studio中Blank Activity和Empty Activity区别: Blank Activity Adding more ready made contents for you(ActionBar, content.xml)。 Empty Activity has nothing rather than a white screen. ...

    阅读全文
  3. PHP Fatal error:  Call to undefined function imagettftext() in 这个错误主要是因为在使用function imagettftext()时找不到定义的字体位置。简单的解决办法就是正确设置字体路径。PHP官方也有个提议就是将字体和script放置在相同路径。 “In many cases where a font resides in the same directory as the scri ...

    阅读全文
  4. 学习css3的作业之一,制作一个简单的图表。 这里是源码和效果图。 参考文档:https://tympanus.net/Tutorials/Animated3DBarChart/ CSS源码: @media screen and (max-width: 450px) { .sm-graph-container { font-size: 0.22em; } ...

    阅读全文
  5. Past tenses Past tenses - 过去时态 对于过去发生,并且已经结束的动作或行为,需要使用一般过去时态。与该时态连用的时间状语包括:yesterday, last night, last year, a long time ago, 1990 等。   例如: I watched a movie last night. 过去进行时态用来表达,在过去某一时刻,一个动作发生时,另一个动作正在 ...

    阅读全文
  6. /bin :获得最小的系统可操作性所需要的命令 /boot :内核和加载内核所需的文件 /dev :终端磁盘调制解调器等的设备项 /etc :关键的启动文件和配置文件 /home :用户的主目录 /lib :C编译器的库和部分C编译器 /media :可移动介质上文件系统的安装点 /opt :可选的应用安装包 /proc :所有正在运行进程的映像 /root :超级用户的主目录 /sbin :引导修复或者恢复系统的命令 /tmp :每次重新引导就消失的临时文件 /usr ...

    阅读全文
  7. RFC2616学习笔记--第一章(Introduction简介) Tue Feb 18 2014 18:10:00 GMT+0800 (中国标准时间) HTTP协议(超文本传输协议)是一个应用层面的协议。 版本: HTTP/0.9: 一个简单的协议,用于在网络上传输原始数据。 HTTP/1.0: 它加强了以下功能: 支持MIME格式的消息 支持包含元数据的支持,这些元数据信息包含数据的传输和修改。 但是HTTP/1.0并没有充分考虑多层代理、缓 ...

    阅读全文
  8. Spring configuration property的优先级官方说明:https://docs.spring.io/spring-boot/docs/current-SNAPSHOT/reference/htmlsingle/#boot-features-external-config Externalized Configuration Spring Boot lets you externalize your configuration so that you can ...

    阅读全文
  9. 这篇blog用于记录一些分享链接 2015/12: How to replace remote files with local files when debugging How to replace Javascript of production website with local Javascript? Fiddler: AutoResponder Reference   ...

    阅读全文
  10. 初次使用AndroidStudio时,准备 Run app时出现这个错误,根据提示使用SDK manager下载 Intel HAXM仍然有这个问题。 Cannot lanuch AVD in emulator. Outout: emulator: ERROR: x86 emulation currently requires hardware acceleration! Please ensure Intel HAXM is properly installed and usab ...

    阅读全文
  11. 当把apache2.2的配置文件修改后在apache2.4中运行遇到了这个问题:[access_compat:error] [pid 6095] [client ::1:53090] AH01797: client denied by server configuration。 这个问题与2.2及2.4的版本在访问认证和授权方面又很大的修改。具体可以查看官方wiki: https://wiki.apache.org/httpd/ClientDeniedByServerConfig ...

    阅读全文
  12. nodejs学习2015-11-25

    nodejs最新版下载地址: https://nodejs.org/download/release/latest-v5.x/node-v5.1.0-x64.msi 第三方提供的学习网址: http://www.runoob.com/nodejs/nodejs-tutorial.html   ...

    阅读全文
  13. nginx(读着: engine x)   1) nginx的官网文档《Beginer's Guide》  这个指南大体讲了三个常用配置的例子:serving static content, setting up a simple proxy server; setting up fastCGI proxy server。 首先如何启动和停止nginx. To start nginx, run the executable ...

    阅读全文
  14. 本文记录Spring学习过程中觉得不错的学习资料和经验分享文章。本文不断更新。。 学习前需要了解的Knowledge Path Servlet Java annotation -> Lombok Spring framework(Core) -> SpringMVC -> SpringBoot ->Maven -> MyBatis -> SpringCloud    学习资料: 源码 S ...

    阅读全文
  15. 继承机制实例 通过使用 ECMAScript,不仅可以创建对象,还可以修改已有对象的行为。 prototype 属性不仅可以定义构造函数的属性和方法,还可以为本地对象添加属性和方法。 创建新方法 通过已有的方法创建新方法 可以用 prototype 属性为任何已有的类定义新方法,就像处理自己的类一样。例如,还记得 Number 类的 toString() 方法吗?如果给它传递参数 16,它将输出十六进制的字符串。如果这个方法的参数是 2,那么它 ...

    阅读全文
  16. Linux下创建用户和用户组是通过useradd和groupadd指令来实现的,mac OS居然不支持! mac OS下创建用户和用户组就是通过界面来实现的。就连/etc/passwd中也找不到我们创建的用户。因为mac OS是基于BSD的用户管理模式。mas OS有很多门道道跟一般的linux版本不一样。 偏好设置(preference)->用户和用户组Users & User Groups->取消锁定后点击+来创建。 ...

    阅读全文
  17.  官方文档: https://docs.oracle.com/javaee/7/api/javax/persistence/ManyToMany.html     参考文档: What is An Association? : https://docs.oracle.com/cd/A97336_01/buslog.102/bc4j/developing_bc_projects/bc_awhatisanassoc.ht ...

    阅读全文
  18. geohash2020-05-27
    27480

    geohash.org   ...

    阅读全文
  19. java中日期(Date),时区(TimeZone),夏令时(daylight)以及地区(Locale),日历(Calendar), DateFormat,fasttime之间的关系整理,以及一些开源的Utils工具类。 java的Calendar, TimeZone都是抽象类。具体的子类有GregorianCalendar, JuliaCalendar和JapaneseImperialCalendar以及SimpleTimeZone。有待某位国人来写个Chinese Lunar Cale ...

    阅读全文