Skip to content

Instantly share code, notes, and snippets.

View SelvamArul's full-sized avatar

Arul Selvam SelvamArul

  • Universität Bonn
  • Bonn, Germany
View GitHub Profile
@SelvamArul
SelvamArul / konsole_settings.css
Created February 12, 2021 12:15
Set highlighting options in Konsole
QTabBar::tab:selected
{
border: 3px solid red;
border-top: 7px solid red;
}
Section "ServerLayout"
Identifier "layout"
Screen 0 "intel"
Screen 1 "nvidia1"
EndSection
Section "Device"
Identifier "intel"
Driver "intel"
BusID "PCI:0@0:2:0"
@SelvamArul
SelvamArul / red_cube_8_unique.obj
Created July 24, 2019 09:58
cube with per vertex coloring and 8 Unique vertices.
#
# 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
@SelvamArul
SelvamArul / red_cube.obj
Created June 25, 2019 09:11
Unit cube with per vertex coloring.
#
# 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
@SelvamArul
SelvamArul / break_out.py
Created December 19, 2017 21:05
DQN for gym breakout game.
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