Skip to content

Instantly share code, notes, and snippets.

View cvcore's full-sized avatar
:shipit:

cvcore

:shipit:
  • Germany
  • 04:09 (UTC +02:00)
View GitHub Profile
@botforge
botforge / gym_to_gif.py
Last active December 16, 2024 17:28
Save OpenAI Gym renders as GIFS
from matplotlib import animation
import matplotlib.pyplot as plt
import gym
"""
Ensure you have imagemagick installed with
sudo apt-get install imagemagick
Open file in CLI with:
xgd-open <filelname>
@jamesmacfie
jamesmacfie / README.md
Created October 22, 2019 02:53
iTerm 2 - script to change theme depending on Mac OS dark mode

How to use

In iTerm2, in the menu bar go to Scripts > Manage > New Python Script

Select Basic. Select Long-Running Daemon

Give the script a decent name (I chose auto_dark_mode.py)

Save and open the script in your editor of choice.