I hereby claim:
- I am demircancelebi on github.
- I am demircancelebi (https://keybase.io/demircancelebi) on keybase.
- I have a public key ASAM2f5feSRL1jvGDD39jpnLezV7aVGzm3RlIzR26VChXQo
To claim this, I am signing this object:
| const ARMS = 10; | |
| const STEPS = 100000; | |
| const means = []; | |
| const epsilons = [0, 0.01, 0.1]; | |
| let rewards = []; | |
| let pulls = []; | |
| for (let i = 0; i < ARMS; i++) { | |
| means.push(Math.random() * 6 - 3); | |
| rewards.push(0); |
I hereby claim:
To claim this, I am signing this object:
| // Changes XML to JSON | |
| // Modified version from here: http://davidwalsh.name/convert-xml-json | |
| xmlToJson(xml) { | |
| // Create the return object | |
| let obj = {}; | |
| if (xml.nodeType === 1) { // element | |
| // do attributes | |
| if (xml.attributes.length > 0) { | |
| obj['@attributes'] = {}; |
| atom-text-editor { | |
| font-size: 24px; | |
| } | |
| .tab-bar { | |
| height: 60px; | |
| .tab { | |
| padding-right: 48px; | |
| max-width: 350px; |
| /* | |
| Usage: | |
| You should allow telnet in modem settings beforehand (might be allowed already) | |
| You should set opts according to your modem settings | |
| loginText = When you try `telnet 192.168.2.1` in terminal | |
| it asks you login name for the modem. Change | |
| this text to something you see on that line. | |
| I saw my modem name and used that. | |
| /** | |
| * How to make 3-corner-rounded triangle in CSS (SO) | |
| * http://stackoverflow.com/q/14446677/1397351 | |
| */ | |
| .triangle { | |
| position: relative; | |
| background-color: orange; | |
| text-align: left; | |
| } | |
| .triangle:before, |
| var _ = require('underscore') | |
| , Base = require('./base'); | |
| /** | |
| * Takes a nested object and returns a shallow object keyed with the path names | |
| * e.g. { "level1.level2": "value" } | |
| * | |
| * @param {Object} Nested object e.g. { level1: { level2: 'value' } } | |
| * @return {Object} Shallow object with path names e.g. { 'level1.level2': 'value' } | |
| */ |
| /* | |
| M2WA 0.1.3 (Metrekare Web Application) | |
| November 2013 | |
| @author Batuhan Icoz <[email protected]> | |
| @author Demircan Celebi <[email protected]> | |
| @license Proprietary. Check README.md | |
| @component search | |
| @desc This the main file for this component, this has router and the initializer | |
| */ |