1. 53080

    Jenkins安装plugin时出现的错误: Checking internet connectivity Checking update center connectivity sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target at sun.security.provider.certpath ...

    阅读全文
  2. URLs中的id位置最佳实践: http://www.site.com/id/slug-title http://www.site.com/slug-title-id 第一个为最佳实践,如stackoverflow网站。原因是有时候url过长会被截断,这时第一种情况下仍然能拿到id。 参考文档: http://webmasters.stackexchange.com/questions/17002/why-do-stack-overflow-question-u ...

    阅读全文
  3. 在 Java 8 之前,接口只能有抽象方法。这些方法的实现必须在单独的类中提供。因此,如果要在接口中添加新方法,则必须在实现同一接口的类中提供其实现代码。为了克服这个问题,Java 8 引入了默认方法(default method)的概念,该方法允许接口具有实现的方法,而不会影响实现接口的类。 // A simple program to Test Interface default // methods in java interface TestInterface { ...

    阅读全文
  4. 学习内容源于 官方文档 https://docs.spring.io/spring/docs/current/spring-framework-reference/core.html#expressions   学习摘要: SpEL: Spring Express Language, a java expression language. Other known expression Language: OGNL, MVEL, JBoss EL ... ...

    阅读全文
  5.         ...

    阅读全文
  6. linux下添加PHP的扩展程序cURL. 之前编译的PHP没有cURL扩展,现在需要添加这个扩展程序。百度了一些文章,帮助很大,由于对Linux不是太熟,仍然出现了一些误解和小状况,现在小结一下。 大体方法如网上所言: 进入安装原php的源码目录(比如/envhome/php-5.x/), 1. cd ext 2. cd curl 3. [/phphome/bin/]phpize (这里phpize肯定找不到,所以应该加上路径,如/phph ...

    阅读全文
  7. Deployment to application servers uses deployment profiles which rely on project metadata for the default mappings. Default contributors to the profiles are based on project dependencies, although you can customize the deployment profiles to change t ...

    阅读全文
  8. 转自官网 https://mp.weixin.qq.com/debug/wxadoc/dev/framework/app-service/page.html   Page Page() 函数用来注册一个页面。接受一个 object 参数,其指定页面的初始数据、生命周期函数、事件处理函数等。 object 参数说明: 属性 类型 描述 data Objec ...

    阅读全文
  9. Linux下用户管理,在学习了useradd, userdel, usermod, groupadd, passwd等命令后就可以做一些普通的用户管理了。如果不希望重复劳动,可以写个简单的脚本来帮助实现这样的功能。 #您正在运行本程序来创建用户,继续请输入yes(y) 退出请输入no(n): y #创建用户前收集以下信息 #用户名: jason # 是否为该用户创建主目录?yes(y) or no(n): yes #请输入该用户主目录: /home/jason #已 ...

    阅读全文
  10. DF 命令Info2013-12-28

    File: coreutils.info,  Node: df invocation,  Next: du invocation,  Up: Disk usage 14.1 `df': Report file system disk space usage ============================================== `df' reports the amount of disk space used a ...

    阅读全文
  11. 在学习wordpress时,根据著名的5分钟安装方法安装,结果挂在安装第二步,基本的数据表都已经建好,单就没有任何进展。如图: 这是再进入重新安装页面则显示“一些数据表无效,数据库也许需要 修复。”。即使按照提示define(‘WP_ALLOW_REPATR’,true); 去修复也没有用,依旧没有安装成功页面。   参考解决方案: 修改php.ini中的max_execution_time值为6 ...

    阅读全文
  12. 1290

    文档管理,涉及到文档版本、文档的签入签出、文档分类、文档可见度权限管理、文档发布流程。这里主要列两个流程:通用文档评审流程和工艺文档评审流程。不同的文档类别在流程上涉及的审批人员和可见度有所区别,其他大致一样。  文档相关流程 一般文档评审流程 工艺文档审批流程 一般文档评审流程主要几个节点 编制 (Pending 状态):由文档负责人提交文档发起评审流程 审核  (Review 状态,由编制人主管审核):进 ...

    阅读全文
  13. 本文为https://docs.spring.io/spring/docs/current/spring-framework-reference/core.htmlSpring学习过程中遇到的知识点 先记录后深入学习   Annotations 1. Java-based configuration  中提到了 @Configuration @Bean @Import @DependsOn   Resource Int ...

    阅读全文
  14. 原文摘自 阳台的博文 http://www.cnblogs.com/chris-cp/p/4843407.html   阳台博主的文章不错,值得长期关注。 一、概述:   在配置邮件服务器之前,先解释几个概念。   通常使用Email都很容易,但是Internet的邮件系统是通过几个复杂的部分连接而成的,对于最终用户而言,我们熟悉的Outlook,Foxmail等都是用来收信和发信的,称之为MUA:Mail User Agent,邮件用户代理。 ...

    阅读全文
  15. 59350

    className 规定元素的 class 属性。注意:该属性名不是 "class",因为 "class" 是 JavaScript 中的保留字。 类型:String。状态:可写。 currentStyle 这一特定于 IE 的属性应用于元素的所有 CSS 属性的级联组。它是 Window.getComputedStyle() 的仅用于 IE 的替代。 类型:String。状态:可写。 dir 规定元素的 dir ...

    阅读全文
  16. 在apache web服务器上,如果没有设置好,就可能将网站目录给暴露出来。用户可能遇到这样的情况: 这往往不是网站站长所期望用户能看到的。 解决这个问题可以通过设置apache配置文件httpd.conf 中的目录 "-Indexs" 指令来解决。 如下图: 这样设置后的效果就会显示:     ...

    阅读全文
  17. 在PHP中如何防止SQL注入?下面是简单的SQL注入案例: $unsafe_variable = $_POST['user_input']; mysql_query("INSERT INTO `table` (`column`) VALUES ('$unsafe_variable')"); 如果用户输入value'); DROP TABLE table;那就可以把表给删了,危害性很大。 为防止这种情况发生, ...

    阅读全文
  18. Question words Question words - 疑问词 常用的疑问词包括: 谁 Who 什么时候 When 什么 What 哪里 Where 为什么 Why 怎样 How 多大(年纪) How old 多大(大小) ...

    阅读全文
  19. jQuery.fn = jQuery.prototype = {..........}; // Give the init function the jQuery prototype for later instantiation jQuery.fn.init.prototype = jQuery.fn; jQuery.extend = jQuery.fn.extend = function() {........}; jQuery.extend(.... ...

    阅读全文
  20. 在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. ...

    阅读全文