Skip to content

Instantly share code, notes, and snippets.

View YSaxon's full-sized avatar

Yaakov Saxon YSaxon

View GitHub Profile
@YSaxon
YSaxon / add-sast-tags.py
Created June 7, 2022 20:36 — forked from snyk-omar/add-sast-tags.py
Add tags to SAST projects in Snyk.
#! /usr/bin/env python3
"""
Need to install httpx and python-dotenv to run this script.
```
pip install httpx python-dotenv
```
Additionally, you will need a .env file with two variables in it:
@YSaxon
YSaxon / set-proxy
Last active February 8, 2022 18:09 — forked from nathanchrs/set-proxy
Bash script to set proxy on Linux
#!/usr/bin/env bash
# Sets proxy settings.
# Run using `source` command. apt-get proxy settings requires sudo privileges.
# By nathanchrs.
# Configuration
# PROXY_HOST=""
# PROXY_USER=""
# PROXY_PASSWORD=""
@YSaxon
YSaxon / fix_quotes.sh
Last active October 25, 2021 17:10 — forked from kamermans/fix_quotes.sh
Replace fancy-quotes / curly-quotes / smart-quotes with standard ASCII single- and double-quotes in bash
#modified to work inline on stdin
sed "s/[$(echo -ne '\u00B4\u2018\u2019')]/'/g; s/[$(echo -ne '\u201C\u201D')]/\"/g"