Skip to content

Instantly share code, notes, and snippets.

@kevbo
kevbo / gist:5df093982377c4ac1d5421dd6f84b4bf
Created August 25, 2025 17:53
Check SF for references to AWS
-- Named Credentials targeting AWS
SELECT DeveloperName, Endpoint, CalloutOptions
FROM NamedCredential
WHERE Endpoint LIKE '%amazonaws.com%' OR Endpoint LIKE '%.s3.%' OR Endpoint LIKE '%.execute-api.%';
-- External Credentials referencing AWS (API name may vary by org)
SELECT DeveloperName, MasterLabel, SchemaType
FROM ExternalCredential
WHERE MasterLabel LIKE '%AWS%' OR MasterLabel LIKE '%Amazon%';
from selenium import webdriver
from selenium.webdriver.common.by import By
from selenium.webdriver.support.ui import WebDriverWait
from selenium.webdriver.support import expected_conditions as EC
from pyquery import PyQuery as pq
# Set options
options = webdriver.ChromeOptions()
options.add_argument('headless')
@kevbo
kevbo / test
Created January 11, 2017 22:08
test
tests
@kevbo
kevbo / gist:135b4cab839fb8adf357
Last active November 9, 2015 22:18
virtualenv including system python directories in path
$ which virtualenv
/Users/kboers/.pyenv/shims/virtualenv
$ virtualenv --version
13.1.2
$ virtualenv --always-copy test_environment
New python executable in test_environment/bin/python2.7
Also creating executable in test_environment/bin/python
Installing setuptools, pip, wheel...done.
$ test_environment/bin/python