博文

目前显示的是 十二月, 2013的博文

Make use of your logs with Logstash, ElasticSearch, Kibana and Redis

https://medium.com/what-i-learned-building/e855bc08975d

Javascript quick revisit

The new keyword http://htmldog.com/guides/javascript/advanced/oo/ http://stackoverflow.com/questions/1646698/what-is-the-new-keyword-in-javascript CDN - Content Delivery Networks <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"> </script> Browser Object Model (BOM) The window object is supported by all browsers. It represent the browser's window. All global JavaScript objects, functions, and variables automatically become members of the window object. Global variables are properties of the window object. Global functions are methods of the window object. Even the document object (of the HTML DOM) is a property of the window object: window.document.getElementById("header"); same as: document.getElementById("header"); RegEx Syntax var patt=new RegExp(pattern,modifiers); or more simply: var patt=/pattern/modifiers; Prototype property Prototype is a global constructor in J...