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 ( | |
"fmt" | |
"log" | |
"os" | |
"helm.sh/helm/v3/pkg/cli" | |
"helm.sh/helm/v3/pkg/downloader" | |
"helm.sh/helm/v3/pkg/getter" |
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
+ mockery --config /go/src/github.com/argoproj/argo-cd/.mockery.yaml | |
03 Nov 24 16:34 UTC INF Starting mockery dry-run=false version=v2.43.2 | |
03 Nov 24 16:34 UTC INF Using config: /go/src/github.com/argoproj/argo-cd/.mockery.yaml dry-run=false version=v2.43.2 | |
03 Nov 24 16:36 UTC ERR encountered error when loading package error="-: # github.com/argoproj/argo-cd/v2/reposerver/apiclient\nreposerver/apiclient/repository.pb.go:3237:21: v.MarshalToSizedBuffer undefined (type *\"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1\".RefTarget has no field or method MarshalToSizedBuffer)\nreposerver/apiclient/repository.pb.go:3273:31: m.HelmOptions.MarshalToSizedBuffer undefined (type *\"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1\".HelmOptions has no field or method MarshalToSizedBuffer)\nreposerver/apiclient/repository.pb.go:3333:41: m.HelmRepoCreds[iNdEx].MarshalToSizedBuffer undefined (type *\"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1\".RepoCreds has no field or method Ma |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Form with Flowbite</title> | |
<link href="https://unpkg.com/[email protected]/dist/flowbite.min.css" rel="stylesheet"> | |
<script src="https://unpkg.com/[email protected]/dist/flowbite.min.js"></script> | |
</head> |
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 ( | |
"fmt" | |
"github.com/fxtlabs/primes" | |
) | |
func Generate(ch chan<- int) { | |
for i := 20000; ; i++ { |
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
res = [] | |
def inorder(root): | |
if not root: | |
return | |
inorder(root.left) | |
res.append(root.val) | |
inorder(root.right) | |
def preorder(root): |
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
<!-- | |
~ Artifactory is a binaries repository manager. | |
~ Copyright (C) 2018 JFrog Ltd. | |
~ | |
~ Artifactory is free software: you can redistribute it and/or modify | |
~ it under the terms of the GNU Affero General Public License as published by | |
~ the Free Software Foundation, either version 3 of the License, or | |
~ (at your option) any later version. | |
~ | |
~ Artifactory is distributed in the hope that it will be useful, |
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
#!/bin/bash | |
xinput list | grep -Po 'id=\K\d+(?=.*slave\s*keyboard)' | xargs -P0 -n1 xinput test |
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
kubectl set image deployment <> <container>=<image> | |
kubectl rollout history deployment <deployment> | |
kubectl rollout undo deploy/<deployment> |
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
#!/bin/bash | |
set -euxo pipefail | |
sudo apt-get update && sudo apt-get install -y apt-transport-https | |
curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key add - | |
echo "deb http://apt.kubernetes.io/ kubernetes-xenial main" | sudo tee -a /etc/apt/sources.list.d/kubernetes.list | |
sudo apt-get update | |
sudo apt-get install -y kubectl | |
exit 0 |
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
ssl-default-bind-options no-sslv3 | |
ssl-default-bind-ciphers ECDH+AESGCM:DH+AESGCM:ECDH+AES256:DH+AES256:ECDH+AES128:DH+AES:RSA+AESGCM:RSA+AES:!aNULL:!MD5:!DSS | |
ssl-default-server-options no-sslv3 | |
global | |
pidfile /var/run/haproxy.pid | |
tune.ssl.default-dh-param 2048 | |
log 127.0.0.1:1514 local0 | |
# disable sslv3, prefer modern ciphers |
NewerOlder