2014-08-25http://www.w3cplus.com/preprocessor/nodejs-and-grunt-compile-sass-to-css.html安装grunt sass支持,包含grunt watchboostraps的Gruntfile.js,package.json...
分类:
Web程序 时间:
2014-10-15 22:57:51
阅读次数:
268
大部分网站,都要求用户登录。
常见的做法,是让用户注册一个账户。
这种做法并不让人满意。
对于用户来说,每个网站必须记住一个密码,非常麻烦;对于开发者来说,必须承担保护密码的责任,一旦密码泄漏,对网站的业务和信誉都是巨大打击。
所以,很早以前,人们就开始设想"无密码登录"(password-less login)。这对用户和网站,都将是极大的减负。
本文先回顾...
分类:
Web程序 时间:
2014-10-15 14:55:50
阅读次数:
279
最近一直在研究jQuery Mobile框架,这是jQuery的官方移动版UI框架,专门用来开发手机与平板电脑方面的应用。结果越来越觉得它和我的QUI框架的开发思路非常相似,很多地方都有异曲同工之妙。jQuery Mobile框架倡导wire less ,do more,QUI框架中我花了很多心思让开发更加便捷,发现和jQuery Mobile框架用的手段非常相似,看来真的是英雄所见略同呢。
下...
分类:
Web程序 时间:
2014-10-14 16:23:28
阅读次数:
407
数字的比较:-eq 相等(equal)-ne 不等(not equal)-gt 大于(greater than)-lt 小于(less than)-ge 大于等于 (greater than or equal)-le 小于等于 (less than or equal)eg:if [ $max -g....
分类:
系统相关 时间:
2014-10-14 14:43:45
阅读次数:
280
[leetcode]Given a linked list and a value x, partition it such that all nodes less than x come before nodes greater than or equal to x....
分类:
其他好文 时间:
2014-10-14 11:44:49
阅读次数:
140
原文来自于:http://www.ibm.com/developerworks/cn/web/1207_zhaoch_lesscss/简介CSS(层叠样式表)是一门历史悠久的标记性语言,同 HTML 一道,被广泛应用于万维网(World Wide Web)中。HTML 主要负责文档结构的定义,CSS...
分类:
Web程序 时间:
2014-10-13 18:31:11
阅读次数:
419
Partition List
Total Accepted: 19761 Total
Submissions: 73252My Submissions
Given a linked list and a value x, partition it such that all nodes less than x come before nodes greater than ...
分类:
其他好文 时间:
2014-10-12 01:31:37
阅读次数:
317
经过了这篇文章的学习,我学会了安装less,编译less,书写less,高级书写等,less比较简单一、什么是CSS预处器CSS预处理器定义了一种新的语言,其基本思想是,用一种专门的编程语言,为CSS增加了一些编程的特性,将CSS作为目标生成文件,然后开发者就 只要使用这种语言进行编码工作。通俗的说...
分类:
其他好文 时间:
2014-10-11 18:58:16
阅读次数:
325
Problem DescriptionGiven a positive integer N, your task is to calculate the sum of the positive integers less than N which are not coprime to N. A .....
分类:
其他好文 时间:
2014-10-11 16:30:15
阅读次数:
172
less主要是重载了operator()方法,用来比较lhs 和 rhsstd::less::operator()bool operator()(const T &lhs, const T &rhs) const;constexpr bool operator()(const T &lhs, con...
分类:
其他好文 时间:
2014-10-11 15:23:25
阅读次数:
122