Skip to content

Commit

Permalink
keyserver preference
Browse files Browse the repository at this point in the history
  • Loading branch information
JensDll committed May 10, 2024
1 parent d5f7da3 commit d296a72
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 3 deletions.
2 changes: 1 addition & 1 deletion unix/.bash_aliases
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ alias ll='ls --all -l'
alias la='ls --almost-all'

# https://manpages.debian.org/tree
alias lt='tree --dirsfirst -C -L 1 -a'
alias lt='tree --dirsfirst -C -L 1 -apug'

# https://manpages.debian.org/grep
alias grep='grep --color=auto'
Expand Down
11 changes: 11 additions & 0 deletions unix/.config/lldbdash/dashboard/dashboard.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,16 @@
"divider-fill-char": lldbdash.commands.StrCommand,
"show-divider": lldbdash.commands.BoolCommand,
"auto-apply-config": lldbdash.commands.BoolCommand,
"output": lldbdash.commands.StrCommand,
},
)


def on_change_output(prev_output: str, output: str):
for module in Dashboard.modules:
module.settings["output"].set_value(output)


class Dashboard:
modules: typing.ClassVar[list["Module"]]
instance: typing.ClassVar["Dashboard"]
Expand All @@ -40,6 +46,11 @@ class Dashboard:
"auto-apply-config": lldbdash.commands.BoolCommand(
True, help="Auto apply config changes when edited during debug session."
),
"output": lldbdash.commands.StrCommand(
"0",
help="The render location of the dashboard.",
on_change=on_change_output,
),
}
enabled: typing.ClassVar[lldbdash.commands.ToggleCommand]

Expand Down
2 changes: 2 additions & 0 deletions unix/.gnupg/gpg.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
keyserver hkps://keys.openpgp.org
keyserver hkps://keyserver.ubuntu.com:443
4 changes: 2 additions & 2 deletions unix/.local/bin/install-ccache
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,8 @@ declare -r temp_dir
trap '__cleanup $temp_dir' EXIT

# https://manpages.debian.org/gpg/gpg
if ! gpg --list-public-keys '5A939A71A46792CF57866A51996DDA075594ADB8' >/dev/null 2>&1; then
gpg --keyserver hkps://keyserver.ubuntu.com --receive-keys '5A939A71A46792CF57866A51996DDA075594ADB8'
if [[ -n $(gpg --auto-key-locate local --locate-keys 5A939A71A46792CF57866A51996DDA075594ADB8) ]]; then
gpg --receive-keys 5A939A71A46792CF57866A51996DDA075594ADB8
fi

declare -r binary="ccache-$version-linux-x86_64.tar.xz"
Expand Down

0 comments on commit d296a72

Please sign in to comment.