关闭

Web css named way BEM

For developing front end , BEM is a perfect way of name your dom css name . there is simple introduce :.1 .block-warp-name :represent advance or abstract parent dom . .2 .block--wrap-name__name : the...
阅读(108) 评论(0)

Video http dash mp4 box slice

There is three points introduce: dash overriew server slice video by mp4 box and ffpeg how to use dash at native or web Dynamic Adaptive Streaming over HTTP (DASH), also known as MPEG-DASH, is an adap...
阅读(301) 评论(0)

For vue cli hot update no useful

today , when use vue cli , writing code by webstorm i have fonund a issue that vue can not compile after change code , so amazing thing , after get many infomation about this , at last , solve the issu...
阅读(219) 评论(0)

react-native 完整实现登录功能

React Native write login , UI framework , network , navagate, click event.Refer : http://blog.csdn.net/u012915455/article/details/52594091if the server is springmvc need as below configuration. <!--in...
阅读(301) 评论(0)

Front and rear separation of security issues

登录验证以及安全问题: 1、请求接口全部用post方式,在后端判断请求方式是否为post 2、前后端代码放在同一服务器,在后端判断请求的来源是否与服务器同源:$source_url = parse_url($_SERVER['HTTP_REFERER']);$server_url = isset($_SERVER['HTTP_X_FORWARDED_HOST']) ? $_SERVER['H...
阅读(174) 评论(0)

Activity has leaked window that was originally added

this error will not crash application . the way to solve issue :I meet this issue when activity destroy but dialog still show :so you can resolve it as below: @Override protected void onDestroy() {...
阅读(598) 评论(0)

Php Overrview

Php is more simple script language for developing server.The base refer: http://www.runoob.com/php/php-datatypes.htmls Maybe you need to learn base data type , class , simple programmer(the programm...
阅读(203) 评论(0)

css link @import

if you use in html : Title @import url("css1.css"); d...
阅读(767) 评论(0)

javascript for mvvm

mvvm //s...
阅读(706) 评论(0)

JS Array ...map ,reduce , filter..

Array共有九个方法Refer: http://www.cnblogs.com/webapi/p/5706348.htmlArray.prototype.indexOf Array.prototype.lastIndexOf Array.prototype.every Array.prototype.some Array.prototype.forEach Array.prototype.map...
阅读(714) 评论(0)

js object.create()、Object.defineproperty()、,Object.keys()...for..in,for..each

Speak of that how to create object in javascript , maybe you know: new Object(); var obj = {}; new function(){}; // var obj = new function(){}();Have you know Object.create()? //as the photo you needn’...
阅读(715) 评论(0)

three way of waterfall flow

First the simple way , use css3 colum-width: <meta name="viewport" content="width=device-width, user-scalable=no, initia...
阅读(775) 评论(0)

nodejs koa framework overview

koa as nodejs server framework more simple than express , you should learn es6 ,javascript rather than know koa firstly. i wonder why that koa chinese document is different from english , may be chinse...
阅读(801) 评论(0)

yarn

install refer : http://www.jackpu.com/yarn-facebook-kai-yuan-de-bao-guan-li-gong-ju/ yarn documention : https://yarnpkg.com/en/ yarn compare npm :https://yarnpkg.com/en/docs/migrating-from-npm:yarn...
阅读(793) 评论(0)

Promise , fetch Api ,blueBird,Q,When

Promise which the solution of async programmer is the original obj presented by ecmaScript 6 , it’s better than the asynchronous callback was presented by community ; Promise is a object that can get...
阅读(743) 评论(0)

Vue Lazy Loading Routes

When building apps with a bundler, the JavaScript bundle can become quite large, and thus affect the page load time. It would be more efficient if we can split each route’s components into a separate c...
阅读(1126) 评论(0)

Docker,compose,kitematic Overview and build Php WordExpress

Docker 通常在服务器环境中使用较多,出于服务器端配置相对繁琐,前端使用Npm,yarn 等管理工具已经很方便了。下面开始介绍概念以及环境搭建 首先介绍下docker的基本概念照抄一下:Docker is the world’s leading software container platform. Developers use Docker to eliminate “works on my...
阅读(873) 评论(0)

js source map

Refer http://www.ruanyifeng.com/blog/2013/01/javascript_source_map.html souce map 于jq 中1.9版本开始,目的为解决js 压缩等操作过后,调试位置的对应关系,通常会在开发模式下打开此模式....
阅读(688) 评论(0)

应用栏跳转,返回首页,tab 位置显示错误问题

问题描述 : 在类似You TuBe 那种应用, Tab 切换后进行其他页面跳转,在返回上一个界面时,tab 会默认为现实Index 为 0 的 tab 由于页面采用vue 开发,解决方案基于vue 但原理都一样, vue 在路由到页面会执行生命周期方法,可以在destroed:function(){ //remark the Tab Index }mounted:function(){...
阅读(733) 评论(0)

android 实现 bilili 动画播放效果

http://www.jianshu.com/p/06c0ae8d9a96状态栏透明: //设置状态栏透明 if(Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) { Window window = getWindow(); window.clearFlags(W...
阅读(645) 评论(0)
285条 共15页1 2 3 4 5 ... 下一页 尾页
    个人资料
    • 访问:153918次
    • 积分:6122
    • 等级:
    • 排名:第4514名
    • 原创:274篇
    • 转载:11篇
    • 译文:0篇
    • 评论:8条
    博客专栏