Skip to content

Instantly share code, notes, and snippets.

View steven-peralta's full-sized avatar

Steven Peralta steven-peralta

View GitHub Profile
12 Angry Men (1957)
1408 (2007)
2001 A Space Odyssey (1968)
20th Century Women (2016)
300 (2007)
(500) Days of Summer (2009)
8½ (1963)
A Bittersweet Life (2005)
Above the Rim (1994)
A Brighter Summer Day (1991)
@steven-peralta
steven-peralta / touhou_gym.py
Last active March 18, 2023 19:04
touhou_gym.py
import sys
import logging
import gc
from os.path import pathsep, abspath
import gymnasium
import tinyscaler
from PIL import Image
from gymnasium import spaces
import numpy as np
@steven-peralta
steven-peralta / init
Created July 25, 2021 17:45
fluxbox config
! If you're looking for settings to configure, they won't be saved here until
! you change something in the fluxbox configuration menu.
session.menuFile: ~/.fluxbox/menu
session.keyFile: ~/.fluxbox/keys
session.styleFile: /usr/share/fluxbox/styles//ubuntu-light
session.configVersion: 13
session.screen0.toolbar.widthPercent: 100
session.screen0.strftimeFormat: %d %b, %a %02k:%M:%S
session.screen0.toolbar.tools: prevworkspace, workspacename, nextworkspace, clock, prevwindow, nextwindow, iconbar
import threading
import time
import gym
from gym import spaces
import numpy as np
import requests
from flatten_json import flatten_json
import subprocess
import os