Skip to content

Instantly share code, notes, and snippets.

View Peerayot's full-sized avatar

Peerayot Sanposh Peerayot

  • Faculty of Engineering/Kasetsart University
View GitHub Profile
@Peerayot
Peerayot / private_fork.md
Created September 16, 2025 15:51 — forked from 0xjac/private_fork.md
Create a private fork of a public repository

The repository for the assignment is public and Github does not allow the creation of private forks for public repositories.

The correct way of creating a private frok by duplicating the repo is documented here.

For this assignment the commands are:

  1. Create a bare clone of the repository. (This is temporary and will be removed so just do it wherever.)

git clone --bare [email protected]:usi-systems/easytrace.git

@Peerayot
Peerayot / rl_glue.py
Created December 5, 2024 14:40 — forked from niektuytel/rl_glue.py
RLGlue for python 3
class RLGlue:
"""RLGlue class
args:
env_name (string): the name of the module where the Environment class can be found
agent_name (string): the name of the module where the Agent class can be found
"""
def __init__(self, env_class, agent_class):
self.environment = env_class()
self.agent = agent_class()