In[1]: gym.envs.registration.registry
Out[1]:
├──CartPole: [ v0, v1 ]
├──MountainCar: [ v0 ]
├──MountainCarContinuous: [ v0 ]
├──Pendulum: [ v1 ]
├──Acrobot: [ v1 ]
├──LunarLander: [ v2 ]
├──LunarLanderContinuous: [ v2 ]
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
pip install -e "git+https://github.com/lcm-proj/lcm.git#egg=lcm&subdirectory=lcm-python" |
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
import trimesh # Replace with your chosen library | |
files = ['obj/calf.obj', | |
'obj/hip.obj', | |
'obj/thigh_mirror.obj', | |
'obj/thigh.obj', | |
'obj/trunk.obj', | |
] | |
for file in files: |
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
figure.figsize: 6, 4 | |
savefig.dpi: 300 | |
savefig.bbox: tight | |
savefig.pad_inches: 0 | |
savefig.transparent: True | |
axes.spines.top : False | |
axes.spines.right : False | |
font.family : Times New Roman |
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
\documentclass{article} | |
\usepackage{charter,graphicx} | |
\usepackage[margin=1in]{geometry} | |
\usepackage{fancyhdr} | |
\pagestyle{fancy} | |
\renewcommand{\headrulewidth}{.4pt}% Default header rule | |
\renewcommand{\footrulewidth}{0pt}% No footer rule | |
\fancyhf{}% Clear header/footer |
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
bfg -D armadillo_lowres.obj --no-blob-protection | |
bfg -D armadillo_midres.obj --no-blob-protection | |
bfg -D bunny2.obj --no-blob-protection | |
bfg -D dragon.obj --no-blob-protection | |
bfg -D dragon_og.obj --no-blob-protection | |
bfg -D sphere.obj --no-blob-protection | |
bfg -D diamond.glb --no-blob-protection | |
bfg -D dragon.glb --no-blob-protection | |
git reflog expire --expire=now --all && git gc --prune=now --aggressive |
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
#!/usr/bin/env bash | |
# | |
# Open new iTerm window from the command line using v3 syntax for applescript as needed in iTerm2 Version 3+ | |
# This script blocks until the cmd is executed in the new iTerm2 window. It then leaves the window open. | |
# TODO Add option to close iTerm2 after cmd execs | |
# See also https://www.iterm2.com/documentation-scripting.html | |
# | |
# Usage: |
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
savefig.dpi: 226 | |
savefig.bbox: tight | |
savefig.pad_inches: 0 | |
savefig.transparent: False | |
axes.linewidth : 2 | |
axes.spines.top : False | |
axes.spines.right : False | |
axes.grid : True # display grid or not |
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
import sys | |
import time | |
import logging | |
from watchdog.observers import Observer | |
from watchdog.events import LoggingEventHandler | |
if __name__ == "__main__": | |
logging.basicConfig(level=logging.INFO, | |
format='%(asctime)s - %(message)s', | |
datefmt='%Y-%m-%d %H:%M:%S') |
NewerOlder