I hereby claim:
- I am critesjosh on github.
- I am critesjosh (https://keybase.io/critesjosh) on keybase.
- I have a public key whose fingerprint is 3ECD C2B2 55B9 9DE2 F7E5 03E3 5FC7 B319 582C 852F
To claim this, I am signing this object:
function apiCall(currentSymbol) { | |
var searchTerm; | |
if (currentSymbol) { | |
searchTerm = currentSymbol; | |
} else { | |
searchTerm = $('#searchTerm').val(); | |
searchTerm = searchTerm.toUpperCase(); | |
} | |
var url = "http://data.benzinga.com/rest/richquoteDelayed?symbols=" + searchTerm; | |
$('.loaderImage').show(); |
0x3fD3c54412E4263D65F76563fE7914efc9E85B9b |
geth attach ipc:/home/josh/.ethereum/net42/geth.ipc |
I hereby claim:
To claim this, I am signing this object:
0x28C952e9E0c5bae016814E9Fbb4ad3841ca6d6B8 |
pragma solidity ^0.4.4; | |
contract Adoption { | |
address[16] public adopters; | |
// Adopting a pet | |
function adopt(uint petId) public returns (uint) { | |
require(petId >= 0 && petId <= 15); |
pragma solidity ^0.5.0; | |
contract Base { | |
uint x; | |
constructor() public { | |
x = 10; | |
} | |
pragma solidity ^0.4.15; | |
contract C1 { | |
uint public num; | |
address public sender; | |
function callSetNum(address c2, uint _num) public { | |
if(!c2.call(bytes4(sha3("setNum(uint256)")), _num)) revert(); // C2's num is set | |
} | |
pragma solidity ^0.4.0; | |
contract ThrowErrorExample { | |
bool isTrue = true; | |
uint num = 1; | |
//Bad code, do not emulate | |
function silentFail() public view returns (uint){ | |
if(isTrue != true){ |
pragma solidity ^0.4.6; | |
contract Splitter { | |
mapping(address => uint) public balances; | |
function unsafeSplit(address address1, address address2) | |
public | |
payable | |
returns(bool success) |