Skip to content

Instantly share code, notes, and snippets.

View EncodeTheCode's full-sized avatar
💭
Coding useful tools for workflow.

EncodeTheCode

💭
Coding useful tools for workflow.
View GitHub Profile
@echo off
setlocal enabledelayedexpansion
:: Get all environment variables
set > environment_variables.txt
:: Inform the user
echo All environment variables have been saved to environment_variables.txt
endlocal
import os
# Get all environment variables
env_vars = os.environ
# Specify the output file
output_file = "environment_variables.txt"
# Write environment variables to the file
with open(output_file, "w") as file:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Jedi Lightsaber Swing Game</title>
<style>
body { margin: 0; overflow: hidden; }
canvas { background: #FFF; display: block; }
</style>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Jedi Lightsaber Swing Game</title>
<style>
body { margin: 0; overflow: hidden; }
canvas { background: #FFF; display: block; }
</style>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Jedi Lightsaber Swing Game</title>
<style>
body { margin: 0; overflow: hidden; }
canvas { background: #FFF; display: block; }
</style>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Jedi Lightsaber Swing Game</title>
<style>
body { margin: 0; overflow: hidden; }
canvas { background: #FFF; display: block; }
</style>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Jedi Lightsaber Swing Game</title>
<style>
body { margin: 0; overflow: hidden; }
canvas { background: #FFF; display: block; }
</style>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Jedi Lightsaber Swing Game</title>
<style>
body { margin: 0; overflow: hidden; }
canvas { background: #FFF; display: block; }
</style>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Jedi Lightsaber Swing Game</title>
<style>
body { margin: 0; overflow: hidden; }
canvas { background: #000; display: block; }
</style>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Jedi Lightsaber Swing Game</title>
<style>
body { margin: 0; overflow: hidden; }
canvas { background: #000; display: block; }
</style>