Stay Hungry,Stay Foolish!

上一页 1 ··· 21 22 23 24 25 26 27 28 29 ··· 31 下一页
摘要: 例子 https://github.com/ruanyf/react-demos/blob/master/demo12/index.html 此网页代码运行在本地, 是可以访问 github 数据的。 是由于 github 网站开启的 ajax 跨域访问能力。 显示内容: ajax跨域访问限制放开 阅读全文
posted @ 2019-02-10 12:53 lightsong 阅读(408) 评论(0) 推荐(0)
摘要: flux https://facebook.github.io/flux/ Flux is the application architecture that Facebook uses for building client-side web applications. It complement 阅读全文
posted @ 2019-02-10 09:58 lightsong 阅读(582) 评论(0) 推荐(0)
摘要: BSON https://baike.baidu.com/item/BSON 概念 编辑 BSON()是一种类json的一种二进制形式的存储格式,简称Binary JSON,它和JSON一样,支持内嵌的文档对象和数组对象,但是BSON有JSON没有的一些数据类型,如Date和BinData类型。 B 阅读全文
posted @ 2019-02-05 23:56 lightsong 阅读(1899) 评论(0) 推荐(0)
摘要: 问题背景 通常使用 ESLint做代码风格检查检查, 和部分代码质量检查。 但是使用ESLint在入库时候, 会产生很多的代码修正工作, 需要开发者一个一个的修改。 如果很多,并且时间紧迫,甚是尴尬。 ESLint http://eslint.cn/ ESLint最初是由Nicholas C. Za 阅读全文
posted @ 2019-02-05 23:24 lightsong 阅读(3978) 评论(0) 推荐(0)
摘要: 历史 JS诞生之初面向简单页面开发, 没有模块的概念。 后来页面逐渐复杂, 人类构造到 IIFE 立即执行函数来模拟 模块; 之前也有雅虎的实践,使用命名空间 作为模块名。 最后衍生出 面向各种使用场景 的 JS 模块标准。 例如: 面向浏览器的 AMD 面向Nodejs的 CommonJS 对于这 阅读全文
posted @ 2019-02-05 22:49 lightsong 阅读(7275) 评论(0) 推荐(0)
摘要: 疑问 https://github.com/ruanyf/react-demos/blob/master/demo08/index.html 在如下代码中的 18 行, 需要将本类中的 方法,进行绑定到this,即当前组件,但是render函数就不需要,为什么呢? 实验 将上行例子中的18行注释后, 阅读全文
posted @ 2019-02-05 21:35 lightsong 阅读(276) 评论(0) 推荐(0)
摘要: 标准 https://promisesaplus.com/ An open standard for sound, interoperable JavaScript promises—by implementers, for implementers. A promise represents th 阅读全文
posted @ 2019-01-16 00:16 lightsong 阅读(474) 评论(0) 推荐(0)
摘要: webpack打包理解(将所有依赖文件打包到一个文件中) 由于前端代码变得越来越多,越来越复杂, 纯粹脚本化的代码书写方式已经不能满足工程化得需求。 前端模块被抽象出来, 不仅仅包括js模块, 其它如css都算作一个模块。 将这些模块打包到同一个js文件中,就叫webpack打包。 打包原理 htt 阅读全文
posted @ 2019-01-15 00:18 lightsong 阅读(954) 评论(0) 推荐(0)
摘要: typeahead https://npm.taobao.org/package/npm-typeahead A lightweight web-app that implements typeahead search functionality for npm packages. Try it o 阅读全文
posted @ 2019-01-09 00:22 lightsong 阅读(2013) 评论(0) 推荐(0)
摘要: socket.io https://socket.io/ https://socket.io/docs/ What Socket.IO is Socket.IO is a library that enables real-time, bidirectional and event-based co 阅读全文
posted @ 2019-01-06 00:54 lightsong 阅读(5216) 评论(0) 推荐(0)
摘要: Knockoutjs https://knockoutjs.com/index.html https://knockoutjs.com/documentation/introduction.html Knockout is a JavaScript library that helps you to 阅读全文
posted @ 2018-12-16 23:44 lightsong 阅读(190) 评论(0) 推荐(0)
摘要: URL重写 https://en.wikipedia.org/wiki/Rewrite_engine A rewrite engine is a software component that performs rewriting on Uniform Resource Locators, modi 阅读全文
posted @ 2018-12-14 23:27 lightsong 阅读(497) 评论(0) 推荐(0)
摘要: ini文件定义 https://en.wikipedia.org/wiki/INI_file The INI file format is an informal standard for configuration files for some platforms or software. INI 阅读全文
posted @ 2018-10-31 23:35 lightsong 阅读(4691) 评论(0) 推荐(0)
摘要: 需求 使用docker技术管理Jenkins服务器。避免多次部署需要重复安装的重复工作,且可以方便迁移到新的服务器。 Jenkins docker镜像 https://hub.docker.com/_/jenkins/ Official Jenkins Docker image 拉取镜像: dock 阅读全文
posted @ 2018-10-28 23:27 lightsong 阅读(2168) 评论(0) 推荐(1)
摘要: 模板 https://www.collinsdictionary.com/dictionary/english/template 1. countable noun A template is a thin piece of metal or plastic which is cut into a 阅读全文
posted @ 2018-10-13 23:16 lightsong 阅读(207) 评论(0) 推荐(0)
摘要: iMacros https://imacros.net/ iMacros v12 Now Available The world's most popular web automation, data extraction, and web testing solution. Automate Ta 阅读全文
posted @ 2018-09-25 22:03 lightsong 阅读(869) 评论(0) 推荐(0)
摘要: 责任链模式 https://www.tuicool.com/articles/yINJVv Decoupling is one of the prominent mantras in software engineering. Chain of responsibility helps to dec 阅读全文
posted @ 2018-09-24 00:09 lightsong 阅读(301) 评论(0) 推荐(0)
摘要: 作为 https://github.com/fanqingsong/web_full_stack_application 子项目的一功能的核心部分,使用scrapy抓取数据,解析完的数据,使用 python requets库,将数据推送到 webservice接口上, webservice接口负责保 阅读全文
posted @ 2018-09-10 23:59 lightsong 阅读(2206) 评论(0) 推荐(0)
摘要: express http://www.expressjs.com.cn/ Express 是一个基于 Node.js 平台的极简、灵活的 web 应用开发框架,它提供一系列强大的特性,帮助你创建各种 Web 和移动设备应用。 http://www.expressjs.com.cn/starter/h 阅读全文
posted @ 2018-08-30 23:31 lightsong 阅读(737) 评论(0) 推荐(0)
摘要: 引子 简单的程序,不许要考虑通信问题,在一个进程中函数调用即可满足程序功能的分治工作, 但是当程序规模达到一定程序之后, 就必须将程序划分为独立的逻辑体, 逻辑体之间需要进行通信。 本文列举程序通信方式,从微观到宏观。 事件 通过事件,可以将单线程的程序,做好逻辑切分的情况下,产生通信过程,同时保持 阅读全文
posted @ 2018-08-28 23:54 lightsong 阅读(435) 评论(0) 推荐(0)
摘要: Mongoose https://mongoosejs.com/ Mongoose Mongoose Elegant MongoDB object modeling for Node.js Let's face it, writing MongoDB validation, casting and 阅读全文
posted @ 2018-08-24 00:21 lightsong 阅读(498) 评论(0) 推荐(0)
摘要: MongoDB https://www.mongodb.com/ MongoDB AtlasDatabase as a Service The best way to deploy, operate, and scale MongoDB in the cloud. Available on AWS, 阅读全文
posted @ 2018-08-22 23:42 lightsong 阅读(3899) 评论(0) 推荐(0)
摘要: 微信小程序 https://developers.weixin.qq.com/miniprogram/introduction/index.html?t=18082114 微信小程序是一种全新的连接用户与服务的方式,它可以在微信内被便捷地获取和传播,同时具有出色的使用体验。 概览 为了帮助开发者简单 阅读全文
posted @ 2018-08-21 23:28 lightsong 阅读(1983) 评论(0) 推荐(0)
摘要: 概念 https://www.softwaretestinghelp.com/what-is-end-to-end-testing/ What is “End to End Testing”? Term “End to End testing” is defined as a testing met 阅读全文
posted @ 2018-08-20 22:32 lightsong 阅读(1006) 评论(0) 推荐(0)
摘要: 设计原则解读。 设计原则是对设计模式的约束性要求,属于设计中基本的四项特征,不符合此四项特征的设计,不具有生命力。 设计模式也是在此四项设计原则上的具体化实例化衍生物。 Martin原文: http://www.cvc.uab.es/shared/teach/a21291/temes/object_ 阅读全文
posted @ 2018-08-18 23:05 lightsong 阅读(481) 评论(0) 推荐(0)
摘要: Karma https://baike.baidu.com/item/%E7%BE%AF%E7%A3%A8/7618552?fromtitle=Karma&fromid=878453 1,意译作“业”。业;行动;命运。一个人生命中的自然与必然事件,由前世的作为所决定。含有善恶、苦乐果报之意味,亦即与 阅读全文
posted @ 2018-08-18 11:42 lightsong 阅读(554) 评论(0) 推荐(0)
摘要: 目的 当前端开发过程中,需要输出来填充页面时候,或者后台交互时候,需要后台准备假数据服务器。 这个时候,使用mysql等后台工具,则工作量太大。 工具引入 mockjs -- 模拟随机数据 http://mockjs.com/0.1/ Mock.js 是一款模拟数据生成器,旨在帮助前端攻城师独立于后 阅读全文
posted @ 2018-08-14 23:03 lightsong 阅读(494) 评论(0) 推荐(0)
摘要: Mocha https://mochajs.org/#installation Mocha is a feature-rich JavaScript test framework running on Node.js and in the browser, making asynchronous t 阅读全文
posted @ 2018-08-09 23:19 lightsong 阅读(403) 评论(0) 推荐(0)
摘要: NightWatch http://nightwatchjs.org/ Nightwatch.js Browser automated testing done easy. Write End-to-End tests in Node.js quickly and effortlessly that 阅读全文
posted @ 2018-08-08 00:10 lightsong 阅读(474) 评论(0) 推荐(0)
摘要: 常规写法 https://cn.bing.com/search?q=js+fibonacci+sequence&pc=MOZI&form=MOZSBR 生成器 https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Glob 阅读全文
posted @ 2018-08-05 00:38 lightsong 阅读(469) 评论(0) 推荐(0)
摘要: Material Design是什么? https://www.zhihu.com/topic/20005114/top-answers 我们挑战自我,为用户创造了崭新的视觉设计语言。与此同时,新的设计语言除了遵循经典设计定则,还汲取了最新的科技,秉承了创新的设计理念。这就是原质化设计(Materi 阅读全文
posted @ 2018-08-05 00:24 lightsong 阅读(2111) 评论(0) 推荐(0)
摘要: Jasmine https://www.npmjs.com/package/jasmine The Jasmine Module The jasmine module is a package of helper code for developing Jasmine projects for No 阅读全文
posted @ 2018-08-03 23:32 lightsong 阅读(409) 评论(0) 推荐(0)
摘要: Postman https://www.getpostman.com/ Postman Makes API Development Simple. Developers use Postman to buildmodern software for the API-first world. Post 阅读全文
posted @ 2018-08-03 06:40 lightsong 阅读(369) 评论(0) 推荐(0)
摘要: 需求 Jenkins日志打印内容很长,或者并发编译导致,日志内容不容易查看。 对于具体业务失败, 开发者希望看到具体业务自身的日志内容。 解法 tee 命令能够保证, shell命令执行的内容,即往控制台输出,又往文件输出,满足了第一个要求,业务日志单独输出。 https://blog.csdn.n 阅读全文
posted @ 2018-08-02 06:37 lightsong 阅读(791) 评论(0) 推荐(0)
摘要: AngularJS DI(依赖注入) http://www.cnblogs.com/whitewolf/archive/2012/09/11/2680659.html 回到angularjs:在框架中为我们提供了angular.injector(modules)DI注入注射器。但是在我们使用注入的时 阅读全文
posted @ 2018-07-30 23:08 lightsong 阅读(420) 评论(0) 推荐(0)
摘要: v-charts https://v-charts.js.org/#/ ELEMENT力作: 在使用 echarts 生成图表时,经常需要做繁琐的数据类型转化、修改复杂的配置项,v-charts 的出现正是为了解决这个痛点。基于 Vue2.0 和 echarts 封装的 v-charts 图表组件, 阅读全文
posted @ 2018-07-29 21:03 lightsong 阅读(3138) 评论(1) 推荐(0)
摘要: 介绍 http://cmder.net/ Portable console emulator for Windows Cmder is a software package created out of pure frustration over the absence of nice consol 阅读全文
posted @ 2018-07-15 23:13 lightsong 阅读(395) 评论(0) 推荐(0)
摘要: 模块概述 https://kb.cnblogs.com/page/98352/ Nginx模块工作原理概述 (Nginx本身支持多种模块,如HTTP模块、EVENT模块和MAIL模块,本文只讨论HTTP模块) Nginx本身做的工作实际很少,当它接到一个HTTP请求时,它仅仅是通过查找配置文件将此次 阅读全文
posted @ 2018-06-18 01:23 lightsong 阅读(282) 评论(0) 推荐(0)
摘要: Flask http://flask.pocoo.org/docs/1.0/ Welcome to Flask Welcome to Flask’s documentation. Get started with Installation and then get an overview with 阅读全文
posted @ 2018-05-26 09:47 lightsong 阅读(286) 评论(0) 推荐(0)
摘要: mysql http://www.cnblogs.com/zhangzhu/archive/2013/07/04/3172486.html 1、连接到本机上的MYSQL。首先打开DOS窗口,然后进入目录mysql\bin,再键入命令mysql -u root -p,回车后提示你输密码.注意用户名前可 阅读全文
posted @ 2018-05-11 23:55 lightsong 阅读(552) 评论(0) 推荐(0)
上一页 1 ··· 21 22 23 24 25 26 27 28 29 ··· 31 下一页
千山鸟飞绝,万径人踪灭