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
#!/bin/sh | |
# wget -qO- ... | sudo sh -s | |
set -e | |
if [ "$(id -u)" != 0 ]; then | |
exec sudo -- "$0" "$@" | |
exit 1 | |
fi |
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
#!/bin/sh | |
set -e | |
# To get the Secret value follow this: | |
# https://github.com/steamguard-totp/steamguard-shared-secret | |
# Don't forget to unescape '/' if there is | |
file="$(dirname "$(readlink -f "$0")")/steam.secret" |
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
git config --global user.email 'EMAIL' | |
git config --global user.name 'NOME' | |
git config --global pull.ff only | |
git config --global merge.conflictstyle diff3 | |
git config --global apply.whitespace nowarn | |
git config --global apply.ignorewhitespace true | |
git config --global gui.encoding utf-8 | |
git config --global core.mergeoptions '-Xignore-space-change -Xrenormalize -Xdiff-algorithm=minimal' | |
git config --global core.quotepath false | |
git config --global color.ui true |
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
diff -rupN a/config/config.go b/config/config.go | |
--- a/config/config.go 2018-02-13 06:13:44.000000000 -0200 | |
+++ b/config/config.go 2018-04-20 13:07:29.802965461 -0300 | |
@@ -382,6 +382,7 @@ func (c *GlobalConfig) UnmarshalYAML(unm | |
type Route struct { | |
Receiver string `yaml:"receiver,omitempty" json:"receiver,omitempty"` | |
GroupBy []model.LabelName `yaml:"group_by,omitempty" json:"group_by,omitempty"` | |
+ SortBy []model.LabelName `yaml:"sort_by,omitempty" json:"sort_by,omitempty"` | |
Match map[string]string `yaml:"match,omitempty" json:"match,omitempty"` |