This file contains hidden or 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
| #!/usr/bin/env python | |
| #http://mnemstudio.org/path-finding-q-learning-tutorial.htm | |
| #tested on python and python3 | |
| import numpy as np | |
| import os | |
| R = np.array([[-1, -1, -1, -1, 0, -1], | |
| [-1, -1, -1, 0, -1, 100], | |
| [-1, -1, -1, 0, -1, -1], |
This file contains hidden or 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
| { | |
| "result":[ | |
| { | |
| "id":"1", | |
| "name":"belal", | |
| "email":"belal@mail.com" | |
| }, | |
| { | |
| "id":"3", | |
| "name":"sunny", |
This file contains hidden or 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
| <head> | |
| <meta charset="UTF-8"> | |
| <title>Download from link</title> | |
| </head> | |
| <body> | |
| <h1>Please use Chrome or Opera</h1> | |
| <h2>cross origin download is not allow in Firefox,<br> so it will open the file in your broswer.</h2> | |
| <input id="link" type="text" /> | |
| <a id="button" download>Download</a> |
NewerOlder