Skip to content

Instantly share code, notes, and snippets.

View CMWolfe922's full-sized avatar

Charles Wolfe CMWolfe922

View GitHub Profile
@CMWolfe922
CMWolfe922 / test.html
Created March 20, 2024 11:24
Hello World HTML
<html>
<head>
<style>
h1 {
font-family: Calibri;
}
</style>
</head>
<body>
<h1>Hello World!</h1>
@CMWolfe922
CMWolfe922 / test.md
Created March 19, 2024 15:39
Hello World Markdown

Hello World

This is content converted from Markdown!

Here's a JSON sample:

{
  "foo": "bar"
}
@CMWolfe922
CMWolfe922 / env_variable_creation
Created November 30, 2021 21:19
environment variables
import os
# Set environment variables
os.environ['API_USER'] = 'username'
os.environ['API_PASSWORD'] = 'secret'
# Get environment variables
USER = os.getenv('API_USER')
PASSWORD = os.environ.get('API_PASSWORD')