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 --git a/go/src/infra/build/siso/auth/cred/credhelper.go b/go/src/infra/build/siso/auth/cred/credhelper.go | |
index 16d173e978..2b6179de21 100644 | |
--- a/go/src/infra/build/siso/auth/cred/credhelper.go | |
+++ b/go/src/infra/build/siso/auth/cred/credhelper.go | |
@@ -158,7 +158,7 @@ func (h *credHelper) token(endpoint string) (*oauth2.Token, error) { | |
} | |
auth := prc.headers["authorization"] | |
if auth == "" { | |
- return nil, fmt.Errorf("no Authorization in resp from helper %s: %w\nstdout: %s", h.path, err, string(prc.stdout)) | |
+ auth = "Bearer " |
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
{ pkgs ? import <nixpkgs> { | |
localSystem = { | |
gcc.arch = "x86-64-v3"; | |
gcc.tune = "alderlake"; | |
system = "x86_64-linux"; | |
}; | |
} }: | |
let kvrocks = pkgs.stdenv.mkDerivation (finalAttrs: with pkgs; { | |
pname = "kvrocks"; |
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
set -e | |
ROOTS=${1:-/root/dev-roots} | |
mkdir -p "$ROOTS" | |
rm "$ROOTS/"* | |
nix --extra-experimental-features nix-command derivation show -r /run/current-system | | |
jq -r 'map(select(.outputs.out.path)) | map(.outputs.out.path) | unique .[]' | | |
grep -xFf <(nix-store --gc --print-dead) | | |
xargs ln -vst "$ROOTS" | |
ln -vst /nix/var/nix/gcroots/auto "$ROOTS/"* |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
call plug#begin('~/.local/share/nvim/plugged') | |
Plug 'rust-lang/rust.vim' | |
Plug 'autozimu/LanguageClient-neovim', { | |
\ 'branch': 'next', | |
\ 'do': 'bash install.sh', | |
\ } | |
"Plug 'vim-denops/denops.vim' | |
"Plug 'vim-denops/denops-helloworld.vim' | |
Plug 'Shougo/ddu.vim' | |
Plug 'Shougo/ddu-ui-ff' |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
upstream=https://cdn-alt.download.clearlinux.org/update | |
mkdir mirror-download-clearlinux-org | |
cd mirror-download-clearlinux-org | |
format=30 | |
latest=`curl -s $upstream/version/format$format/latest` | |
minversion=`curl -s $upstream/$latest/Manifest.MoM | awk '/^minversion:/{print$2}'` | |
for SUBDIR in 0 version $minversion | |
do wget --no-verbose --no-parent --recursive --no-host-directories -erobots=off --reject "index.html" \ | |
$upstream/update/$SUBDIR/ | |
done |
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
import seaborn as sns | |
import numpy as np | |
import matplotlib.pyplot as plt | |
v5_1 = np.array([ | |
[18.2344,0.8817], | |
[7.6955,0.8927], | |
[3.4063,0.9219], | |
[2.1284,0.9350], | |
[1.6182,0.9551], |
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
17590 mov | |
5373 lea | |
3701 add | |
3632 cmp | |
1740 jmp | |
1708 call | |
1534 sub | |
1281 cmovl | |
1272 imul | |
1230 push |
NewerOlder