- Delete User
- Update User (Including Lock and Other Attributes)
- Read All Users
- Read User by ID
- Add User
- Add Permissions to User
- Add Roles to User
- Remove Roles from User
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
pipeline { | |
agent any | |
environment { | |
SSH_CREDENTIALS = 'your-ssh-credentials-id' // The ID of the SSH credentials in Jenkins | |
REMOTE_USER = 'your-remote-user' // The user on the remote server | |
REMOTE_HOST = 'your-remote-host' // The IP or hostname of the remote server | |
REMOTE_DIR = '/path/to/your/app' // The directory on the remote server where the app will be deployed | |
} |
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
{ | |
"public_identifier": "andrew-huberman", | |
"profile_pic_url": "https://s3.us-west-000.backblazeb2.com/proxycurl/person/andrew-huberman/profile?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=0004d7f56a0400b0000000001%2F20241026%2Fus-west-000%2Fs3%2Faws4_request&X-Amz-Date=20241026T134719Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=b56d2c55f4931de681ed384ee4c304ad0f6c190f4f1f5ff6b18061836f310ee7", | |
"background_cover_image_url": "https://s3.us-west-000.backblazeb2.com/proxycurl/person/andrew-huberman/cover?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=0004d7f56a0400b0000000001%2F20241026%2Fus-west-000%2Fs3%2Faws4_request&X-Amz-Date=20241026T134719Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=6b82e0e16ce26f1c5b502bae99111db7449d368675c0d85eb9b7afa02922ebf9", | |
"first_name": "Andrew", | |
"last_name": "Huberman", | |
"full_name": "Andrew Huberman", | |
"follower_count": 1593212, | |
"occupation": "Associate Professor of Neurobiology and Ophthalmology & Lab Director at Stanford U |
Thank you for the additional details. With Selenium 4.18.1 and Chrome headless mode, especially when dealing with many elements, there are a few specific approaches we can take:
- Use the new Selenium 4 Headless Mode syntax (it's more stable):
from selenium.webdriver.chrome.service import Service
from selenium.webdriver.chrome.options import Options
options = Options()
options.add_argument("--headless=new") # New headless mode for Chrome
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 cv2 | |
import numpy as np | |
def deskew(im, max_skew=10): | |
height, width = im.shape | |
# Create a grayscale image and denoise it | |
im_gs = cv2.cvtColor(im, cv2.COLOR_BGR2GRAY) | |
im_gs = cv2.fastNlMeansDenoising(im_gs, h=3) |
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 os | |
import requests | |
from urllib.parse import urlparse | |
# Create a directory for the papers | |
if not os.path.exists('ai_agent_papers'): | |
os.makedirs('ai_agent_papers') | |
# List of paper URLs and filenames | |
papers = [ |
OlderNewer