Simpler shortcuts

This commit is contained in:
Rico Sta. Cruz 2017-08-24 12:41:34 +08:00
parent cad133190f
commit a558510701
No known key found for this signature in database
GPG Key ID: CAAD38AE2962619A
2 changed files with 3 additions and 5 deletions

View File

@ -50,11 +50,9 @@
.MarkdownBody table.-shortcuts { .MarkdownBody table.-shortcuts {
code { code {
font-size: 1em; font-size: 1em;
padding: 3px 8px; padding: 5px 6px;
padding-left: 8px; // compensation
background: #fafafa; background: #fafafa;
box-shadow:
0 2px 0 rgba(0, 0, 0, 0.2),
inset 0 0 0 1px rgba(0, 0, 0, 0.05);
border-radius: 3px; border-radius: 3px;
margin-right: 2px; margin-right: 2px;
letter-spacing: 0.2em; letter-spacing: 0.2em;

2
sh.md
View File

@ -453,7 +453,7 @@ pwd # still in first directory
python hello.py > output.txt # stdout to (file) python hello.py > output.txt # stdout to (file)
python hello.py >> output.txt # stdout to (file), append python hello.py >> output.txt # stdout to (file), append
python hello.py 2> error.log # stderr to (file) python hello.py 2> error.log # stderr to (file)
python hello.py 2>&1 # stdout to stderr python hello.py 2>&1 # stderr to stdout
python hello.py 2>/dev/null # stderr to (null) python hello.py 2>/dev/null # stderr to (null)
``` ```