Skip to content

Instantly share code, notes, and snippets.

View andrewsouthard1's full-sized avatar

Andrew Southard andrewsouthard1

View GitHub Profile
@mattatsnyk
mattatsnyk / get_snyk_ignores.py
Created January 22, 2024 20:22
A simple script to pull down snyk ignores for an organization
#!/opt/homebrew/bin/python3
import requests
# Replace with the relevant snyk api token and org ID
api_token = ""
org_id = ""
issuesPerPage = 100
api_version = "2024-01-04"
@paulallies
paulallies / gist:0052fab554b14bbfa3ef
Last active November 12, 2023 23:00
Remove node_modules from git repo
#add 'node_modules' to .gitignore file
git rm -r --cached node_modules
git commit -m 'Remove the now ignored directory node_modules'
git push origin <branch-name>