1. clientHeight 与  offsetHeight的区别和理解。 clientHeight: =( height + padding Height) Returns the height of the visible area for an object, in pixels. The value contains the height with the padding, but it does not include the scrollBar, border ...

    阅读全文
  2. 转载一篇看到解释的最简单易懂,以及实战例子最多的awk教程,非常不错。 http://coolshell.cn/articles/9070.html   有一些网友看了前两天的《Linux下应该知道的技巧》希望我能教教他们用awk和sed,所以,出现了这篇文章。我估计这些80后的年轻朋友可能对awk/sed这类上古神器有点陌生了,所以需要我这个老家伙来炒炒冷饭。况且,AWK是贝尔实验室1977年搞出来的文本出现神器,今年是蛇年,是AWK的本命年,而且年纪和我相仿,所以 ...

    阅读全文
  3. 官网文档: http://docs.telerik.com/fiddler/Configure-Fiddler/Tasks/ConfigureFiddler 主要包括如下内容: Configure Fiddler Observer Traffic Modify Traffic Generate Traffic Save-And-Load Traffic Extend Fiddler Knowledge Base Trouble ...

    阅读全文
  4. Linux上搭建SVN服务器可以参考网上这两篇文章,解释的很详细。 http://www.cnblogs.com/chaichuan/p/3758173.html https://my.oschina.net/junn/blog/164041 http://www.ha97.com/4467.html 这里快速的列出相关命令: 安装: 1. yum install -y subversion 查看版本 2. svnserve --versi ...

    阅读全文
  5. Features Multiple file upload(多文件上传): Allows to select multiple files at once and upload them simultaneously. Drag & Drop support(支持D&D操作): Allows to upload files by dragging them from your desktop or filemanager and dropping them ...

    阅读全文
  6. 这是一个井字棋游戏的java实现。摘录于stackoverflow。 游戏规则很简单,只要一方棋子在水平线,垂直线或者对角线任意一条线上排列成功即为获胜。 作者原先的代码存在着一些问题: 代码如下: 一共有几个类: play, player, human, computer, set Play类: import java.util.Scanner; public class play { public static void m ...

    阅读全文
  7. YUI2013-11-28

    Using YUI 2: FAQ Getting Started Licensing Support & Community Filing Bugs & Feature Requests Searchable API Documentation: Browse and search the complete YUI API. YUI 2 Developer Tools: Logger Control Pr ...

    阅读全文
  8. 第一抽屉原理 原理1: 把多于n+1个的物体放到n个抽屉里,则至少有一个抽屉里的东西不少于两件。 抽屉原理 抽屉原理 证明(反证法):如果每个抽屉至多只能放进一个物体,那么物体的总数至多是n×1,而不是题设的n+k(k≥1),故不可能。 原理2:把多于mn(m乘n)+1(n不为0)个的物体放到n个抽屉里,则至少有一个抽屉里有不少于(m+1)的物体。 证明(反证法):若每个抽屉至多放进m个物体,那么n个抽屉至多放进mn个物体,与题设不符,故不可能。 原理3:把无 ...

    阅读全文
  9. var // The deferred used on DOM ready readyList, // A central reference to the root jQuery(document) rootjQuery, // Support: IE<10 // For `typeof xmlNode.method` instead of `xmlNode.method !== undefined` core_strundefined = ty ...

    阅读全文
  10. An Introduction to DevOps DevOps can mean different things to different people and this can make it a difficult topic to explore. Here we will give a quick overview of the origins of DevOps, discuss some predecessors and examine what DevOps practi ...

    阅读全文
  11. 52810

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

    阅读全文
  12. http://www.zhangxinxu.com/study/201503/css3-object-fit.html 这篇博客很好的演示了object-fit的各种设置。博主有很不错的前端笔记。 The object-fit property defines how an element responds to the height and width of its content box. It's intended for images, videos and ot ...

    阅读全文
  13. 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(.... ...

    阅读全文
  14. 父爱 由作者朱彦潼手绘完成,创作共耗时两年,获24项国际大奖的动画《杯子里的小牛》 ...

    阅读全文
  15. 翻看了这本大数据书籍,做个摘要。 本书分为三部分分。 理论篇:重点介绍大数据时代下数据处理的基本理论及相关处理技术,并引入NoSQL数据库; 系统篇:介绍了各种类型NoSQL数据库基本知识; 应用篇:对中外知名企业在利用NoSQL数据库在处理海量数据方面的应用做了阐述。 ​本书对大数据时代面临的挑战,以及NoSQL数据库的基本知识做了清晰的阐述,有助于帮助读者整理思路,了解需求,并更有针对、有选择地深入学习相关知识。 第1章 概论  ...

    阅读全文
  16. 89630

    这里是PHP String基本函数。不同于mbstring. (multibyte Character) 多字节字符串的处理函数需要enable mbstring,多字节字符串函数不是默认安装的。 PHP Manual 函数参考 文本处理 字符串 字符串函数 addcslashes addslashes bin2hex chop chr chunk_split convert_cyr_string convert_uudeco ...

    阅读全文
  17. 参考文章 https://www.runoob.com/go/go-environment.html Go的官方文档地址为 https://golang.google.cn/doc/, 里面包括了安装文档,go的简单教程,包含如何写go代码,选用什么IDE, 如何troubleshooting,一些常见问题,以及go community的wiki. 同时也列出 Package Documentation(The documentation for the Go ...

    阅读全文
  18. MySQL修改prompt时可以使用到的特殊符号:  Option Description \c A counter that increments for each statement you issue \D The full current date \d The default database \h ...

    阅读全文
  19. 490

    Learning dumps is the key to long-term learning success. In this chapter, we'll explore proven techniques for improving information retention, including active recall, spaced repetition, and mnemonic devices. Whether you're studying for ...

    阅读全文