This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
code: 0 | |
data: | |
avg_latency: 0.001652 | |
histogram: | |
- [0, 993783] | |
- [1, 2130949] | |
- [2, 720051] | |
- [3, 163491] | |
- [4, 107124] | |
- [5, 51909] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Question | |
Suppose i have a command cmd | |
``` | |
cmd --opt1=['public'|'private'] --opt2=[true|false] | |
``` | |
How do i define `--opt2` defaut value to `false` if `--opt1` is `public` | |
and `--opt2` default value to `true` if `--opt1` is `private` ? | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
unbind C-b | |
# set -g prefix ` | |
# bind-key ` send-prefix | |
# Example tmux.conf | |
# 2014.10 | |
### General | |
########################################################################### | |
set -g mouse on |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"io/ioutil" | |
"os/exec" | |
"fmt" | |
) | |
// EXAMPLE: echo "Subject: TestnHello" | sendmail -f [email protected] [email protected] | |
// Useful Links: https://gobyexample.com/spawning-processes |
NewerOlder