Skip to content

Instantly share code, notes, and snippets.

View ZdM87's full-sized avatar
🐢
I can't stop

zdm ZdM87

🐢
I can't stop
View GitHub Profile
@elmogallen
elmogallen / user.lua
Last active December 15, 2023 13:04
My user settings for ZeroBrane Studio: makes it closer to Sublime Text and Lua Glider, keeps shortcut keys consistent as I go back and forth from Windows to OS X, adjusts the default settings, adds a "well" for the line numbers and code folding arrows, and generally makes some UI elements more subtle (code folding, indent guides).
--[[--
Use this file to specify User preferences.
Review [examples](+/Applications/ZeroBraneStudio.app/Contents/ZeroBraneStudio/cfg/user-sample.lua) or check [online documentation](http://studio.zerobrane.com/documentation.html) for details.
--]]--
editor.fontsize = 14
editor.usewrap = false
editor.tabwidth = 4
editor.indentguide = true
editor.fold = true
editor.foldtype = 'arrow'
@pierrelux
pierrelux / Agent-Environment Interaction
Created September 9, 2013 21:29
The Agent-Environment Interaction figure from Reinforcement Learning: An Introduction by Richard S. Sutton and Andrew G. Barto reproduced in Tikz
\documentclass{standalone}
\usepackage{tikz}
\begin{document}
\tikzstyle{block} = [rectangle, draw,
text width=8em, text centered, rounded corners, minimum height=4em]
\tikzstyle{line} = [draw, -latex]
\begin{tikzpicture}[node distance = 6em, auto, thick]
\node [block] (Agent) {Agent};