Skip to content

Instantly share code, notes, and snippets.


Luke Hedger lukehedger

Block or report user

Report or block lukehedger

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
lukehedger /
Created Oct 28, 2019
Config for automatically signing Git commits

Git Commit Signing



	signingkey = <GPG_KEY_ID>
	gpgsign = true
View SketchSystems.spec
My Awesome Sketch
First State
some event -> Second State
Second State
lukehedger / SketchSystems.spec
Last active Dec 24, 2018
Single-lever mixer tap
View SketchSystems.spec
Single-lever mixer tap
flip lever -> Open
flip lever -> Closed
turn tap -> Cold
turn tap -> Hot
View yarn-error.log
/usr/local/bin/node /usr/local/Cellar/yarn/1.3.2/libexec/bin/yarn.js
Yarn version:
Node version:
lukehedger / HelloYou.sol
Created Nov 23, 2017 — forked from anonymous/HelloYou.sol
Created using browser-solidity: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at
View HelloYou.sol
pragma solidity ^0.4.18;
// import './SomeContract.sol';
contract HelloYou {
event Hello(address you);
function sayHello() public {
address _person = msg.sender;
lukehedger / Echo.sol
Created Nov 23, 2017
Solidity contract that echoes a number
View Echo.sol
pragma solidity ^0.4.18;
contract Echo {
event Echoed(uint echoValue);
function echo(uint _value) public returns (uint) {
return _value;
View meta-id-signature-storage.js
signatures[_targetmetaid][_metadataitemidhash] = [
{ signer, item_digest, signature_digest }
signatures[sha3('')][sha3('aux/twitter')] = [
{ namehash(, sha3('@beyonce'), sign(sha3('@beyonce') }
View found-basename-stack-trace.js
compose.js:30 Uncaught TypeError: b.apply is not a function
at eval (webpack:///./node_modules/redux/es/compose.js?:30:18)
at eval (webpack:///./node_modules/redux/es/compose.js?:30:14)
at eval (webpack:///./node_modules/redux/es/compose.js?:30:14)
at eval (webpack:///./node_modules/redux/es/applyMiddleware.js?:43:100)
at eval (webpack:///./node_modules/farce/lib/createHistoryEnhancer.js?:57:51)
at configureStore (webpack:///./app/core/store/index.js?:60:15)
at eval (webpack:///./app/core/containers/Root.js?:34:65)
at Object.<anonymous> (http://localhost:3000/bundle.js:3010:1)
at __webpack_require__ (http://localhost:3000/bundle.js:20:30)
lukehedger / metadata-sig.js
Created Oct 13, 2017
Download and process META-ID metadata signature from Swarm
View metadata-sig.js
.then(rawMetadata =>
Object.keys(rawMetadata).map(path => ({
[`${path}`]: JSON.parse(rawMetadata[path].data.toString())
.reduce((o, v) => Object.assign({}, o, v), {})
.then(metadata => console.log(metadata))
You can’t perform that action at this time.