Skip to content

Instantly share code, notes, and snippets.

@PuZZleDucK
PuZZleDucK / atari-2.py
Created May 21, 2016 04:40
My first Atari simulation with simple summary of results
#!/usr/bin/python
# My first Atari simulation on the AIgym
# Not much happening yet
import gym
env = gym.make('MsPacman-v0')
print env.action_space
print env.observation_space
@PuZZleDucK
PuZZleDucK / atari-4-qbert.py
Created May 21, 2016 07:59
Simple random action agent playing qbert
#!/usr/bin/python
# My first Atari simulation on the AIgym
# Not much happening yet
import gym
episodes = 500
max_time = 10000
env = gym.make('Qbert-v0')
@PuZZleDucK
PuZZleDucK / gist-toys.md
Created July 16, 2017 12:28
Gist plaything

To-do

  • Submit resume
  • Ace technical exercise
  • ???
@PuZZleDucK
PuZZleDucK / asciidoc-toy.asciidoc
Last active July 16, 2017 13:02
asciidoc test

Why MarkDown is like vegetables

PuZZleDucK <PuZZleDucK@gmail.com> v1.0, 2017-12

This is the optional preamble (an untitled section body). Useful for writing simple sectionless documents consisting only of a preamble.

Note
The abstract, preface, appendix, bibliography, glossary and index section titles are significant ('specialsections').
## original
1. First item
```
echo "code from item 1"
```
1. Second item
1. Third item
1. Forth

original

  1. First item
echo "code from item 1"
  1. Second item
  2. Third item
  3. Forth

color in MD files

some This is Blue italic. text

some This is Red Bold. text

Text

+ this will be highlighted in green
@PuZZleDucK
PuZZleDucK / atari-7-genetic.py
Created May 27, 2016 18:33
Simple Genetic Algorithm Atari simulation for the OpenAI Gym
#!/usr/bin/python
# Simple Genetic Algorithm Atari simulation
import gym
import numpy as np
import sys
from pybrain.tools.shortcuts import buildNetwork
import random
genisis = "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
### Keybase proof
I hereby claim:
* I am puzzleduck on github.
* I am puzzleduck (https://keybase.io/puzzleduck) on keybase.
* I have a public key ASDFTZ--bIZFXAYH2Ha6P-C-maYIXSGEGS4fhmVISWufhQo
To claim this, I am signing this object:
@PuZZleDucK
PuZZleDucK / xorg.conf
Created June 11, 2018 01:33
Minimal xorg.conf
Section "Device"
Identifier "Configured Video Device"
Driver "vesa"
EndSection
Section "Monitor"
Identifier "Configured Monitor"
HorizSync 42.0 - 52.0
VertRefresh 55.0 - 65.0
Modeline "1024x768" 60.80 1024 1056 1128 1272 768 768 770 796