import os
import requests
from requests.auth import HTTPBasicAuth
import pandas as pd
import json
import matplotlib.pyplot as plt
class DownloadJenkinsHyperfoilData:
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
SSLContext sslContext = SSLContext.getInstance("SSL"); | |
sslContext.init(null, new TrustManager[] { | |
new X509ExtendedTrustManager() { | |
@Override | |
public void checkClientTrusted(X509Certificate[] chain, String authType) throws CertificateException { | |
} | |
@Override |
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
if pod.Status.Phase != corev1.PodRunning { | |
// Fetch and log the events for the current pod | |
events, err := suite.clientset.CoreV1().Events(suite.DSPANamespace).List(suite.Ctx, metav1.ListOptions{ | |
FieldSelector: fmt.Sprintf("involvedObject.name=%s", pod.Name), | |
}) | |
if err != nil { | |
for _, event := range events.Items { | |
t.Log(fmt.Sprintf("Event for Pod %s: %s - %s", pod.Name, event.Reason, event.Message)) | |
} | |
} else { |
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
[Desktop Entry] | |
Name=Firefox Localhost | |
Comment=Open Firefox with localhost | |
Exec=firefox http://localhost | |
Icon=firefox | |
Terminal=false | |
Type=Application | |
Categories=Network;WebBrowser; |
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
sudo apt-get --purge remove "*cublas*" "cuda*" "nsight*" | |
sudo apt-get --purge remove "*nvidia*" | |
sudo apt autoremove | |
sudo apt --fix-broken install | |
sudo rm -rf /usr/local/cuda* | |
sudo apt update && sudo apt upgrade | |
sudo add-apt-repository ppa:graphics-drivers/ppa | |
sudo apt update | |
sudo apt purge *550* |
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
Ctrl + Alt + F3 | |
sudo systemctl stop gdm | |
chmod +x NVIDIA-Linux-x86_64-535.54.03.run | |
./NVIDIA-Linux-x86_64-535.54.03.run | |
reboot |
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
<benchmark xmlns="urn:radargun:benchmark:3.0"> | |
<main bindAddress="${main.address:127.0.0.1}" port="${main.port:2103}"/> | |
<clusters> | |
<scale from="1" to="1"> | |
<cluster /> | |
</scale> | |
</clusters> | |
<configurations> | |
<config name="dist-1"> |
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
oc login ... | |
OC_USER=$(oc whoami) | |
oc project openshift-image-registry | |
oc patch configs.imageregistry.operator.openshift.io/cluster --patch '{"spec":{"defaultRoute":true}}' --type=merge | |
oc policy add-role-to-user registry-viewer $OC_USER | |
oc policy add-role-to-user registry-editor $OC_USER | |
REGISTRY_HOST=$(oc get route default-route --template='{{ .spec.host }}') | |
echo $REGISTRY_HOST |
NewerOlder