This file contains 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
""" | |
Minimal character-level Vanilla RNN model. Written by Andrej Karpathy (@karpathy) | |
BSD License | |
""" | |
import numpy as np | |
# data I/O | |
data = open('input.txt', 'r').read() # should be simple plain text file | |
chars = list(set(data)) | |
data_size, vocab_size = len(data), len(chars) |
This file contains 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
$ docker build -t gcr.io/foo/polls . | |
Sending build context to Docker daemon 1.12MB | |
Step 1/7 : FROM gcr.io/google_appengine/python | |
latest: Pulling from google_appengine/python | |
1d47b358304c: Pull complete | |
c6cf9be4ad08: Pull complete | |
3c2cba919283: Pull complete | |
b5267a7c948d: Pull complete | |
327bc3d676fa: Pull complete | |
7084178c9da9: Pull complete |
This file contains 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
apiVersion: v1 | |
clusters: | |
- cluster: | |
certificate-authority-data: foo | |
server: https://bar | |
name: baz | |
contexts: | |
- context: | |
cluster: baz | |
user: baz |
This file contains 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
GET http://localhost:8000/admin | |
Page not found (404) | |
Request Method: GET | |
Request URL: http://localhost:8000/admin | |
Using the URLconf defined in mysite.urls, Django tried these URL patterns, in this order: | |
^ ^$ [name='index'] | |
^admin/ | |
^static\/(?P<path>.*)$ |
This file contains 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
//Write your own contracts here. Currently compiles using solc v0.4.15+commit.bbb8e64f. | |
pragma solidity ^0.4.24; | |
contract SimpleStore { | |
function set(uint _value) public { | |
value = _value; | |
} | |
function get() public constant returns (uint) { | |
return value; | |
} |
This file contains 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
browser/foo.sol:10:9: TypeError: Type struct strings.slice memory is not implicitly convertible to expected type string storage pointer. | |
string storage s = "This-Is-A-Problem".toSlice(); | |
^----------------------------------------------^ |
This file contains 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
ValueError: Error when checking input: expected dense_22_input to have 3 dimensions, but got array with shape (3, 592434) |
This file contains 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
$ node index.js | |
/Users/hmoreno/programming/s3test/node_modules/aws-sdk/lib/request.js:31 | |
throw err; | |
^ | |
Error: connect ETIMEDOUT 169.254.169.254:80 | |
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1170:14) |
This file contains 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
var form = new FormData(document.getElementById('login-form')); | |
fetch("/login", { | |
method: "POST", | |
body: form | |
}); |
This file contains 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
func (param i32 i32 i32) (result f32) | |
block f32 | |
block | |
block | |
block | |
block | |
get_local 2 | |
i32.const 0 | |
i32.sub | |
br_table 0 1 2 3 |