Skip to content

Instantly share code, notes, and snippets.

View BeyondEvil's full-sized avatar

Jim Brännlund BeyondEvil

View GitHub Profile
E selenium.common.exceptions.WebDriverException: Message: unknown error: Chrome failed to start: exited abnormally
E (unknown error: DevToolsActivePort file doesn't exist)
E (The process started from chrome location /usr/bin/google-chrome is no longer running, so ChromeDriver is assuming that Chrome has crashed.)
E (Driver info: chromedriver=74.0.3729.6 (255758eccf3d244491b8a1317aa76e1ce10d57e9-refs/branch-heads/3729@{#29}),platform=Linux 4.15.0-1028-gcp x86_64)
import pytest
@pytest.fixture(scope="module")
def module_function():
yield [1,2,3]
@pytest.fixture(scope="function")
def function_function(module_function):
return module_function
import requests
def main():
timeout=None
print(f"Timeout is: {timeout}")
response = requests.get(
"https://shootnscoreit.com/api/ipsc/match/<some match ID>/",
auth=("<user email>", "<user password>"),
headers={
@BeyondEvil
BeyondEvil / BUILD.bazel
Created October 29, 2022 15:46
bazel js image
# apps/gamma/BUILD.bazel
load("//docker:js_image_layer.bzl", "js_image_layer")
load("@aspect_rules_js//js:defs.bzl", "js_binary", "js_library")
load("@npm//:defs.bzl", "npm_link_all_packages")
load("@io_bazel_rules_docker//container:container.bzl", "container_image", "container_push")
load("@io_bazel_rules_docker//container:layer.bzl", "container_layer")
npm_link_all_packages(name = "node_modules")