This Cycle, I commit to:
- logging 20 hours on Literator app.
- Help assist Ethan with the Job hunt.
- Have at least someone look at my Resume (Ethan)
- Look into education companies.
process.on('exit', code => { | |
console.log(`About to exit with code: ${code}`) | |
}) | |
process.on('uncaughtException', err => { | |
console.error(err) | |
// comment line 9 out, then run the command in the | |
// description. Then comment it back in. and run that same command from | |
// the description again. |
https://app.clubhouse.io/learnersguild/story/1589/as-a-reviewer-i-can-see-which-projects-need-reviewing |
This Cycle, I commit to:
Interviewed with 6 jobs. | |
Completed a take home for a job. | |
Worked on Literator. |
0x1418191f236A1ADdAC71848f09461593415084d9 |
pragma solidity ^0.4.8; | |
contract Victim { | |
function withdraw() { | |
uint transferAmt = 1 ether; | |
if (!msg.sender.call.value(transferAmt)()) throw; | |
} | |
function deposit() payable {} |
pragma solidity ^0.4.8; | |
import './Victim.sol'; | |
contract Attacker { | |
Victim v; | |
uint public count; | |
event LogFallback(uint c, uint balance); |
const Victim = artifacts.require('./Victim.sol') | |
const Attacker = artifacts.require('./Attacker.sol') | |
module.exports = function(deployer) { | |
deployer | |
.deploy(Victim) | |
.then(() => | |
deployer.deploy(Attacker, Victim.address) | |
) | |
} |