Skip to content

Instantly share code, notes, and snippets.

@qodx
qodx / vs_curl.py
Created November 5, 2021 12:37 — forked from taylor-jones/vs_curl.py
Download the latest versions of all installed VS Code extensions w/ cURL
"""
Download the latest versions of all installed VSCode extensions with cURL.
TODO: Add option to automatically install all the downloaded extensions.
TODO: Add option to provide any list of extensions, not just the installed ones.
TODO: Update to allow for specifying extension version (but default to latest version).
TODO: Update to check for directory existence (and make one if it doesn't exist).
"""
import os
@qodx
qodx / load_dotenv.sh
Created December 29, 2021 15:17 — forked from mihow/load_dotenv.sh
Load environment variables from dotenv / .env file in Bash
if [ ! -f .env ]
then
export $(cat .env | xargs)
fi