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
- id: 'port-forward' | |
name: 'gcr.io/cloud-builders/docker' | |
args: [ | |
'run', | |
'-itd', | |
'--network-alias', 'ml-pipeline.local', | |
'-e', 'CLOUDSDK_COMPUTE_ZONE=${_KF_ZONE}', | |
'-e', 'CLOUDSDK_CONTAINER_CLUSTER=${_KF_CLUSTER}', | |
'-e', 'CLOUDSDK_CORE_PROJECT=${_KF_PROJECT}', | |
'-p', '8888:8888', |
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
- id: 'upload-pipeline-version' | |
name: 'curlimages/curl:7.72.0' | |
args: [ | |
'-v', | |
'--retry-connrefused', | |
'--connect-timeout', '5', | |
'--max-time', '10', | |
'--retry', '5', | |
'--retry-delay', '0', | |
'--retry-max-time', '40', |
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
from locust.stats import RequestStats | |
from locust import Locust, TaskSet, task, events | |
import os | |
import sys, getopt, argparse | |
from random import randint,random | |
import json | |
from locust.events import EventHook | |
import requests | |
import re | |
import grpc |
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
line_count=$(wc -l $1 | cut -d ' ' -f1) | |
<$1 | sort | split --additional-suffix=".txt" --numeric-suffixes="1" -l $(expr $line_count / $2 + $2 - 1) $1 "set" |
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
cat <<EOF | sudo tee -a /etc/rancher/k3s/registries.yaml | |
mirrors: | |
gcr.io: | |
endpoint: | |
- "https://gcr.io" | |
- "https://us.gcr.io" | |
- "https://asia.gcr.io" | |
- "https://eu.gcr.io" | |
configs: | |
gcr.io: |
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
input_device = "DragonRise Inc. Generic USB Joystick " | |
input_driver = "udev" | |
input_l_btn = "6" | |
input_l_btn_label = "L" | |
input_load_state_btn = "6" | |
input_r_btn = "7" | |
input_r_btn_label = "R" | |
input_save_state_btn = "7" |
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
# 8Bitdo SN30 Pro - http://www.8bitdo.com/ - http://www.8bitdo.com/sn30pro-sf30pro/ | |
# Firmware v1.37 - http://support.8bitdo.com/ | |
input_driver = "dinput" | |
input_device = "Bluetooth Wireless Controller " | |
input_device_display_name = "8Bitdo SN30 Pro" | |
# Hex vid:pid and Decimal vid:pid is shown in the "log_verbosity" window, enable "log_verbosity" in retroarch.cfg and run RetroArch. | |
# Hex vid:pid = 2DC8:6101 -> Decimal vid:pid = 11720:24833 | |
# input_vendor_id = "11720" |
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
Traceback (most recent call last): | |
File "/venv/lib/python3.8/site-packages/apache_beam/runners/worker/sdk_worker.py", line 284, in _execute | |
response = task() | |
File "/venv/lib/python3.8/site-packages/apache_beam/runners/worker/sdk_worker.py", line 357, in <lambda> | |
lambda: self.create_worker().do_instruction(request), request) | |
File "/venv/lib/python3.8/site-packages/apache_beam/runners/worker/sdk_worker.py", line 597, in do_instruction | |
return getattr(self, request_type)( | |
File "/venv/lib/python3.8/site-packages/apache_beam/runners/worker/sdk_worker.py", line 628, in process_bundle | |
bundle_processor = self.bundle_processor_cache.get( | |
File "/venv/lib/python3.8/site-packages/apache_beam/runners/worker/sdk_worker.py", line 458, in get |
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
from __future__ import (absolute_import, division, print_function) | |
__metaclass__ = type | |
import getpass | |
import logging | |
import logging.config | |
import os | |
import socket | |
try: |
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
[Profile] | |
Device = evdev/0/8Bitdo SN30 Pro | |
Buttons/A = `TR2`|SOUTH | |
Buttons/B = TR|EAST | |
Buttons/- = SELECT | |
Buttons/+ = START | |
Buttons/Home = MODE | |
IR/Up = TL&`Axis 3-` | |
IR/Down = TL&`Axis 3+` | |
IR/Left = TL&`Axis 2-` |