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
ngrok http -host-header=rewrite mydomain.com:80 |
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
Talk Jisc Team | |
Day / Hour / 5 mins | |
Start off reading out from lists. Testing, Deployment, Automation. UX. Coupling. | |
Link to talks http://conference.scotlandphp.co.uk/schedule/ | |
All talks captured on video but not up yet afaict. | |
Keynote | |
====== |
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
let filter = web3.eth.filter('latest') | |
filter.watch(function(error, result){ | |
if (!error) { | |
let confirmedBlockId = web3.eth.blockNumber - 12 | |
web3.eth.getBlock(confirmedBlockId, function(error, res){ | |
if (!error) { | |
if (res.transactions.length > 0) { | |
res.transactions.forEach(function(txId){ | |
web3.eth.getTransaction(txId, function(error, tx) { | |
if (!error && tx.to == account) { |
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
const Web3 = require('web3') | |
let web3 = new Web3(new Web3.providers.HttpProvider("http://localhost:8545")) | |
let account = '0xE767aEB31dAAF66366999F72FB5De2CEEA76c277'.toLowerCase() | |
let filter = web3.eth.filter('latest') | |
filter.watch(function(error, result) { | |
if (!error) { | |
let confirmedBlock12 = web3.eth.getBlock(web3.eth.blockNumber - 11) | |
confirmedBlock12.transactions.forEach(function(txId) { |
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
pragma solidity ^0.4.4; | |
// TestRPC HD wallet | |
// warrior minimum breeze raven garden express solar flavor obvious twenty alpha actress | |
contract Donation { | |
// Instantiate a variable to hold the account address of the contract administrator | |
address public owner; |