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 |
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
import React, { Component } from 'react'; | |
import { connect } from 'react-redux'; | |
import { CSSTransition } from 'react-transition-group'; | |
/* | |
* Mount is a HOC that eases animating of components onto and off a screen | |
* designed for use with react-transition-group v2 (https://reactcommunity.org/react-transition-group/) | |
*/ | |
class Mount extends Component { | |
constructor(props) { |
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
# bash compatible version of https://github.com/robbyrussell/oh-my-zsh/blob/master/plugins/git/git.plugin.zsh | |
# Copied March 22nd 2018 | |
# you can load these by adding `source git-aliases.sh` in your .bash_profile for example | |
: <<'END' | |
# Query/use custom command for `git`. | |
zstyle -s ":vcs_info:git:*:-all-" "command" _omz_git_git_cmd | |
: ${_omz_git_git_cmd:=git} |
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
{ | |
"cells": [ | |
{ | |
"cell_type": "code", | |
"execution_count": 18, | |
"metadata": {}, | |
"outputs": [], | |
"source": [ | |
"import keras\n", | |
"from keras.models import Model\n", |
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
def foo(*args): | |
print *args |