Skip to content

Instantly share code, notes, and snippets.

@jt-kl
jt-kl / setup_build_environment.sh
Last active May 12, 2024 13:06
Python - Setup A Build Environment
#!/bin/bash
Helper script to deploy a Python virtual environment for development purposes
clear;
# Purge old virtual environment if applicable
if [ -d .env ]; then rm -rf .env; fi
# Creates virtual environment and upgrades PIP
python3.11 -m venv .env;
@jt-kl
jt-kl / setup_dev_environment.sh
Last active May 12, 2024 13:06
Python - Setup A Development Environment
#!/bin/bash
Helper script to deploy a Python virtual environment for build purposes
clear;
# Purge old virtual environment if applicable
if [ -d .env ]; then rm -rf .env; fi
# Creates virtual environment and upgrades PIP
python3.11 -m venv .env;
@jt-kl
jt-kl / settings.json
Last active May 15, 2024 13:35
VSCode Settings Config
{
"[json]": {
"editor.defaultFormatter": "vscode.json-language-features",
"editor.detectIndentation": false,
"editor.formatOnSave": true,
"editor.indentSize": 2
},
"[jsonc]": {
"editor.defaultFormatter": "vscode.json-language-features",
"editor.detectIndentation": false,
@jt-kl
jt-kl / launch.json
Last active May 15, 2024 13:35
VSCode Launch Config
{
"configurations": [
{
"args": [],
"console": "integratedTerminal",
"cwd": "${workspaceFolder}",
"justMyCode": true,
"name": "Python: File",
"program": "${file}",
"request": "launch",