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 gym | |
import math | |
import random | |
import numpy as np | |
from collections import namedtuple | |
from itertools import count | |
from copy import deepcopy | |
from PIL import Image | |
import visdom |
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
# | |
# cube with per vertex coloring. | |
# | |
v 0.0 0.0 0.0 255 0 0 | |
v 0.0 0.0 1.0 255 0 0 | |
v 0.0 1.0 0.0 255 0 0 | |
v 0.0 1.0 1.0 255 0 0 | |
v 1.0 0.0 0.0 255 0 0 | |
v 1.0 0.0 1.0 255 0 0 | |
v 1.0 1.0 0.0 255 0 0 |
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
# | |
# NOTE: Don't use this unless you know what it is meant for. | |
# cube with per vertex coloring and 8 Unique vertices. | |
# a vertex is considered unique if it has all its attributes unique, not just the position. | |
# | |
v 0.0 0.0 0.0 255 0 0 | |
v 0.0 0.0 1.0 255 0 0 | |
v 0.0 1.0 0.0 255 0 0 | |
v 0.0 1.0 1.0 255 0 0 | |
v 1.0 0.0 0.0 255 0 0 |
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
Section "ServerLayout" | |
Identifier "layout" | |
Screen 0 "intel" | |
Screen 1 "nvidia1" | |
EndSection | |
Section "Device" | |
Identifier "intel" | |
Driver "intel" | |
BusID "PCI:0@0:2:0" |
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
QTabBar::tab:selected | |
{ | |
border: 3px solid red; | |
border-top: 7px solid red; | |
} |