This file contains hidden or 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
enum Ordering { | |
Less, | |
Equal, | |
Greater, | |
} | |
fn cmp(a: int, b: int) -> Ordering { | |
if a < b { Less } | |
else if a > b { Greater } | |
else { Equal } |
This file contains hidden or 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
## Header ## | |
0000000 00 00 00 01 # Aggregation method of 1: average | |
00 00 08 70 # Max Storage of 2,160 seconds | |
3f 00 00 00 # X Files Factor of 0.5 | |
00 00 00 03 # Archive Count of 3 | |
## Archive List ## | |
0000010 00 00 00 34 # Archive 1: Offset within the file | |
00 00 00 0a # Archive 1: Seconds per point: 10 | |
00 00 00 06 # Archive 1: Points: 6 | |
00 00 00 7c # Archive 2: Offset within this file |
This file contains hidden or 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
[alias] | |
co = checkout | |
s = status | |
b = branch | |
a = add | |
c = commit | |
d = diff --ignore-space-at-eol --ignore-blank-lines | |
ec = config --global -e | |
up = !git pull --prune $@ && git submodule update --init --recursive | |
cob = checkout -b |
This file contains hidden or 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
vagrant@docker-vagrant:~$ sudo salt-call --local --out=json state.show_highstate | |
{ | |
"local": { | |
[...] | |
"htpasswd.user_exists-348443333440258948": { | |
"htpasswd": [ | |
{ | |
"htpasswd_file": "/etc/nginx/docker-registry.htpasswd" | |
}, | |
{ |