Update.
This commit is contained in:
parent
c03d0b74e3
commit
bd4ab84883
2
ansi.md
2
ansi.md
|
@ -22,6 +22,8 @@ Where:
|
||||||
2J clear screen
|
2J clear screen
|
||||||
0;0H move cursor to 0;0
|
0;0H move cursor to 0;0
|
||||||
|
|
||||||
|
1A move up 1 line
|
||||||
|
|
||||||
Colors
|
Colors
|
||||||
|
|
||||||
0 black
|
0 black
|
||||||
|
|
|
@ -98,6 +98,5 @@ Here are some badges for open source projects.
|
||||||
> GitHub [@rstacruz](https://github.com/rstacruz) ·
|
> GitHub [@rstacruz](https://github.com/rstacruz) ·
|
||||||
> Twitter [@rstacruz](https://twitter.com/rstacruz)
|
> Twitter [@rstacruz](https://twitter.com/rstacruz)
|
||||||
|
|
||||||
[MIT License]: License.md
|
|
||||||
[MIT License]: http://mit-license.org/
|
[MIT License]: http://mit-license.org/
|
||||||
[contributors]: http://github.com/rstacruz/nprogress/contributors
|
[contributors]: http://github.com/rstacruz/nprogress/contributors
|
||||||
|
|
|
@ -0,0 +1,13 @@
|
||||||
|
---
|
||||||
|
title: Google Webfonts
|
||||||
|
layout: default
|
||||||
|
---
|
||||||
|
|
||||||
|
### Link tag
|
||||||
|
|
||||||
|
<link href='http://fonts.googleapis.com/css?family=Open+Sans' rel='stylesheet' type='text/css'>
|
||||||
|
|
||||||
|
### CSS import
|
||||||
|
|
||||||
|
@import url(http://fonts.googleapis.com/css?family=Open+Sans);
|
||||||
|
@import url(http://fonts.googleapis.com/css?family=Open+Sans:400,400italic|Montserrat:400,700);
|
30
less.md
30
less.md
|
@ -11,3 +11,33 @@ layout: default
|
||||||
e("ms:stuff()") #=> ms:stuff() (unquote)
|
e("ms:stuff()") #=> ms:stuff() (unquote)
|
||||||
|
|
||||||
%("count: %d", 1+2) #=> "count: 3"
|
%("count: %d", 1+2) #=> "count: 3"
|
||||||
|
|
||||||
|
iscolor(@x)
|
||||||
|
isstring(@x)
|
||||||
|
isnumber(@x)
|
||||||
|
iskeyword(@x)
|
||||||
|
isurl(url(...))
|
||||||
|
ispixel()
|
||||||
|
isem()
|
||||||
|
ispercentage()
|
||||||
|
isunit()
|
||||||
|
|
||||||
|
hue(@color)
|
||||||
|
saturation(@color)
|
||||||
|
lightness(@color)
|
||||||
|
luma(@color)
|
||||||
|
luminance(@color)
|
||||||
|
|
||||||
|
fade(@color, amount)
|
||||||
|
fadein(@color, amount)
|
||||||
|
fadeout(@color, amount)
|
||||||
|
spin(@color, degrees)
|
||||||
|
mix(@a, @b, amount)
|
||||||
|
|
||||||
|
### Conditionals
|
||||||
|
|
||||||
|
.image when (luma(@color) > 50%) { }
|
||||||
|
.image when (not(...)) { }
|
||||||
|
.image when (default()) {}
|
||||||
|
.image when (e(@shape) = 'circle') { }
|
||||||
|
|
||||||
|
|
25
minimist.md
25
minimist.md
|
@ -18,6 +18,31 @@ args == {
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
```js
|
||||||
|
if (args.help) {
|
||||||
|
var cmd = require('path').basename(process.argv[1]);
|
||||||
|
console.log(require('fs').readFileSync(__dirname+'/../help.txt','utf-8').replace(/\$0/g, cmd));
|
||||||
|
].join('\n'));
|
||||||
|
process.exit();
|
||||||
|
}
|
||||||
|
|
||||||
|
if (args.version) {
|
||||||
|
console.log(require('../package.json').version);
|
||||||
|
process.exit();
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
### Help.txt
|
||||||
|
|
||||||
|
```
|
||||||
|
Usage:
|
||||||
|
$0 FILES [options]
|
||||||
|
|
||||||
|
Options:
|
||||||
|
-h, --help print usage information
|
||||||
|
-V, --version show version info and exit
|
||||||
|
```
|
||||||
|
|
||||||
### Reference
|
### Reference
|
||||||
|
|
||||||
* https://www.npmjs.org/package/minimist
|
* https://www.npmjs.org/package/minimist
|
||||||
|
|
|
@ -11,9 +11,12 @@ layout: default
|
||||||
dpkg -i *.deb # Install a deb file
|
dpkg -i *.deb # Install a deb file
|
||||||
dpkg -s nodejs # Show info
|
dpkg -s nodejs # Show info
|
||||||
|
|
||||||
|
dpkg --get-selections # list installed packages
|
||||||
|
|
||||||
### Apt archives path
|
### Apt archives path
|
||||||
|
|
||||||
/var/cache/apt/archives
|
/var/cache/apt/archives
|
||||||
|
|
||||||
### List services
|
### List services
|
||||||
|
|
||||||
service --status-all
|
service --status-all
|
||||||
|
|
Loading…
Reference in New Issue