码迷,mamicode.com
首页 >  
搜索关键字:less    ( 4949个结果
less命令
less命令的作用与more十分相似,都可以用来浏览文字档案的内容,不同的是less命令允许用户向前或向后浏览文件,而more命令只能向前浏览。用less命令显示文件时,用PageUp键向上翻页,用PageDown键向下翻页。要退出less程序,应按Q键。语法 less(选项)(参数)选项-e:文件...
分类:其他好文   时间:2015-06-06 18:12:36    阅读次数:151
LeetCode 86 Partition List
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. You should preserve the original relative order of the nodes in each of...
分类:其他好文   时间:2015-06-06 09:11:05    阅读次数:89
LESS css3 画线 流动
LESS:@r:5px;#container{ border: 1px solid; width: 800px; height:600px; position: relative;}@MyTemplate:{ @{stay0}{ .wh(@left,@...
分类:Web程序   时间:2015-06-06 00:28:14    阅读次数:563
poj 1741 楼教主男人八题之一:树分治
http://poj.org/problem?id=1741 Description Give a tree with n vertices,each edge has a length(positive integer less than 1001).  Define dist(u,v)=The min distance between node u and v.  Give a...
分类:其他好文   时间:2015-06-05 12:16:55    阅读次数:317
Mac 终端
pwd当前工作目录cd(不加参数)进rootcd(folder)进入文件夹cd..上级目录cd~返回rootcd-返回上一个访问的目录rm文件名删除cat文件名(|less)在终端下查看文件ls列出目录下所有文件cp文件名目标目录将文件拷贝到目标目录下~代表root如:~/Document/CPP2/mkdiv新建文件夹g++源文..
分类:系统相关   时间:2015-06-05 01:01:43    阅读次数:145
POJ2407---Relatives(求单个数的欧拉函数)
Description Given n, a positive integer, how many positive integers less than n are relatively prime to n? Two integers a and b are relatively prime if there are no integers x > 1, y > 0, z > 0 such t...
分类:其他好文   时间:2015-06-04 22:54:18    阅读次数:175
Lettcode_204_Count Primes
本文是在学习中的总结,欢迎转载但请注明出处:http://blog.csdn.net/pistolove/article/details/46366207 Description: Count the number of prime numbers less than a non-negative number, n. 思路: (1)题意为给定整数n,求解n以内的整数中有多少个素数(质数)。 (2)该题涉及到数学相关的知识。首先,看下素数的定义:质数(prime...
分类:其他好文   时间:2015-06-04 22:51:54    阅读次数:142
gulp-notify处理报错----gulp系列(二)
上一节,以less为例,入门了gulp,并为任务结构做了抽离。前端们,gulp该用起来了,简单的demo入门——gulp系列(一)本节学习下gulp-notify,官方这样解释的:gulp-notify:gulp plugin to send messages based on Vinyl File...
分类:其他好文   时间:2015-06-04 18:50:05    阅读次数:123
CSS3新特性+less实验——animation
自从CSS3推出animation以来,一大批H5应用纷纷利用animation来制作以往需要JS或FLASH才能制作出的特效。今天就来看看animation的庐山真面目吧。实验对象:animation animation可以被用来定义一组动画效果,此效果可以被应用在任何元素之上,并且可以通过它提供的各项参数精确控制动画的细节。 语法 animation:[[ animation-name...
分类:Web程序   时间:2015-06-04 13:55:08    阅读次数:192
Project Euler:Problem 36 Double-base palindromes
The decimal number, 585 = 10010010012 (binary), is palindromic in both bases. Find the sum of all numbers, less than one million, which are palindromic in base 10 and base 2. (Please note that the...
分类:其他好文   时间:2015-06-04 12:00:19    阅读次数:109
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!