💾 Archived View for station.martinrue.com › ailolai › 31119947afa5485b9159de706950dc28 captured on 2023-03-20 at 20:24:28. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2023-01-29)

➡️ Next capture (2023-07-22)

-=-=-=-=-=-=-

👽 ailolai

!/usr/bin/env python3

Just fooling around

import os

print("Hello gopherite")

print("Just add something, a query string to the url, ?query_string")

print("1bala\t/cgi-bin/?bala\tyretek.com\t70")

print("1rala\t/cgi-bin/?rla\tyretek.com\t70")

print(os.environ.keys())

if(os.environ['QUERY_STRING']=="bala"):

print(f"Thats a bala")

else:

print("nada")

print(os.environ['QUERY_STRING'])

OK, so I have a gopher script running doing something that could be useful. A gamebook. The idea is to use query string to transmit compressed data on the characte and game state. Then generate the text using data files

1 year ago

Actions

👋 Join Station