This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
REPORT ZBC0818_EDITABLEALV_ALINAN. | |
* Data declarations | |
DATA : itab TYPE STANDARD TABLE OF 'Database Table Name',"Output table | |
i_fieldcat TYPE STANDARD TABLE OF lvc_s_fcat,"Field catalog | |
i_modified TYPE STANDARD TABLE OF 'Database Table Name',"For getting modified rows | |
i_selected_rows TYPE lvc_t_row,"Selected Rows | |
w_selected_rows TYPE lvc_s_row, | |
w_modified TYPE 'Database Table Name', | |
wa TYPE 'Database Table Name', | |
w_variant TYPE disvariant, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class A(models.Model): | |
things = models.ManyToManyField("B", through=ThroughModel) | |
class B(models.Model): | |
text = models.TextField() | |
class ThroughModel(models.Model): | |
a = models.ForeignKey(A) | |
b = models.ForeignKey(B) | |
extra = models.BooleanField() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
# requirements | |
# pip install unipath | |
# pip install python-decouple | |
from os.path import join | |
from unipath import Path | |
from decouple import config | |
import csv |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 2023-11-27 MIT LICENSE | |
Here's the open source version of my ChatGPT game MonkeyIslandAmsterdam.com. | |
It's an unofficial image+text-based adventure game edition of Monkey Island in Amsterdam, my home town. | |
Please use it however you want. It'd be nice to see more ChatGPT-based games appear from this. If you get inspired by it, please link back to my X https://x.com/levelsio or this Gist so more people can do the same! | |
Send me your ChatGPT text adventure game on X, I'd love to try it! |