Skip to content

Instantly share code, notes, and snippets.

@EllieTheYeen
Last active October 26, 2024 08:15
Show Gist options
  • Save EllieTheYeen/2d3ff9b5c379f4a9a99ee0480be372f8 to your computer and use it in GitHub Desktop.
Save EllieTheYeen/2d3ff9b5c379f4a9a99ee0480be372f8 to your computer and use it in GitHub Desktop.
Testgist
#!/usr/bin/python3
import os
os.environ["POST"] = 'this is some data here yes probably long and all that meow soft mew'
os.environ["MOST"] = "mew mew mew mew mew commit message"
os.system("./testenv.sh")
commit 81cb3e4ae2eb68ad69212d2a7b0cd6972decbf69
Author: Ellie The Yeen <42704150+EllieTheYeen@users.noreply.github.com>
Date: Sat Oct 26 10:12:52 2024 +0200
mew mew mew mew mew commit message
first linethe current date is Sat 26 Oct 09:32:17 CEST 2024
the current date is Sat 26 Oct 09:34:56 CEST 2024
the current date is Sat 26 Oct 09:36:51 CEST 2024
the current date is Sat 26 Oct 09:36:59 CEST 2024
the current date is Sat 26 Oct 09:41:15 CEST 2024
the current date is Sat 26 Oct 09:41:29 CEST 2024
the current date is Sat 26 Oct 09:42:29 CEST 2024
the current date is Sat 26 Oct 09:45:16 CEST 2024 and the data is this is some data here yes probably long and all that meow soft mew
the current date is Sat 26 Oct 10:12:52 CEST 2024 and the data is this is some data here yes probably long and all that meow soft mew
the current date is Sat 26 Oct 10:15:17 CEST 2024 and the data is this is some data here yes probably long and all that meow soft mew
#!/bin/sh
set -o verbose
cd "$(dirname "$0")"
echo echoing post variable: "$POST"
echo the current date is "$(date)" and the data is "$POST" >> test.txt
git add .
echo "$MOST" | git commit -F-
git push
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment